- 916
- 2015
- 24
- Location
- Barryton Michigan USA
I wasn't able to get the burning interns to run. But they do move around randomly and give quest credit.
Code:
-- 14308 When Science Attacks
-- 49132 Fireliminator X-21
-- 68283 Extinguish
-- 69635 Fire Extinguisher Aura
-- 68294 Immolation
-- 36061 Research Intern
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 36061;
DELETE FROM `creature_template_addon` WHERE `entry`=36061;
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES (36061, 0, 0, 0, 1, 0, '68294');
DELETE FROM `creature_addon` WHERE `guid`=63722;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES (63722, 0, 0, 0, 0, 0, NULL);
DELETE FROM `creature_addon` WHERE `guid`=63427;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES (63427, 0, 0, 0, 0, 0, NULL);
DELETE FROM `smart_scripts` WHERE (`entryorguid`=36061 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
(36061, 0, 0, 1, 23, 0, 100, 0, 69635, 0, 1000, 3000, 0, 0, 0, 0, 0, 0, 0, 21, 100, 0, 0, 0, 0, 0, 0, "If Player has aura 69635 - Link"),
(36061, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 89, 50, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On Link - Random Move"),
(36061, 0, 2, 0, 8, 0, 100, 0, 68283, 0, 0, 0, 1, 0, 1000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On Spellhit 68283- Say 0"),
(36061, 0, 3, 4, 52, 0, 100, 0, 0, 36061, 0, 0, 33, 36061, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On Text Over 0 - Call Killed Monster Credit On Invoker"),
(36061, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 28, 68294, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On Text Over 0 - Remove Immolation Aura"),
(36061, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On Text Over 0 - Despawn Self");
DELETE FROM `creature_text` WHERE `entry`=36061;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES (36061, 0, 0, 'Fire ... FIRE!', 12, 0, 100, 0, 0, 0, 0, '');
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES (36061, 0, 1, 'Hurry - save the others!', 12, 0, 100, 0, 0, 0, 0, '');
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES (36061, 0, 2, 'I never thought Id see such a pure sample.', 12, 0, 100, 0, 0, 0, 0, '');
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES (36061, 0, 3, 'I should really try to burst into flames less often.', 12, 0, 100, 0, 0, 0, 0, '');
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES (36061, 0, 4, 'Im gonna go find some ointment.', 12, 0, 100, 0, 0, 0, 0, '');
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES (36061, 0, 5, ' Im on fire. Note that in the logs!', 12, 0, 100, 0, 0, 0, 0, '');
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES (36061, 0, 6, 'Make a note: Fire bad.', 12, 0, 100, 0, 0, 0, 0, '');
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES (36061, 0, 7, 'My flesh!', 12, 0, 100, 0, 0, 0, 0, '');
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES (36061, 0, 8, 'Thank you, thank you!', 12, 0, 100, 0, 0, 0, 0, '');
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES (36061, 0, 9, 'That wasnt as bad as it looked.', 12, 0, 100, 0, 0, 0, 0, '');
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES (36061, 0, 10, 'This is one of our less productive colossal disasters.', 12, 0, 100, 0, 0, 0, 0, '');
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES (36061, 0, 11, 'Whew, thanks! Im going to check and see if these results are repeatable.', 12, 0, 100, 0, 0, 0, 0, '');
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES (36061, 0, 12, 'Wow - is that refined Azsharite?', 12, 0, 100, 0, 0, 0, 0, '');
-- 36025 Secret Lab Fires
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 36025;
UPDATE `creature_template` SET `flags_extra` = 128 WHERE `entry` = 36025;
DELETE FROM `smart_scripts` WHERE (`entryorguid`=36025 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
(36025, 0, 0, 1, 8, 0, 0, 0, 68283, 0, 0, 0, 33, 36025, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On Spellhit - Call Killed Monster Credit On Invoker"),
(36025, 0, 1, 0, 61, 0, 0, 0, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On Spellhit - Despawn Self");