Initial aggro value should be 0.

This commit is contained in:
MobiusDevelopment
2021-04-26 01:06:19 +00:00
parent d1c1a9ba5a
commit 445e400e14
21 changed files with 42 additions and 42 deletions

View File

@ -398,7 +398,7 @@ public class AttackableAI extends CreatureAI
final int hating = npc.getHating(t);
if (hating == 0)
{
npc.addDamageHate(t, 0, 1);
npc.addDamageHate(t, 0, 0);
}
}
}
@ -416,7 +416,7 @@ public class AttackableAI extends CreatureAI
// Add the attacker to the Attackable _aggroList with 0 damage and 1 hate
if (hating == 0)
{
npc.addDamageHate(t, 0, 1);
npc.addDamageHate(t, 0, 0);
}
if (npc instanceof GuardInstance)
{