Logs::NPCScaling to LogNPCScaling

This commit is contained in:
Akkadius
2019-09-02 03:35:19 -05:00
parent c3a94766ea
commit 70ba7c9c85
2 changed files with 18 additions and 29 deletions
+1 -1
View File
@@ -2153,7 +2153,7 @@ void NPC::ModifyNPCStat(const char *identifier, const char *new_value)
std::string variable_key = StringFormat("modify_stat_%s", id.c_str());
SetEntityVariable(variable_key.c_str(), new_value);
Log(Logs::Detail, Logs::NPCScaling, "NPC::ModifyNPCStat key: %s val: %s ", variable_key.c_str(), new_value);
LogNPCScaling("NPC::ModifyNPCStat key: [{}] val: [{}] ", variable_key.c_str(), new_value);
if (id == "ac") {
AC = atoi(val.c_str());