diff options
author | maximius <none@none> | 2009-11-19 20:06:49 -0800 |
---|---|---|
committer | maximius <none@none> | 2009-11-19 20:06:49 -0800 |
commit | c871b72579fc8dd1e24fe2fafd748836f40a28b6 (patch) | |
tree | d15fc70ae9afd048fbbfbdf9dbafcac8bc9a3680 /src | |
parent | 72607c20ba287eb84da233d7e59aeb2450a30535 (diff) |
*Better fix to #333
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index de5cede1e59..93ad35d7dbc 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3562,7 +3562,10 @@ void AuraEffect::HandleAuraModShapeshift(bool apply, bool Real, bool changeAmoun case FORM_BEAR: case FORM_DIREBEAR: if (urand(0,99) < FurorChance) - m_target->SetPower(POWER_RAGE, 10); + { + int32 basePoints = 100; // Not sure if 100 is correct basePoints, maybe it should be 10? + m_target->CastCustomSpell(m_target, 17057, &basePoints, NULL, NULL, true, NULL, this); + } default: { uint32 newEnergy = std::min(m_target->GetPower(POWER_ENERGY), FurorChance); |