mobs will attack player pets
This commit is contained in:
@@ -106,6 +106,11 @@ public class MobAI {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(target.getPet() != null && target.getPet().isAlive()){
|
||||||
|
mob.setCombatTarget(target.getPet());
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (mob.BehaviourType.callsForHelp)
|
if (mob.BehaviourType.callsForHelp)
|
||||||
MobCallForHelp(mob);
|
MobCallForHelp(mob);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user