Updated quest_db.txt for Wolfchev Laboratory.

Corrected syntax in WolfchevLaboratory.txt (dialog never triggered).
This commit is contained in:
Atemo 2016-05-28 20:44:06 +02:00
parent 08893675a1
commit 6485dba326
2 changed files with 26 additions and 18 deletions

View File

@ -783,19 +783,19 @@
5110,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"The Rumored Character" 5110,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"The Rumored Character"
5111,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"To the Lab..." 5111,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"To the Lab..."
5112,259200,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Laboratory Restricted Access" 5112,259200,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Laboratory Restricted Access"
5113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Lord Knight" 5113,0,1646,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Lord Knight"
5114,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Paladin" 5114,0,2235,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Paladin"
5115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] High Priest" 5115,0,1649,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] High Priest"
5116,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Champion" 5116,0,2238,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Champion"
5117,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] High Wizard" 5117,0,1651,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] High Wizard"
5118,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Professor" 5118,0,2237,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Professor"
5119,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Whitesmith" 5119,0,1648,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Whitesmith"
5120,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Creator" 5120,0,2236,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Creator"
5121,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Assassin Cross" 5121,0,1647,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Assassin Cross"
5122,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Stalker" 5122,0,2239,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Stalker"
5123,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Sniper" 5123,0,1650,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Sniper"
5124,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Clown" 5124,0,2240,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Clown"
5125,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Gypsy" 5125,0,2241,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"[Rest] Gypsy"
// Kagerou/Oboro Job Quest // Kagerou/Oboro Job Quest
5131,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Strange Conversation" 5131,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Strange Conversation"

View File

@ -2051,12 +2051,20 @@ OnMyMobDead:
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000"; mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
close; close;
} }
.@all_quests_complete = true;
for(.@i = 5113; .@i <= 5125; .@i++) { for(.@i = 5113; .@i <= 5125; .@i++) {
if (checkquest(.@i, HUNTING) != 2) switch( checkquest(.@i,HUNTING) ) {
.@all_quests_complete = false; case -1:
break;
case 0:
case 1:
.@all_quests_complete += 1;
break;
case 2:
.@all_quests_complete += 2;
break;
} }
if (.@all_quests_complete) { }
if (.@all_quests_complete == 26) {
// Quests Complete. Get Rewards. // Quests Complete. Get Rewards.
if (lght_duk01 == 8) { if (lght_duk01 == 8) {
// First time beating the instance. // First time beating the instance.
@ -2134,7 +2142,7 @@ OnMyMobDead:
end; end;
} }
} else { } else {
if (!.@all_quests_complete) { if (.@all_quests_complete == 0) {
mes "[Wolfchev]"; mes "[Wolfchev]";
mes "I was looking at the system.... don't know who made this..... but it's so complicated to get..no idea..."; mes "I was looking at the system.... don't know who made this..... but it's so complicated to get..no idea...";
next; next;