From 88a5d6c0ab9b1f35dbed8ca7f3220e32657c19c8 Mon Sep 17 00:00:00 2001 From: TungSinpei Date: Sat, 23 Aug 2014 13:38:08 +0800 Subject: change rand(1) to rand(2) --- npc/jobs/2-1/hunter.txt | 2 +- npc/jobs/2-1/wizard.txt | 2 +- npc/pre-re/jobs/1-1/merchant.txt | 2 +- npc/re/quests/quests_malaya.txt | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/npc/jobs/2-1/hunter.txt b/npc/jobs/2-1/hunter.txt index 1acb63a8b..b1f1f518b 100644 --- a/npc/jobs/2-1/hunter.txt +++ b/npc/jobs/2-1/hunter.txt @@ -1257,7 +1257,7 @@ OnTouch: set HNTR_Q,16; changequest 4011,4012; savepoint "payon",104,99; - if (rand(1)) + if (rand(2)) warp "payon_in02",21,27; warp "payon_in03",128,7; } diff --git a/npc/jobs/2-1/wizard.txt b/npc/jobs/2-1/wizard.txt index b1b4d05ab..b62685c6b 100644 --- a/npc/jobs/2-1/wizard.txt +++ b/npc/jobs/2-1/wizard.txt @@ -155,7 +155,7 @@ gef_tower,111,37,4 script Wizard Guildsman 1_F_GYPSY,{ set wizard_m1,rand(1,2); mes "[Catherine]"; mes "The items you must collect are..."; - if (rand(1)) { + if (rand(2)) { set WIZ_Q,1; setquest 9013; mes "^3355FFRed Gemstone^000000 10 each,"; diff --git a/npc/pre-re/jobs/1-1/merchant.txt b/npc/pre-re/jobs/1-1/merchant.txt index 934dc0300..47c1e3242 100644 --- a/npc/pre-re/jobs/1-1/merchant.txt +++ b/npc/pre-re/jobs/1-1/merchant.txt @@ -494,7 +494,7 @@ S_GiveSerial: next; mes "[Chief Mahnsoo]"; mes "Remember..."; - if (rand(1)) { + if (rand(2)) { mes "The package's"; mes "Serial Number is"; mes "^3355FF"+getarg(0)+"^000000."; diff --git a/npc/re/quests/quests_malaya.txt b/npc/re/quests/quests_malaya.txt index 0c9eb2a82..617ccf2c7 100644 --- a/npc/re/quests/quests_malaya.txt +++ b/npc/re/quests/quests_malaya.txt @@ -158,7 +158,7 @@ malaya,266,76,3 script Rodel the Guard#malaya 4_MAL_SOLDIER,4,4,{ getexp 200000,200000; erasequest 7404; setquest 7405; - if (rand(1)) + if (rand(2)) $malayaNames$[1] = strcharinfo(0); // SavePPL Jejellopy close; @@ -709,7 +709,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{ // else // getitem 6497, 1; // Lesser_Agimat getexp 200000,200000; - if (rand(1)) + if (rand(2)) $malayaNames$[0] = strcharinfo(0); close; } else { @@ -815,7 +815,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{ // else // getitem 6497, 1; // Lesser_Agimat getexp 200000,200000; - if (rand(1)) + if (rand(2)) $malayaNames$[0] = strcharinfo(0); close; } else { -- cgit v1.2.3-70-g09d2