summaryrefslogtreecommitdiff
path: root/graphics/sprites/npcs/xml/bait.xml
blob: 67fff8fe2b694a4d476fb220e540982b82065a30 (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
<?xml version="1.0" encoding="utf-8"?>
<!-- Authors: Reid
Copyright (C) 2016 The Mana World & Evol Online -->

<sprite>
    <imageset name="npc"
              src="graphics/sprites/npcs/sprite/bait.png"
              width="32"
              height="32"/>

    <action name="stand" imageset="npc">
        <!-- Bait Sinking -->
        <animation direction="left">
            <sequence start="1" end="4" delay="70"/>
            <frame index="5"/>
        </animation>

        <!-- Bait Floating -->
        <animation direction="up">
            <label name="start"/>
            <goto label="fakesinking" rand="8"/>
                <frame index="0" delay="100"/>
            <goto label="start" rand="100"/>
            <label name="fakesinking"/>
                <frame index="1" delay="170"/>
            <goto label="fakesinking" rand="50"/>
        </animation>

        <animation direction="default">
            <frame index="6"/>
        </animation>
    </action>
</sprite>