summaryrefslogtreecommitdiff
path: root/npc/functions/nurse.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-01 21:30:02 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-01 21:30:02 -0300
commit44862dca9b6f26513f23ea1fd79365c7a8d33d9e (patch)
treed125ad9b9249c6f061a11991ec1b5d742662236c /npc/functions/nurse.txt
parentd3c277d189ff513258f290c84680d275c4d05e0c (diff)
downloadserverdata-44862dca9b6f26513f23ea1fd79365c7a8d33d9e.tar.gz
serverdata-44862dca9b6f26513f23ea1fd79365c7a8d33d9e.tar.bz2
serverdata-44862dca9b6f26513f23ea1fd79365c7a8d33d9e.tar.xz
serverdata-44862dca9b6f26513f23ea1fd79365c7a8d33d9e.zip
Use rand2() instead of rand() in several places
Diffstat (limited to 'npc/functions/nurse.txt')
-rw-r--r--npc/functions/nurse.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/nurse.txt b/npc/functions/nurse.txt
index 0e6b0b4b4..7335c74f6 100644
--- a/npc/functions/nurse.txt
+++ b/npc/functions/nurse.txt
@@ -27,7 +27,7 @@ function script Nurse {
mesn getarg(0);
// Random message
- .@temp = rand(1,4);
+ .@temp = rand2(1,4);
switch (.@temp) {
case 1:
mesq l("You don't look too well; let me treat your wounds.");
@@ -72,7 +72,7 @@ function script Nurse {
sc_end(SC_SLOWPOISON);
percentheal 100,100; // We can also use "recovery()" but that revives players :o
mesn getarg(0);
- @temp = rand(1,4);
+ @temp = rand2(1,4);
if(@temp == 1) mesq l("Here you go!");
if(@temp == 2) mesq l("Painless, wasn't it?");
if(@temp == 3) mesq l("You should be more careful.");