aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnubisss <none@none>2010-05-20 22:01:45 +0200
committerAnubisss <none@none>2010-05-20 22:01:45 +0200
commit135f5bb35d0dba137a87b78745dcaa15b2034ebb (patch)
tree5fb14c0a159caa073e3e7aeaa6b63bcc996587f6 /src
parentd2cad4b14e27c8c7b7ba5be7449dbb908f34497d (diff)
Fix talent Survival of the Fittest.
Thanks to Aokromes for helping in the tests. Fixes issue #2034. --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellAuraEffects.cpp4
1 files changed, 2 insertions, 2 deletions
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: