Check if effected NPC is not attackable.
This commit is contained in:
L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/RealDamage.java
Vendored
+2
-2
@@ -51,8 +51,8 @@ public class RealDamage extends AbstractEffect
|
||||
return;
|
||||
}
|
||||
|
||||
// Check if effected is not attackable.
|
||||
if (!effected.isAttackable())
|
||||
// Check if effected NPC is not attackable.
|
||||
if (effected.isNpc() && !effected.isAttackable())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user