[Commands] Cleanup #modifynpcstat Command. (#2499)

* [Commands] Cleanup #modifynpcstat Command.

Cleanup messages and logic,

Add map and loop through it to display all stats, can add to this in the future if we add more stuff modifiable by this command.

* Delete settings.json

* Update modifynpcstat.cpp

* Update modifynpcstat.cpp

* Update questmgr.h
This commit is contained in:
Kinglykrab authored and GitHub committed 2022-10-29 21:22:07 -04:00
1 parent b512447448
commit dcbc9a358f
11 files changed
+288 -192

No files matched your search

+3
View File
@@ -28,6 +28,9 @@ int command_notavail(Client *c, std::string message);
int command_realdispatch(Client *c, std::string message);
void command_logcommand(Client *c, std::string message);
uint8 GetCommandStatus(Client *c, std::string command_name);
void ListModifyNPCStatMap(Client *c);
std::map<std::string, std::string> GetModifyNPCStatMap();
std::string GetModifyNPCStatDescription(std::string stat);
// Commands
void command_acceptrules(Client *c, const Seperator *sep);