[Commands] Add #sethp Command. (#1840)

- Add #sethp [Health] command to set an NPC or player's health to a specified amount, or to max if the amount is greater than their max.
- Cleanup #heal command message and logic.
This commit is contained in:
Kinglykrab
2021-11-27 19:08:00 -05:00
committed by GitHub
parent c4c5256438
commit a5348e207b
5 changed files with 80 additions and 14 deletions
+1
View File
@@ -247,6 +247,7 @@ void command_setanim(Client *c, const Seperator *sep);
void command_setcrystals(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);
void command_setlanguage(Client *c, const Seperator *sep);
void command_setlsinfo(Client *c, const Seperator *sep);
void command_setmana(Client *c, const Seperator *sep);