Core/Spells: Implemented Improved Faerie Fire crit chance increase effect
Signed-off-by: Machiavelli <[email protected]>
This commit is contained in:
@@ -10585,6 +10585,13 @@ bool Unit::isSpellCrit(Unit *pVictim, SpellEntry const *spellProto, SpellSchoolM
|
||||
switch (spellProto->SpellFamilyName)
|
||||
{
|
||||
case SPELLFAMILY_DRUID:
|
||||
// Improved Faerie Fire
|
||||
if (pVictim->HasAuraState(AURA_STATE_FAERIE_FIRE))
|
||||
if (AuraEffect const * aurEff = GetDummyAuraEffect(SPELLFAMILY_DRUID, 109, 0))
|
||||
crit_chance+=aurEff->GetAmount();
|
||||
|
||||
// cumulative effect - don't break
|
||||
|
||||
// Starfire
|
||||
if (spellProto->SpellFamilyFlags[0] & 0x4 && spellProto->SpellIconID == 1485)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user