Revision of slow mitigation code.

Fix for the slow mitigation spam messages
Converted value from FLOAT to INT
Use SQL to update your npc_types table
This commit is contained in:
KayenEQ
2014-04-12 00:18:19 -04:00
parent 983c7a9c91
commit f9b46b46b1
13 changed files with 90 additions and 44 deletions
+1 -1
View File
@@ -2004,7 +2004,7 @@ void NPC::ModifyNPCStat(const char *identifier, const char *newValue)
if(id == "slow_mitigation")
{
slow_mitigation = atof(val.c_str());
slow_mitigation = atoi(val.c_str());
return;
}
if(id == "loottable_id")