From e4884708798da7775007661ac1147d732eeb0d4a Mon Sep 17 00:00:00 2001 From: David Carlos Manuelda Date: Tue, 11 Aug 2015 13:38:09 +0200 Subject: [PATCH] Core/Spell: Remove Rigor Mortis casting on DK creation and make Rigor Mortis spell be positive instead of negative by @Killyana and @killradio --- sql/updates/world/2015_08_23_00_world.sql | 3 +++ src/server/game/Spells/SpellInfo.cpp | 1 + 2 files changed, 4 insertions(+) create mode 100644 sql/updates/world/2015_08_23_00_world.sql 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;