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); final int hating = npc.getHating(t);
if (hating == 0) 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 // Add the attacker to the Attackable _aggroList with 0 damage and 1 hate
if (hating == 0) if (hating == 0)
{ {
npc.addDamageHate(t, 0, 1); npc.addDamageHate(t, 0, 0);
} }
if (npc instanceof GuardInstance) if (npc instanceof GuardInstance)
{ {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -549,7 +549,7 @@ public class AttackableAI extends CreatureAI
final int hating = npc.getHating(target); final int hating = npc.getHating(target);
if (hating == 0) if (hating == 0)
{ {
npc.addDamageHate(target, 0, 1); npc.addDamageHate(target, 0, 0);
} }
} }
return; return;
@@ -565,7 +565,7 @@ public class AttackableAI extends CreatureAI
if (npc.getHating(target) == 0) if (npc.getHating(target) == 0)
{ {
npc.addDamageHate(target, 0, 1); npc.addDamageHate(target, 0, 0);
} }
} }
}); });

View File

@@ -549,7 +549,7 @@ public class AttackableAI extends CreatureAI
final int hating = npc.getHating(target); final int hating = npc.getHating(target);
if (hating == 0) if (hating == 0)
{ {
npc.addDamageHate(target, 0, 1); npc.addDamageHate(target, 0, 0);
} }
} }
return; return;
@@ -565,7 +565,7 @@ public class AttackableAI extends CreatureAI
if (npc.getHating(target) == 0) if (npc.getHating(target) == 0)
{ {
npc.addDamageHate(target, 0, 1); npc.addDamageHate(target, 0, 0);
} }
} }
}); });

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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