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
|
// 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 = target->CalculateSpellDamage(target, aurEff->GetSpellProto(),2);
|
int32 bp = 100 + aurEff->GetSpellProto()->CalculateSimpleValue(2);
|
||||||
target->CastCustomSpell(target, 62069,&bp, NULL, NULL, true, 0, this);
|
target->CastCustomSpell(target, 62069, &bp, NULL, NULL, true, 0, this);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case FORM_MOONKIN:
|
case FORM_MOONKIN:
|
||||||
|
|||||||
Reference in New Issue
Block a user