From 135f5bb35d0dba137a87b78745dcaa15b2034ebb Mon Sep 17 00:00:00 2001 From: Anubisss Date: Thu, 20 May 2010 22:01:45 +0200 Subject: Fix talent Survival of the Fittest. Thanks to Aokromes for helping in the tests. Fixes issue #2034. --HG-- branch : trunk --- src/game/SpellAuraEffects.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/SpellAuraEffects.cpp b/src/game/SpellAuraEffects.cpp index 2af97ee91e8..6a3e52d9646 100644 --- a/src/game/SpellAuraEffects.cpp +++ b/src/game/SpellAuraEffects.cpp @@ -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: -- cgit v1.2.3