From 79859a6ac9420d6d24608cbb83e6577e17e1df17 Mon Sep 17 00:00:00 2001 From: Reid Date: Mon, 20 Jun 2016 03:47:24 +0200 Subject: Fix some wrong rand() call on hello and villagertalk. --- npc/functions/hello.txt | 2 +- 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(); -- cgit v1.2.3-70-g09d2