From 80cba491091c4e031131c8405b5d08fbc04e7935 Mon Sep 17 00:00:00 2001 From: Alige Date: Thu, 11 Jul 2013 14:34:56 +0200 Subject: Fixed random value in two function scripts. --- npc/functions/asleep.txt | 2 +- npc/functions/goodbye.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/npc/functions/asleep.txt b/npc/functions/asleep.txt index 0adf959a..75f6f76f 100644 --- a/npc/functions/asleep.txt +++ b/npc/functions/asleep.txt @@ -9,7 +9,7 @@ function script Asleep { - set @rand, rand(2); + set @rand, rand(3); if (@rand == 0) npctalk3 l("Zzzzzzzzz..."); if (@rand == 1) npctalk3 l("Rrrr... Pchhhh..."); if (@rand == 2) npctalk3 l("Ggrmm... Grmmmm..."); diff --git a/npc/functions/goodbye.txt b/npc/functions/goodbye.txt index fe382c0e..d427036d 100644 --- a/npc/functions/goodbye.txt +++ b/npc/functions/goodbye.txt @@ -9,7 +9,7 @@ function script GoodBye { closedialog; - set @rand, rand(2); + set @rand, rand(3); if (@rand == 0) npctalk3 l("See you later!"); if (@rand == 1) npctalk3 l("See you!"); if (@rand == 2) npctalk3 l("Bye!"); -- cgit v1.2.3-70-g09d2