Relevant methods made static and moved into NPCManager
This commit is contained in:
@@ -32,8 +32,8 @@ 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).setState(STATE.Patrol);
|
||||
}
|
||||
((Mob)awo).state = STATE.Patrol;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user