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

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

Merged
5 commits merged into from
Jun 5, 2022

Conversation

liizfq
Copy link
Contributor

@liizfq liizfq commented Jun 3, 2022

Description

Please carefully read the Contributing note and Code of conduct before making any pull requests.
And, Do not make a pull request to merge into stable unless it is a hotfix. Use the development branch instead.

Issues fixed by this PR

Type of changes

  • Bug fix
  • New feature
  • Enhancement
  • Documentation

Checklist:

  • My code follows the style guidelines of this project
  • My pull request is unique and no other pull requests have been opened for these changes
  • I have read the Contributing note and Code of conduct
  • I am responsible for any copyright issues with my code if it occurs in the future.

@Jay12358
Copy link

Jay12358 commented Jun 4, 2022

貌似只是添加了个命令是吗,启用命令之后依然是满能量

@liizfq
Copy link
Contributor Author

liizfq commented Jun 4, 2022

貌似只是添加了个命令是吗,启用命令之后依然是满能量

是在config.json中,energyUsage为true时才生效的命令。/this command is useful with energyUsage is true in config.json

@ghost ghost merged commit 36fb080 into Grasscutters:development Jun 5, 2022
Birdulon pushed a commit to Birdulon/Grasscutter that referenced this pull request Aug 21, 2022
…rasscutters#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 pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants