summaryrefslogtreecommitdiff
path: root/npc/000-2-3/piourocket.txt
blob: e6ff2039e6cf31b9b94e21092326e9baf99c7e5a (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
// Evol scripts.
// Author:
//    Ablu
// Description:
//    Jumping piou.

000-2-3,27,23,4	script	#piourocket	NPC_PIOU_ROCKET,{

    .@now = gettimetick(2);

    if (.@now - .last > 1)
    {
        .dir = 2;
        .last = .@now;
        specialeffect(26);
        initnpctimer;
    }

    close;

OnTimer1420:
    .dir = 4;
    stopnpctimer;
    end;

OnInit:
    .distance = 3;
    end;
}