diff options
Diffstat (limited to 'npc/re/instances/WolfchevLaboratory.txt')
-rw-r--r-- | npc/re/instances/WolfchevLaboratory.txt | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/npc/re/instances/WolfchevLaboratory.txt b/npc/re/instances/WolfchevLaboratory.txt index 70cc81b8f..dcf726ed3 100644 --- a/npc/re/instances/WolfchevLaboratory.txt +++ b/npc/re/instances/WolfchevLaboratory.txt @@ -3,7 +3,7 @@ //===== By: ==================================================================== //= Kisuka (1.0) //===== Current Version: ======================================================= -//= 1.0.1 +//= 1.0.2 //===== File Encoding ========================================================== //= CP-949 (EUC-KR compatible). Do NOT read/save it as UTF-8. //===== Description: =========================================================== @@ -11,6 +11,7 @@ //===== Additional Comments: =================================================== //= 1.0.0 Initial Release. [Kisuka] //= 1.0.1 Some Clean-Up and Fixes. [Euphy] +//= 1.0.2 Fixed a small typo. [Euphy] //============================================================================== 1@lhz mapflag src4instance @@ -949,7 +950,7 @@ lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{ .@equip_item = getequipid(.@position); .@lhz_max_num = 4000; if(.@equip_item == Agent_Katar || .@equip_item == Guillotine_Katar || .@equip_item == Ygnus_Stale || - .@equip_item == End_Sektura || .@equip_item = Cannon_Spear || .@equip_item == Giant_Lance || + .@equip_item == End_Sektura || .@equip_item == Cannon_Spear || .@equip_item == Giant_Lance || .@equip_item == Aztoe_Nail || .@equip_item == Scarletto_Nail || .@equip_item == Bloody_Cross) { .@type = 1; if(.@equip_item == Giant_Lance) @@ -1689,10 +1690,9 @@ lhz_dun04,151,276,3 script Researcher#memo 4_LGTSCIENCE,{ mes "^FF0000You cannot continue the process due to possessing too many belongings.^000000"; close; } - .@quest_time = checkquest(5112, PLAYTIME); .@killed_bosses = true; for(.@quest_id = 5113; .@quest_id <= 5125; .@quest_id++) { - if(checkquest(.@quest_id, HUNTING) <= 1) + if(questprogress(.@quest_id, HUNTING) != 2) .@killed_bosses = false; } if (lght_duk01 < 6) { @@ -1779,14 +1779,15 @@ lhz_dun04,151,276,3 script Researcher#memo 4_LGTSCIENCE,{ mes "And just so you know, please do not touch random things out of curiosity. I don't want you to get hurt."; close; case 2: - if (.@quest_time == 0) { + .@quest_time = questprogress(5112, PLAYTIME); + if (!.@quest_time) { mes "[Wolfchev]"; mes "I'm sorry, but it seems you still cannot enter to the laboratory yet. Will you come back later? The system is kind of tricky you know."; close; } else { //if (.@quest_time == 2) //recall_completequest 5112; - if (.@quest_time >= 0) + if (.@quest_time) erasequest 5112; if (!.@killed_bosses) { if (lght_duk01 == 9) { @@ -1907,13 +1908,13 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{ mes "^FF0000You cannot continue the process due to possessing too many belongings.^000000"; close; } - .@lhz_time = checkquest(5112, PLAYTIME); + .@lhz_time = questprogress(5112, PLAYTIME); if (lght_duk01 < 7) { mes "It says,"; mes "'^0000FF****'s laboratory member only^000000'"; close; } - if (.@lhz_time == -1) { + if (!.@lhz_time) { mes "This is an entrance towards Wolfchev's laboratory. Something is howling over the entrance."; next; if(select("Go inside", "Think one more time") == 2) { @@ -1937,7 +1938,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{ warp "1@lhz.gat", 45, 148; close; } - } else if (.@lhz_time == 0) { + } else if (.@lhz_time == 1) { mes "Di Rit- Di- Di- Dit-"; next; mes ""+ strcharinfo(PC_NAME) +". . ."; @@ -1945,7 +1946,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{ next; mes "The system denied your entrance."; close; - } else if (.@lhz_time >= 1) { + } else if (.@lhz_time == 2) { mes "Di Rit- Di- Di- Dit-"; next; //if (.@lhz_time == 2) @@ -3112,7 +3113,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{ } .@all_quests_complete = true; for(.@i = 5113; .@i <= 5125; .@i++) { - if(checkquest(.@i, HUNTING) != 2) + if(questprogress(.@i, HUNTING) != 2) .@all_quests_complete = false; } if (.@all_quests_complete) { |