diff options
Diffstat (limited to 'npc/items/mirror.txt')
-rw-r--r-- | npc/items/mirror.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/npc/items/mirror.txt b/npc/items/mirror.txt index b29e7fec..db673011 100644 --- a/npc/items/mirror.txt +++ b/npc/items/mirror.txt @@ -1,11 +1,10 @@ function script useMirror { - callfunc "getHeadStyles"; goto L_Rand; L_Rand: .@mirror_rnd = .@mirror_rnd + 1; - @style = rand(1,getarraysize($@hairstyle$)-1); - @color = rand(getarraysize($@haircolor$)); + @style = rand2(1,getarraysize($@hairstyle$)-1); + @color = rand2(getarraysize($@haircolor$)); if (((getlook(LOOK_HAIR_STYLE) == @style) || (getlook(LOOK_HAIR_COLOR) == @color)) && .@mirror_rnd < 15) |