فهرست منبع

BETA: Fixed a minor typo causing monsters to attack each other with AOE skills.

Reported by: mars8022
Patch by: Zephyr
Nos 11 سال پیش
والد
کامیت
0ebcc0cf14
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/skills/Skill.java

+ 1 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/model/skills/Skill.java

@@ -1184,7 +1184,7 @@ public final class Skill implements IChanceSkillTrigger, IIdentifiable
 			// target is mob
 			if ((targetPlayer == null) && (target instanceof L2Attackable) && (caster instanceof L2Attackable))
 			{
-				if (((L2Attackable) caster).isInEnemyClan((L2Attackable) target))
+				if (!((L2Attackable) caster).isInEnemyClan((L2Attackable) target))
 				{
 					return false;
 				}