2
0
Эх сурвалжийг харах

attempt to fix problem after [4151]

JIV 15 жил өмнө
parent
commit
2832ff73db

+ 2 - 2
L2_GameServer/java/com/l2jserver/gameserver/ai/L2AttackableAI.java

@@ -2508,7 +2508,7 @@ public class L2AttackableAI extends L2CharacterAI implements Runnable
 				setIntention(CtrlIntention.AI_INTENTION_ATTACK, target);
 			}
 			
-			if (me instanceof L2MonsterInstance)
+			/*if (me instanceof L2MonsterInstance)
 			{
 				L2MonsterInstance master = (L2MonsterInstance) me;
 				
@@ -2523,7 +2523,7 @@ public class L2AttackableAI extends L2CharacterAI implements Runnable
 				}
 				else if (master.hasMinions())
 					master.callMinionsToAssist(target);
-			}
+			}*/
 		}
 	}
 

+ 1 - 1
L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2MonsterInstance.java

@@ -189,7 +189,7 @@ public class L2MonsterInstance extends L2Attackable
 		{
 			for (L2MinionInstance minion : _minionList.getSpawnedMinions())
 			{
-				if (minion == null || minion.isDead())
+				if (minion == null || minion.isDead() || minion.isInCombat())
 					continue;
 
 				// Trigger the aggro condition of the minion