From 216941d73bee72c234a7494b19280b7106de0e2d Mon Sep 17 00:00:00 2001
From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com>
Date: Fri, 15 Sep 2017 15:06:20 +0000
Subject: [PATCH] Improved YeSagiraGuards AI.
---
.../data/scripts/ai/areas/TalkingIsland/YeSagiraGuards.java | 1 +
.../dist/game/data/stats/npcs/19100-19199.xml | 4 ++--
.../data/scripts/ai/areas/TalkingIsland/YeSagiraGuards.java | 1 +
.../dist/game/data/stats/npcs/19100-19199.xml | 4 ++--
.../data/scripts/ai/areas/TalkingIsland/YeSagiraGuards.java | 1 +
.../dist/game/data/stats/npcs/19100-19199.xml | 4 ++--
6 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/areas/TalkingIsland/YeSagiraGuards.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/areas/TalkingIsland/YeSagiraGuards.java
index cb7162536f..0b56e819f0 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/areas/TalkingIsland/YeSagiraGuards.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/ai/areas/TalkingIsland/YeSagiraGuards.java
@@ -68,6 +68,7 @@ public final class YeSagiraGuards extends AbstractNpcAI
@Override
public String onSpawn(L2Npc npc)
{
+ npc.setIsInvul(true);
startQuestTimer("GUARD_AGGRO", 5000, npc, null, false);
return super.onSpawn(npc);
}
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/stats/npcs/19100-19199.xml b/L2J_Mobius_1.0_Ertheia/dist/game/data/stats/npcs/19100-19199.xml
index d229329cad..64f8fa1602 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/stats/npcs/19100-19199.xml
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/stats/npcs/19100-19199.xml
@@ -1667,7 +1667,7 @@
-
+
@@ -1692,7 +1692,7 @@
-
+
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/areas/TalkingIsland/YeSagiraGuards.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/areas/TalkingIsland/YeSagiraGuards.java
index cb7162536f..0b56e819f0 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/areas/TalkingIsland/YeSagiraGuards.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/ai/areas/TalkingIsland/YeSagiraGuards.java
@@ -68,6 +68,7 @@ public final class YeSagiraGuards extends AbstractNpcAI
@Override
public String onSpawn(L2Npc npc)
{
+ npc.setIsInvul(true);
startQuestTimer("GUARD_AGGRO", 5000, npc, null, false);
return super.onSpawn(npc);
}
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/stats/npcs/19100-19199.xml b/L2J_Mobius_2.5_Underground/dist/game/data/stats/npcs/19100-19199.xml
index 89cb9e9774..ab949aeaa1 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/stats/npcs/19100-19199.xml
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/stats/npcs/19100-19199.xml
@@ -1667,7 +1667,7 @@
-
+
@@ -1692,7 +1692,7 @@
-
+
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/TalkingIsland/YeSagiraGuards.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/TalkingIsland/YeSagiraGuards.java
index cb7162536f..0b56e819f0 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/TalkingIsland/YeSagiraGuards.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/ai/areas/TalkingIsland/YeSagiraGuards.java
@@ -68,6 +68,7 @@ public final class YeSagiraGuards extends AbstractNpcAI
@Override
public String onSpawn(L2Npc npc)
{
+ npc.setIsInvul(true);
startQuestTimer("GUARD_AGGRO", 5000, npc, null, false);
return super.onSpawn(npc);
}
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/stats/npcs/19100-19199.xml b/L2J_Mobius_3.0_Helios/dist/game/data/stats/npcs/19100-19199.xml
index b73fbf2416..25757f06db 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/stats/npcs/19100-19199.xml
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/stats/npcs/19100-19199.xml
@@ -1538,7 +1538,7 @@
-
+
@@ -1563,7 +1563,7 @@
-
+