Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend give command "skill level" & shortening /talent all #1865

Merged
merged 15 commits into from
Oct 18, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix setSkillLevel to work during avatar construction
Shortening getCombatSkills
  • Loading branch information
natsurepo committed Oct 17, 2022
commit 735f090af57fa3a4327e6427b73a2ba6fa859458
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public IntStream getSkillsAndEnergySkill() {
}

public IntStream getCombatSkills() {
return IntStream.concat(IntStream.of(this.getSkills().get(0), this.getSkills().get(1)), IntStream.of(this.energySkill))
return IntStream.of(this.getSkills().get(0), this.getSkills().get(1), this.energySkill)
.filter(SkillId -> SkillId > 0);
}

Expand Down