Refactored isWallArcher().
This commit is contained in:
1 parent
4ae55b9bd8
commit
3419c1ceea
3 files changed
+16
-24
No files matched your search
@@ -1903,7 +1903,7 @@ public class Mob extends AbstractIntelligenceAgent {
|
||||
if (this.BehaviourType == null)
|
||||
this.BehaviourType = this.getMobBase().fsm;
|
||||
|
||||
if (this.isPlayerGuard() && this.contract != null) if (NPC.ISWallArcher(this.getContract().getContractID()))
|
||||
if (this.isPlayerGuard() && this.contract != null) if (NPC.ISWallArcher(this.getContract()))
|
||||
this.BehaviourType = MobBehaviourType.GuardWallArcher;
|
||||
else this.BehaviourType = MobBehaviourType.GuardCaptain;
|
||||
|
||||
|
||||
Reference in new issue
Block a user