From f3eb3e7728c1d0e9fa8180c0966aea817636edea Mon Sep 17 00:00:00 2001 From: Manmadedrummer <140130825+Manmadedrummer@users.noreply.github.com> Date: Sat, 21 Jun 2025 10:32:19 -0400 Subject: [PATCH] Create Bone Witch.sql --- ENEMIES/Bone Witch.sql | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 ENEMIES/Bone Witch.sql diff --git a/ENEMIES/Bone Witch.sql b/ENEMIES/Bone Witch.sql new file mode 100644 index 0000000..056c632 --- /dev/null +++ b/ENEMIES/Bone Witch.sql @@ -0,0 +1,42 @@ +DELETE FROM `creature_template` WHERE (`entry` = 16380); +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 +(16380, 0, 0, 0, 0, 0, 'Bone Witch', '', 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, 16380, 0, 0, 0, 0, 0, 0, 'SmartAI', 1, 1, 2.5, 1, 1, 1, 0, 0, 1, 8585747, 0, 0, '', 12340); + +DELETE FROM `creature_template_model` WHERE (`CreatureID` = 16380); +INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES +(16380, 0, 16167, 1, 1, 12340); + + +DELETE FROM `creature_template_spell` WHERE (`CreatureID` = 16380); +INSERT INTO `creature_template_spell` (`CreatureID`, `Index`, `Spell`, `VerifiedBuild`) VALUES +(16380, 0, 13748, 12340), +(16380, 1, 17014, 12340), +(16380, 2, 28265, 12340); + +DELETE FROM `creature_equip_template` WHERE (`CreatureID` = 16380); +INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`, `VerifiedBuild`) VALUES +(16380, 1, 0, 0, 0, 0); + +DELETE FROM `creature_loot_template` WHERE (`Entry` = 16380); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(16380, 12841, 0, 35, 0, 1, 0, 1, 1, 'Bone Witch - Invader\'s Scourgestone'), +(16380, 22484, 0, 50.12, 0, 1, 0, 1, 1, 'Bone Witch - Necrotic Rune'), +(16380, 22944, 0, 5, 0, 1, 0, 1, 1, ''), +(16380, 22946, 0, 5, 0, 1, 0, 1, 1, ''), +(16380, 22970, 0, 5, 0, 1, 0, 1, 1, ''), +(16380, 22972, 0, 5, 0, 1, 0, 1, 1, ''), +(16380, 22975, 0, 5, 0, 1, 0, 1, 1, ''), +(16380, 22977, 0, 5, 0, 1, 0, 1, 1, ''), +(16380, 23090, 0, 20.68, 0, 1, 0, 1, 1, 'Bone Witch - Bracers of Undead Slaying'), +(16380, 23091, 0, 20.68, 0, 1, 0, 1, 1, 'Bone Witch - Bracers of Undead Cleansing'), +(16380, 23092, 0, 20.63, 0, 1, 0, 1, 1, 'Bone Witch - Wristguards of Undead Slaying'), +(16380, 23093, 0, 20.82, 0, 1, 0, 1, 1, 'Bone Witch - Wristwraps of Undead Slaying'); + +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 16380; + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 16380); +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 +(16380, 0, 0, 0, 0, 0, 100, 0, 2000, 2000, 3000, 3000, 0, 0, 87, 1638001, 1638002, 1638003, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bone Witch - In Combat - Run Random Script'), +(16380, 0, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 20829, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bone Witch - In Combat - Cast \'Arcane Bolt\''), +(16380, 0, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 17014, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bone Witch - In Combat - Cast \'Bone Shards\''), +(16380, 0, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 56138, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bone Witch - In Combat - Cast \'Sprained Ankle\'');