mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user