_DS_ 15 年之前
父節點
當前提交
5b4cea6b54

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

@@ -543,7 +543,7 @@ public class L2AttackableAI extends L2CharacterAI implements Runnable
 					x1 = ((L2MinionInstance) _actor).getLeader().getX() + x1 - offset;
 				else
 					x1 = ((L2MinionInstance) _actor).getLeader().getX() - x1 + minRadius;
-				if (y1 > offset - minRadius)
+				if (y1 > offset + minRadius)
 					y1 = ((L2MinionInstance) _actor).getLeader().getY() + y1 - offset;
 				else
 					y1 = ((L2MinionInstance) _actor).getLeader().getY() - y1 + minRadius;

+ 1 - 1
L2_GameServer/java/com/l2jserver/gameserver/util/MinionList.java

@@ -251,7 +251,7 @@ public class MinionList
 			newX = master.getX() + newX - offset;
 		else
 			newX = master.getX() - newX + minRadius;
-		if (newY > offset - minRadius)
+		if (newY > offset + minRadius)
 			newY = master.getY() + newY - offset;
 		else
 			newY = master.getY() - newY + minRadius;