mob casting logic upgrade

This commit is contained in:
2023-02-02 19:44:23 -06:00
parent 642cb3fdcf
commit b2ad7e0478
3 changed files with 66 additions and 28 deletions
+1
View File
@@ -91,6 +91,7 @@ public class Mob extends AbstractIntelligenceAgent {
private int aggroTargetID = 0;
private boolean walkingHome = true;
private long lastAttackTime = 0;
public long nextCastTime = 0;
private long deathTime = 0;
private ConcurrentHashMap<Mob, Integer> siegeMinionMap = new ConcurrentHashMap<>(MBServerStatics.CHM_INIT_CAP, MBServerStatics.CHM_LOAD, MBServerStatics.CHM_THREAD_LOW);
public ReentrantReadWriteLock minionLock = new ReentrantReadWriteLock();