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/jobs/2-1/hunter.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/jobs/2-1/hunter.txt')
-rw-r--r-- | npc/jobs/2-1/hunter.txt | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/npc/jobs/2-1/hunter.txt b/npc/jobs/2-1/hunter.txt index e0de2c97b..1cee70de4 100644 --- a/npc/jobs/2-1/hunter.txt +++ b/npc/jobs/2-1/hunter.txt @@ -501,16 +501,15 @@ hu_in01,382,382,4 script Guild Receptionist#hnt 4_M_JOB_HUNTER,{ mes "[Demon Hunter]"; mes "You see, we're having some financial problems. Let's see, we're short on these items..."; next; - if(checkre(0)) .@i = 1; switch(rand(1,7)) { //Insect_Feeler/Claw_Of_Desert_Wolf, Wooden_Block, White_Herb - case 1: setarray .@items[0], (.@i?928:7030),5, 1019,5, 509,3, 3; changequest 4001,4002; break; + case 1: setarray .@items[0], (RENEWAL?928:7030),5, 1019,5, 509,3, 3; changequest 4001,4002; break; //Bill_Of_Birds, Skel_Bone, Green_Herb case 2: setarray .@items[0], 925,3, 932,5, 511,3, 4; changequest 4001,4003; break; //Colorful_Shell/Posionous_Canine, Animal's_Skin, Red_Herb - case 3: setarray .@items[0], (.@i?1013:937),3, 919,3, 507,5, 5; changequest 4001,4004; break; + case 3: setarray .@items[0], (RENEWAL?1013:937),3, 919,3, 507,5, 5; changequest 4001,4004; break; //Horn/Dokkaebi_Horn, Poison_Spore/Piece_Of_Egg_Shell, Fluff - case 4: setarray .@items[0], (.@i?947:1021),3, (.@i?7033:7032),3, 914,10, 6; changequest 4001,4005; break; + case 4: setarray .@items[0], (RENEWAL?947:1021),3, (RENEWAL?7033:7032),3, 914,10, 6; changequest 4001,4005; break; //Shell, Worm_Peelings, Yellow_Herb case 5: setarray .@items[0], 935,9, 955,9, 508,9, 7; changequest 4001,4006; break; //Tooth_Of_Bat, Sticky_Mucus, Bear's_Foot @@ -532,16 +531,15 @@ hu_in01,382,382,4 script Guild Receptionist#hnt 4_M_JOB_HUNTER,{ close; } else if (HNTR_Q >= 3 && HNTR_Q <= 9) { - if(checkre(0)) .@i = 1; switch(HNTR_Q) { //Insect_Feeler/Claw_Of_Desert_Wolf, Wooden_Block, White_Herb - case 3: setarray .@items[0], (.@i?928:7030),5, 1019,5, 509,3, 10; break; + case 3: setarray .@items[0], (RENEWAL?928:7030),5, 1019,5, 509,3, 10; break; //Bill_Of_Birds, Skel_Bone, Green_Herb case 4: setarray .@items[0], 925,3, 932,5, 511,3, 10; break; //Colorful_Shell/Posionous_Canine, Animal's_Skin, Red_Herb - case 5: setarray .@items[0], (.@i?1013:937),3, 919,3, 507,5, 10; break; + case 5: setarray .@items[0], (RENEWAL?1013:937),3, 919,3, 507,5, 10; break; //Horn/Dokkaebi_Horn, Poison_Spore/Piece_Of_Egg_Shell, Fluff - case 6: setarray .@items[0], (.@i?947:1021),3, (.@i?7033:7032),3, 914,10, 10; break; + case 6: setarray .@items[0], (RENEWAL?947:1021),3, (RENEWAL?7033:7032),3, 914,10, 10; break; //Shell, Worm_Peelings, Yellow_Herb case 7: setarray .@items[0], 935,9, 955,9, 508,9, 11; break; //Tooth_Of_Bat, Sticky_Mucus, Bear's_Foot |