summaryrefslogtreecommitdiff
path: root/world/map/npc/items/scissors.txt
blob: 2e12c6b16b1f087e6db53e17778241753273ecbf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
function|script|useScissors
{
    if (rand(3))
        goto L_Change;
    message strcharinfo(0), "Whoops!";
    heal -20 - rand(Hp >> 1), 0;
    return;

L_Change:
    callfunc "getHeadStyles";
    setlook LOOK_HAIR_STYLE, rand(1,getarraysize(@HairStyles$));
    return;
}