Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented binary resistances and some more (#18933)
- Fixed possible exploit with tamed pets having template immunities - Implemented binary resistances - Corrected resistances calculations - Pets properly inherit players spell penetration - Fixed doubled block calculation for damaging melee spells - Auras removing snare effects will only remove the snaring component - Shapeshifting will properly remove movement impairing auras only and not crowd control (dragon's breath) - Immunities are properly checked versus all schools appearing in spell, unit is immune only if immune to all schools - Spells with melee and magic school mask should compare armor reduction with resistances and select smaller reduction - Demonic Circle: Teleport no longer removes root effects
- Loading branch information
1 parent
86da1a1
commit 93746e8
Showing
13 changed files
with
381 additions
and
84 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
DELETE FROM `spell_custom_attr` WHERE `entry` IN (63124) AND `attributes`= 131072; | ||
INSERT INTO `spell_custom_attr` VALUES (63124, 131072); -- quest "There's Something About the Squire" (13654) | ||
|
||
DELETE FROM `spell_custom_attr` WHERE `entry` IN (63293, 68873, 70324, 64619) AND `attributes`= 4; | ||
INSERT INTO `spell_custom_attr` VALUES | ||
(63293, 4), -- Mimiron - spinning damage | ||
(68873, 4), -- Wailing Souls | ||
(70324, 4), -- Wailing Souls | ||
(64619, 4); -- Ulduar, Mimiron, Emergency Fire Bot, Water Spray | ||
|
||
DELETE FROM `spell_custom_attr` WHERE `entry` IN (66809, 67331, 66765, 67333) AND `attributes`=8; | ||
INSERT INTO `spell_custom_attr` VALUES | ||
(66809, 8), -- Meteor Fists | ||
(67331, 8), -- Meteor Fists | ||
(66765, 8), -- Meteor Fists | ||
(67333, 8); -- Meteor Fists | ||
|
||
DELETE FROM `spell_custom_attr` WHERE `entry` IN (66378, 67097, 67098, 67099, 64125, 64126, 72409, 72447, 72448, 72449, 62775) AND `attributes`=32768; | ||
INSERT INTO `spell_custom_attr` VALUES | ||
(66378, 32768), -- Trial of the Crusader, Jaraxxus, Shivan Slash | ||
(67097, 32768), -- Trial of the Crusader, Jaraxxus, Shivan Slash | ||
(67098, 32768), -- Trial of the Crusader, Jaraxxus, Shivan Slash | ||
(67099, 32768), -- Trial of the Crusader, Jaraxxus, Shivan Slash | ||
(64125, 32768), -- Ulduar, Yogg-Saron, Squeeze | ||
(64126, 32768), -- Ulduar, Yogg-Saron, Squeeze | ||
(72409, 32768), -- Rune of Blood (Deathbringer Saurfang) | ||
(72447, 32768), -- Rune of Blood (Deathbringer Saurfang) | ||
(72448, 32768), -- Rune of Blood (Deathbringer Saurfang) | ||
(72449, 32768), -- Rune of Blood (Deathbringer Saurfang) | ||
(62775, 32768); -- Ulduar: XT-002 Tympanic Tamparum | ||
|
||
DELETE FROM `spell_custom_attr` WHERE `entry` IN (45145) AND `attributes`= 1048576; | ||
INSERT INTO `spell_custom_attr` VALUES (45145, 1048576); -- Snake Trap Effect |
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
Oops, something went wrong.