|
|
@ -14,17 +14,14 @@ import engine.math.Vector3fImmutable; |
|
|
|
import engine.mbEnums.GameObjectType; |
|
|
|
import engine.mbEnums.GameObjectType; |
|
|
|
import engine.objects.AbstractCharacter; |
|
|
|
import engine.objects.AbstractCharacter; |
|
|
|
import engine.objects.AbstractWorldObject; |
|
|
|
import engine.objects.AbstractWorldObject; |
|
|
|
import engine.objects.Mob; |
|
|
|
|
|
|
|
import engine.powers.ActionsBase; |
|
|
|
import engine.powers.ActionsBase; |
|
|
|
import engine.powers.PowersBase; |
|
|
|
import engine.powers.PowersBase; |
|
|
|
|
|
|
|
import engine.wpak.data.PowerAction; |
|
|
|
import java.sql.ResultSet; |
|
|
|
|
|
|
|
import java.sql.SQLException; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class MobRecallPowerAction extends AbstractPowerAction { |
|
|
|
public class MobRecallPowerAction extends AbstractPowerAction { |
|
|
|
|
|
|
|
|
|
|
|
public MobRecallPowerAction(ResultSet rs) throws SQLException { |
|
|
|
public MobRecallPowerAction(PowerAction rs) { |
|
|
|
super(rs); |
|
|
|
super(rs); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -41,7 +38,7 @@ public class MobRecallPowerAction extends AbstractPowerAction { |
|
|
|
MovementManager.translocate(awoac, awoac.getBindLoc()); |
|
|
|
MovementManager.translocate(awoac, awoac.getBindLoc()); |
|
|
|
if (awoac.getObjectType() == GameObjectType.Mob) { |
|
|
|
if (awoac.getObjectType() == GameObjectType.Mob) { |
|
|
|
//MobAI.setAwake((Mob)awoac,true);
|
|
|
|
//MobAI.setAwake((Mob)awoac,true);
|
|
|
|
((Mob) awoac).setCombatTarget(null); |
|
|
|
(awoac).setCombatTarget(null); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|