More hate changes

This commit is contained in:
Akkadius
2014-12-27 20:23:49 -06:00
parent 21ce6efc73
commit 73fe229e25
12 changed files with 22 additions and 18 deletions
+1 -1
View File
@@ -3728,7 +3728,7 @@ void Mob::DoBuffTic(uint16 spell_id, int slot, uint32 ticsremaining, uint8 caste
case SE_AddHateOverTimePct:
{
if (IsNPC()){
int32 new_hate = CastToNPC()->GetHateAmount(caster) * (100 + spell.base[i]) / 100;
uint32 new_hate = CastToNPC()->GetHateAmount(caster) * (100 + spell.base[i]) / 100;
if (new_hate <= 0)
new_hate = 1;