diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java index 81cea70ced..496159e8a9 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java @@ -83,12 +83,11 @@ public class L2NpcAction implements IActionHandler // Check if the activeChar is attackable (without a forced attack) and isn't dead if (target.isAutoAttackable(activeChar) && !((L2Character) target).isAlikeDead()) { - // Check the height difference + // Check if target is in LoS if (GeoEngine.getInstance().canSeeTarget(activeChar, target)) { // Set the L2PcInstance Intention to AI_INTENTION_ATTACK activeChar.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, target); - // activeChar.startAttack(this); } else { diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java index 81cea70ced..496159e8a9 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java @@ -83,12 +83,11 @@ public class L2NpcAction implements IActionHandler // Check if the activeChar is attackable (without a forced attack) and isn't dead if (target.isAutoAttackable(activeChar) && !((L2Character) target).isAlikeDead()) { - // Check the height difference + // Check if target is in LoS if (GeoEngine.getInstance().canSeeTarget(activeChar, target)) { // Set the L2PcInstance Intention to AI_INTENTION_ATTACK activeChar.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, target); - // activeChar.startAttack(this); } else { diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java index 81cea70ced..496159e8a9 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java @@ -83,12 +83,11 @@ public class L2NpcAction implements IActionHandler // Check if the activeChar is attackable (without a forced attack) and isn't dead if (target.isAutoAttackable(activeChar) && !((L2Character) target).isAlikeDead()) { - // Check the height difference + // Check if target is in LoS if (GeoEngine.getInstance().canSeeTarget(activeChar, target)) { // Set the L2PcInstance Intention to AI_INTENTION_ATTACK activeChar.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, target); - // activeChar.startAttack(this); } else { diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java index 81cea70ced..496159e8a9 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java @@ -83,12 +83,11 @@ public class L2NpcAction implements IActionHandler // Check if the activeChar is attackable (without a forced attack) and isn't dead if (target.isAutoAttackable(activeChar) && !((L2Character) target).isAlikeDead()) { - // Check the height difference + // Check if target is in LoS if (GeoEngine.getInstance().canSeeTarget(activeChar, target)) { // Set the L2PcInstance Intention to AI_INTENTION_ATTACK activeChar.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, target); - // activeChar.startAttack(this); } else { diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java index 81cea70ced..496159e8a9 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java +++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java @@ -83,12 +83,11 @@ public class L2NpcAction implements IActionHandler // Check if the activeChar is attackable (without a forced attack) and isn't dead if (target.isAutoAttackable(activeChar) && !((L2Character) target).isAlikeDead()) { - // Check the height difference + // Check if target is in LoS if (GeoEngine.getInstance().canSeeTarget(activeChar, target)) { // Set the L2PcInstance Intention to AI_INTENTION_ATTACK activeChar.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, target); - // activeChar.startAttack(this); } else { diff --git a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java b/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java index 81cea70ced..496159e8a9 100644 --- a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java +++ b/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java @@ -83,12 +83,11 @@ public class L2NpcAction implements IActionHandler // Check if the activeChar is attackable (without a forced attack) and isn't dead if (target.isAutoAttackable(activeChar) && !((L2Character) target).isAlikeDead()) { - // Check the height difference + // Check if target is in LoS if (GeoEngine.getInstance().canSeeTarget(activeChar, target)) { // Set the L2PcInstance Intention to AI_INTENTION_ATTACK activeChar.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, target); - // activeChar.startAttack(this); } else {