aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/master/2022_01_01_37_world_2020_04_26_03_world.sql16
-rw-r--r--src/server/game/Spells/SpellMgr.cpp3
2 files changed, 18 insertions, 1 deletions
diff --git a/sql/updates/world/master/2022_01_01_37_world_2020_04_26_03_world.sql b/sql/updates/world/master/2022_01_01_37_world_2020_04_26_03_world.sql
new file mode 100644
index 00000000000..d52e10c9f39
--- /dev/null
+++ b/sql/updates/world/master/2022_01_01_37_world_2020_04_26_03_world.sql
@@ -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);
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index 61ac71da1e1..1f51ede1d02 100644
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -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;