summaryrefslogtreecommitdiff
path: root/example/clientdata/graphics/sprites/weapons/weapon-dagger.xml
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-19 00:56:22 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-19 00:56:22 +0200
commit67af89b5fe14d2d0431cefb9b714f72873a74e16 (patch)
treeb1a5ff99d3db37809bfeb5804f3469406133a4c7 /example/clientdata/graphics/sprites/weapons/weapon-dagger.xml
parent10fd0338203a46cec913859fd5e38b61fa24a30f (diff)
downloadmanaserv-67af89b5fe14d2d0431cefb9b714f72873a74e16.tar.gz
manaserv-67af89b5fe14d2d0431cefb9b714f72873a74e16.tar.bz2
manaserv-67af89b5fe14d2d0431cefb9b714f72873a74e16.tar.xz
manaserv-67af89b5fe14d2d0431cefb9b714f72873a74e16.zip
Used the client base to make a final bugfix on the server code.
Made the server handle only one slot type requirement since it's irrelevant to have more anyway. Plus, it simplifies the code for both equipping/unequipping. I also added a dagger to show how equipping/unequipping is working.
Diffstat (limited to 'example/clientdata/graphics/sprites/weapons/weapon-dagger.xml')
-rw-r--r--example/clientdata/graphics/sprites/weapons/weapon-dagger.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/example/clientdata/graphics/sprites/weapons/weapon-dagger.xml b/example/clientdata/graphics/sprites/weapons/weapon-dagger.xml
new file mode 100644
index 00000000..1909aff6
--- /dev/null
+++ b/example/clientdata/graphics/sprites/weapons/weapon-dagger.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<sprite name="player" action="stand">
+ <imageset name="dagger" src="graphics/sprites/weapons/weapon-sword.png" width="64" height="64" />
+
+ <action name="default" imageset="dagger">
+ </action>
+
+ <action name="attack_stab" imageset="dagger">
+ <animation direction="down">
+ <sequence start="0" end="3" delay="75" />
+ <end />
+ </animation>
+ <animation direction="left">
+ <sequence start="4" end="7" delay="75" />
+ <end />
+ </animation>
+ <animation direction="up">
+ <sequence start="8" end="11" delay="75" />
+ <end />
+ </animation>
+ <animation direction="right">
+ <sequence start="12" end="15" delay="75" />
+ <end />
+ </animation>
+ </action>
+
+</sprite> \ No newline at end of file