[DB/Fix] A Necessary Distraction
www.wowhead.com/quest=10687 www.wowhead.com/quest=10688
This quest can not be completed because the wrong set RequiredNpcOrGo1
UPDATE `quest_template` SET `RequiredNpcOrGo1` = 21506 WHERE `Id` IN (10688, 10637);
TDB: 335.52 Rev: 61016dcc66eaeef26dd21d3f5cf7323809a76080
http://www.trinitycore.org/f/topic/58-wdb-fields/
?
Don't change WDB files.
This is how I fixed it (or fixed credit at least)
and only the ai is needed now as requiredspellcastx has been dropped
UPDATE `creature_template` SET `AIName`= 'SmartAI',`ScriptName`='' WHERE `entry`IN(21506);
DELETE FROM `smart_scripts` WHERE `entryorguid` in(21506);
UPDATE `quest_template` SET `RequiredSpellCast1`=0 WHERE `Id` IN(10688,10637);
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
(21506, 0, 0, 0, 8, 0, 100, 0, 37834, 0, 0, 0, 33, 21892, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Azaloth - On Spellhit - Kill Credit');
requieredspellcast is droped already.
ye I said that it was not needed but i just copied and pasted whole fix, i actually writ that months ago,
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` IN (21506);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (21506);
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
(21506, 0, 0, 0, 8, 0, 100, 0, 37834, 0, 0, 0, 33, 21892, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Azaloth - On Spellhit - Kill Credit');
It works great
already fixed