diff --git a/ENEMIES/Spirit of the Damned (16378).sql b/ENEMIES/Spirit of the Damned (16378).sql new file mode 100644 index 0000000..79060ba --- /dev/null +++ b/ENEMIES/Spirit of the Damned (16378).sql @@ -0,0 +1,30 @@ +DELETE FROM `creature_template` WHERE (`entry` = 16379); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES +(16379, 0, 0, 0, 0, 0, 'Spirit of the Damned', '', NULL, 0, 61, 61, 0, 1630, 0, 1, 1.14286, 1, 1, 20, 1, 4, 0, 1, 2000, 2000, 1, 1, 1, 0, 2048, 0, 0, 0, 0, 0, 0, 6, 0, 16379, 0, 0, 0, 0, 0, 0, 'SmartAI', 1, 1, 2.5, 1, 1, 1, 0, 0, 1, 8413718, 0, 0, '', 12340); + +DELETE FROM `creature_template_spell` WHERE (`CreatureID` = 16379); +INSERT INTO `creature_template_spell` (`CreatureID`, `Index`, `Spell`, `VerifiedBuild`) VALUES +(16379, 0, 34322, 12340), +(16379, 1, 16243, 12340), +(16379, 2, 28265, 12340); + +DELETE FROM `creature_loot_template` WHERE (`Entry` = 16379); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(16379, 12841, 0, 35, 0, 1, 0, 1, 1, 'Spirit of the Damned - Invader\'s Scourgestone'), +(16379, 22484, 0, 57.06, 0, 1, 0, 1, 1, 'Spirit of the Damned - Necrotic Rune'), +(16379, 22944, 0, 5, 0, 1, 0, 1, 1, ''), +(16379, 22946, 0, 5, 0, 1, 0, 1, 1, ''), +(16379, 22970, 0, 5, 0, 1, 0, 1, 1, ''), +(16379, 22972, 0, 5, 0, 1, 0, 1, 1, ''), +(16379, 22975, 0, 5, 0, 1, 0, 1, 1, ''), +(16379, 22977, 0, 5, 0, 1, 0, 1, 1, ''), +(16379, 23090, 0, 19.72, 0, 1, 0, 1, 1, 'Spirit of the Damned - Bracers of Undead Slaying'), +(16379, 23091, 0, 20.42, 0, 1, 0, 1, 1, 'Spirit of the Damned - Bracers of Undead Cleansing'), +(16379, 23092, 0, 18.74, 0, 1, 0, 1, 1, 'Spirit of the Damned - Wristguards of Undead Slaying'), +(16379, 23093, 0, 21.54, 0, 1, 0, 1, 1, 'Spirit of the Damned - Wristwraps of Undead Slaying'); + + UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 16379; + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 16379); +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`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(16379, 0, 0, 0, 0, 0, 100, 0, 4000, 15000, 15000, 25000, 0, 0, 11, 22743, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Spirit of the Damned - In Combat - Cast \'Ribbon of Souls\'');