Grasscutter/src/main/java/emu/grasscutter
natsu 5b6698f583
Extend setConstCommand "all" (#1884)
* Extend give command "talent"

* Update src/main/java/emu/grasscutter/data/excels/AvatarSkillDepotData.java

Shorten IntStream for getCombatSkills

Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>

* Fix setSkillLevel to work during avatar construction
Shortening getCombatSkills

* changeSkillLevel now acts as intermediate operation to fetch skillIds

* setSkillLevel changes to allow out of range levels to be normalized

* Update src/main/java/emu/grasscutter/command/commands/GiveCommand.java

Removing recalcStats since it's redundant

Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>

* Major changes and cleanup:
- AvatarSkillDepotData: removed getCombatSkills since it's unused
- TalentCommand: shortened /talent all using getSkillsAndEnergySkill
- GiveCommand: changed changeSkillLevel to setSkillLevel
- Avatar: delete changeSkillLevel and moved the operation inside setSkillLevel,updated skillId to Integer to catch special cases from GiveCommand

* Small cleanup:
Removed the special case from Avatar to be handled inside of GiveCommand

* Added "all" parameter to SetConst

* Changed all to [all] int SetConstCommand usage

Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>

Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
2022-10-24 14:28:39 +10:30
..
auth Update HttpServer & AuthenticationSystem to use Javalin 2022-09-01 13:20:42 -07:00
command Extend setConstCommand "all" (#1884) 2022-10-24 14:28:39 +10:30
config Move Data, Plugin, Script, Packet access from Strings to Paths (#1839) 2022-10-07 23:01:08 +10:30
data Fix whitespace [skip actions] 2022-10-18 14:56:26 +00:00
database Fix whitespace [skip actions] 2022-10-13 13:32:10 +00:00
game fix: unlocking home bgm doesn't work. (#1886) 2022-10-23 15:08:17 +10:30
net/packet Custom Teams (#1731) 2022-08-31 17:21:47 -07:00
plugin Move Data, Plugin, Script, Packet access from Strings to Paths (#1839) 2022-10-07 23:01:08 +10:30
scripts Fix IllegalStateException when execute toMap (#1879) 2022-10-21 21:49:48 +10:30
server fix: unlocking home bgm doesn't work. (#1886) 2022-10-23 15:08:17 +10:30
task Move PlayerManagers and GameServerSystems around 2022-07-21 00:21:00 -07:00
tools Refactor handbook generation to not use naked textmap getter 2022-10-15 23:58:33 +10:30
utils Fix edge case on FileUtils::getFilenameWithoutPath 2022-10-22 17:15:43 +10:30
GameConstants.java Updated MAX_FRIENDS (#1852) 2022-10-13 18:32:58 +10:30
Grasscutter.java Restore ability to run without jar (#1875) 2022-10-19 01:26:11 +10:30