new stat calculations
This commit is contained in:
@@ -10,6 +10,7 @@ package engine.gameManager;
|
|||||||
|
|
||||||
import engine.Enum.*;
|
import engine.Enum.*;
|
||||||
import engine.InterestManagement.HeightMap;
|
import engine.InterestManagement.HeightMap;
|
||||||
|
import engine.InterestManagement.InterestManager;
|
||||||
import engine.InterestManagement.WorldGrid;
|
import engine.InterestManagement.WorldGrid;
|
||||||
import engine.db.handlers.dbEffectsBaseHandler;
|
import engine.db.handlers.dbEffectsBaseHandler;
|
||||||
import engine.db.handlers.dbPowerHandler;
|
import engine.db.handlers.dbPowerHandler;
|
||||||
@@ -197,7 +198,8 @@ public enum PowersManager {
|
|||||||
msg.setUnknown04(1);
|
msg.setUnknown04(1);
|
||||||
|
|
||||||
if (useMobPowerA(msg, caster)) {
|
if (useMobPowerA(msg, caster)) {
|
||||||
//sendMobPowerMsg(caster,2,msg); //Lol wtf was i thinking sending msg's to mobs... ZZZZ
|
if(pb.token == -1994153779)
|
||||||
|
InterestManager.setObjectDirty(caster);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -964,7 +964,6 @@ public class MobAI {
|
|||||||
PowersBase recall = PowersManager.getPowerByToken(-1994153779);
|
PowersBase recall = PowersManager.getPowerByToken(-1994153779);
|
||||||
PowersManager.useMobPower(mob, mob, recall, 40);
|
PowersManager.useMobPower(mob, mob, recall, 40);
|
||||||
mob.setCombatTarget(null);
|
mob.setCombatTarget(null);
|
||||||
|
|
||||||
if (mob.BehaviourType.ordinal() == Enum.MobBehaviourType.GuardCaptain.ordinal() && mob.isAlive()) {
|
if (mob.BehaviourType.ordinal() == Enum.MobBehaviourType.GuardCaptain.ordinal() && mob.isAlive()) {
|
||||||
|
|
||||||
//guard captain pulls his minions home with him
|
//guard captain pulls his minions home with him
|
||||||
|
|||||||
@@ -1444,6 +1444,7 @@ public class Mob extends AbstractIntelligenceAgent {
|
|||||||
this.updateLocation();
|
this.updateLocation();
|
||||||
this.stopPatrolTime = 0;
|
this.stopPatrolTime = 0;
|
||||||
this.lastPatrolPointIndex = 0;
|
this.lastPatrolPointIndex = 0;
|
||||||
|
InterestManager.setObjectDirty(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void despawn() {
|
public void despawn() {
|
||||||
|
|||||||
Reference in New Issue
Block a user