new mob aggro system

This commit is contained in:
2025-02-27 15:43:43 -06:00
parent c24d779d08
commit 140ba6ae75
4 changed files with 93 additions and 58 deletions
+3
View File
@@ -111,6 +111,8 @@ public class Mob extends AbstractIntelligenceAgent {
public boolean StrongholdEpic = false;
public boolean isDropper = false;
public HashMap<PlayerCharacter,Float> hate_values;
/**
* No Id Constructor
@@ -1450,6 +1452,7 @@ public class Mob extends AbstractIntelligenceAgent {
this.stopPatrolTime = 0;
this.lastPatrolPointIndex = 0;
InterestManager.setObjectDirty(this);
this.hate_values = new HashMap<>();
}
public void despawn() {