new mob aggro system

This commit is contained in:
FatBoy committed 2025-02-27 15:43:43 -06:00
1 parent c24d779d08
commit 140ba6ae75
4 files changed
+93 -58

No files matched your search

+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() {