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/the_sign_quest.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/the_sign_quest.txt')
-rw-r--r-- | npc/quests/the_sign_quest.txt | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/npc/quests/the_sign_quest.txt b/npc/quests/the_sign_quest.txt index be630c202..23f543546 100644 --- a/npc/quests/the_sign_quest.txt +++ b/npc/quests/the_sign_quest.txt @@ -694,7 +694,7 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{ mes "You may have had your doubts,"; mes "but I'm happy enough to confirm that the Sign really exists. Thanks again, and I hope you stop by and chat from time to time."; sign_q = 142; - getexp (checkre(3))?200000:2000000,0; + getexp RENEWAL_EXP?200000:2000000,0; } else { mes "Have you visited"; @@ -727,7 +727,7 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{ } delitem 7178,1; //Star's_Sob sign_q = 202; - getexp (checkre(3))?10000:100000,0; + getexp RENEWAL_EXP?10000:100000,0; getitem 617,1; //Old_Violet_Box } else if (sign_q > 201) { @@ -1495,7 +1495,7 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{ mes "you gave Ganaan tell me"; mes "you're not a total dumbass."; mes "Now you're supposed to go see Daewoon in Payon. And don't forget to show him this Star thingee."; - if (checkre(3)) { + if (RENEWAL_EXP) { if (BaseLevel < 60) getexp 300,0; else if (BaseLevel < 70) getexp 750,0; else if (BaseLevel < 80) getexp 1000,0; @@ -2365,7 +2365,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{ if (.@pay_point > 29) { sign_q = 15; getitem 7177,1; //Part_Of_Star's_Sob - if (checkre(3)) { + if (RENEWAL_EXP) { if (BaseLevel < 60) getexp 300,0; else if (BaseLevel < 70) getexp 750,0; else if (BaseLevel < 80) getexp 1000,0; @@ -2409,7 +2409,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{ else if ((.@pay_point > 26) && (.@pay_point < 30)) { sign_q = 15; getitem 7177,1; //Part_Of_Star's_Sob - if (checkre(3)) { + if (RENEWAL_EXP) { if (BaseLevel < 60) getexp 300,0; else if (BaseLevel < 70) getexp 750,0; else if (BaseLevel < 80) getexp 1000,0; @@ -4639,7 +4639,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{ if (countitem(750)) delitem 750,1; //Baphomet_Doll if (countitem(751)) delitem 751,1; //Osiris_Doll sign_q = 30; - if (checkre(3)) { + if (RENEWAL_EXP) { if (BaseLevel < 60) getexp 300,0; else if (BaseLevel < 70) getexp 500,0; else if (BaseLevel < 80) getexp 800,0; @@ -4730,7 +4730,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{ mes "um, ''Bakerlan'' in Alberta."; sign_q = 35; getitem 7177,1; //Part_Of_Star's_Sob - if (checkre(3)) { + if (RENEWAL_EXP) { if (BaseLevel < 60) getexp 300,0; else if (BaseLevel < 70) getexp 700,0; else if (BaseLevel < 80) getexp 1900,0; @@ -4768,7 +4768,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{ sign_q = 35; getitem 7177,1; //Part_Of_Star's_Sob Zeny += 20000; - if (checkre(3)) { + if (RENEWAL_EXP) { if (BaseLevel < 60) getexp 300,0; else if (BaseLevel < 70) getexp 700,0; else if (BaseLevel < 80) getexp 1000,0; @@ -5639,7 +5639,7 @@ alberta_in,125,101,5 script Wealthy-looking Merchant 1_M_SIGNMCNT,{ mes "He will tell you what you need to do next."; sign_q = 53; getitem 7177,1; //Part_Of_Star's_Sob - if (checkre(3)) { + if (RENEWAL_EXP) { if (BaseLevel < 60) getexp 500,0; else if (BaseLevel < 70) getexp 800,0; else if (BaseLevel < 80) getexp 1100,0; @@ -6853,7 +6853,7 @@ yuno,330,100,4 script Knight#ss 4_M_JOB_KNIGHT2,{ delitem2 7049,1,1,0,0,.@sign1,.@sign2,.@sign3,.@sign4; sign_q = 39; getitem 7181,1; //Receipt_01 - if (checkre(3)) { + if (RENEWAL_EXP) { if (BaseLevel < 60) getexp 100,0; else if (BaseLevel < 70) getexp 200,0; else if (BaseLevel < 80) getexp 400,0; @@ -8244,7 +8244,7 @@ himinn,48,86,5 script Valkyrie#sign 4_F_VALKYRIE,{ mes "one of the hearts there..."; sign_q = 82; percentheal 100,100; - if (checkre(3)) { + if (RENEWAL_EXP) { if (BaseLevel < 56) getexp 900,0; else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 1200,0; else if ((BaseLevel > 60) && (BaseLevel < 66)) getexp 2000,0; @@ -8534,7 +8534,7 @@ que_sign01,196,39,4 script Serin#serin 4_F_01,{ mes "ask the Dark Lord to spare"; mes "you. Thank you so much..."; sign_q = 200; - getexp (checkre(3))?20000:200000,0; + getexp RENEWAL_EXP?20000:200000,0; $@sign_w2 = 0; donpcevent "Dark Lord#serin::OnDisable"; close2; @@ -8805,7 +8805,7 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{ mes "ask the Dark Lord to spare"; mes "you. Thank you so much..."; sign_q = 200; - getexp (checkre(3))?20000:200000,0; + getexp RENEWAL_EXP?20000:200000,0; $@sign_w1 = 0; close2; warp "umbala,",132,203; @@ -9551,7 +9551,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{ mes "the faint smile on her lips tell you that her memories of you"; mes "will always remain in her heart.^000000"; delitem 2643,1; //Serin's_Gold_Ring_ - getexp (checkre(3))?50000:500000,0; + getexp RENEWAL_EXP?50000:500000,0; close; case 2: emotion e_sob; @@ -10313,7 +10313,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{ mes "please visit our queen, Lady Hell. I believe she wants to see you for some reason, "+strcharinfo(0)+"..."; delitem 7313,5; //Seal_Of_Witch sign_q = 129; - getexp (checkre(3))?50000:500000,0; + getexp RENEWAL_EXP?50000:500000,0; close; } } @@ -10342,7 +10342,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{ mes "please visit our queen, Lady Hell. I believe she wants to see you for some reason..."; delitem 7313,5; //Seal_Of_Witch sign_q = 130; - getexp (checkre(3))?30000:300000,0; + getexp RENEWAL_EXP?30000:300000,0; close; } } @@ -10368,7 +10368,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{ mes "please visit our queen, Lady Hell. I believe she wants to see you for some reason..."; if (countitem(2643) == 1) sign_q = 129; else sign_q = 130; - getexp (checkre(3))?30000:300000,0; + getexp RENEWAL_EXP?30000:300000,0; close; } else if (sign_q == 200) { @@ -10398,7 +10398,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{ if (countitem(2642) > 0) delitem 2642,1; //Serin's_Gold_Ring if (countitem(7308) > 0) delitem 7308,1; //Witch's_Potion sign_q = 201; - getexp (checkre(3))?20000:200000,0; + getexp RENEWAL_EXP?20000:200000,0; close; } else if (sign_q > 200) { |