diff options
-rw-r--r-- | graphics/items/weapon-staff-woodstaff.png | bin | 0 -> 321 bytes | |||
-rw-r--r-- | graphics/sprites/weapon-staff.png | bin | 0 -> 9098 bytes | |||
-rw-r--r-- | graphics/sprites/weapon-staff.xml | 87 | ||||
-rw-r--r-- | items.xml | 7 |
4 files changed, 93 insertions, 1 deletions
diff --git a/graphics/items/weapon-staff-woodstaff.png b/graphics/items/weapon-staff-woodstaff.png Binary files differnew file mode 100644 index 00000000..3e1f0674 --- /dev/null +++ b/graphics/items/weapon-staff-woodstaff.png diff --git a/graphics/sprites/weapon-staff.png b/graphics/sprites/weapon-staff.png Binary files differnew file mode 100644 index 00000000..772e0167 --- /dev/null +++ b/graphics/sprites/weapon-staff.png diff --git a/graphics/sprites/weapon-staff.xml b/graphics/sprites/weapon-staff.xml new file mode 100644 index 00000000..ab46fae0 --- /dev/null +++ b/graphics/sprites/weapon-staff.xml @@ -0,0 +1,87 @@ +<?xml version="1.0"?> +<sprite name="player" action="stand"> + <imageset name="staff" src="graphics/sprites/weapon-staff.png" width="128" height="128" /> + + <action name="default" imageset="staff"> + </action> + + <action name="stand" imageset="staff">
+ <animation direction="down">
+ <frame index="0" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="left">
+ <frame index="16" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="up">
+ <frame index="32" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="right">
+ <frame index="48" offsetX ="0" offsetY ="32" />
+ </animation>
+ </action>
+
+ <action name="walk" imageset="staff">
+ <animation direction="down">
+ <sequence start="1" end="6" offsetX ="0" offsetY ="32" delay="75" />
+ </animation>
+ <animation direction="left">
+ <sequence start="17" end="22" offsetX ="0" offsetY ="32" delay="75" />
+ </animation>
+ <animation direction="up">
+ <sequence start="33" end="38" offsetX ="0" offsetY ="32" delay="75" />
+ </animation>
+ <animation direction="right">
+ <sequence start="49" end="54" offsetX ="0" offsetY ="32" delay="75" />
+ </animation>
+ </action>
+
+ <action name="sit" imageset="staff">
+ <animation direction="down">
+ <frame index="7" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="left">
+ <frame index="23" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="up">
+ <frame index="39" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="right">
+ <frame index="55" offsetX ="0" offsetY ="32" />
+ </animation>
+ </action> +
+ <action name="dead" imageset="staff">
+ <animation direction="down">
+ <frame index="12" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="left">
+ <frame index="12" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="up">
+ <frame index="12" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="right">
+ <frame index="12" offsetX ="0" offsetY ="32" />
+ </animation>
+ </action>
+
+ <action name="attack" imageset="staff">
+ <animation direction="down">
+ <sequence start="8" end="11" offsetX ="0" offsetY ="32" delay="75" />
+ <end />
+ </animation>
+ <animation direction="left">
+ <sequence start="24" end="27" offsetX ="0" offsetY ="32" delay="75" />
+ <end />
+ </animation>
+ <animation direction="up">
+ <sequence start="40" end="43" offsetX ="0" offsetY ="32" delay="75" />
+ <end />
+ </animation>
+ <animation direction="right">
+ <sequence start="56" end="59" offsetX ="0" offsetY ="32" delay="75" />
+ <end />
+ </animation>
+ </action> + +</sprite> @@ -100,6 +100,10 @@ weapon_type="1"> <!-- magic fist --> <sprite>weapon-fist.xml</sprite> </item> + <item id="35" + weapon_type="11"> + <sprite>weapon-staff.xml</sprite> + </item> <item id="501" image="use-potion-a.png|G:#22ff22" @@ -2399,7 +2403,8 @@ <!-- 755 ASSASSIN SHIRT --> <!-- 756 ASSASSIN GLOVES --> <!-- 757 ASSASSIN BOOTS --> - + <!-- 758 STAFF WEAPON --> + <!-- HERE ARE SOME UNUSED ITEM IDS --> <item id="1198" |