diff options
author | Anubisss <none@none> | 2010-05-20 15:27:34 +0200 |
---|---|---|
committer | Anubisss <none@none> | 2010-05-20 15:27:34 +0200 |
commit | 5c48dbbf5941aeedb780294067a2d46872cce4f5 (patch) | |
tree | 46da345199c7313fbc2e9e5febf0f268caac505e /src | |
parent | 858093bae345e9272fb4e7a713ca4be7552e9b7b (diff) |
Fix talent Heart of the Wild.
SQL part of the patch by havenard.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuraEffects.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/SpellAuraEffects.cpp b/src/game/SpellAuraEffects.cpp index 2a7bd8fd73e..2af97ee91e8 100644 --- a/src/game/SpellAuraEffects.cpp +++ b/src/game/SpellAuraEffects.cpp @@ -2477,11 +2477,10 @@ void AuraEffect::HandleShapeshiftBoosts(Unit * target, bool apply) const Unit::AuraEffectList const& mModTotalStatPct = target->GetAuraEffectsByType(SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE); for (Unit::AuraEffectList::const_iterator i = mModTotalStatPct.begin(); i != mModTotalStatPct.end(); ++i) { + // Heart of the Wild if ((*i)->GetSpellProto()->SpellIconID == 240 && (*i)->GetMiscValue() == 3) { - int32 HotWMod = (*i)->GetAmount(); - if (GetMiscValue() == FORM_CAT) - HotWMod /= 2; + int32 HotWMod = (*i)->GetSpellProto()->EffectBasePoints[1] + 1; target->CastCustomSpell(target, HotWSpellId, &HotWMod, NULL, NULL, true, NULL, this); break; |