Merge pull request #2728 from Kapoeira/master

Core/Spells: Fixed Survival of the Fittest armor increase bonus while in Dire Bear or Bear form.
This commit is contained in:
QAston
2011-08-23 21:00:34 -07:00

View File

@@ -1562,7 +1562,7 @@ void AuraEffect::HandleShapeshiftBoosts(Unit* target, bool apply) const
// Survival of the Fittest
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);
}
break;