summaryrefslogtreecommitdiff
path: root/graphics/sprites/equipment/head/elf-nightcap.xml
blob: 2255be2037e18cc6680062b24cfbe004f6f131fb (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
<?xml version="1.0"?>
<sprite>
  <imageset name="base" src="graphics/sprites/equipment/head/elf-nightcap.png" width="40" height="31"/>
  <action name="stand" imageset="base">
    <animation direction="down">
      <frame index="0" offsetX="-1" offsetY="-33"/>
    </animation>
    <animation direction="left">
      <frame index="1" offsetX="-2" offsetY="-34"/>
    </animation>
    <animation direction="up">
      <frame index="2" offsetX="-3" offsetY="-34"/>
    </animation>
    <animation direction="right">
      <frame index="3" offsetX="-1" offsetY="-32"/>
    </animation>
  </action>
  <action name="walk" imageset="base">
    <animation direction="down">
      <frame index="0" offsetX="-1" offsetY="-32" delay="75"/>
      <frame index="0" offsetX="-1" offsetY="-33" delay="150"/>
      <frame index="0" offsetX="-1" offsetY="-32" delay="75"/>
      <frame index="0" offsetX="-1" offsetY="-33" delay="150"/>
    </animation>
    <animation direction="left">
      <frame index="1" offsetX="-2" offsetY="-34" delay="75"/>
      <frame index="1" offsetX="-2" offsetY="-33" delay="75"/>
      <frame index="1" offsetX="-2" offsetY="-34" delay="150"/>
      <frame index="1" offsetX="-2" offsetY="-33" delay="75"/>
      <frame index="1" offsetX="-2" offsetY="-34" delay="75"/>
    </animation>
    <animation direction="up">
      <frame index="2" offsetX="-3" offsetY="-34" delay="75"/>
      <frame index="2" offsetX="-3" offsetY="-35" delay="150"/>
      <frame index="2" offsetX="-3" offsetY="-34" delay="75"/>
      <frame index="2" offsetX="-3" offsetY="-35" delay="150"/>
    </animation>
    <animation direction="right">
      <frame index="3" offsetX="-1" offsetY="-32" delay="75"/>
      <frame index="3" offsetX="-1" offsetY="-31" delay="75"/>
      <frame index="3" offsetX="-1" offsetY="-32" delay="150"/>
      <frame index="3" offsetX="-1" offsetY="-31" delay="75"/>
      <frame index="3" offsetX="-1" offsetY="-32" delay="75"/>
    </animation>
  </action>
  <action name="attack" imageset="base">
    <animation direction="down">
      <frame index="0" offsetX="-1" offsetY="-31" delay="75"/>
      <frame index="0" offsetX="-1" offsetY="-32" delay="75"/>
      <frame index="0" offsetX="-1" offsetY="-29" delay="75"/>
      <frame index="0" offsetX="-1" offsetY="-28" delay="75"/>
      <end/>
    </animation>
    <animation direction="left">
      <frame index="1" offsetX="2" offsetY="-35" delay="75"/>
      <frame index="1" offsetX="2" offsetY="-36" delay="75"/>
      <frame index="1" offsetX="-2" offsetY="-33" delay="75"/>
      <frame index="1" offsetX="-3" offsetY="-32" delay="75"/>
      <end/>
    </animation>
    <animation direction="up">
      <frame index="2" offsetX="-3" offsetY="-34" delay="225"/>
      <frame index="2" offsetX="-3" offsetY="-32" delay="75"/>
      <end/>
    </animation>
    <animation direction="right">
      <frame index="3" offsetX="-5" offsetY="-33" delay="75"/>
      <frame index="3" offsetX="-5" offsetY="-34" delay="75"/>
      <frame index="3" offsetX="-2" offsetY="-31" delay="75"/>
      <frame index="3" offsetX="-1" offsetY="-30" delay="75"/>
      <end/>
    </animation>
  </action>
  <action name="attack_bow" imageset="base">
    <animation direction="down">
      <frame index="0" offsetX="-1" offsetY="-32" delay="225"/>
      <frame index="0" offsetX="-1" offsetY="-31" delay="75"/>
      <frame index="0" offsetX="-1" offsetY="-32" delay="75"/>
      <end/>
    </animation>
    <animation direction="left">
      <frame index="1" offsetX="1" offsetY="-34" delay="225"/>
      <frame index="1" offsetX="3" offsetY="-35" delay="150"/>
      <end/>
    </animation>
    <animation direction="up">
      <frame index="2" offsetX="-2" offsetY="-34" delay="225"/>
      <frame index="2" offsetX="-3" offsetY="-33" delay="75"/>
      <frame index="2" offsetX="-3" offsetY="-34" delay="75"/>
      <end/>
    </animation>
    <animation direction="right">
      <frame index="3" offsetX="-5" offsetY="-33" delay="225"/>
      <frame index="3" offsetX="-7" offsetY="-34" delay="150"/>
      <end/>
    </animation>
  </action>
  <action name="sit" imageset="base">
    <animation direction="down">
      <frame index="0" offsetX="-1" offsetY="-19"/>
    </animation>
    <animation direction="left">
      <frame index="1" offsetX="2" offsetY="-23"/>
    </animation>
    <animation direction="up">
      <frame index="2" offsetX="-2" offsetY="-24"/>
    </animation>
    <animation direction="right">
      <frame index="3" offsetX="-8" offsetY="-23"/>
    </animation>
  </action>
  <action name="dead" imageset="base">
    <animation direction="default">
      <frame index="4" offsetX="21" offsetY="-8"/>
    </animation>
  </action>
</sprite>