diff options
author | w12x <none@none> | 2008-10-23 09:40:37 -0500 |
---|---|---|
committer | w12x <none@none> | 2008-10-23 09:40:37 -0500 |
commit | 0f32ffb90ed4d0fe8ecd00451bb282c38f2164fe (patch) | |
tree | 86132dcfec30b84324bdbd9ced979cba234403cd | |
parent | 6b7d68ddc18c654cd8aeadab106100ac3f30f017 (diff) |
[svn] Prevent Bestial Wrath from being applied 5 times when cast by a hunter with The Beast Within talent. Hopefully this will also fix the crashes caused by this spell.
Change 'tbc' to 'expansion' in realmd.sql.
--HG--
branch : trunk
-rw-r--r-- | sql/realmd.sql | 2 | ||||
-rw-r--r-- | src/game/SpellAuras.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sql/realmd.sql b/sql/realmd.sql index cf40e1d156f..d60d88c434e 100644 --- a/sql/realmd.sql +++ b/sql/realmd.sql @@ -35,7 +35,7 @@ CREATE TABLE `account` ( `locked` tinyint(3) unsigned NOT NULL default '0', `last_login` timestamp NOT NULL default '0000-00-00 00:00:00', `online` tinyint(4) NOT NULL default '0', - `tbc` tinyint(3) unsigned NOT NULL default '0', + `expansion` tinyint(3) unsigned NOT NULL default '0', `mutetime` bigint(40) unsigned NOT NULL default '0', `locale` tinyint(3) unsigned NOT NULL default '0', PRIMARY KEY (`id`), diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 9c8fdfb496e..7e255d25a62 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3770,7 +3770,7 @@ void Aura::HandleModMechanicImmunity(bool apply, bool Real) } // Bestial Wrath - if ( GetSpellProto()->SpellFamilyName == SPELLFAMILY_HUNTER && GetSpellProto()->SpellIconID == 1680) + if ( GetSpellProto()->SpellFamilyName == SPELLFAMILY_HUNTER && GetSpellProto()->Id == 19574) { // The Beast Within cast on owner if talent present if ( Unit* owner = m_target->GetOwner() ) |