mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
[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
This commit is contained in:
@@ -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`),
|
||||
|
||||
@@ -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() )
|
||||
|
||||
Reference in New Issue
Block a user