Skip to content

Commit

Permalink
Monsters interval to cast spells
Browse files Browse the repository at this point in the history
  • Loading branch information
peonso committed Nov 27, 2017
1 parent 34e2286 commit 38be354
Show file tree
Hide file tree
Showing 156 changed files with 754 additions and 685 deletions.
6 changes: 3 additions & 3 deletions data/monster/amazon.xml
Expand Up @@ -14,12 +14,12 @@
<flag canpushitems="1"/>
<flag canpushcreatures="0"/>
<flag targetdistance="4"/>
<flag staticattack="100"/>
<flag staticattack="80"/>
<flag runonhealth="10"/>
</flags>
<attacks>
<attack name="melee" interval="1000" skill="24" attack="16"/>
<attack name="physical" interval="1000" checkshield="1" chance="10" range="7" min="-20" max="-30">
<attack name="melee" skill="24" attack="16"/>
<attack name="physical" checkshield="1" chance="10" range="7" min="-20" max="-30">
<attribute key="shootEffect" value="throwingknife"/>
</attack>
</attacks>
Expand Down
18 changes: 9 additions & 9 deletions data/monster/ancient scarab.xml
Expand Up @@ -14,29 +14,29 @@
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag staticattack="80"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="1000" skill="80" attack="50"/>
<attack name="poison" interval="1000" chance="12" range="7" min="-15" max="-135">
<attack name="melee" skill="80" attack="50"/>
<attack name="poison" chance="12" range="7" min="-15" max="-135">
<attribute key="shootEffect" value="poison"/>
<attribute key="areaEffect" value="poison"/>
</attack>
<attack name="paralyze_ancientscarab" interval="1000" chance="13" range="7"/>
<attack name="poisoncondition" interval="1000" chance="17" radius="5" target="0" min="-440" max="-520">
<attack name="paralyze_ancientscarab" chance="13" range="7"/>
<attack name="poisoncondition" chance="17" radius="5" target="0" min="-440" max="-520">
<attribute key="areaEffect" value="poison"/>
</attack>
<attack name="poisoncondition" interval="1000" chance="17" radius="5" target="0" min="-440" max="-520">
<attack name="poisoncondition" chance="17" radius="5" target="0" min="-440" max="-520">
<attribute key="areaEffect" value="poison"/>
</attack>
<attack name="paralyze_ancientscarab2" interval="1000" chance="25" range="7"/>
<attack name="paralyze_ancientscarab2" chance="25" range="7"/>
</attacks>
<summons maxSummons="3">
<summon name="larva" interval="1000" chance="15" max="3"/>
<summon name="larva" chance="15" max="3"/>
</summons>
<defenses armor="36" defense="33">
<defense name="haste_ancientscarab" interval="1000" chance="8"/>
<defense name="haste_ancientscarab" chance="8"/>
</defenses>
<elements>
<element earthPercent="100"/>
Expand Down
12 changes: 6 additions & 6 deletions data/monster/assassin.xml
Expand Up @@ -14,24 +14,24 @@
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag staticattack="80"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="1000" skill="45" attack="45"/>
<attack name="physical" interval="1000" checkshield="1" chance="13" range="7" min="-28" max="-38">
<attack name="melee" skill="45" attack="45"/>
<attack name="physical" checkshield="1" chance="13" range="7" min="-28" max="-38">
<attribute key="shootEffect" value="throwingstar"/>
</attack>
<attack name="drunk" interval="1000" chance="9" range="6" duration="3000">
<attack name="drunk" chance="9" range="6" duration="3000">
<attribute key="shootEffect" value="poison"/>
<attribute key="areaEffect" value="poison"/>
</attack>
</attacks>
<defenses armor="17" defense="40">
<defense name="invisible" interval="1000" chance="9" duration="2000">
<defense name="invisible" chance="9" duration="2000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="haste_assassin" interval="1000" chance="9"/>
<defense name="haste_assassin" chance="9"/>
</defenses>
<elements>
</elements>
Expand Down
4 changes: 2 additions & 2 deletions data/monster/badger.xml
Expand Up @@ -14,11 +14,11 @@
<flag canpushitems="0"/>
<flag canpushcreatures="0"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag staticattack="80"/>
<flag runonhealth="10"/>
</flags>
<attacks>
<attack name="melee" interval="1000" skill="17" attack="10"/>
<attack name="melee" skill="17" attack="10"/>
</attacks>
<defenses armor="1" defense="3">
</defenses>
Expand Down
4 changes: 2 additions & 2 deletions data/monster/bandit.xml
Expand Up @@ -14,11 +14,11 @@
<flag canpushitems="1"/>
<flag canpushcreatures="0"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag staticattack="80"/>
<flag runonhealth="25"/>
</flags>
<attacks>
<attack name="melee" interval="1000" skill="37" attack="20"/>
<attack name="melee" skill="37" attack="20"/>
</attacks>
<defenses armor="11" defense="17">
</defenses>
Expand Down
12 changes: 6 additions & 6 deletions data/monster/banshee.xml
Expand Up @@ -14,19 +14,19 @@
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag staticattack="80"/>
<flag runonhealth="500"/>
</flags>
<attacks>
<attack name="melee" interval="1000" skill="45" attack="30" poison="65"/>
<attack name="lifedrain" interval="1000" chance="4" range="1" min="-50" max="-350"/>
<attack name="paralyze_banshee" interval="1000" chance="10" range="7"/>
<attack name="lifedrain" interval="1000" chance="34" radius="4" target="0" min="-120" max="-200">
<attack name="melee" skill="45" attack="30" poison="65"/>
<attack name="lifedrain" chance="4" range="1" min="-50" max="-350"/>
<attack name="paralyze_banshee" chance="10" range="7"/>
<attack name="lifedrain" chance="34" radius="4" target="0" min="-120" max="-200">
<attribute key="areaEffect" value="rednote"/>
</attack>
</attacks>
<defenses armor="25" defense="65">
<defense name="healing" interval="1000" chance="25" min="113" max="187">
<defense name="healing" chance="25" min="113" max="187">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
Expand Down
4 changes: 2 additions & 2 deletions data/monster/bat.xml
Expand Up @@ -14,11 +14,11 @@
<flag canpushitems="0"/>
<flag canpushcreatures="0"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag staticattack="80"/>
<flag runonhealth="3"/>
</flags>
<attacks>
<attack name="melee" interval="1000" skill="16" attack="8"/>
<attack name="melee" skill="16" attack="8"/>
</attacks>
<defenses armor="1" defense="6">
</defenses>
Expand Down
4 changes: 2 additions & 2 deletions data/monster/bear.xml
Expand Up @@ -14,11 +14,11 @@
<flag canpushitems="0"/>
<flag canpushcreatures="0"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag staticattack="80"/>
<flag runonhealth="15"/>
</flags>
<attacks>
<attack name="melee" interval="1000" skill="15" attack="17"/>
<attack name="melee" skill="15" attack="17"/>
</attacks>
<defenses armor="6" defense="6">
</defenses>
Expand Down
8 changes: 4 additions & 4 deletions data/monster/behemoth.xml
Expand Up @@ -14,17 +14,17 @@
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag staticattack="80"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="1000" skill="110" attack="75"/>
<attack name="physical" interval="1000" checkshield="1" chance="15" range="7" min="-125" max="-185">
<attack name="melee" skill="110" attack="75"/>
<attack name="physical" checkshield="1" chance="15" range="7" min="-125" max="-185">
<attribute key="shootEffect" value="largerock"/>
</attack>
</attacks>
<defenses armor="50" defense="65">
<defense name="haste_behemoth" interval="1000" chance="7"/>
<defense name="haste_behemoth" chance="7"/>
</defenses>
<elements>
<element firePercent="100"/>
Expand Down
18 changes: 9 additions & 9 deletions data/monster/beholder.xml
Expand Up @@ -14,35 +14,35 @@
<flag canpushitems="1"/>
<flag canpushcreatures="0"/>
<flag targetdistance="4"/>
<flag staticattack="90"/>
<flag staticattack="80"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="1000" skill="35" attack="12"/>
<attack name="energy" interval="1000" chance="7" range="7" min="-15" max="-45">
<attack name="melee" skill="35" attack="12"/>
<attack name="energy" chance="7" range="7" min="-15" max="-45">
<attribute key="shootEffect" value="energy"/>
</attack>
<attack name="fire" interval="1000" chance="7" range="7" min="-25" max="-45">
<attack name="fire" chance="7" range="7" min="-25" max="-45">
<attribute key="shootEffect" value="fire"/>
</attack>
<attack name="physical" interval="1000" chance="8" range="7" min="-30" max="-50">
<attack name="physical" chance="8" range="7" min="-30" max="-50">
<attribute key="shootEffect" value="death"/>
<attribute key="areaEffect" value="mortarea"/>
</attack>
<attack name="poison" interval="1000" chance="8" range="7" min="-5" max="-45">
<attack name="poison" chance="8" range="7" min="-5" max="-45">
<attribute key="shootEffect" value="poison"/>
</attack>
<attack name="lifedrain" interval="1000" chance="6" range="7" min="-35" max="-45">
<attack name="lifedrain" chance="6" range="7" min="-35" max="-45">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
<attack name="manadrain" interval="1000" chance="5" range="7" min="-5" max="-25">
<attack name="manadrain" chance="5" range="7" min="-5" max="-25">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
</attacks>
<defenses armor="5" defense="20">
</defenses>
<summons maxSummons="6">
<summon name="skeleton" interval="1000" chance="12" max="6"/>
<summon name="skeleton" chance="12" max="6"/>
</summons>
<elements>
<element earthPercent="100"/>
Expand Down
6 changes: 3 additions & 3 deletions data/monster/black knight.xml
Expand Up @@ -14,12 +14,12 @@
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag staticattack="80"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="1000" skill="88" attack="60"/>
<attack name="physical" interval="1000" checkshield="1" chance="15" range="7" min="-145" max="-185">
<attack name="melee" skill="88" attack="60"/>
<attack name="physical" checkshield="1" chance="15" range="7" min="-145" max="-185">
<attribute key="shootEffect" value="spear"/>
</attack>
</attacks>
Expand Down
4 changes: 2 additions & 2 deletions data/monster/black sheep.xml
Expand Up @@ -14,11 +14,11 @@
<flag canpushitems="0"/>
<flag canpushcreatures="0"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag staticattack="80"/>
<flag runonhealth="20"/>
</flags>
<attacks>
<attack name="melee" interval="1000" skill="0" attack="0"/>
<attack name="melee" skill="0" attack="0"/>
</attacks>
<defenses armor="1" defense="2">
</defenses>
Expand Down
14 changes: 7 additions & 7 deletions data/monster/blue djinn.xml
Expand Up @@ -14,23 +14,23 @@
<flag canpushitems="1"/>
<flag canpushcreatures="0"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag staticattack="80"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="1000" skill="50" attack="30"/>
<attack name="fire" interval="1000" chance="50" range="7" min="-45" max="-75">
<attack name="melee" skill="50" attack="30"/>
<attack name="fire" chance="50" range="7" min="-45" max="-75">
<attribute key="shootEffect" value="fire"/>
</attack>
<attack name="djinn electrify" interval="1000" chance="34" range="7" min="-50" max="-90"/>
<attack name="lifedrain" interval="1000" chance="25" range="7" min="-55" max="-105">
<attack name="djinn electrify" chance="34" range="7" min="-50" max="-90"/>
<attack name="lifedrain" chance="25" range="7" min="-55" max="-105">
<attribute key="shootEffect" value="death"/>
</attack>
<attack name="drunk" interval="1000" chance="20" range="7" duration="30000">
<attack name="drunk" chance="20" range="7" duration="30000">
<attribute key="shootEffect" value="energy"/>
<attribute key="areaEffect" value="teleport"/>
</attack>
<attack name="outfit" interval="1000" chance="17" range="7" monster="rabbit" duration="20000">
<attack name="outfit" chance="17" range="7" monster="rabbit" duration="20000">
<attribute key="areaEffect" value="blueshimmer"/>
</attack>
</attacks>
Expand Down
12 changes: 6 additions & 6 deletions data/monster/bonebeast.xml
Expand Up @@ -14,24 +14,24 @@
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag staticattack="80"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="1000" skill="75" attack="47" poison="110"/>
<attack name="poison" interval="1000" chance="10" range="7" min="-25" max="-65">
<attack name="melee" skill="75" attack="47" poison="110"/>
<attack name="poison" chance="10" range="7" min="-25" max="-65">
<attribute key="shootEffect" value="poison"/>
<attribute key="areaEffect" value="poison"/>
</attack>
<attack name="lifedrain" interval="1000" chance="15" radius="3" target="0" min="-30" max="-50">
<attack name="lifedrain" chance="15" radius="3" target="0" min="-30" max="-50">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
<attack name="poisoncondition" interval="1000" chance="13" radius="3" target="0" min="-60" max="-80">
<attack name="poisoncondition" chance="13" radius="3" target="0" min="-60" max="-80">
<attribute key="areaEffect" value="poison"/>
</attack>
</attacks>
<defenses armor="40" defense="45">
<defense name="healing" interval="1000" chance="12" min="30" max="60">
<defense name="healing" chance="12" min="30" max="60">
<attribute key="areaEffect" value="greenspark"/>
</defense>
</defenses>
Expand Down
24 changes: 12 additions & 12 deletions data/monster/bosses/ashmunrah.xml
Expand Up @@ -14,39 +14,39 @@
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag staticattack="80"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="1000" min="-0" max="-600" poison="55"/>
<attack name="lifedrain" interval="1000" chance="7" range="1" min="-100" max="-700"/>
<attack name="poison" interval="1000" chance="12" range="7" min="-100" max="-500">
<attack name="melee" min="-0" max="-600" poison="55"/>
<attack name="lifedrain" chance="7" range="1" min="-100" max="-700"/>
<attack name="poison" chance="12" range="7" min="-100" max="-500">
<attribute key="shootEffect" value="poison"/>
<attribute key="areaEffect" value="poison"/>
</attack>
<attack name="physical" interval="1000" chance="12" range="7" min="-120" max="-750">
<attack name="physical" chance="12" range="7" min="-120" max="-750">
<attribute key="shootEffect" value="energy"/>
<attribute key="areaEffect" value="mortarea"/>
</attack>
<attack name="paralyze_ashmunrah" interval="1000" chance="25" range="7"/>
<attack name="lifedrain" interval="1000" chance="18" length="8" spread="3" min="-50" max="-550">
<attack name="paralyze_ashmunrah" chance="25" range="7"/>
<attack name="lifedrain" chance="18" length="8" spread="3" min="-50" max="-550">
<attribute key="areaEffect" value="yellowbubble"/>
</attack>
</attacks>
<defenses armor="25" defense="30">
<defense name="healing" interval="1000" chance="20" min="200" max="400">
<defense name="healing" chance="20" min="200" max="400">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="invisible" interval="1000" chance="7" duration="2000">
<defense name="invisible" chance="7" duration="2000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1000" chance="3" monster="ancient scarab" duration="6000">
<defense name="outfit" chance="3" monster="ancient scarab" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<summons maxSummons="4">
<summon name="ancient scarab" interval="1000" chance="2000" max="2"/>
<summon name="green djinn" interval="1000" chance="1000" max="2"/>
<summon name="ancient scarab" chance="2000" max="2"/>
<summon name="green djinn" chance="1000" max="2"/>
</summons>
<elements>
<element earthPercent="100"/>
Expand Down

0 comments on commit 38be354

Please sign in to comment.