[Commands] Add #setmana Command. (#1839)

* [Commands] Add #setmana Command.
- Add #setmana [Mana] command to set an NPC or player's mana to a specified amount, or to max if the amount is greater than their max.
- Cleanup #mana command message and logic.

* Update mana.cpp
This commit is contained in:
Kinglykrab
2021-11-27 19:07:47 -05:00
committed by GitHub
parent b3b9899a23
commit c4c5256438
5 changed files with 87 additions and 15 deletions
+1
View File
@@ -249,6 +249,7 @@ void command_setfaction(Client *c, const Seperator *sep);
void command_setgraveyard(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);
void command_setpass(Client *c, const Seperator *sep);
void command_setpvppoints(Client *c, const Seperator *sep);
void command_setskill(Client *c, const Seperator *sep);