mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 05:11:55 +01:00
*Correct damage of Faerie Fire (feral)
*Trigger passive aura for shadowform. --HG-- branch : trunk
This commit is contained in:
@@ -2723,6 +2723,18 @@ void Spell::cast(bool skipCheck)
|
||||
m_preCastSpell = 23230; // Blood Fury - Healing Reduction
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_DRUID:
|
||||
{
|
||||
// Faerie Fire (Feral)
|
||||
if (m_spellInfo->SpellFamilyFlags[0] & 0x00000400)
|
||||
{
|
||||
// Trigger only if has correct shapeshift for triggered spell
|
||||
SpellEntry const * spellInfo = sSpellStore.LookupEntry(60089);
|
||||
if (GetErrorAtShapeshiftedCast(spellInfo, m_caster->m_form) == SPELL_CAST_OK)
|
||||
m_preCastSpell = 60089;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
// traded items have trade slot instead of guid in m_itemTargetGUID
|
||||
// set to real guid to be sent later to the client
|
||||
|
||||
Reference in New Issue
Block a user