diff options
author | Reid <reidyaro@gmail.com> | 2016-06-20 03:47:24 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2016-06-20 03:47:24 +0200 |
commit | 79859a6ac9420d6d24608cbb83e6577e17e1df17 (patch) | |
tree | 30688c862fc730cc0ebcf4ac57a3d82de82d8721 | |
parent | 0115a0bf2d469bdbd96b4994c8a7be9614666791 (diff) | |
download | serverdata-79859a6ac9420d6d24608cbb83e6577e17e1df17.tar.gz serverdata-79859a6ac9420d6d24608cbb83e6577e17e1df17.tar.bz2 serverdata-79859a6ac9420d6d24608cbb83e6577e17e1df17.tar.xz serverdata-79859a6ac9420d6d24608cbb83e6577e17e1df17.zip |
Fix some wrong rand() call on hello and villagertalk.
-rw-r--r-- | npc/functions/hello.txt | 2 | ||||
-rw-r--r-- | npc/functions/villagertalk.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/hello.txt b/npc/functions/hello.txt index 162a953e..26161c79 100644 --- a/npc/functions/hello.txt +++ b/npc/functions/hello.txt @@ -6,7 +6,7 @@ function script hello { - switch (rand(2)) + switch (rand(3)) { case 0: npctalk3 l("Heya!"); diff --git a/npc/functions/villagertalk.txt b/npc/functions/villagertalk.txt index 469b8f67..99803621 100644 --- a/npc/functions/villagertalk.txt +++ b/npc/functions/villagertalk.txt @@ -30,7 +30,7 @@ function script villagertalk { return; } - switch (rand(3)) + switch (rand(4)) { case 0: darn_or_smile(); |