Parcourir la source

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

Reported by: mars8022
Patch by: Zephyr
Nos il y a 11 ans
Parent
commit
0ebcc0cf14

+ 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;
 				}