diff options
Diffstat (limited to 'npc/re/quests/eden/91-99.txt')
-rw-r--r-- | npc/re/quests/eden/91-99.txt | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/npc/re/quests/eden/91-99.txt b/npc/re/quests/eden/91-99.txt index e6744e80f..ba3e8c479 100644 --- a/npc/re/quests/eden/91-99.txt +++ b/npc/re/quests/eden/91-99.txt @@ -79,9 +79,9 @@ moc_para01,48,177,3 script 91-99 Mission Board 4_BOARD3,{ 102000,108000, 110000,138000,118000,96000,134000; mes "You must be within level 91-99 to accept these missions."; - for(set .@quest,4181; .@quest<=4196; set .@quest,.@quest+1) { - set .@hunting, checkquest(.@quest,HUNTING); - if (.@hunting == 0 || .@hunting == 1) { + for(.@quest = 4181; .@quest<=4196; ++.@quest) { + .@hunting = questprogress(.@quest,HUNTING); + if (.@hunting == 1) { next; mes ":: You cannot proceed in"; mes ":: ^0000FF"+.@names$[.@quest-4181]+" Hunting^000000."; @@ -159,16 +159,16 @@ moc_para01,48,177,3 script 91-99 Mission Board 4_BOARD3,{ //callsub L_Quest,<quest ID>,"<monster name>",<reward EXP>,"<cutin image>","<description>"{,"s"}; L_Quest: - set .@quest1, getarg(0); - set .@quest2, .@quest1+31; - set .@playtime, checkquest(.@quest2,PLAYTIME); - if (.@playtime == 0 || .@playtime == 1) { + .@quest1 = getarg(0); + .@quest2 = .@quest1+31; + .@playtime = questprogress(.@quest2,PLAYTIME); + if (.@playtime == 1) { mes "[91-99 Mission Board]"; mes "You need to wait 3 hours before you can take this mission again."; close; } - set .@hunting, checkquest(.@quest1,HUNTING); - if (.@hunting == 0 || .@hunting == 1) { + .@hunting = questprogress(.@quest1,HUNTING); + if (.@hunting == 1) { mes "[91-99 Mission Board]"; mes "Have you finished hunting all 30 "+getarg(1)+getarg(5,"")+" yet?"; close; @@ -177,15 +177,15 @@ L_Quest: mes "You have completed the hunting."; mes "Please accept this reward as a compensation."; erasequest .@quest1; - if (.@playtime > -1) erasequest .@quest2; + if (.@playtime) erasequest .@quest2; setquest .@quest2; // Job Experience calculation. - if (JobLevel > 50 && JobLevel < 56) set .@jexp,67000; - else if (JobLevel > 55 && JobLevel < 61) set .@jexp,94000; - else if (JobLevel > 60 && JobLevel < 66) set .@jexp,141000; - else if (JobLevel > 65 && JobLevel < 69) set .@jexp,212000; - else if (JobLevel == 69) set .@jexp,311000; + if (JobLevel > 50 && JobLevel < 56) .@jexp = 67000; + else if (JobLevel > 55 && JobLevel < 61) .@jexp = 94000; + else if (JobLevel > 60 && JobLevel < 66) .@jexp = 141000; + else if (JobLevel > 65 && JobLevel < 69) .@jexp = 212000; + else if (JobLevel == 69) .@jexp = 311000; getexp getarg(2),.@jexp; close; @@ -207,7 +207,7 @@ L_Quest: if(select("I'll hunt them.:No thanks.") == 1) { mes "[91-99 Mission Board]"; mes "When you have completed the mission, post it on this board and collect your reward."; - if (.@playtime > -1) erasequest .@quest2; + if (.@playtime) erasequest .@quest2; setquest .@quest1; } close; |