diff options
author | TungSinpei <TungSinpei@hotmail.com> | 2014-08-23 13:38:08 +0800 |
---|---|---|
committer | TungSinpei <TungSinpei@hotmail.com> | 2014-08-23 13:38:33 +0800 |
commit | 88a5d6c0ab9b1f35dbed8ca7f3220e32657c19c8 (patch) | |
tree | aed8ae66d19ab4065675bd900e1108c590411eb4 /npc | |
parent | 769b1d05aa5cfa8cddfe7d21b35d5c5e4da3bbd6 (diff) | |
download | hercules-88a5d6c0ab9b1f35dbed8ca7f3220e32657c19c8.tar.gz hercules-88a5d6c0ab9b1f35dbed8ca7f3220e32657c19c8.tar.bz2 hercules-88a5d6c0ab9b1f35dbed8ca7f3220e32657c19c8.tar.xz hercules-88a5d6c0ab9b1f35dbed8ca7f3220e32657c19c8.zip |
change rand(1) to rand(2)
Diffstat (limited to 'npc')
-rw-r--r-- | npc/jobs/2-1/hunter.txt | 2 | ||||
-rw-r--r-- | npc/jobs/2-1/wizard.txt | 2 | ||||
-rw-r--r-- | npc/pre-re/jobs/1-1/merchant.txt | 2 | ||||
-rw-r--r-- | 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 { |