replaced MobileFSM.STATE with MobileFSM.MobBehaviourTypes
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
package engine.powers.poweractions;
|
||||
|
||||
import engine.Enum.GameObjectType;
|
||||
import engine.ai.MobileFSM.STATE;
|
||||
import engine.math.Vector3fImmutable;
|
||||
import engine.objects.AbstractCharacter;
|
||||
import engine.objects.AbstractWorldObject;
|
||||
@@ -32,7 +31,6 @@ public class ClearAggroPowerAction extends AbstractPowerAction {
|
||||
protected void _startAction(AbstractCharacter source, AbstractWorldObject awo, Vector3fImmutable targetLoc, int trains, ActionsBase ab, PowersBase pb) {
|
||||
if (awo != null && awo.getObjectType() == GameObjectType.Mob){
|
||||
((Mob)awo).setNoAggro(true);
|
||||
((Mob)awo).state = STATE.Patrol;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user