summaryrefslogtreecommitdiff
path: root/graphics/sprites/monsters/mananatree.xml
blob: 477eb614ccfacb23b9e2e7d2086570187a8259c2 (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
<?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="spawn" imageset="mob">
        <animation direction="default">
            <frame index="0" delay="500"/>
            <frame index="1" delay="500"/>
            <frame index="2" delay="500"/>
            <frame index="3" delay="500"/>
            <frame index="4" delay="500"/>
            <frame index="5" delay="500"/>
            <frame index="6" delay="500"/>
            <frame index="7" delay="500"/>
            <frame index="8" delay="500"/>
            <frame index="9" delay="500"/>
            <frame index="10" delay="500"/>
            <jump action="stand"/>
        </animation>
    </action>

    <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="11" delay="100"/>
            <frame index="12" delay="120"/>
            <frame index="11" delay="100"/>
            <frame index="10" delay="100"/>
            <frame index="13" delay="100"/>
            <frame index="14" delay="120"/>
            <frame index="13" delay="100"/>
            <goto label="start"/>
            <label name="static"/>
            <!-- Static Animation -->
            <frame index="10" delay="260"/>
            <goto label="start"/>
            <label name="longmoving"/>
            <!-- Long Move Animation -->
            <frame index="11" delay="100"/>
            <frame index="12" delay="120"/>
            <frame index="11" delay="100"/>
            <frame index="10" delay="100"/>
            <frame index="13" delay="100"/>
            <frame index="14" delay="120"/>
            <frame index="13" delay="100"/>
            <frame index="10" delay="100"/>
            <frame index="11" delay="100"/>
            <frame index="12" delay="120"/>
            <frame index="11" delay="100"/>
            <frame index="10" delay="100"/>
            <frame index="13" delay="100"/>
            <frame index="14" delay="120"/>
            <frame index="13" delay="100"/>
            <goto label="start"/>
        </animation>
    </action>

    <action name="hurt" imageset="mob">
        <animation direction="default">
            <frame index="11" delay="100"/>
            <frame index="12" delay="120"/>
            <frame index="11" delay="100"/>
            <frame index="10" delay="100"/>
            <frame index="13" delay="100"/>
            <frame index="14" delay="120"/>
            <frame index="13" delay="100"/>
            <frame index="10" delay="50"/>
            <end />
        </animation>
    </action>

    <action name="dead" imageset="mob">
        <animation>
            <!-- Falling Manana -->
            <sequence start="15" end="19" delay="70"/>
            <sequence start="20" end="28" delay="90"/>
            <frame index="19"/>
        </animation>
    </action>
</sprite>