Skip to content

Commit

Permalink
Updated Old Glast Heim instance
Browse files Browse the repository at this point in the history
* Adds official quest entries for the instance.
* Modify behavior of item-giving NPCs.
Fixes #701. Fixes #1343.
Thanks to @exneval, @spinzaku and @tmav94.
  • Loading branch information
Jittapan Pluemsumran committed Jun 7, 2016
1 parent aa5d7a4 commit b8898cd
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 7 deletions.
17 changes: 14 additions & 3 deletions db/re/quest_db.txt
Expand Up @@ -2518,9 +2518,20 @@
12314,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"About skills"

// Old Glast Heim
12317,82800,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Fake Keyblade"
12318,0,2475,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Upper Cats: annoying guy"
12319,0,2476,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Upper Cats: annoying guy"
12316,0,0,0,0,0,0,0,"Meeting Hugin"
12317,82800,0,0,0,0,0,0,"Trace of Time Travel"
12318,0,2475,1,0,0,0,0,"Corrupted Soul Hunt"
12319,0,2476,1,0,0,0,0,"Amdarais Hunt"
12320,0,0,0,0,0,0,0,"Time Traveler"
12321,0,0,0,0,0,0,0,"Time Conqueror"
12322,0,0,0,0,0,0,0,"Space Distortion"

12334,82800,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Trace of Time Travel"
12335,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Space Distortion"
//12336,0,3151,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Corrupted Soul Hunt"
//12337,0,3150,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Amdarais Soul Hunt"
12338,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Time Traveler"
12339,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Time Conqueror"

12363,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"?????? ?? ??"

Expand Down
22 changes: 18 additions & 4 deletions npc/re/instances/OldGlastHeim.txt
Expand Up @@ -1222,8 +1222,13 @@ OnTalk6:
mes "[Varmunt]";
mes "There's something unusual about this thing's aura. Maybe someday we will be able to understand what is behind all of this.";
cutin "gl_barmund1",2;
getitem 6608,1; //Coagulated Spell
setquest 12319;
erasequest 12318;
if (checkquest(12319,HUNTING) == -1)
setquest 12319;
setquest 12320;
erasequest 12320;
getitem 6607,1; //Temporal_Crystal
getitem 6608,1; //Coagulated_Spell
close2;
cutin "gl_barmund1",255;
end;
Expand Down Expand Up @@ -1925,9 +1930,18 @@ OnTimer80000:
if (checkquest(12319,HUNTING) == 2) {
mes "[Hugin]";
mes "Well, you are pretty ridiculous. Beginners shouldn't get the loot Amdarias drops.";
erasequest 12318;
erasequest 12319;
getitem 6608,1; //Coagulated Spell
setquest 12321;
setquest 12322;
erasequest 12321;
if (gh_instance) {
getitem 6607,1; //Temporal_Crystal
getitem 6608,1; //Coagulated_Spell
} else {
getitem 6607,5; //Temporal_Crystal
getitem 6608,5; //Coagulated_Spell
gh_instance = 1;
}
next;
mes "[Hugin]";
mes "Varmunt, I have arbitrarily stopped time. And soon, the time gap will be gone.";
Expand Down

0 comments on commit b8898cd

Please sign in to comment.