diff options
Diffstat (limited to 'world/map/npc/items/scissors.txt')
-rw-r--r-- | world/map/npc/items/scissors.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/world/map/npc/items/scissors.txt b/world/map/npc/items/scissors.txt index 640cc1c5..fbf3b344 100644 --- a/world/map/npc/items/scissors.txt +++ b/world/map/npc/items/scissors.txt @@ -1,14 +1,14 @@ function|script|useScissors { + getitem "Scissors", 1; if (rand(3)) goto L_Change; message strcharinfo(0), "Whoops!"; heal -20 - rand(Hp >> 1), 0; - getitem "Scissors", 1; return; L_Change: - setlook LOOK_HAIR_STYLE, rand(20); - getitem "Scissors", 1; + callfunc "getHeadStyles"; + setlook LOOK_HAIR_STYLE, rand(1,getarraysize(@HairStyles$)); return; } |