[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

+2 -2
View File
@@ -431,8 +431,8 @@ public:
void SetAvoidanceRating(int32 d) { avoidance_rating = d;}
int32 GetRawAC() const { return AC; }
float GetNPCStat(const char *identifier);
void ModifyNPCStat(const char *identifier, const char *new_value);
float GetNPCStat(std::string stat);
void ModifyNPCStat(std::string stat, std::string value);
virtual void SetLevel(uint8 in_level, bool command = false);
bool IsLDoNTrapped() const { return (ldon_trapped); }