TrinityCore icon indicating copy to clipboard operation
TrinityCore copied to clipboard

[Patch Fix] Quest The Soul Cannon of Rethhedron

Open Expecto opened this issue 14 years ago • 3 comments

Closes https://github.com/TrinityCore/TrinityCore/issues/6296

UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 23093;
DELETE FROM `smart_scripts` WHERE (`entryorguid`=23093 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 
(23093, 0, 0, 0, 62, 0, 0, 0, 8725, 0, 0, 0, 11, 40134, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Sarthis Gossip select Cast Summon Arcane Elemental'),
(23093, 0, 1, 0, 62, 0, 0, 0, 8725, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Sarthis On Gossip Select - Close Gossip');

UPDATE `creature_template` SET `gossip_menu_id` = 8725 WHERE `entry` = 23093;

DELETE FROM `npc_text` WHERE `ID` = 11030;
INSERT INTO `npc_text` VALUES ('11030', 'What is it that you want?', '', '0', '1', '0', '6', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '12340');

DELETE FROM `gossip_menu` WHERE `entry`=8725 AND `text_id`=11030;
INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (8725,11030);

DELETE FROM `conditions` WHERE `SourceGroup` = 8725;
INSERT INTO `conditions` VALUES ('15', '8725', '0', '0', '0', '14', '0', '11089', '0', '0', '0', '0', '', 'Sarthis - show gossip option if player does not have quest The Soul Cannon of Rethhedron');

Expecto avatar Apr 23 '12 12:04 Expecto

bad deletes in this sql.

should be:

DELETE FROM `gossip_menu` WHERE `entry`=8725 AND `text_id`=11030;
INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (8725,11030);

That is one example of bad sql in the complete sql.

ghost avatar Apr 24 '12 16:04 ghost

fixed thanks

Expecto avatar Apr 24 '12 16:04 Expecto

#4763

Aokromes avatar Jun 16 '12 14:06 Aokromes