diff options
-rw-r--r-- | graphics/sprites/monster-duck.png | bin | 0 -> 6082 bytes | |||
-rw-r--r-- | graphics/sprites/monster-duck.xml | 70 | ||||
-rw-r--r-- | monsters.xml | 36 |
3 files changed, 106 insertions, 0 deletions
diff --git a/graphics/sprites/monster-duck.png b/graphics/sprites/monster-duck.png Binary files differnew file mode 100644 index 00000000..44319fb9 --- /dev/null +++ b/graphics/sprites/monster-duck.png diff --git a/graphics/sprites/monster-duck.xml b/graphics/sprites/monster-duck.xml new file mode 100644 index 00000000..95527eaa --- /dev/null +++ b/graphics/sprites/monster-duck.xml @@ -0,0 +1,70 @@ +<?xml version="1.0"?>
+<sprite>
+
+ <imageset name="base" src="graphics/sprites/monster-duck.png|W;M;R;G;C;B" width="24" height="26" />
+
+ <action name="stand" imageset="base">
+ <animation direction="down">
+ <frame index="0" />
+ </animation>
+ <animation direction="left">
+ <frame index="10" />
+ </animation>
+ <animation direction="up">
+ <frame index="20" />
+ </animation>
+ <animation direction="right">
+ <frame index="30" />
+ </animation>
+ </action>
+
+ <action name="walk" imageset="base">
+ <animation direction="down">
+ <sequence start="1" end="3" delay="75" />
+ </animation>
+ <animation direction="left">
+ <sequence start="11" end="13" delay="75" />
+ </animation>
+ <animation direction="up">
+ <sequence start="21" end="23" delay="75" />
+ </animation>
+ <animation direction="right">
+ <sequence start="31" end="33" delay="75" />
+ </animation>
+ </action>
+
+ <action name="dead" imageset="base">
+ <animation direction="down">
+ <frame index="9" />
+ </animation>
+ <animation direction="left">
+ <frame index="19" />
+ </animation>
+ <animation direction="up">
+ <frame index="29" />
+ </animation>
+ <animation direction="right">
+ <frame index="39" />
+ </animation>
+ </action>
+
+ <action name="attack" imageset="base">
+ <animation direction="down">
+ <sequence start="5" end="8" delay="75" />
+ <end />
+ </animation>
+ <animation direction="left">
+ <sequence start="15" end="18" delay="75" />
+ <end />
+ </animation>
+ <animation direction="up">
+ <sequence start="25" end="28" delay="75" />
+ <end />
+ </animation>
+ <animation direction="right">
+ <sequence start="35" end="38" delay="75" />
+ <end />
+ </animation>
+ </action>
+
+</sprite>
diff --git a/monsters.xml b/monsters.xml index 32d1bf73..91f2dfc8 100644 --- a/monsters.xml +++ b/monsters.xml @@ -1165,5 +1165,41 @@ range="64" /> </monster> + <monster id="46" name="Duck" targetCursor="small"> + <sprite>monster-duck.xml</sprite> + <attributes + hp="20" + size="4" + speed="32" + attack-min="10" + attack-delta="2" + attack-magic="0" + hit="10" + evade="5" + physical-defence="5" + magical-defence="0" + mutation="50" + /> + <vulnerability element="fire" factor="1.5"/> + <vulnerability element="earth" factor="0.7"/> + <exp>0</exp> + <!-- average stroll- and track range--> + <behavior + aggressive="false" + cowardly="false" + track-range="5" + stroll-range="2" + attack-distance="32" + /> + <attack id="1" + priority="1" + type="physical" + pre-delay="10" + aft-delay="5" + damage-factor="1" + range="32" + animation="attack" + /> + </monster> </monsters> |