forked from MagicBane/Server
mobs attack pets
This commit is contained in:
@@ -249,7 +249,7 @@ public class MobAI {
|
|||||||
if(target.isPet() && target.isAlive() == false && target.guardCaptain.isAlive() == true){
|
if(target.isPet() && target.isAlive() == false && target.guardCaptain.isAlive() == true){
|
||||||
mob.setCombatTarget(target.guardCaptain);
|
mob.setCombatTarget(target.guardCaptain);
|
||||||
}
|
}
|
||||||
if(target.level > 75){
|
if(mob.isPet()){
|
||||||
AttackMob(target,mob);
|
AttackMob(target,mob);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user