- 916
- 2015
- 24
- Location
- Barryton Michigan USA
Wrong target creatures, Broken spells. ect.
Code:
-- 12676 Sabotage
UPDATE `quest_template` SET `RequiredNpcOrGo1` = 28778 WHERE `Id` = 12676;
-- 39165 Explosive Charges
-- 52315 Place Charges
-- 28778 Scourgewagon Bunny
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 28778;
DELETE FROM `smart_scripts` WHERE (`entryorguid`=28778 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
(28778, 0, 0, 0, 8, 0, 100, 0, 52315, 0, 0, 0, 41, 5000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On Spellhit - Despawn");
-- 28780 Explosives Charges Bunny
DELETE FROM `smart_scripts` WHERE (`entryorguid`=28780 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
(28780, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 80, 2878000, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Explosive Charges Bunny - On Just Summoned - Run Script");
DELETE FROM `smart_scripts` WHERE (`entryorguid`=2878000 AND `source_type`=9);
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
(2878000, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 33, 28778, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Explosive Charges Bunny - On Script - Cast 'Kill Credit'"),
(2878000, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Explosive Charges Bunny - On Script - Say Line 0"),
(2878000, 9, 2, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Explosive Charges Bunny - On Script - Say Line 1"),
(2878000, 9, 3, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Explosive Charges Bunny - On Script - Say Line 2"),
(2878000, 9, 4, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Explosive Charges Bunny - On Script - Say Line 3"),
(2878000, 9, 5, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Explosive Charges Bunny - On Script - Say Line 4"),
(2878000, 9, 6, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 11, 52322, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Explosive Charges Bunny - On Script - Cast 'Detonate Charges'");