- 916
- 2015
- 24
- Location
- Barryton Michigan USA
Code:
-- 46841 Marshtide Cleric
update `creature_addon` set `auras` = '' where guid in (select guid from creature where id = 46841);
UPDATE `creature_template_addon` SET `auras`=NULL WHERE `entry`=46841;
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 46841;
DELETE FROM `smart_scripts` WHERE (`entryorguid`=46841 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
(46841, 0, 0, 0, 0, 0, 100, 0, 0, 0, 3400, 4700, 11, 9734, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Cast Holy Smite"),
(46841, 0, 1, 0, 2, 0, 100, 1, 0, 55, 0, 0, 11, 11974, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Cast Power Word: Shield at 55% HP"),
(46841, 0, 2, 0, 14, 0, 100, 0, 850, 40, 15000, 18000, 11, 11642, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Cast Heal on Friendlies"),
(46841, 0, 3, 0, 1, 0, 100, 0, 0, 0, 0, 0, 11, 46598, 2, 0, 0, 0, 0, 19, 46840, 50, 0, 0, 0, 0, 0, "On Reset - Cast Ride On Mount");
-- 46840 Marshtide Steed
UPDATE `creature_template` SET `AIName` = 'SmartAI', `VehicleId` = 1222 WHERE `entry` = 46840;
UPDATE `creature_template` SET `MovementType` = 1 WHERE `entry` = 46840;
DELETE FROM `creature` WHERE `id`=46840;
INSERT INTO `creature` (`id`, `map`, `zone`, `area`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `walkmode`) VALUES (46840, 0, 8, 5460, 1, 1, 35317, 0, -10182, -3686.4, 22.4906, 4.11965, 90, 20, 0, 2453, 0, 1, 0, 0, 0, 0);
INSERT INTO `creature` (`id`, `map`, `zone`, `area`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `walkmode`) VALUES (46840, 0, 8, 5460, 1, 1, 35317, 0, -10224.6, -3653.45, 23.033, 4.49664, 90, 20, 0, 2453, 0, 1, 0, 0, 0, 0);
INSERT INTO `creature` (`id`, `map`, `zone`, `area`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `walkmode`) VALUES (46840, 0, 8, 5460, 1, 1, 35317, 0, -10267.5, -3652.9, 23.3256, 0.441815, 90, 20, 0, 2453, 0, 1, 0, 0, 0, 0);
INSERT INTO `creature` (`id`, `map`, `zone`, `area`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `walkmode`) VALUES (46840, 0, 8, 5460, 1, 1, 35317, 0, -10208, -3643.85, 22.9216, 4.00971, 90, 20, 0, 2453, 0, 1, 0, 0, 0, 0);
INSERT INTO `creature` (`id`, `map`, `zone`, `area`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `walkmode`) VALUES (46840, 0, 8, 5460, 1, 1, 35317, 0, -10170.8, -3660.49, 21.4991, 1.23733, 90, 20, 0, 2453, 0, 1, 0, 0, 0, 0);
INSERT INTO `creature` (`id`, `map`, `zone`, `area`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `walkmode`) VALUES (46840, 0, 8, 5460, 1, 1, 35317, 0, -10167.8, -3511.93, 22.7034, 4.40696, 90, 20, 0, 2453, 0, 1, 0, 0, 0, 0);
INSERT INTO `creature` (`id`, `map`, `zone`, `area`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `walkmode`) VALUES (46840, 0, 8, 5460, 1, 1, 35317, 0, -10248.7, -3644.03, 22.5431, 0.440714, 90, 20, 0, 2453, 0, 1, 0, 0, 0, 0);