summaryrefslogtreecommitdiff
path: root/graphics/sprites/equipment/head/bandana.xml
blob: dc43e48b6aa15c5909c3f05c9307401a71f73e49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<?xml version="1.0"?>
<!-- Original author from TMW, TMW BR or UFB projects.
Copyright (C) 2010-2011 Evol Online -->
<sprite>
	<imageset name="base" src="graphics/sprites/equipment/head/bandana.png" width="29" height="21"/>

	<action name="stand" imageset="base">
		<animation direction="down">
			<frame index="0" offsetY="-38"/>
		</animation>
		<animation direction="left">
			<frame index="1" offsetY="-38"/>
		</animation>
		<animation direction="up">
			<frame index="2" offsetX="-1" offsetY="-38"/>
		</animation>
		<animation direction="right">
			<frame index="3" offsetY="-38"/>
		</animation>
	</action>

	<action name="walk" imageset="base">
		<animation direction="down">
			<frame index="0" offsetY="-37" delay="75"/>
			<frame index="0" offsetY="-38" delay="150"/>
			<frame index="0" offsetY="-37" delay="75"/>
			<frame index="0" offsetY="-38" delay="150"/>
		</animation>
		<animation direction="left">
			<frame index="1" offsetY="-38" delay="75"/>
			<frame index="1" offsetY="-37" delay="75"/>
			<frame index="1" offsetY="-38" delay="150"/>
			<frame index="1" offsetY="-37" delay="75"/>
			<frame index="1" offsetY="-38" delay="75"/>
		</animation>
		<animation direction="up">
			<frame index="2" offsetX="-1" offsetY="-38" delay="75"/>
			<frame index="2" offsetX="-1" offsetY="-39" delay="150"/>
			<frame index="2" offsetX="-1" offsetY="-38" delay="75"/>
			<frame index="2" offsetX="-1" offsetY="-39" delay="150"/>
		</animation>
		<animation direction="right">
			<frame index="3" offsetY="-38" delay="75"/>
			<frame index="3" offsetY="-37" delay="75"/>
			<frame index="3" offsetY="-38" delay="150"/>
			<frame index="3" offsetY="-37" delay="75"/>
			<frame index="3" offsetY="-38" delay="75"/>
		</animation>
	</action>

	<action name="attack" imageset="base">
		<animation direction="down">
			<frame index="0" offsetY="-36" delay="75"/>
			<frame index="0" offsetY="-37" delay="75"/>
			<frame index="0" offsetY="-34" delay="75"/>
			<frame index="0" offsetY="-33" delay="75"/>
			<end />
		</animation>
		<animation direction="left">
			<frame index="1" offsetX="4" offsetY="-39" delay="75"/>
			<frame index="1" offsetX="4" offsetY="-40" delay="75"/>
			<frame index="1" offsetY="-37" delay="75"/>
			<frame index="1" offsetX="-1" offsetY="-36" delay="75"/>
			<end />
		</animation>
		<animation direction="up">
			<frame index="2" offsetX="-2" offsetY="-38" delay="225"/>
			<frame index="2" offsetX="-2" offsetY="-36" delay="75"/>
			<end />
		</animation>
		<animation direction="right">
			<frame index="3" offsetX="-3" offsetY="-39" delay="75"/>
			<frame index="3" offsetX="-3" offsetY="-40" delay="75"/>
			<frame index="3" offsetY="-37" delay="75"/>
			<frame index="3" offsetX="1" offsetY="-36" delay="75"/>
			<end />
		</animation>
	</action>

	<action name="attack_bow" imageset="base">
		<animation direction="down">
			<frame index="0" offsetY="-37" delay="225"/>
			<frame index="0" offsetY="-36" delay="75"/>
			<frame index="0" offsetY="-37" delay="75"/>
			<end />
		</animation>
		<animation direction="left">
			<frame index="1" offsetX="3" offsetY="-38" delay="225"/>
			<frame index="1" offsetX="5" offsetY="-39" delay="150"/>
			<end />
		</animation>
		<animation direction="up">
			<frame index="2" offsetX="-1" offsetY="-37" delay="150"/>
			<frame index="2" offsetX="-2" offsetY="-37" delay="75"/>
			<frame index="2" offsetX="-2" offsetY="-36" delay="75"/>
			<frame index="2" offsetX="-2" offsetY="-37" delay="75"/>
			<end />
		</animation>
		<animation direction="right">
			<frame index="3" offsetX="-3" offsetY="-38" delay="225"/>
			<frame index="3" offsetX="-5" offsetY="-39" delay="150"/>
			<end />
		</animation>
	</action>

	<action name="sit" imageset="base">
		<animation direction="down">
			<!-- Old OffsetY value was at "-26" before the add of the new sit frames.-->
			<frame index="0" offsetY="-31"/>
		</animation>
		<animation direction="left">
			<frame index="1" offsetX="4" offsetY="-29"/>
		</animation>
		<animation direction="up">
			<frame index="2" offsetY="-30"/>
		</animation>
		<animation direction="right">
			<frame index="3" offsetX="-6" offsetY="-29"/>
		</animation>
	</action>

	<action name="dead" imageset="base">
		<animation direction="default">
			<frame index="4" offsetX="19" offsetY="-17"/>
		</animation>
	</action>

</sprite>