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/seals | |
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/seals')
-rw-r--r-- | npc/quests/seals/brisingamen_seal.txt | 2 | ||||
-rw-r--r-- | npc/quests/seals/god_global.txt | 2 | ||||
-rw-r--r-- | npc/quests/seals/megingard_seal.txt | 6 | ||||
-rw-r--r-- | npc/quests/seals/sleipnir_seal.txt | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/npc/quests/seals/brisingamen_seal.txt b/npc/quests/seals/brisingamen_seal.txt index 34e1a76b0..13e30ddab 100644 --- a/npc/quests/seals/brisingamen_seal.txt +++ b/npc/quests/seals/brisingamen_seal.txt @@ -890,7 +890,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 4_M_ALCHE_B,{ mes "Take this."; god_brising = 50; getitem 616,1; // Old_Card_Album - getexp (checkre(3))?60000:600000,0; + getexp RENEWAL_EXP?60000:600000,0; next; mes "[Enrico Kaili]"; mes "Please accept this as my way of thanking you for assisting in my"; diff --git a/npc/quests/seals/god_global.txt b/npc/quests/seals/god_global.txt index daeb6ddae..9db44a140 100644 --- a/npc/quests/seals/god_global.txt +++ b/npc/quests/seals/god_global.txt @@ -100,7 +100,7 @@ L_Var: OnInit: // Seals roll at 25/50 in Renewal and 50/100 in Pre-Renewal. - if (checkre(0)) { + if (RENEWAL) { $@god_check1 = 25; $@god_check2 = 50; } else { diff --git a/npc/quests/seals/megingard_seal.txt b/npc/quests/seals/megingard_seal.txt index bb0d35f6c..bde57eb6c 100644 --- a/npc/quests/seals/megingard_seal.txt +++ b/npc/quests/seals/megingard_seal.txt @@ -2652,7 +2652,7 @@ aldebaran,66,213,0 script Lady#megin 1_F_04,{ mes "I really appreciate you coming here to talk to me about the old days. I, I want you to have this."; god_eremes = 28; getitem 603,1; // Old_Blue_Box - if (checkre(3)) { + if (RENEWAL_EXP) { if (BaseLevel < 56) getexp 2700,0; else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 3000,0; else if ((BaseLevel > 60) && (BaseLevel < 66)) getexp 5605,0; @@ -3191,7 +3191,7 @@ niflheim,109,254,0 script Egnigem 4_M_NFDEADSWDMAN,{ specialeffect EF_LOCKON; specialeffect2 EF_HOLYCROSS; god_eremes = 27; - if (checkre(3)) { + if (RENEWAL_EXP) { if (BaseLevel < 56) getexp 2700,0; else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 3000,0; else if ((BaseLevel > 60) && (BaseLevel < 66)) getexp 5605,0; @@ -3249,7 +3249,7 @@ niflheim,109,254,0 script Egnigem 4_M_NFDEADSWDMAN,{ specialeffect EF_LOCKON; specialeffect2 EF_HOLYCROSS; god_eremes = 27; - if (checkre(3)) { + if (RENEWAL_EXP) { if (BaseLevel < 56) getexp 2700,0; else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 3000,0; else if ((BaseLevel > 60) && (BaseLevel < 66)) getexp 5605,0; diff --git a/npc/quests/seals/sleipnir_seal.txt b/npc/quests/seals/sleipnir_seal.txt index 54587ae94..81f231852 100644 --- a/npc/quests/seals/sleipnir_seal.txt +++ b/npc/quests/seals/sleipnir_seal.txt @@ -208,7 +208,7 @@ que_god01,98,98,4 script Manager#G 1_F_04,{ god_sl_1 = 51; .@god_treasure = rand(1,900); .@god_treasure1 = rand(1,1000); - if (checkre(0)) { + if (RENEWAL) { if (.@god_treasure < 101) { if (.@god_treasure1 < 210) getitem 2102,1; //Guard_ else if (.@god_treasure1 < 420) getitem 2104,1; //Buckler_ |