add new command (unlimitenergy):toggle energyusage for each player (#1186)

* add new command (unlimitenergy):toggle energyusage for each player while  energyusage is ture in config.json

* Solve the problem of layout and naming errors

* make currentActiveTeam's Avatar full-energy while turn on the ule.

* Resolve language document errors

* add config_error message while player try to execute UnlimitEnergyCommand in GAME_OPTIONS.energyUsage == false
This commit is contained in:
liizfq
2022-06-05 10:14:52 +08:00
committed by GitHub
parent fa2ab59887
commit 934fb5873a
4 changed files with 409 additions and 332 deletions

View File

@@ -157,6 +157,12 @@
"success": "NoStamina 已设为 %s。[用户:%s]",
"description": "保持你的体力处于最高状态"
},
"unlimitenergy": {
"usage": "用法unlimitenergy [目标玩家] [on | off | toggle ]",
"success": "unlimitEnergy 已设为 %s。[用户:%s]",
"description": "使用元素爆发不消耗能量",
"config_error": "当前命令不可用需要在config.json中配置 energyUsage : true 才可生效"
},
"giveArtifact": {
"usage": "用法giveart|gart [玩家] <圣遗物ID> <主词条ID> [<副词条ID>[,<强化次数>]]... [等级]",
"id_error": "无效的圣遗物ID。",