diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index 86899365..0eb10a2f 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -246,6 +246,8 @@ public class MobAI { //no weapons, default mob attack speed 3 seconds. + MobVsMobRetaliate(target,mob); + ItemBase mainHand = mob.getWeaponItemBase(true); ItemBase offHand = mob.getWeaponItemBase(false); @@ -1496,4 +1498,11 @@ public class MobAI { if(mostHated != null) mob.setCombatTarget(mostHated); } + + public static void MobVsMobRetaliate(Mob retaliator, Mob attacker){ + if(CombatUtilities.inRangeToAttack(retaliator,attacker)){ + CombatUtilities.combatCycle(retaliator,attacker,true,null); + } + + } } \ No newline at end of file