Improved YeSagiraGuards AI.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
@@ -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 -->
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
@@ -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 -->
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
@@ -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 -->
|
||||||
|
Reference in New Issue
Block a user