|
|
@ -2487,11 +2487,11 @@ public enum PowersManager { |
|
|
|
ChatManager.chatSystemInfo(pc, outmsg); |
|
|
|
ChatManager.chatSystemInfo(pc, outmsg); |
|
|
|
return false; // can't target player, stop here
|
|
|
|
return false; // can't target player, stop here
|
|
|
|
} // target is mob
|
|
|
|
} // 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(); |
|
|
|
return pb.targetMob(); |
|
|
|
|
|
|
|
|
|
|
|
// target is pet
|
|
|
|
// 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(); |
|
|
|
return pb.targetPet(); |
|
|
|
|
|
|
|
|
|
|
|
// target is Building
|
|
|
|
// target is Building
|
|
|
|