guard dogs

This commit is contained in:
2023-06-25 21:32:36 -05:00
parent b2ce937b3f
commit 1b94f3f71d
2 changed files with 13 additions and 1 deletions
+3 -1
View File
@@ -1966,7 +1966,9 @@ public class Mob extends AbstractIntelligenceAgent {
Bounds mobBounds = Bounds.borrow();
mobBounds.setBounds(this.getLoc());
this.setBounds(mobBounds);
if(this.contract != null && this.contract.getContractID() == 910){
this.isPlayerGuard = true;
}
//assign 5 random patrol points for regular mobs
if (!this.isGuard() && !this.isPlayerGuard() && !this.isPet() && !this.isNecroPet() && !this.isSummonedPet() && !this.isCharmedPet()) {