From 54b7bcf9072033709afcf06ade46e61745714afc Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 14 Mar 2024 19:40:07 -0500 Subject: [PATCH] pet buffs castable again --- src/engine/gameManager/PowersManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/gameManager/PowersManager.java b/src/engine/gameManager/PowersManager.java index b81534a5..3d4aac1a 100644 --- a/src/engine/gameManager/PowersManager.java +++ b/src/engine/gameManager/PowersManager.java @@ -2487,11 +2487,11 @@ public enum PowersManager { ChatManager.chatSystemInfo(pc, outmsg); return false; // can't target player, stop here } // target is mob - else if ((target.getObjectTypeMask() & MBServerStatics.MASK_MOB) != 0) + else if ((target.getObjectTypeMask() & MBServerStatics.MASK_MOB) != 0 && ((Mob)target).isPet() == false) return pb.targetMob(); // target is pet - else if ((target.getObjectTypeMask() & MBServerStatics.MASK_PET) != 0) + else if ((target.getObjectTypeMask() & MBServerStatics.MASK_MOB) != 0 && ((Mob)target).isPet() == true) return pb.targetPet(); // target is Building