summaryrefslogtreecommitdiff
path: root/graphics/sprites/monsters/crocotree.xml
blob: a1e907879743bfd0dc5bb481bdee5da15ecc9dbf (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
<?xml version="1.0" encoding="utf-8"?>
<!-- Authors: Alige, Reid
Copyright (C) 2010-2013 Evol Online -->

<!--
5% used on "moving" label.
50% from the 95% unused percent from "moving" label are used on "movinglong" label.
100% from the 47,5% unused percent from "movinglong" label are used on "static" label.
-->

<sprite>
    <imageset name="mob"
              src="graphics/sprites/monsters/crocotree.png"
              width="18"
              height="17"
              offsetY="-61"/>

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

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

    <action name="dead" imageset="mob">
        <animation>
            <!-- Falling Croconut -->
            <frame index="1" delay="100"/>
            <frame index="3" delay="80" offsetY="1"/>
            <frame index="3" delay="60" offsetY="2"/>
            <frame index="3" delay="50" offsetY="4"/>
            <frame index="3" delay="50" offsetY="6"/>
            <frame index="3" delay="50" offsetY="8"/>
            <frame index="3" delay="40" offsetY="11"/>
            <frame index="3" delay="40" offsetY="14"/>
            <frame index="3" delay="40" offsetY="17"/>
            <frame index="3" delay="40" offsetY="20"/>
            <frame index="3" delay="40" offsetY="24"/>
            <frame index="3" delay="40" offsetY="28"/>
            <frame index="3" delay="30" offsetY="32"/>
            <frame index="3" delay="30" offsetY="36"/>
            <frame index="3" delay="30" offsetY="41"/>
            <frame index="3" delay="30" offsetY="46"/>
            <frame index="3" delay="30" offsetY="51"/>
            <frame index="3" delay="30" offsetY="57"/>
            <frame index="4" delay="60" offsetY="58"/>
            <frame index="5" delay="70" offsetY="58"/>
            <frame index="6" offsetY="59"/>
        </animation>
    </action>
</sprite>