summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorAlige <aligetmw@hotmail.fr>2013-07-11 14:34:56 +0200
committerAlige <aligetmw@hotmail.fr>2013-07-11 14:34:56 +0200
commit80cba491091c4e031131c8405b5d08fbc04e7935 (patch)
tree6b3ef0f61fbcbcf7dc5cddf40d7ca1e2815a6e8e /npc
parent9b6ad078ad1519d24d9f303ca9e5eb5a2e014d92 (diff)
downloadserverdata-80cba491091c4e031131c8405b5d08fbc04e7935.tar.gz
serverdata-80cba491091c4e031131c8405b5d08fbc04e7935.tar.bz2
serverdata-80cba491091c4e031131c8405b5d08fbc04e7935.tar.xz
serverdata-80cba491091c4e031131c8405b5d08fbc04e7935.zip
Fixed random value in two function scripts.
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/asleep.txt2
-rw-r--r--npc/functions/goodbye.txt2
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!");