-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TDB][ACID] Convert Zanzil mobs to creature_spell_list [VDB]
Based on vmangos/core@72246e7 (cherry picked from commit cmangos/tbc-db@e8d8fa1
- Loading branch information
Showing
2 changed files
with
111 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
-- Add your query below. | ||
-- https://github.com/vmangos/core/commit/72246e7e4fc48c8a84719d9b9d524fd9aa407505 | ||
|
||
-- Add spell list for Zanzil Zombie 1488 | ||
-- https://www.wowhead.com/tbc/npc=1488/zanzil-zombie | ||
-- REPLACE INTO `creature_spells` (`entry`, `name`, `spellId_1`, `probability_1`, `castTarget_1`, `targetParam1_1`, `targetParam2_1`, `castFlags_1`, `delayInitialMin_1`, `delayInitialMax_1`, `delayRepeatMin_1`, `delayRepeatMax_1`, `scriptId_1`, `spellId_2`, `probability_2`, `castTarget_2`, `targetParam1_2`, `targetParam2_2`, `castFlags_2`, `delayInitialMin_2`, `delayInitialMax_2`, `delayRepeatMin_2`, `delayRepeatMax_2`, `scriptId_2`, `spellId_3`, `probability_3`, `castTarget_3`, `targetParam1_3`, `targetParam2_3`, `castFlags_3`, `delayInitialMin_3`, `delayInitialMax_3`, `delayRepeatMin_3`, `delayRepeatMax_3`, `scriptId_3`, `spellId_4`, `probability_4`, `castTarget_4`, `targetParam1_4`, `targetParam2_4`, `castFlags_4`, `delayInitialMin_4`, `delayInitialMax_4`, `delayRepeatMin_4`, `delayRepeatMax_4`, `scriptId_4`, `spellId_5`, `probability_5`, `castTarget_5`, `targetParam1_5`, `targetParam2_5`, `castFlags_5`, `delayInitialMin_5`, `delayInitialMax_5`, `delayRepeatMin_5`, `delayRepeatMax_5`, `scriptId_5`, `spellId_6`, `probability_6`, `castTarget_6`, `targetParam1_6`, `targetParam2_6`, `castFlags_6`, `delayInitialMin_6`, `delayInitialMax_6`, `delayRepeatMin_6`, `delayRepeatMax_6`, `scriptId_6`, `spellId_7`, `probability_7`, `castTarget_7`, `targetParam1_7`, `targetParam2_7`, `castFlags_7`, `delayInitialMin_7`, `delayInitialMax_7`, `delayRepeatMin_7`, `delayRepeatMax_7`, `scriptId_7`, `spellId_8`, `probability_8`, `castTarget_8`, `targetParam1_8`, `targetParam2_8`, `castFlags_8`, `delayInitialMin_8`, `delayInitialMax_8`, `delayRepeatMin_8`, `delayRepeatMax_8`, `scriptId_8`) VALUES | ||
-- (14880, 'Stranglethorn Vale - Zanzil Zombie', | ||
-- 7102, 100, 1, 0, 0, 0, 6, 35, 240, 240, 0, | ||
-- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); | ||
UPDATE `creature_template` SET `SpellList` = 148801 WHERE `entry` = 1488; | ||
|
||
DELETE FROM `creature_spell_list_entry` WHERE `Id` = 148801; | ||
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES | ||
(148801, 'Stranglethorn Vale - Zanzil Zombie (1488)', 0, 0); | ||
|
||
DELETE FROM `creature_spell_list` WHERE `Id` = 148801; | ||
INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES | ||
(148801, 1, 7102, 0, -1, 1, 0, 100, 1, 6000, 24000, 120000, 240000, 'Zanzil Zombie - Contagion of Rot on Current'); | ||
|
||
-- Add spell list for Zanzil Hunter 1489 | ||
-- https://www.wowhead.com/tbc/npc=1489/zanzil-hunter | ||
-- REPLACE INTO `creature_spells` (`entry`, `name`, `spellId_1`, `probability_1`, `castTarget_1`, `targetParam1_1`, `targetParam2_1`, `castFlags_1`, `delayInitialMin_1`, `delayInitialMax_1`, `delayRepeatMin_1`, `delayRepeatMax_1`, `scriptId_1`, `spellId_2`, `probability_2`, `castTarget_2`, `targetParam1_2`, `targetParam2_2`, `castFlags_2`, `delayInitialMin_2`, `delayInitialMax_2`, `delayRepeatMin_2`, `delayRepeatMax_2`, `scriptId_2`, `spellId_3`, `probability_3`, `castTarget_3`, `targetParam1_3`, `targetParam2_3`, `castFlags_3`, `delayInitialMin_3`, `delayInitialMax_3`, `delayRepeatMin_3`, `delayRepeatMax_3`, `scriptId_3`, `spellId_4`, `probability_4`, `castTarget_4`, `targetParam1_4`, `targetParam2_4`, `castFlags_4`, `delayInitialMin_4`, `delayInitialMax_4`, `delayRepeatMin_4`, `delayRepeatMax_4`, `scriptId_4`, `spellId_5`, `probability_5`, `castTarget_5`, `targetParam1_5`, `targetParam2_5`, `castFlags_5`, `delayInitialMin_5`, `delayInitialMax_5`, `delayRepeatMin_5`, `delayRepeatMax_5`, `scriptId_5`, `spellId_6`, `probability_6`, `castTarget_6`, `targetParam1_6`, `targetParam2_6`, `castFlags_6`, `delayInitialMin_6`, `delayInitialMax_6`, `delayRepeatMin_6`, `delayRepeatMax_6`, `scriptId_6`, `spellId_7`, `probability_7`, `castTarget_7`, `targetParam1_7`, `targetParam2_7`, `castFlags_7`, `delayInitialMin_7`, `delayInitialMax_7`, `delayRepeatMin_7`, `delayRepeatMax_7`, `scriptId_7`, `spellId_8`, `probability_8`, `castTarget_8`, `targetParam1_8`, `targetParam2_8`, `castFlags_8`, `delayInitialMin_8`, `delayInitialMax_8`, `delayRepeatMin_8`, `delayRepeatMax_8`, `scriptId_8`) VALUES | ||
-- (14890, 'Stranglethorn Vale - Zanzil Hunter', | ||
-- 10277, 100, 1, 0, 0, 8, 0, 1, 2, 4, 0, | ||
-- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); | ||
UPDATE `creature_template` SET `SpellList` = 148901 WHERE `entry` = 1489; | ||
|
||
DELETE FROM `creature_spell_list_entry` WHERE `Id` = 148901; | ||
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES | ||
(148901, 'Stranglethorn Vale - Zanzil Hunter (1489)', 0, 75); | ||
|
||
DELETE FROM `creature_spell_list` WHERE `Id` = 148901; | ||
INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES | ||
(148901, 1, 10277, 2, -1, 1, 0, 100, 1, 0, 1000, 2000, 4000, 'Zanzil Hunter - Throw on Current'); | ||
|
||
-- Add spell list for Zanzil Witch Doctor 1490 | ||
-- https://www.wowhead.com/tbc/npc=1490/zanzil-witch-doctor | ||
-- REPLACE INTO `creature_spells` (`entry`, `name`, `spellId_1`, `probability_1`, `castTarget_1`, `targetParam1_1`, `targetParam2_1`, `castFlags_1`, `delayInitialMin_1`, `delayInitialMax_1`, `delayRepeatMin_1`, `delayRepeatMax_1`, `scriptId_1`, `spellId_2`, `probability_2`, `castTarget_2`, `targetParam1_2`, `targetParam2_2`, `castFlags_2`, `delayInitialMin_2`, `delayInitialMax_2`, `delayRepeatMin_2`, `delayRepeatMax_2`, `scriptId_2`, `spellId_3`, `probability_3`, `castTarget_3`, `targetParam1_3`, `targetParam2_3`, `castFlags_3`, `delayInitialMin_3`, `delayInitialMax_3`, `delayRepeatMin_3`, `delayRepeatMax_3`, `scriptId_3`, `spellId_4`, `probability_4`, `castTarget_4`, `targetParam1_4`, `targetParam2_4`, `castFlags_4`, `delayInitialMin_4`, `delayInitialMax_4`, `delayRepeatMin_4`, `delayRepeatMax_4`, `scriptId_4`, `spellId_5`, `probability_5`, `castTarget_5`, `targetParam1_5`, `targetParam2_5`, `castFlags_5`, `delayInitialMin_5`, `delayInitialMax_5`, `delayRepeatMin_5`, `delayRepeatMax_5`, `scriptId_5`, `spellId_6`, `probability_6`, `castTarget_6`, `targetParam1_6`, `targetParam2_6`, `castFlags_6`, `delayInitialMin_6`, `delayInitialMax_6`, `delayRepeatMin_6`, `delayRepeatMax_6`, `scriptId_6`, `spellId_7`, `probability_7`, `castTarget_7`, `targetParam1_7`, `targetParam2_7`, `castFlags_7`, `delayInitialMin_7`, `delayInitialMax_7`, `delayRepeatMin_7`, `delayRepeatMax_7`, `scriptId_7`, `spellId_8`, `probability_8`, `castTarget_8`, `targetParam1_8`, `targetParam2_8`, `castFlags_8`, `delayInitialMin_8`, `delayInitialMax_8`, `delayRepeatMin_8`, `delayRepeatMax_8`, `scriptId_8`) VALUES | ||
-- (14900, 'Stranglethorn Vale - Zanzil Witch Doctor', | ||
-- 7646, 100, 1, 0, 0, 0, 8, 45, 120, 120, 0, | ||
-- 9613, 100, 1, 0, 0, 8, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); | ||
UPDATE `creature_template` SET `SpellList` = 149001 WHERE `entry` = 1490; | ||
|
||
DELETE FROM `creature_spell_list_entry` WHERE `Id` = 149001; | ||
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES | ||
(149001, 'Stranglethorn Vale - Zanzil Witch Doctor (1490)', 0, 75); | ||
|
||
DELETE FROM `creature_spell_list` WHERE `Id` = 149001; | ||
INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES | ||
(149001, 1, 7646, 0, -1, 1, 0, 100, 2, 8000, 40000, 120000, 120000, 'Zanzil Witch Doctor - Curse of Weakness on Current'), | ||
(149001, 2, 9613, 2, -1, 1, 0, 100, 1, 0, 1000, 0, 0, 'Zanzil Witch Doctor - Shadow Bolt on Current'); | ||
|
||
-- Add spell list for Zanzil Naga 1491 | ||
-- https://www.wowhead.com/tbc/npc=1491/zanzil-naga | ||
-- REPLACE INTO `creature_spells` (`entry`, `name`, `spellId_1`, `probability_1`, `castTarget_1`, `targetParam1_1`, `targetParam2_1`, `castFlags_1`, `delayInitialMin_1`, `delayInitialMax_1`, `delayRepeatMin_1`, `delayRepeatMax_1`, `scriptId_1`, `spellId_2`, `probability_2`, `castTarget_2`, `targetParam1_2`, `targetParam2_2`, `castFlags_2`, `delayInitialMin_2`, `delayInitialMax_2`, `delayRepeatMin_2`, `delayRepeatMax_2`, `scriptId_2`, `spellId_3`, `probability_3`, `castTarget_3`, `targetParam1_3`, `targetParam2_3`, `castFlags_3`, `delayInitialMin_3`, `delayInitialMax_3`, `delayRepeatMin_3`, `delayRepeatMax_3`, `scriptId_3`, `spellId_4`, `probability_4`, `castTarget_4`, `targetParam1_4`, `targetParam2_4`, `castFlags_4`, `delayInitialMin_4`, `delayInitialMax_4`, `delayRepeatMin_4`, `delayRepeatMax_4`, `scriptId_4`, `spellId_5`, `probability_5`, `castTarget_5`, `targetParam1_5`, `targetParam2_5`, `castFlags_5`, `delayInitialMin_5`, `delayInitialMax_5`, `delayRepeatMin_5`, `delayRepeatMax_5`, `scriptId_5`, `spellId_6`, `probability_6`, `castTarget_6`, `targetParam1_6`, `targetParam2_6`, `castFlags_6`, `delayInitialMin_6`, `delayInitialMax_6`, `delayRepeatMin_6`, `delayRepeatMax_6`, `scriptId_6`, `spellId_7`, `probability_7`, `castTarget_7`, `targetParam1_7`, `targetParam2_7`, `castFlags_7`, `delayInitialMin_7`, `delayInitialMax_7`, `delayRepeatMin_7`, `delayRepeatMax_7`, `scriptId_7`, `spellId_8`, `probability_8`, `castTarget_8`, `targetParam1_8`, `targetParam2_8`, `castFlags_8`, `delayInitialMin_8`, `delayInitialMax_8`, `delayRepeatMin_8`, `delayRepeatMax_8`, `scriptId_8`) VALUES | ||
-- (14910, 'Stranglethorn Vale - Zanzil Naga', | ||
-- 9080, 100, 1, 0, 0, 0, 3, 30, 10, 30, 0, | ||
-- 12555, 100, 1, 0, 0, 256, 0, 0, 6, 18, 0, | ||
-- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); | ||
UPDATE `creature_template` SET `SpellList` = 149101 WHERE `entry` = 1491; | ||
|
||
DELETE FROM `creature_spell_list_entry` WHERE `Id` = 149101; | ||
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES | ||
(149101, 'Stranglethorn Vale - Zanzil Naga (1491)', 0, 0); | ||
|
||
DELETE FROM `creature_spell_list` WHERE `Id` = 149101; | ||
INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES | ||
(149101, 1, 9080, 0, -1, 1, 0, 100, 1, 3000, 30000, 10000, 30000, 'Zanzil Naga - Hamstring on Current'), | ||
(149101, 2, 12555, 0, 1221, 1, 0, 100, 2, 0, 10000, 6000, 18000, 'Zanzil Naga - Pummel on Current Casting'); | ||
|
||
-- Add spell list for Zanzil the Outcast 2534 | ||
-- https://www.wowhead.com/tbc/npc=2534/zanzil-the-outcast | ||
|
||
UPDATE `creature_template` SET `SpellList` = 253401 WHERE `entry` = 2534; | ||
DELETE FROM `creature_template_spells` WHERE `entry` = 2534; -- 2534 0 8832 9532 8264 0 0 0 0 0 0 0 | ||
|
||
DELETE FROM `creature_spell_list_entry` WHERE `Id` = 253401; | ||
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES | ||
(253401, 'Stranglethorn Vale - Zanzil the Outcast (2534)', 0, 75); | ||
|
||
UPDATE `creature_template` SET `InhabitType` = 1 WHERE `entry` = 6388; | ||
|
||
DELETE FROM `creature_spell_list` WHERE `Id` = 253401; | ||
INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES | ||
(253401, 1, 8832, 0, -1, 0, 0, 100, 3, 3000, 15000, 20000, 30000, 'Zanzil the Outcast - Ward of Zanzil'), | ||
(253401, 2, 9532, 2, -1, 1, 0, 100, 1, 0, 1000, 0, 0, 'Zanzil Witch Doctor - Lightning Bolt on Current'), | ||
(253401, 3, 8264, 0, -1, 0, 0, 100, 2, 7000, 21000, 20000, 30000, 'Zanzil the Outcast - Lava Spout Totem'); | ||
|
||
-- Bloodmage Thalnos 4543 | ||
DELETE FROM `creature_spell_list_entry` WHERE `Id` = 454301; | ||
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES | ||
(454301, 'Scarlet Monastery - Bloodmage Thalnos (4543)', 0, 75); | ||
|
||
DELETE FROM `creature_spell_list_entry` WHERE `Id` = 1637901; | ||
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES | ||
(1637901, 'Scourge Invasion - Spirit of the Damned (16379)', 0, 75); | ||
|
||
DELETE FROM `creature_spell_list_entry` WHERE `Id` = 1638001; | ||
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES | ||
(1638001, 'Scourge Invasion - Bone Witch (16380)', 0, 75); | ||
|
||
-- End of migration. | ||
|