|
|
|
@ -2487,11 +2487,11 @@ public enum PowersManager {
@@ -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
|
|
|
|
|