summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-10-06 07:22:26 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-10-06 07:22:26 +0000
commit97db51c53c2b0e0101555582af7afe2ea70bbeb3 (patch)
treefc8fa4eeac5f1c64127365606854fc4c92536f74
parentfd0fcb88a018fca200f664847118e5430e05bee8 (diff)
downloadclientdata-97db51c53c2b0e0101555582af7afe2ea70bbeb3.tar.gz
clientdata-97db51c53c2b0e0101555582af7afe2ea70bbeb3.tar.bz2
clientdata-97db51c53c2b0e0101555582af7afe2ea70bbeb3.tar.xz
clientdata-97db51c53c2b0e0101555582af7afe2ea70bbeb3.zip
Added particle effect to fire goblin attack (0.1.0 only)
-rw-r--r--graphics/particles/aniblaze-large.pngbin0 -> 8399 bytes
-rw-r--r--graphics/particles/aniblaze-medium.pngbin0 -> 2561 bytes
-rw-r--r--graphics/particles/firegoblinbreath.particle.xml40
-rw-r--r--monsters.xml36
4 files changed, 76 insertions, 0 deletions
diff --git a/graphics/particles/aniblaze-large.png b/graphics/particles/aniblaze-large.png
new file mode 100644
index 00000000..b1d4b8b8
--- /dev/null
+++ b/graphics/particles/aniblaze-large.png
Binary files differ
diff --git a/graphics/particles/aniblaze-medium.png b/graphics/particles/aniblaze-medium.png
new file mode 100644
index 00000000..cce0b6f8
--- /dev/null
+++ b/graphics/particles/aniblaze-medium.png
Binary files differ
diff --git a/graphics/particles/firegoblinbreath.particle.xml b/graphics/particles/firegoblinbreath.particle.xml
new file mode 100644
index 00000000..67e4be8b
--- /dev/null
+++ b/graphics/particles/firegoblinbreath.particle.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+
+<!--
+A one tile wide rectangular fire effect intended for use with the fireplace
+from the woodland_indoor tileset.
+-->
+
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "16"
+ lifetime = "25"
+ >
+ <emitter>
+ <property name="position-x" min="0" max="0"/>
+ <property name="position-y" min="-8" max="-8"/>
+ <property name="horizontal-angle" min="80" max="100"/>
+ <property name="vertical-angle" min="-20" max="20"/>
+ <property name="power" min="1" max="1.5"/>
+ <property name="momentum" value="0.99" />
+ <property name="gravity" value="-0.02"/>
+ <animation imageset="graphics/particles/aniblaze-medium.png|W:#000000,ffffff,ffff00,ff0000" width="16" height="16">
+ <frame index="0" delay="5" />
+ <frame index="1" delay="10" />
+ <frame index="2" delay="15" />
+ <frame index="3" delay="25" />
+ <frame index="4" delay="35" />
+ <frame index="5" delay="60" />
+ <frame index="6" delay="95" />
+ <frame index="7" delay="160" />
+ <frame index="8" delay="9999" />
+ </animation>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="10" max="30"/>
+ <property name="fade-in" value="0"/>
+ <property name="fade-out" value="60"/>
+ </emitter>
+ </particle>
+</effect> \ No newline at end of file
diff --git a/monsters.xml b/monsters.xml
index c236dcad..5ed2edd5 100644
--- a/monsters.xml
+++ b/monsters.xml
@@ -252,6 +252,42 @@
<drop item="502" percent="1.5"/>
<drop item="521" percent="0.7"/>
<drop item="522" percent="0.1"/>
+ <!-- behavior identical to maggot except for weaknesses and the attack which is magical and has a particle effect - change this when making up real monster stats -->
+ <attributes
+ hp="20"
+ size="4"
+ speed="64"
+ attack-min="10"
+ attack-delta="2"
+ attack-magic="0"
+ hit="10"
+ evade="10"
+ physical-defence="5"
+ magical-defence="0"
+ mutation="50"
+ />
+ <vulnerability element="fire" factor="0.5"/>
+ <vulnerability element="water" factor="2.0"/>
+ <exp>10</exp>
+ <behavior
+ aggressive="false"
+ cowardly="false"
+ track-range="5"
+ stroll-range="5"
+ attack-distance="32"
+ />
+ <attack id="1"
+ priority="1"
+ type="magical"
+ element="fire"
+ pre-delay="10"
+ aft-delay="5"
+ damage-factor="1"
+ range="32"
+ angle="10"
+ animation="attack"
+ particle-effect="graphics/particles/firegoblinbreath.particle.xml"
+ />
</monster>
<monster id="10" name="Spider">