mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
DB/Pet: Toxic Wasteling
Closes #12773
(cherry picked from commit 3f5e0927c3)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
--
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 17 AND `SourceEntry` IN (71849);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(17, 0, 71849, 0, 24, 1, 8, 0, 0, 0, '', "Toxic Wasteling Find Target hits only critters");
|
||||
|
||||
DELETE FROM `creature_template_addon` WHERE `entry` = 38374;
|
||||
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
|
||||
(38374, 0, 0, 0, 0, 0, '71849');
|
||||
|
||||
DELETE FROM `spell_scripts` WHERE `id` IN (71848 ,71874,26264);
|
||||
INSERT INTO `spell_scripts` (`id`,`effIndex`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES
|
||||
(71848 ,0,0,15,71847,0,0,0,0,0,0),
|
||||
(71848 ,0,1,15,71874,0,0,0,0,0,0),
|
||||
(71874 ,1,1,15,71854,1,0,0,0,0,0),
|
||||
(71874 ,1,1,15,26264,2,0,0,0,0,0),
|
||||
(26264 ,0,0,18,0,0,0,0,0,0,0);
|
||||
@@ -3586,7 +3586,8 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
58552, // Return to Orgrimmar
|
||||
58533, // Return to Stormwind
|
||||
21855, // Challenge Flag
|
||||
51122 // Fierce Lightning Stike
|
||||
51122, // Fierce Lightning Stike
|
||||
71848 // Toxic Wasteling Find Target
|
||||
}, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->MaxAffectedTargets = 1;
|
||||
|
||||
Reference in New Issue
Block a user