Next quest in the chain I’m working on.
Source:
-- QUEST 12667 'Seek the Wind Serpent Goddess'
SET @GUID := XXX; -- Need 3
SET @GOSSIP := YYY; -- Need sniff
SET @ENTRY_QUETZLUN := 28030;
SET @ENTRY_ALTAR_GATEWAY_REAL_WORLD := 28469;
SET @ENTRY_ALTAR_GATEWAY := 28478;
SET @QUEST_START := 12667;
SET @QUEST_END := 12675;
SET @SPELL_GHOSTLY := 51671;
UPDATE `creature_template` SET `gossip_menu_id`=@GOSSIP, `faction_A`=7 , `faction_H`=7 WHERE `entry`=@ENTRY_QUETZLUN;
UPDATE `creature_template` SET `name`='Altar of Quetz''lun Gateway - Real World', `unit_flags`=`unit_flags`|33554432|512|256 WHERE `entry`=@ENTRY_ALTAR_GATEWAY_REAL_WORLD; -- should not be UNUSED as its name was
DELETE FROM `creature` WHERE `id` IN (@ENTRY_QUETZLUN,@ENTRY_ALTAR_GATEWAY_REAL_WORLD,@ENTRY_ALTAR_GATEWAY);
INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`) VALUES
(@GUID,@ENTRY_QUETZLUN,571,1,2,0,0,5717.330,-4369.834,385.802,1.627,300,0,0,1,0,0,0,0,8), -- Quetz'lun's Spirit
(@GUID+1,@ENTRY_ALTAR_GATEWAY_REAL_WORLD,571,1,1,25181,0,5715.42,-3999.43,372.07,1.58825,300,0,0,1,0,0,0,0,8), -- Altar of Quetz'lun Gateway - Real World
(@GUID+2,@ENTRY_ALTAR_GATEWAY,571,1,2,25181,0,5715.42,-3999.43,372.07,1.58825,300,0,0,1,0,0,0,0,8); -- Altar of Quetz'lun Gateway
DELETE FROM `creature_template_addon` WHERE `entry` IN (@ENTRY_QUETZLUN,@ENTRY_ALTAR_GATEWAY_REAL_WORLD,@ENTRY_ALTAR_GATEWAY);
INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
(@ENTRY_QUETZLUN,0,0,0,1,0,'51126 41408'), -- Shadowform
(@ENTRY_ALTAR_GATEWAY_REAL_WORLD,0,0,0,1,0,'51715'), -- Altar of Quetz'lun
(@ENTRY_ALTAR_GATEWAY,0,0,0,1,0,'51715'); -- Altar of Quetz'lun
DELETE FROM `creature_addon` WHERE `guid`=101830; -- Remove as there is only one spawn of @ENTRY_ALTAR_GATEWAY so creature_template_addon fits better imo
DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP;
INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES
(@GOSSIP,13331);
DELETE FROM`spell_area` WHERE `spell`=@SPELL_GHOSTLY;
INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_start_active`,`quest_end`,`aura_spell`,`racemask`,`gender`,`autocast`) VALUES
(@SPELL_GHOSTLY,4325,@QUEST_START,1,@QUEST_END,0,0,2,1);
[/sql]
That there is an Altar Gateway Bunny on the dead side, too can be verified at 0:14 [http://www.youtube.c...?v=nHgbnXKaAAE.](http://www.youtube.com/watch?v=nHgbnXKaAAE.)
Seemed logical to use the one that was marked as UNUSED in the db.
Dunno if the creature_template_addon for Quetz'lun is correct but at least it looks so.
The gossip_menu_id for Quetz'lun is missing in the db but the text 13331 is already there.