Fixed Archer NPCs not moving while attacking.

Author: Maneco2
This commit is contained in:
MobiusDevelopment
2021-08-11 21:27:29 +00:00
parent 74c5563623
commit aa50d9efa6
902 changed files with 3936 additions and 3998 deletions
@@ -524,7 +524,7 @@
</skillList>
<corpseTime>3</corpseTime>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" aggroRange="450" clanHelpRange="500" dodge="15" isAggressive="true" />
<ai type="ARCHER" aggroRange="450" clanHelpRange="500" isAggressive="true" />
<collision>
<radius normal="0.1" />
<height normal="0.1" />
@@ -738,7 +738,7 @@
<status undying="false" />
<corpseTime>3</corpseTime>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" aggroRange="450" clanHelpRange="500" dodge="15" isAggressive="true" />
<ai type="ARCHER" aggroRange="450" clanHelpRange="500" isAggressive="true" />
<collision>
<radius normal="8.5" />
<height normal="8.5" />
@@ -532,7 +532,7 @@
</skillList>
<exCrtEffect>true</exCrtEffect>
<sNpcPropHpRate>4</sNpcPropHpRate>
<ai type="ARCHER" aggroRange="450" clanHelpRange="500" dodge="15" isAggressive="true">
<ai type="ARCHER" aggroRange="450" clanHelpRange="500" isAggressive="true">
<clanList>
<clan>DARKBAND</clan>
</clanList>
@@ -259,7 +259,7 @@
<skill id="4416" level="6" /> <!-- Humanoid -->
</skillList>
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -514,7 +514,7 @@
<skill id="4416" level="6" /> <!-- Humanoid -->
</skillList>
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -2428,7 +2428,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>SKELETON</clan>
</clanList>
@@ -2772,7 +2772,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>SKELETON</clan>
</clanList>
@@ -2887,7 +2887,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>OL_MAHUM</clan>
</clanList>
@@ -3561,7 +3561,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>OL_MAHUM</clan>
</clanList>
@@ -5508,7 +5508,7 @@
<skill id="4416" level="6" /> <!-- Humanoids -->
</skillList>
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -32,7 +32,7 @@
<skill id="4274" level="1" /> <!-- Blunt Weapon Vulnerability -->
</skillList>
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" dodge="15">
<ai type="ARCHER" aggroRange="500" clanHelpRange="300">
<clanList>
<clan>SKELETON</clan>
</clanList>
@@ -150,7 +150,7 @@
<skill id="4274" level="1" /> <!-- Blunt Weapon Vulnerability -->
</skillList>
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" dodge="15" isAggressive="false">
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" isAggressive="false">
<clanList>
<clan>SKELETON</clan>
</clanList>
@@ -3152,7 +3152,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" dodge="15">
<ai type="ARCHER" aggroRange="500" clanHelpRange="300">
<clanList>
<clan>OL_MAHUM</clan>
</clanList>
@@ -3918,7 +3918,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="450" clanHelpRange="300" dodge="15" isAggressive="true">
<ai type="ARCHER" aggroRange="450" clanHelpRange="300" isAggressive="true">
<clanList>
<clan>SKELETON</clan>
</clanList>
@@ -564,7 +564,7 @@
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<sNpcPropHpRate>2</sNpcPropHpRate>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>OL_MAHUM</clan>
</clanList>
@@ -1593,7 +1593,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>OL_MAHUM</clan>
</clanList>
@@ -2386,7 +2386,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>CAVE_SERVANT</clan>
</clanList>
@@ -3462,7 +3462,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" dodge="15" isAggressive="false">
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" isAggressive="false">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -3973,7 +3973,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -4301,7 +4301,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>CAVE_SERVANT</clan>
</clanList>
@@ -3013,7 +3013,7 @@
<skill id="4410" level="12" /> <!-- Slightly Strong P. Atk. -->
</skillList>
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" dodge="15" isAggressive="false">
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" isAggressive="false">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -4275,7 +4275,7 @@
<skill id="4416" level="6" /> <!-- Humanoid -->
</skillList>
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" dodge="15" isAggressive="false">
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" isAggressive="false">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -1105,7 +1105,7 @@
<skill id="4274" level="1" /> <!-- Blunt Weapon Vulnerability -->
</skillList>
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>SKELETON</clan>
</clanList>
@@ -2273,7 +2273,7 @@
<skill id="4416" level="6" /> <!-- Humanoid -->
</skillList>
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -3105,7 +3105,7 @@
<skill id="4274" level="1" /> <!-- Blunt Weapon Vulnerability -->
</skillList>
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>SKELETON</clan>
</clanList>
@@ -3365,7 +3365,7 @@
<skill id="4416" level="6" /> <!-- Humanoid -->
</skillList>
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -4615,7 +4615,7 @@
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<sNpcPropHpRate>2</sNpcPropHpRate>
<ai type="ARCHER" clanHelpRange="400" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="400" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -1066,7 +1066,7 @@
<skill id="4274" level="1" /> <!-- Blunt Weapon Vulnerability -->
</skillList>
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" dodge="15" isAggressive="false">
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" isAggressive="false">
<clanList>
<clan>SKELETON</clan>
</clanList>
@@ -2187,7 +2187,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" />
<collision>
<radius normal="11" />
<height normal="27" />
@@ -4459,7 +4459,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>LIZARDMAN</clan>
</clanList>
@@ -4854,7 +4854,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -161,7 +161,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -540,7 +540,7 @@
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<sNpcPropHpRate>2</sNpcPropHpRate>
<ai type="ARCHER" aggroRange="450" clanHelpRange="400" dodge="15" isAggressive="true">
<ai type="ARCHER" aggroRange="450" clanHelpRange="400" isAggressive="true">
<clanList>
<clan>ALL</clan>
</clanList>
@@ -1971,7 +1971,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -2709,7 +2709,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="450" clanHelpRange="300" dodge="15" isAggressive="true">
<ai type="ARCHER" aggroRange="450" clanHelpRange="300" isAggressive="true">
<clanList>
<clan>LIZARDMAN</clan>
</clanList>
@@ -3897,7 +3897,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="450" clanHelpRange="300" dodge="15" isAggressive="true">
<ai type="ARCHER" aggroRange="450" clanHelpRange="300" isAggressive="true">
<clanList>
<clan>ALL</clan>
</clanList>
@@ -573,7 +573,7 @@
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<sNpcPropHpRate>2</sNpcPropHpRate>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>DEMONIC</clan>
</clanList>
@@ -1043,7 +1043,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>OL_MAHUM</clan>
</clanList>
@@ -1273,7 +1273,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" dodge="15" isAggressive="false">
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" isAggressive="false">
<clanList>
<clan>CAVE_SERVANT</clan>
</clanList>
@@ -1925,7 +1925,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -768,7 +768,7 @@
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<sNpcPropHpRate>3</sNpcPropHpRate>
<ai type="ARCHER" aggroRange="500" clanHelpRange="400" dodge="15" isAggressive="true">
<ai type="ARCHER" aggroRange="500" clanHelpRange="400" isAggressive="true">
<clanList>
<clan>TOWER_GHOST</clan>
</clanList>
@@ -1191,7 +1191,7 @@
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<sNpcPropHpRate>3</sNpcPropHpRate>
<ai type="ARCHER" aggroRange="500" clanHelpRange="400" dodge="15" isAggressive="true">
<ai type="ARCHER" aggroRange="500" clanHelpRange="400" isAggressive="true">
<clanList>
<clan>TOWER_GHOST</clan>
</clanList>
@@ -1679,7 +1679,7 @@
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<sNpcPropHpRate>3</sNpcPropHpRate>
<ai type="ARCHER" aggroRange="500" clanHelpRange="400" dodge="15" isAggressive="true">
<ai type="ARCHER" aggroRange="500" clanHelpRange="400" isAggressive="true">
<clanList>
<clan>TOWER_GUARD</clan>
</clanList>
@@ -2147,7 +2147,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>UNDEAD1</clan>
</clanList>
@@ -2776,7 +2776,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="450" clanHelpRange="300" dodge="15" isAggressive="true">
<ai type="ARCHER" aggroRange="450" clanHelpRange="300" isAggressive="true">
<clanList>
<clan>DEMONIC</clan>
</clanList>
@@ -3751,7 +3751,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" dodge="15" isAggressive="false">
<ai type="ARCHER" aggroRange="500" clanHelpRange="300" isAggressive="false">
<clanList>
<clan>KEL_MAHUM</clan>
</clanList>
@@ -4114,7 +4114,7 @@
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<sNpcPropHpRate>2</sNpcPropHpRate>
<ai type="ARCHER" clanHelpRange="400" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="400" aggroRange="450">
<clanList>
<clan>TOWER_GHOST</clan>
</clanList>
@@ -4580,7 +4580,7 @@
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<sNpcPropHpRate>2</sNpcPropHpRate>
<ai type="ARCHER" aggroRange="500" clanHelpRange="50" dodge="15" isAggressive="false">
<ai type="ARCHER" aggroRange="500" clanHelpRange="50" isAggressive="false">
<clanList>
<clan>TOWER_GUARD</clan>
</clanList>
@@ -108,7 +108,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>UNDEAD</clan>
</clanList>
@@ -599,7 +599,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="450" clanHelpRange="300" dodge="15" isAggressive="true">
<ai type="ARCHER" aggroRange="450" clanHelpRange="300" isAggressive="true">
<clanList>
<clan>DOOM</clan>
</clanList>
@@ -940,7 +940,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>WERERAT</clan>
</clanList>
@@ -1357,7 +1357,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -2854,7 +2854,7 @@
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<sNpcPropHpRate>4</sNpcPropHpRate>
<ai type="ARCHER" aggroRange="500" clanHelpRange="400" dodge="15" isAggressive="true">
<ai type="ARCHER" aggroRange="500" clanHelpRange="400" isAggressive="true">
<clanList>
<clan>TOWER_GUARD</clan>
</clanList>
@@ -4273,7 +4273,7 @@
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<sNpcPropHpRate>5</sNpcPropHpRate>
<ai type="ARCHER" aggroRange="500" clanHelpRange="400" dodge="15">
<ai type="ARCHER" aggroRange="500" clanHelpRange="400">
<clanList>
<clan>BLOODY</clan>
</clanList>
@@ -820,7 +820,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -2045,7 +2045,7 @@
</skillList>
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<ai type="ARCHER" aggroRange="600" clanHelpRange="300" dodge="15" isAggressive="false">
<ai type="ARCHER" aggroRange="600" clanHelpRange="300" isAggressive="false">
<clanList>
<clan>UNDEAD</clan>
</clanList>
@@ -756,7 +756,7 @@
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<sNpcPropHpRate>2</sNpcPropHpRate>
<ai type="ARCHER" aggroRange="300" clanHelpRange="300" dodge="15" isAggressive="true">
<ai type="ARCHER" aggroRange="300" clanHelpRange="300" isAggressive="true">
<clanList>
<clan>VARKA_SILENOS</clan>
</clanList>
@@ -1238,7 +1238,7 @@
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<sNpcPropHpRate>2</sNpcPropHpRate>
<ai type="ARCHER" aggroRange="300" clanHelpRange="300" dodge="15" isAggressive="true">
<ai type="ARCHER" aggroRange="300" clanHelpRange="300" isAggressive="true">
<clanList>
<clan>KETRA_ORC</clan>
</clanList>
@@ -2896,7 +2896,7 @@
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<sNpcPropHpRate>2</sNpcPropHpRate>
<ai type="ARCHER" aggroRange="300" clanHelpRange="300" dodge="15">
<ai type="ARCHER" aggroRange="300" clanHelpRange="300">
<clanList>
<clan>KETRA_ORC</clan>
</clanList>
@@ -4743,7 +4743,7 @@
<shots shotChance="30" spiritChance="30" />
<exCrtEffect>false</exCrtEffect>
<sNpcPropHpRate>2</sNpcPropHpRate>
<ai type="ARCHER" aggroRange="300" clanHelpRange="300" dodge="15">
<ai type="ARCHER" aggroRange="300" clanHelpRange="300">
<clanList>
<clan>VARKA_SILENOS</clan>
</clanList>
@@ -228,7 +228,7 @@
<skill id="4754" level="2" /> <!-- BOSS Power Shot -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="24" />
<height normal="61.5" />
@@ -713,7 +713,7 @@
<skill id="4416" level="1" /> <!-- Undead -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="11" />
<height normal="27" />
@@ -1272,7 +1272,7 @@
<skill id="4761" level="4" /> <!-- Stun -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="12" />
<height normal="27" />
@@ -1692,7 +1692,7 @@
<skill id="4416" level="1" /> <!-- Undead -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="11" />
<height normal="27" />
@@ -1969,7 +1969,7 @@
<skill id="4757" level="3" /> <!-- BOSS Power Shot -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="11" />
<height normal="21.5" />
@@ -2806,7 +2806,7 @@
<skill id="4757" level="5" /> <!-- BOSS Power Shot -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="11" />
<height normal="27" />
@@ -3295,7 +3295,7 @@
<skill id="4755" level="4" /> <!-- BOSS Power Shot -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="14" />
<height normal="25" />
@@ -4174,7 +4174,7 @@
<skill id="4760" level="4" /> <!-- Stun -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="12" />
<height normal="27" />
@@ -409,7 +409,7 @@
<skill id="4761" level="5" /> <!-- Stun -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="11" />
<height normal="27" />
@@ -850,7 +850,7 @@
<skill id="4755" level="3" /> <!-- BOSS Power Shot -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="11" />
<height normal="27" />
@@ -1746,7 +1746,7 @@
<skill id="4761" level="4" /> <!-- Stun -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="14" />
<height normal="25" />
@@ -2716,7 +2716,7 @@
<skill id="4756" level="2" /> <!-- BOSS Power Shot -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="11" />
<height normal="27" />
@@ -3777,7 +3777,7 @@
<skill id="4757" level="3" /> <!-- BOSS Power Shot -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="11" />
<height normal="30" />
@@ -2820,7 +2820,7 @@
<skill id="4761" level="6" /> <!-- Stun -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" dodge="15" />
<ai type="ARCHER" />
<collision>
<radius normal="12" />
<height normal="27" />
@@ -3005,7 +3005,7 @@
<skill id="4760" level="5" /> <!-- Stun -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" dodge="15" />
<ai type="ARCHER" />
<collision>
<radius normal="11" />
<height normal="21.5" />
@@ -29,7 +29,7 @@
<skill id="4416" level="6" /> <!-- Humanoids -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="12" />
<height normal="27" />
@@ -1942,7 +1942,7 @@
<skill id="4416" level="9" /> <!-- Demons -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="17" />
<height normal="55" />
@@ -4038,7 +4038,7 @@
<skill id="4416" level="6" /> <!-- Humanoids -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="14" />
<height normal="25" />
@@ -702,7 +702,7 @@
<skill id="4416" level="1" /> <!-- Undead -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="11" />
<height normal="27" />
@@ -2383,7 +2383,7 @@
<skill id="4416" level="1" /> <!-- Undead -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="11" />
<height normal="27" />
@@ -4165,7 +4165,7 @@
<skill id="4416" level="1" /> <!-- Undead -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" />
<ai type="ARCHER" clanHelpRange="300" />
<collision>
<radius normal="11" />
<height normal="27" />
@@ -33,7 +33,7 @@
<skill id="4416" level="6" /> <!-- Humanoids -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450" />
<ai type="ARCHER" clanHelpRange="300" aggroRange="450" />
<collision>
<radius normal="14" />
<height normal="25" />
@@ -348,7 +348,7 @@
<skill id="4416" level="6" /> <!-- Humanoids -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450" />
<ai type="ARCHER" clanHelpRange="300" aggroRange="450" />
<collision>
<radius normal="14" />
<height normal="25" />
@@ -1893,7 +1893,7 @@
<skill id="4416" level="6" /> <!-- Humanoids -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -2113,7 +2113,7 @@
<skill id="4416" level="6" /> <!-- Humanoids -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -2244,7 +2244,7 @@
<skill id="4416" level="6" /> <!-- Humanoids -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="450">
<ai type="ARCHER" clanHelpRange="300" aggroRange="450">
<clanList>
<clan>ORC</clan>
</clanList>
@@ -3358,7 +3358,7 @@
<skill id="4416" level="8" /> <!-- Angels -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="100" dodge="15" aggroRange="450" />
<ai type="ARCHER" clanHelpRange="100" aggroRange="450" />
<collision>
<radius normal="13" />
<height normal="27" />
@@ -1897,7 +1897,7 @@
</skillList>
<exCrtEffect>true</exCrtEffect>
<sNpcPropHpRate>9</sNpcPropHpRate>
<ai type="ARCHER" aggroRange="300" clanHelpRange="300" dodge="15" isAggressive="true" />
<ai type="ARCHER" aggroRange="300" clanHelpRange="300" isAggressive="true" />
<collision>
<radius normal="17" />
<height normal="55" />
@@ -1936,7 +1936,7 @@
</skillList>
<exCrtEffect>true</exCrtEffect>
<sNpcPropHpRate>9</sNpcPropHpRate>
<ai type="ARCHER" aggroRange="300" clanHelpRange="300" dodge="15" isAggressive="true" />
<ai type="ARCHER" aggroRange="300" clanHelpRange="300" isAggressive="true" />
<collision>
<radius normal="17" />
<height normal="55" />
@@ -1975,7 +1975,7 @@
</skillList>
<exCrtEffect>true</exCrtEffect>
<sNpcPropHpRate>9</sNpcPropHpRate>
<ai type="ARCHER" aggroRange="300" clanHelpRange="300" dodge="15" isAggressive="true" />
<ai type="ARCHER" aggroRange="300" clanHelpRange="300" isAggressive="true" />
<collision>
<radius normal="17" />
<height normal="55" />
@@ -3139,7 +3139,7 @@
<skill id="4416" level="6" /> <!-- Humanoids -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="1000">
<ai type="ARCHER" clanHelpRange="300" aggroRange="1000">
<clanList>
<clan>PARTISAN</clan>
</clanList>
@@ -3259,7 +3259,7 @@
<skill id="4416" level="6" /> <!-- Humanoids -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="1000">
<ai type="ARCHER" clanHelpRange="300" aggroRange="1000">
<clanList>
<clan>PARTISAN</clan>
</clanList>
@@ -3431,7 +3431,7 @@
<skill id="4416" level="6" /> <!-- Humanoids -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="1000">
<ai type="ARCHER" clanHelpRange="300" aggroRange="1000">
<clanList>
<clan>PARTISAN</clan>
</clanList>
@@ -3551,7 +3551,7 @@
<skill id="4416" level="6" /> <!-- Humanoids -->
</skillList>
<exCrtEffect>true</exCrtEffect>
<ai type="ARCHER" clanHelpRange="300" dodge="15" aggroRange="1000">
<ai type="ARCHER" clanHelpRange="300" aggroRange="1000">
<clanList>
<clan>PARTISAN</clan>
</clanList>
@@ -632,7 +632,7 @@
</skillList>
<exCrtEffect>true</exCrtEffect>
<sNpcPropHpRate>3</sNpcPropHpRate>
<ai type="ARCHER" clanHelpRange="700" dodge="15" aggroRange="300">
<ai type="ARCHER" clanHelpRange="700" aggroRange="300">
<clanList>
<clan>DOOR</clan>
<clan>GUSTAV</clan>
@@ -255,7 +255,6 @@
<xs:attribute name="type" type="xs:token" />
<xs:attribute name="aggroRange" type="xs:nonNegativeInteger" />
<xs:attribute name="clanHelpRange" type="xs:nonNegativeInteger" />
<xs:attribute name="dodge" type="xs:nonNegativeInteger" />
<xs:attribute name="isChaos" type="xs:boolean" />
<xs:attribute name="isAggressive" type="xs:boolean" />
</xs:complexType>
@@ -29,6 +29,7 @@ import java.util.logging.Logger;
import org.l2jmobius.Config;
import org.l2jmobius.commons.util.Rnd;
import org.l2jmobius.gameserver.enums.AISkillScope;
import org.l2jmobius.gameserver.enums.AIType;
import org.l2jmobius.gameserver.geoengine.GeoEngine;
import org.l2jmobius.gameserver.instancemanager.ItemsOnGroundManager;
import org.l2jmobius.gameserver.model.AggroInfo;
@@ -813,10 +814,10 @@ public class AttackableAI extends CreatureAI
}
}
}
// Dodge if its needed
if (!npc.isMovementDisabled() && (npc.getTemplate().getDodge() > 0) && (Rnd.get(100) <= npc.getTemplate().getDodge()))
// Calculate Archer movement.
if ((!npc.isMovementDisabled()) && (npc.getAiType() == AIType.ARCHER) && (Rnd.get(100) < 15))
{
// Micht: kepping this one otherwise we should do 2 sqrt
final double distance2 = npc.calculateDistanceSq2D(target);
if (Math.sqrt(distance2) <= (60 + combinedCollision))
{
@@ -995,7 +996,11 @@ public class AttackableAI extends CreatureAI
}
// Check if target is within range or move.
final int range = npc.getPhysicalAttackRange() + combinedCollision;
int range = npc.getPhysicalAttackRange() + combinedCollision;
if (npc.getAiType() == AIType.ARCHER)
{
range = 850 + combinedCollision; // Base bow range for NPCs.
}
if (npc.calculateDistance2D(target) > range)
{
if (checkTarget(target))
@@ -21,6 +21,7 @@ import static org.l2jmobius.gameserver.ai.CtrlIntention.AI_INTENTION_ATTACK;
import static org.l2jmobius.gameserver.ai.CtrlIntention.AI_INTENTION_REST;
import org.l2jmobius.commons.util.Rnd;
import org.l2jmobius.gameserver.enums.AIType;
import org.l2jmobius.gameserver.geoengine.GeoEngine;
import org.l2jmobius.gameserver.model.Location;
import org.l2jmobius.gameserver.model.World;
@@ -149,8 +150,9 @@ public class FriendlyNpcAI extends AttackableAI
}
}
}
// Dodge if its needed
if (!npc.isMovementDisabled() && (npc.getTemplate().getDodge() > 0) && (Rnd.get(100) <= npc.getTemplate().getDodge()))
// Calculate Archer movement.
if ((!npc.isMovementDisabled()) && (npc.getAiType() == AIType.ARCHER) && (Rnd.get(100) < 15))
{
final double distance2 = npc.calculateDistanceSq2D(originalAttackTarget);
if (Math.sqrt(distance2) <= (60 + combinedCollision))
@@ -371,7 +371,6 @@ public class NpcData implements IXmlReader
set.set("aiType", parseString(attrs, "type"));
set.set("aggroRange", parseInteger(attrs, "aggroRange"));
set.set("clanHelpRange", parseInteger(attrs, "clanHelpRange"));
set.set("dodge", parseInteger(attrs, "dodge"));
set.set("isChaos", parseBoolean(attrs, "isChaos"));
set.set("isAggressive", parseBoolean(attrs, "isAggressive"));
for (Node aiNode = npcNode.getFirstChild(); aiNode != null; aiNode = aiNode.getNextSibling())
@@ -96,7 +96,6 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
private AIType _aiType;
private int _aggroRange;
private int _clanHelpRange;
private int _dodge;
private boolean _isChaos;
private boolean _isAggressive;
private int _soulShot;
@@ -190,7 +189,6 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
_aiType = set.getEnum("aiType", AIType.class, AIType.FIGHTER);
_aggroRange = set.getInt("aggroRange", 0);
_clanHelpRange = set.getInt("clanHelpRange", 0);
_dodge = set.getInt("dodge", 0);
_isChaos = set.getBoolean("isChaos", false);
_isAggressive = set.getBoolean("isAggressive", false);
_soulShot = set.getInt("soulShot", 0);
@@ -485,11 +483,6 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
return _clanHelpRange;
}
public int getDodge()
{
return _dodge;
}
public boolean isChaos()
{
return _isChaos;