TrinityCore icon indicating copy to clipboard operation
TrinityCore copied to clipboard

[DB/Fix] A Necessary Distraction

Open MitchesD opened this issue 13 years ago • 8 comments

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

MitchesD avatar Aug 24 '13 20:08 MitchesD

http://www.trinitycore.org/f/topic/58-wdb-fields/

Aokromes avatar Aug 24 '13 21:08 Aokromes

?

Zakrash avatar Aug 31 '13 00:08 Zakrash

Don't change WDB files.

filipboev avatar Aug 31 '13 01:08 filipboev

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');

dr-j avatar Aug 31 '13 11:08 dr-j

requieredspellcast is droped already.

Aokromes avatar Aug 31 '13 11:08 Aokromes

ye I said that it was not needed but i just copied and pasted whole fix, i actually writ that months ago,

dr-j avatar Aug 31 '13 11:08 dr-j

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

MitchesD avatar Sep 06 '13 12:09 MitchesD

already fixed

MitchesD avatar Oct 30 '13 19:10 MitchesD