diff options
author | Alige <aligetmw@hotmail.fr> | 2013-07-11 14:34:56 +0200 |
---|---|---|
committer | Alige <aligetmw@hotmail.fr> | 2013-07-11 14:34:56 +0200 |
commit | 80cba491091c4e031131c8405b5d08fbc04e7935 (patch) | |
tree | 6b3ef0f61fbcbcf7dc5cddf40d7ca1e2815a6e8e | |
parent | 9b6ad078ad1519d24d9f303ca9e5eb5a2e014d92 (diff) | |
download | serverdata-80cba491091c4e031131c8405b5d08fbc04e7935.tar.gz serverdata-80cba491091c4e031131c8405b5d08fbc04e7935.tar.bz2 serverdata-80cba491091c4e031131c8405b5d08fbc04e7935.tar.xz serverdata-80cba491091c4e031131c8405b5d08fbc04e7935.zip |
Fixed random value in two function scripts.
-rw-r--r-- | npc/functions/asleep.txt | 2 | ||||
-rw-r--r-- | 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!"); |