summaryrefslogtreecommitdiff
path: root/graphics/sprites/monsters/mananatree.xml
blob: 9e2c495f449a732ce180daa083324c893bab583f (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
<?xml version="1.0" encoding="utf-8"?>
<!-- Author: Reid
Copyright (C) 2015 Evol Online -->

<sprite>
    <imageset name="mob"
              src="graphics/sprites/monsters/mananatree.png"
              width="96"
              height="128"/>

    <action name="stand" imageset="mob">
        <animation direction="default">
            <label name="start"/>
            <goto label="static" rand="95"/>
            <goto label="longmoving" rand="50"/>
            <!-- Simple Move Animation -->
            <frame index="1" delay="100"/>
            <frame index="2" delay="120"/>
            <frame index="1" delay="100"/>
            <frame index="0" delay="100"/>
            <frame index="3" delay="100"/>
            <frame index="4" delay="120"/>
            <frame index="3" delay="100"/>
            <goto label="start"/>
            <label name="static"/>
            <!-- Static Animation -->
            <frame index="0" delay="260"/>
            <goto label="start"/>
            <label name="longmoving"/>
            <!-- Long Move Animation -->
            <frame index="1" delay="100"/>
            <frame index="2" delay="120"/>
            <frame index="1" delay="100"/>
            <frame index="0" delay="100"/>
            <frame index="3" delay="100"/>
            <frame index="4" delay="120"/>
            <frame index="3" delay="100"/>
            <frame index="0" delay="100"/>
            <frame index="1" delay="100"/>
            <frame index="2" delay="120"/>
            <frame index="1" delay="100"/>
            <frame index="0" delay="100"/>
            <frame index="3" delay="100"/>
            <frame index="4" delay="120"/>
            <frame index="3" delay="100"/>
            <goto label="start"/>
        </animation>
    </action>

    <action name="hurt" imageset="mob">
        <animation direction="default">
            <frame index="1" delay="100"/>
            <frame index="2" delay="120"/>
            <frame index="1" delay="100"/>
            <frame index="0" delay="100"/>
            <frame index="3" delay="100"/>
            <frame index="4" delay="120"/>
            <frame index="3" delay="100"/>
            <frame index="0" delay="50"/>
            <end />
        </animation>
    </action>

    <action name="dead" imageset="mob">
        <animation>
            <!-- Falling Croconut -->
            <sequence start="5" end="9" delay="70"/>
            <sequence start="10" end="18" delay="90"/>
            <frame index="19"/>
        </animation>
    </action>
</sprite>