What's new

14215 Memories of the Dead Temp Workaround

eyerobot

Gold Supporter
Superior Member
916
2015
24
Location
Barryton Michigan USA
Code:
-- 14215 Memories of the Dead

-- This is a workaround, Quest npc's should only speak if you have the ring.  Kalytha should phase you, And Selwynn should unphase you.
-- mennar defender and mennar acolyte need to be added into phased area.
-- Archmage Selwyn, and Kalytha should be surrounded by a beam of light
-- These things have not been added due to lack of information.

-- 35567 Spirit of Kalytha
DELETE FROM `creature` WHERE `id`=35567;
INSERT INTO `creature` (`id`, `map`, `zone`, `area`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `walkmode`) VALUES (35567, 1, 16, 1234, 1, 1, 0, 0, 2647.38, -5438.04, 115.214, 5.03774, 300, 0, 0, 42, 0, 0, 0, 0, 0, 0);

UPDATE `creature_template` SET `gossip_menu_id` = 35567 WHERE `entry` = 35567;

DELETE FROM `gossip_menu_option` WHERE `menu_id`=35567 AND `id`=0;
INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `OptionbroadCastTextId`, `BoxBroadcastTextId`) VALUES (35567, 0, 0, 'Merge with the spirits!', 1, 1, 0, 0, 0, 0, NULL, NULL, NULL);

UPDATE `creature_template` SET `npcflag` = 1, `AIName` = 'SmartAI' WHERE `entry` = 35567;

DELETE FROM `smart_scripts` WHERE (`entryorguid`=35567 AND `source_type`=0);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES 
(35567, 0, 0, 0, 62, 0, 100, 0, 35567, 0, 0, 0, 33, 35593, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On gossip Select - Call Killed Monster Credit");

-- 35595 Archmage Selwynn
DELETE FROM `creature` WHERE `id`=35595;
INSERT INTO `creature` (`id`, `map`, `zone`, `area`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `walkmode`) VALUES (35595, 1, 16, 1234, 1, 1, 0, 0, 2623.93, -5446.5, 114.658, 1.7155, 300, 0, 0, 42, 0, 0, 0, 0, 0, 0);

UPDATE `creature_template` SET `gossip_menu_id` = 35595 WHERE `entry` = 35595;

UPDATE `creature_template` SET `npcflag` = 1, `AIName` = 'SmartAI' WHERE `entry` = 35595;

DELETE FROM `gossip_menu_option` WHERE `menu_id`=35595 AND `id`=0;
INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `OptionbroadCastTextId`, `BoxBroadcastTextId`) VALUES (35595, 0, 0, 'Yes Archmage I will hide the stone.', 1, 1, 0, 0, 0, 0, NULL, NULL, NULL);
 

ExO

Admin
5,119
2014
1,639
Thanks! It has now been executed, and will be taken effect on the newest Emucoach Cataclysm 4.3.4 Repack (VIP) version;
 
Top