summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/sprites/monsters/monster-vampire-bat.pngbin0 -> 12296 bytes
-rw-r--r--graphics/sprites/monsters/monster-vampire-bat.xml55
-rw-r--r--monsters.xml25
3 files changed, 78 insertions, 2 deletions
diff --git a/graphics/sprites/monsters/monster-vampire-bat.png b/graphics/sprites/monsters/monster-vampire-bat.png
new file mode 100644
index 00000000..1e92e9ba
--- /dev/null
+++ b/graphics/sprites/monsters/monster-vampire-bat.png
Binary files differ
diff --git a/graphics/sprites/monsters/monster-vampire-bat.xml b/graphics/sprites/monsters/monster-vampire-bat.xml
new file mode 100644
index 00000000..450340e8
--- /dev/null
+++ b/graphics/sprites/monsters/monster-vampire-bat.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<sprite>
+
+ <imageset name="base" src="graphics/sprites/monsters/monster-vampire-bat.png" width="37" height="58" />
+
+ <action name="stand" imageset="base">
+ <animation direction="down">
+ <sequence start="1" end="4" delay="50" offsetY ="0" />
+ </animation>
+ <animation direction="left">
+ <sequence start="11" end="14" delay="50" offsetY ="0" />
+ </animation>
+ <animation direction="up">
+ <sequence start="21" end="24" delay="50" offsetY ="0" />
+ </animation>
+ <animation direction="right">
+ <sequence start="31" end="34" delay="50" offsetY ="0" />
+ </animation>
+ </action>
+
+ <action name="dead" imageset="base">
+ <animation direction="down">
+ <frame index="9" offsetY ="0" />
+ </animation>
+ <animation direction="left">
+ <frame index="19" offsetY ="0" />
+ </animation>
+ <animation direction="up">
+ <frame index="29" offsetY ="0" />
+ </animation>
+ <animation direction="right">
+ <frame index="39" offsetY ="0" />
+ </animation>
+ </action>
+
+ <action name="attack" imageset="base">
+ <animation direction="down">
+ <sequence start="5" end="8" delay="75" offsetY ="0" />
+ <end />
+ </animation>
+ <animation direction="left">
+ <sequence start="15" end="18" delay="75" offsetY ="0" />
+ <end />
+ </animation>
+ <animation direction="up">
+ <sequence start="25" end="28" delay="75" offsetY ="0" />
+ <end />
+ </animation>
+ <animation direction="right">
+ <sequence start="35" end="38" delay="75" offsetY ="0" />
+ <end />
+ </animation>
+ </action>
+
+</sprite>
diff --git a/monsters.xml b/monsters.xml
index 53539a9c..0509443f 100644
--- a/monsters.xml
+++ b/monsters.xml
@@ -1299,7 +1299,29 @@ exp<TAG>: Tells how much experience point a monster is giving up
<sprite>monsters/monster-bandit-lord.xml</sprite>
<sprite>monsters/weapon-bow.xml</sprite>
</monster>
- <monster id="63" name="The Lost" targetCursor="medium">
+ <monster id="63" name="Vampire Bat">
+ <sprite>monsters/monster-vampire-bat.xml</sprite>
+ <sound event="die">monsters/bat/bat-dying1.ogg</sound>
+ <sound event="hit">monsters/bat/bat-hit1.ogg</sound>
+ <drop item="501" percent="2"/>
+ <drop item="533" percent="8"/>
+ <drop item="521" percent="1"/>
+ <drop item="522" percent="4"/>
+ <attributes
+ hp="60"
+ size="4"
+ speed="3.0"
+ attack-min="15"
+ attack-delta="2"
+ attack-magic="0"
+ hit="15"
+ evade="7"
+ physical-defence="7"
+ magical-defence="0"
+ mutation="50"
+ />
+ </monster>
+ <monster id="64" name="The Lost" targetCursor="medium">
<sprite>monsters/monster-skeleton.xml|#aca379</sprite>
<sprite>chest-robe-male.xml|#333333</sprite>
<sound event="hit">monsters/maggot/maggot-hit1.ogg</sound>
@@ -1500,5 +1522,4 @@ exp<TAG>: Tells how much experience point a monster is giving up
/>
<script>testmonster.lua</script> <!-- only Proof of Concept-->
</monster>
-
</monsters>