AutoDeath based on player power status and player credits - #2276
AutoDeath based on player power status and player credits#2276Flactine wants to merge 18 commits into
Conversation
|
To Chinese users:
|
|
Nightly build for this pull request:
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build. |
|
Note: You can use AI skill for generating Chinese docs. |
Coronia
left a comment
There was a problem hiding this comment.
would be better to rename the tag to none/low/full since it's been widely used in many places already
Coronia
left a comment
There was a problem hiding this comment.
for code style and reusablity, some tag/variable names should be changed, especially PowerStatus which already has common terminologies and is likely to be reused in the future
|
@Coronia I think the content of Request changes has been satisfied; it is enough to resolve conflicts and let testers test again. (The latest test post under the corresponding forum topic was compiled by the user themselves because no new Nightly Build was generated, rather than being generated by the workflow.) |
Add new auto-death conditions based on the owner's power status and credits.
PlayerPowerState: The object will die if its owner's power status matches the configured state.low/consumer: Trigger when the owner is in low power.full/normal: Trigger when the owner is not in low power.PlayerMoney.Max/PlayerMoney.Min: The object will die based on the owner's available credits.PlayerMoney.Maxis set, triggers when money is not above this value.PlayerMoney.Minis set, triggers when money is not below this value.PlayerPowerState:当对象所属方的电力状态符合设定条件时,则对象死亡。low/consumer:当对象所属方处于电力不足状态时触发。full/normal:当对象所属方未处于电力不足状态时触发。PlayerMoney.Max/PlayerMoney.Min:根据对象所属方的资金决定对象是否死亡。PlayerMoney.Max时,当资金不高于该值时触发。PlayerMoney.Min时,当资金不低于该值时触发。In
rulesmd.ini: