Core/Spells: Fixed Survival of the Fittest armor increase bonus while in Dire Bear or Bear form. Closes #2724
This commit is contained in:
@@ -1562,7 +1562,7 @@ void AuraEffect::HandleShapeshiftBoosts(Unit* target, bool apply) const
|
|||||||
// Survival of the Fittest
|
// Survival of the Fittest
|
||||||
if (AuraEffect const* aurEff = target->GetAuraEffect(SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE, SPELLFAMILY_DRUID, 961, 0))
|
if (AuraEffect const* aurEff = target->GetAuraEffect(SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE, SPELLFAMILY_DRUID, 961, 0))
|
||||||
{
|
{
|
||||||
int32 bp = 100 + aurEff->GetSpellInfo()->Effects[EFFECT_2].CalcValue();
|
int32 bp = aurEff->GetSpellInfo()->Effects[EFFECT_2].CalcValue();
|
||||||
target->CastCustomSpell(target, 62069, &bp, NULL, NULL, true, 0, this);
|
target->CastCustomSpell(target, 62069, &bp, NULL, NULL, true, 0, this);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user