summaryrefslogtreecommitdiff
path: root/npc/items/shock_sweet.txt
blob: 3fc6d8e01d2b05d0fb704f32d42d1afd7730e03c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function	script	useShockSweet	{
        if (rand(5))
                goto L_Change;
        message strcharinfo(0), "Yuck, this tastes like earwax!";
        itemheal -20 - (Hp >> 2), 0;
        end;

L_Change:
        setlook 6, 127;
        message strcharinfo(0), "Gah! That was some strong stuff!";
        sc_start sc_poison, 1, 20;
        misceffect 15, strcharinfo(0);
        end;
}