Easy AI first draft

This commit is contained in:
2025-01-08 20:29:42 -06:00
parent 88e16448a8
commit c1eb6796f5
10 changed files with 387 additions and 21 deletions
+5 -5
View File
@@ -96,7 +96,7 @@ public class Mob extends AbstractIntelligenceAgent {
private AbstractWorldObject fearedObject = null;
private int buildingID;
private boolean isSiege = false;
private long lastAttackTime = 0;
private long nextAttackTime = 0;
private int lastMobPowerToken = 0;
private HashMap<Integer, MobEquipment> equip = null;
private DeferredPowerJob weaponPower;
@@ -2237,12 +2237,12 @@ public class Mob extends AbstractIntelligenceAgent {
return this.upgradeDateTime != null;
}
public long getLastAttackTime() {
return lastAttackTime;
public long getNextAttackTime() {
return nextAttackTime;
}
public void setLastAttackTime(long lastAttackTime) {
this.lastAttackTime = lastAttackTime;
public void setNextAttackTime(long lastAttackTime) {
this.nextAttackTime = lastAttackTime;
}
public void setDeathTime(long deathTime) {