summaryrefslogtreecommitdiff
path: root/npc/items/music_toys.txt
blob: 8583f65e4e79c67ffca18177017dc289a951975a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Evol scripts.
// Authors:
//    Quillia
//    mekolat (legacy delay logic)
// Description:
//    Allows the RubberBat to be squeezed.
//

-	script	RubberBat	NPC_HIDDEN,{
    close;

OnUse:
    if (gettimetick(2) - @lastbat < 2) close;
    specialeffect(70, AREA, playerattached()); // effect 70 defined in client-data/effects.xml
    @lastbat = gettimetick(2);

    close;
}