Improved YeSagiraGuards AI.

This commit is contained in:
MobiusDev
2017-09-15 15:06:20 +00:00
parent 0ab1ae825b
commit 216941d73b
6 changed files with 9 additions and 6 deletions

View File

@@ -68,6 +68,7 @@ public final class YeSagiraGuards extends AbstractNpcAI
@Override @Override
public String onSpawn(L2Npc npc) public String onSpawn(L2Npc npc)
{ {
npc.setIsInvul(true);
startQuestTimer("GUARD_AGGRO", 5000, npc, null, false); startQuestTimer("GUARD_AGGRO", 5000, npc, null, false);
return super.onSpawn(npc); return super.onSpawn(npc);
} }

View File

@@ -1667,7 +1667,7 @@
<defence physical="61.82527" magical="45.24105" /> <defence physical="61.82527" magical="45.24105" />
<abnormalResist physical="10" magical="10" /> <abnormalResist physical="10" magical="10" />
</stats> </stats>
<status attackable="false" talkable="false" targetable="false" /> <status attackable="false" talkable="false" />
<skill_list> <skill_list>
<skill id="4416" level="14" /> <!-- Humans --> <skill id="4416" level="14" /> <!-- Humans -->
<skill id="4415" level="3" /> <!-- One-handed Sword --> <skill id="4415" level="3" /> <!-- One-handed Sword -->
@@ -1692,7 +1692,7 @@
<defence physical="61.82527" magical="45.24105" /> <defence physical="61.82527" magical="45.24105" />
<abnormalResist physical="10" magical="10" /> <abnormalResist physical="10" magical="10" />
</stats> </stats>
<status attackable="false" talkable="false" targetable="false" /> <status attackable="false" talkable="false" />
<skill_list> <skill_list>
<skill id="4416" level="14" /> <!-- Humans --> <skill id="4416" level="14" /> <!-- Humans -->
<skill id="4415" level="3" /> <!-- One-handed Sword --> <skill id="4415" level="3" /> <!-- One-handed Sword -->

View File

@@ -68,6 +68,7 @@ public final class YeSagiraGuards extends AbstractNpcAI
@Override @Override
public String onSpawn(L2Npc npc) public String onSpawn(L2Npc npc)
{ {
npc.setIsInvul(true);
startQuestTimer("GUARD_AGGRO", 5000, npc, null, false); startQuestTimer("GUARD_AGGRO", 5000, npc, null, false);
return super.onSpawn(npc); return super.onSpawn(npc);
} }

View File

@@ -1667,7 +1667,7 @@
<defence physical="61.82527" magical="45.24105" /> <defence physical="61.82527" magical="45.24105" />
<abnormalResist physical="10" magical="10" /> <abnormalResist physical="10" magical="10" />
</stats> </stats>
<status attackable="false" talkable="false" targetable="false" /> <status attackable="false" talkable="false" />
<skill_list> <skill_list>
<skill id="4416" level="14" /> <!-- Humans --> <skill id="4416" level="14" /> <!-- Humans -->
<skill id="4415" level="3" /> <!-- One-handed Sword --> <skill id="4415" level="3" /> <!-- One-handed Sword -->
@@ -1692,7 +1692,7 @@
<defence physical="61.82527" magical="45.24105" /> <defence physical="61.82527" magical="45.24105" />
<abnormalResist physical="10" magical="10" /> <abnormalResist physical="10" magical="10" />
</stats> </stats>
<status attackable="false" talkable="false" targetable="false" /> <status attackable="false" talkable="false" />
<skill_list> <skill_list>
<skill id="4416" level="14" /> <!-- Humans --> <skill id="4416" level="14" /> <!-- Humans -->
<skill id="4415" level="3" /> <!-- One-handed Sword --> <skill id="4415" level="3" /> <!-- One-handed Sword -->

View File

@@ -68,6 +68,7 @@ public final class YeSagiraGuards extends AbstractNpcAI
@Override @Override
public String onSpawn(L2Npc npc) public String onSpawn(L2Npc npc)
{ {
npc.setIsInvul(true);
startQuestTimer("GUARD_AGGRO", 5000, npc, null, false); startQuestTimer("GUARD_AGGRO", 5000, npc, null, false);
return super.onSpawn(npc); return super.onSpawn(npc);
} }

View File

@@ -1538,7 +1538,7 @@
<defence physical="61.82527" magical="45.24105" /> <defence physical="61.82527" magical="45.24105" />
<abnormalResist physical="10" magical="10" /> <abnormalResist physical="10" magical="10" />
</stats> </stats>
<status attackable="false" talkable="false" targetable="false" /> <status attackable="false" talkable="false" />
<skill_list> <skill_list>
<skill id="4416" level="14" /> <!-- Humans --> <skill id="4416" level="14" /> <!-- Humans -->
<skill id="4415" level="3" /> <!-- One-handed Sword --> <skill id="4415" level="3" /> <!-- One-handed Sword -->
@@ -1563,7 +1563,7 @@
<defence physical="61.82527" magical="45.24105" /> <defence physical="61.82527" magical="45.24105" />
<abnormalResist physical="10" magical="10" /> <abnormalResist physical="10" magical="10" />
</stats> </stats>
<status attackable="false" talkable="false" targetable="false" /> <status attackable="false" talkable="false" />
<skill_list> <skill_list>
<skill id="4416" level="14" /> <!-- Humans --> <skill id="4416" level="14" /> <!-- Humans -->
<skill id="4415" level="3" /> <!-- One-handed Sword --> <skill id="4415" level="3" /> <!-- One-handed Sword -->