mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Fix talent Survival of the Fittest.
Thanks to Aokromes for helping in the tests. Fixes issue #2034. --HG-- branch : trunk
This commit is contained in:
@@ -2526,8 +2526,8 @@ 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 = target->CalculateSpellDamage(target, aurEff->GetSpellProto(),2);
|
||||
target->CastCustomSpell(target, 62069,&bp, NULL, NULL, true, 0, this);
|
||||
int32 bp = 100 + aurEff->GetSpellProto()->CalculateSimpleValue(2);
|
||||
target->CastCustomSpell(target, 62069, &bp, NULL, NULL, true, 0, this);
|
||||
}
|
||||
break;
|
||||
case FORM_MOONKIN:
|
||||
|
||||
Reference in New Issue
Block a user