mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-13 23:44:55 +01:00
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>
This commit is contained in:
@@ -264,6 +264,7 @@
|
||||
"fail": "命之座等级设置失败。",
|
||||
"failed_success": "命之座 %s 已设置为 %s。",
|
||||
"success": "命之座 %s 已设置为 %s。",
|
||||
"successall": "🇺🇸Constellations for all characters have been set to %s.",
|
||||
"description": "为当前活跃角色设置命座等级"
|
||||
},
|
||||
"setFetterLevel": {
|
||||
|
||||
Reference in New Issue
Block a user