summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-04-14 17:37:35 +0530
committerDastgir <dastgirpojee@rocketmail.com>2015-04-14 17:37:35 +0530
commit2961ebba3a7112c1422c63bd6e5c159cfafd07b0 (patch)
tree85ba9186e828cb3cce15d651c15cbbf92401f095
parent5325463c76c0d710f3063faaa1f5deb006411374 (diff)
downloadhercules-2961ebba3a7112c1422c63bd6e5c159cfafd07b0.tar.gz
hercules-2961ebba3a7112c1422c63bd6e5c159cfafd07b0.tar.bz2
hercules-2961ebba3a7112c1422c63bd6e5c159cfafd07b0.tar.xz
hercules-2961ebba3a7112c1422c63bd6e5c159cfafd07b0.zip
Fix Wolchev Laboratory not allowing to enter the instace
-rw-r--r--npc/re/instances/WolfchevLaboratory.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/npc/re/instances/WolfchevLaboratory.txt b/npc/re/instances/WolfchevLaboratory.txt
index a4e484785..55fef1b07 100644
--- a/npc/re/instances/WolfchevLaboratory.txt
+++ b/npc/re/instances/WolfchevLaboratory.txt
@@ -1693,8 +1693,10 @@ lhz_dun04,151,276,3 script Researcher#memo 4_LGTSCIENCE,{
}
.@killed_bosses = true;
for(.@quest_id = 5113; .@quest_id <= 5125; .@quest_id++) {
- if(questprogress(.@quest_id, HUNTING) != 2)
+ if(questprogress(.@quest_id, HUNTING) != 2){
.@killed_bosses = false;
+ break;
+ }
}
if (lght_duk01 < 6) {
mes "[Researcher]";
@@ -1781,13 +1783,11 @@ lhz_dun04,151,276,3 script Researcher#memo 4_LGTSCIENCE,{
close;
case 2:
.@quest_time = questprogress(5112, PLAYTIME);
- if (!.@quest_time) {
+ if (.@quest_time==1) {
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)
erasequest 5112;
if (!.@killed_bosses) {
@@ -1950,8 +1950,6 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
} else if (.@lhz_time == 2) {
mes "Di Rit- Di- Di- Dit-";
next;
- //if (.@lhz_time == 2)
- //recall_completequest 5112;
erasequest 5112;
mes ""+ strcharinfo(PC_NAME) +". . .";
mes "^FF0000Access denial has been deactivated.^000000";