fix(Spells/Scripts): Raise Ally improvements. (#15545)

* fix(Scripts/Spells): Raise Ally improvements.

Co-Authored-By: GMKyle <25353073+GMKyle@users.noreply.github.com>

* update

* Update pet_dk.cpp

* Update spell_dk.cpp

---------

Co-authored-by: GMKyle <25353073+GMKyle@users.noreply.github.com>
This commit is contained in:
avarishd
2023-04-09 21:55:35 +03:00
committed by GitHub
parent 971e2f538e
commit 55b9c2479d
3 changed files with 108 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
-- Risen Ally(30230)
DELETE FROM `creature_template_spell` WHERE `CreatureID` = 30230;
INSERT INTO `creature_template_spell` (`CreatureID`, `Index`, `Spell`, `VerifiedBuild`) VALUES
(30230, 0, 62225, 12340),
(30230, 1, 47480, 12340),
(30230, 2, 47481, 12340),
(30230, 3, 47482, 12340),
(30230, 4, 47484, 12340),
(30230, 5, 47496, 12340);
UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_pet_dk_risen_ally' WHERE `entry` = 30230;
-- Thrash
DELETE FROM `spell_script_names` WHERE `spell_id`=47480 AND `ScriptName`='spell_dk_ghoul_thrash';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(47480, 'spell_dk_ghoul_thrash');