diff options
author | David Carlos Manuelda <stormbyte@gmail.com> | 2015-08-23 20:08:08 +0200 |
---|---|---|
committer | David Carlos Manuelda <stormbyte@gmail.com> | 2015-08-23 20:08:08 +0200 |
commit | cdfa9afceb224a6b0a34889f06c720f6bc982c61 (patch) | |
tree | 467dd257ce00957b8286b9403a206f639fc0c885 | |
parent | 2b8d77cdf2b6d6c0ea78c4c1681cde0c61f542fc (diff) | |
parent | e4884708798da7775007661ac1147d732eeb0d4a (diff) |
Merge pull request #15258 from StormBytePP/6.x_fix_rigor_mortis
Core/Spell: Remove Rigor Mortis casting on DK creation and make Rigor Mortis spell be positive instead of negative.
Fix by @Killyana and @killradio
Closes #15248
-rw-r--r-- | sql/updates/world/2015_08_23_00_world.sql | 3 | ||||
-rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/2015_08_23_00_world.sql b/sql/updates/world/2015_08_23_00_world.sql new file mode 100644 index 00000000000..0d7509c6150 --- /dev/null +++ b/sql/updates/world/2015_08_23_00_world.sql @@ -0,0 +1,3 @@ +-- Fix rigor mortis being caster upon DK creation which shouldn't +-- Don't excluding just DK class because original value was 0 (all) +UPDATE `playercreateinfo_cast_spell` SET `classMask`=925 WHERE `raceMask`=16 AND `spell`=73523; diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 94fc49a2c3d..b83c841fbf6 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -2918,6 +2918,7 @@ bool SpellInfo::_IsPositiveEffect(uint32 effIndex, bool deep) const case 62344: // Fists of Stone case 61819: // Manabonked! (item) case 61834: // Manabonked! (minigob) + case 73523: // Rigor Mortis return true; default: break; |