[Commands] Add #setendurance Command. (#1841)

- Add #setendurance [Endurance] command to set an NPC or player's endurance to a specified amount, or to max if the amount is greater than their max.
- Cleanup #endurance command message and logic.
This commit is contained in:
Kinglykrab
2021-11-27 19:08:07 -05:00
committed by GitHub
parent a5348e207b
commit 225497337c
5 changed files with 92 additions and 18 deletions
+1
View File
@@ -245,6 +245,7 @@ void command_setaapts(Client *c, const Seperator *sep);
void command_setaaxp(Client *c, const Seperator *sep);
void command_setanim(Client *c, const Seperator *sep);
void command_setcrystals(Client *c, const Seperator *sep);
void command_setendurance(Client *c, const Seperator *sep);
void command_setfaction(Client *c, const Seperator *sep);
void command_setgraveyard(Client *c, const Seperator *sep);
void command_sethp(Client *c, const Seperator *sep);