Merge pull request #118 from DantestyleXD/patch-3

[DB/Quest] Fix for quests 10990 10991 10992 #114
This commit is contained in:
Yehonal
2016-08-30 15:27:06 +02:00
committed by GitHub
2 changed files with 14 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
/*
Issue: Not work quest id 10990 10991 10992 #114
NPCs spawns are inside the Gobjs
*/
UPDATE gameobject_template SET AIName="SmartGameObjectAI", ScriptName = "" /*go_shrine_of_the_birds*/ WHERE entry IN (185551,185547,185553);
DELETE FROM smart_scripts WHERE entryorguid IN (185551,185547,185553) AND source_type=1;
INSERT INTO smart_scripts VALUES
(185551,1,0,0,70,0,100,0,2,0,0,0,12,22992,7,60000,0,0,0,7,0,0,0,0,0,0,0,"Hawk Shrine - On Activate - Summon Creature 22992"),
(185547,1,0,0,70,0,100,0,2,0,0,0,12,22993,7,60000,0,0,0,7,0,0,0,0,0,0,0,"Eagle Shrine - On Gossip Hello - Summon Creature 22993"),
(185553,1,0,0,70,0,100,0,2,0,0,0,12,22994,7,60000,0,0,0,7,0,0,0,0,0,0,0,"Hawk Shrine - On Gossip Hello - Summon Creature 22994");

View File

@@ -448,7 +448,7 @@ public:
/*###### /*######
## go_shrine_of_the_birds ## go_shrine_of_the_birds
######*/ ######*/
/*
enum ShrineOfTheBirds enum ShrineOfTheBirds
{ {
NPC_HAWK_GUARD = 22992, NPC_HAWK_GUARD = 22992,
@@ -490,7 +490,7 @@ public:
return false; return false;
} }
}; };
*/
/*###### /*######
## go_southfury_moonstone ## go_southfury_moonstone
######*/ ######*/
@@ -1182,7 +1182,7 @@ void AddSC_go_scripts()
// Theirs // Theirs
new go_cat_figurine(); new go_cat_figurine();
new go_gilded_brazier(); new go_gilded_brazier();
new go_shrine_of_the_birds(); //new go_shrine_of_the_birds();
new go_southfury_moonstone(); new go_southfury_moonstone();
new go_tablet_of_madness(); new go_tablet_of_madness();
new go_tablet_of_the_seven(); new go_tablet_of_the_seven();