Relevant methods made static and moved into NPCManager
This commit is contained in:
1 parent
bbdbead1ff
commit
3881c2b1d0
20 files changed
+507
-539
No files matched your search
@@ -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