diff options
author | Haru <haru@dotalux.com> | 2015-05-08 16:15:07 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-05-08 16:21:05 +0200 |
commit | ad9a14992cde8ad6759263da37e723b2b1825981 (patch) | |
tree | f6c168973bb2d2c5f243ad1c5688ae15439dcc5c /npc/quests/quests_13_2.txt | |
parent | 513059cad7510c20f44e1a19f731efbe2f28dbec (diff) | |
download | hercules-ad9a14992cde8ad6759263da37e723b2b1825981.tar.gz hercules-ad9a14992cde8ad6759263da37e723b2b1825981.tar.bz2 hercules-ad9a14992cde8ad6759263da37e723b2b1825981.tar.xz hercules-ad9a14992cde8ad6759263da37e723b2b1825981.zip |
Replaced checkre() calls with constants
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/quests/quests_13_2.txt')
-rw-r--r-- | npc/quests/quests_13_2.txt | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/npc/quests/quests_13_2.txt b/npc/quests/quests_13_2.txt index 9c11d7fb2..3faaacd62 100644 --- a/npc/quests/quests_13_2.txt +++ b/npc/quests/quests_13_2.txt @@ -399,7 +399,7 @@ function Catwarp { switch(getarg(1)) { case 1: warp "alberta",117,56; end; case 2: warp "prontera",116,72; end; - case 3: if (checkre(0)) warp "izlude",128,98; else warp "izlude",91,105; end; + case 3: if (RENEWAL) warp "izlude",128,98; else warp "izlude",91,105; end; case 4: warp "geffen",120,39; end; case 5: warp "payon",161,58; end; case 6: warp "morocc",156,46; end; @@ -2458,7 +2458,7 @@ spl_in02,236,92,5 script Arc#ep13md_l02 4_M_FAIRYSOLDIER,{ mes "I'm sorry this is all I can give you for now."; ep13_mdrama = 27; getitem 6081,25; //Splendide_Coin - if (checkre(3)) + if (RENEWAL_EXP) getexp 120000,10000; else getexp 1200000,100000; @@ -2778,7 +2778,7 @@ manuk,252,116,3 script Manuk Galtun#ep13_2day 4_MAN_GALTUN,{ completequest 7074; completequest 7075; ep13_2_days01 = 2; - if (checkre(3)) + if (RENEWAL_EXP) getexp 50000,30000; else getexp 500000,300000; @@ -3695,7 +3695,7 @@ mid_camp,197,237,3 script Schwartzvalt Mechanic#1 4_M_LGTMAN,{ mes "I hope this ring would be a big help for your journey through the other world."; completequest 8253; ep13_2_rhea = 100; - if (checkre(3)) + if (RENEWAL_EXP) getexp 200000,5000; else getexp 1000000,300000; @@ -4776,7 +4776,7 @@ man_in01,372,221,5 script Scientist#lifeguard 4_MAN_BENKUNI,{ delitem 6078,.@stoneelse_chk; //Stone_Fragments delitem 6076,1; //Portable_Toolbox getitem 6080,3; //Manuk_Coin - getexp 0,(checkre(3))?50000:700000; //unconfirmed (RE) + getexp 0,RENEWAL_EXP?50000:700000; //unconfirmed (RE) changequest 2179+(ep13_2_tre-2),2182; ep13_2_tre = 100; close; @@ -5643,8 +5643,7 @@ spl_in01,30,324,3 script High Laphine#grenouille 4_M_FAIRYKID5,{ ep13_2_tre1 = 6; changequest 2185,2186; getitem 6081,3; //Splendide_Coin - if (checkre(3) == 0) - getexp 0,(checkre(3))?50000:700000; //unconfirmed (RE) + getexp 0,RENEWAL_EXP?50000:700000; //unconfirmed (RE) close; } else { |