diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/SiegeGuards.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/SiegeGuards.java index b104a1ff86..bc20d7ddf8 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/SiegeGuards.java +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/others/SiegeGuards.java @@ -106,7 +106,7 @@ public class SiegeGuards extends AbstractNpcAI { for (L2Character nearby : L2World.getInstance().getVisibleObjects(npc, L2Character.class, npc.getAggroRange())) { - if (nearby.isPlayable() && (npc.calculateDirectionTo(nearby) < npc.getAggroRange()) && GeoEngine.getInstance().canSeeTarget(npc, nearby)) + if (nearby.isPlayable() && GeoEngine.getInstance().canSeeTarget(npc, nearby)) { final L2Summon summon = nearby.isSummon() ? ((L2Summon) nearby) : null; final L2PcInstance cha = summon == null ? (L2PcInstance) nearby : summon.getOwner(); diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/SiegeGuards.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/SiegeGuards.java index b104a1ff86..bc20d7ddf8 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/SiegeGuards.java +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/others/SiegeGuards.java @@ -106,7 +106,7 @@ public class SiegeGuards extends AbstractNpcAI { for (L2Character nearby : L2World.getInstance().getVisibleObjects(npc, L2Character.class, npc.getAggroRange())) { - if (nearby.isPlayable() && (npc.calculateDirectionTo(nearby) < npc.getAggroRange()) && GeoEngine.getInstance().canSeeTarget(npc, nearby)) + if (nearby.isPlayable() && GeoEngine.getInstance().canSeeTarget(npc, nearby)) { final L2Summon summon = nearby.isSummon() ? ((L2Summon) nearby) : null; final L2PcInstance cha = summon == null ? (L2PcInstance) nearby : summon.getOwner(); diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/SiegeGuards.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/SiegeGuards.java index b104a1ff86..bc20d7ddf8 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/SiegeGuards.java +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/others/SiegeGuards.java @@ -106,7 +106,7 @@ public class SiegeGuards extends AbstractNpcAI { for (L2Character nearby : L2World.getInstance().getVisibleObjects(npc, L2Character.class, npc.getAggroRange())) { - if (nearby.isPlayable() && (npc.calculateDirectionTo(nearby) < npc.getAggroRange()) && GeoEngine.getInstance().canSeeTarget(npc, nearby)) + if (nearby.isPlayable() && GeoEngine.getInstance().canSeeTarget(npc, nearby)) { final L2Summon summon = nearby.isSummon() ? ((L2Summon) nearby) : null; final L2PcInstance cha = summon == null ? (L2PcInstance) nearby : summon.getOwner(); diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/SiegeGuards.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/SiegeGuards.java index b104a1ff86..bc20d7ddf8 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/SiegeGuards.java +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/ai/others/SiegeGuards.java @@ -106,7 +106,7 @@ public class SiegeGuards extends AbstractNpcAI { for (L2Character nearby : L2World.getInstance().getVisibleObjects(npc, L2Character.class, npc.getAggroRange())) { - if (nearby.isPlayable() && (npc.calculateDirectionTo(nearby) < npc.getAggroRange()) && GeoEngine.getInstance().canSeeTarget(npc, nearby)) + if (nearby.isPlayable() && GeoEngine.getInstance().canSeeTarget(npc, nearby)) { final L2Summon summon = nearby.isSummon() ? ((L2Summon) nearby) : null; final L2PcInstance cha = summon == null ? (L2PcInstance) nearby : summon.getOwner(); diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/SiegeGuards.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/SiegeGuards.java index 7896e3ebd0..ebac6099db 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/SiegeGuards.java +++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/SiegeGuards.java @@ -80,7 +80,7 @@ public class SiegeGuards extends AbstractNpcAI { for (L2Character nearby : L2World.getInstance().getVisibleObjects(npc, L2Character.class, npc.getAggroRange())) { - if (nearby.isPlayable() && (npc.calculateDirectionTo(nearby) < npc.getAggroRange()) && GeoEngine.getInstance().canSeeTarget(npc, nearby)) + if (nearby.isPlayable() && GeoEngine.getInstance().canSeeTarget(npc, nearby)) { final L2Summon summon = nearby.isSummon() ? ((L2Summon) nearby) : null; final L2PcInstance cha = summon == null ? (L2PcInstance) nearby : summon.getOwner();