diff options
author | QAston <none@none> | 2009-04-26 12:30:45 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-04-26 12:30:45 +0200 |
commit | f99ef5cd3571aa00af346c0281877d28fd4fdbe5 (patch) | |
tree | a9dddadfce7878d60dda68bbfde8592d18511208 | |
parent | 2d1521dea9d75d47b8f1de52cebe529d14506cfd (diff) |
*Set correct energy regeneration from Furor
--HG--
branch : trunk
-rw-r--r-- | src/game/SpellAuras.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 2be8a8e890e..f1f730242d5 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2974,7 +2974,7 @@ void AuraEffect::HandleAuraModShapeshift(bool apply, bool Real) case FORM_DIREBEAR: { // get furor proc chance - uint32 FurorChance = 0; + int32 FurorChance = 0; Unit::AuraEffectList const& mDummy = m_target->GetAurasByType(SPELL_AURA_DUMMY); for(Unit::AuraEffectList::const_iterator i = mDummy.begin(); i != mDummy.end(); ++i) { @@ -2989,7 +2989,7 @@ void AuraEffect::HandleAuraModShapeshift(bool apply, bool Real) { m_target->SetPower(POWER_ENERGY,0); if(urand(1,100) <= FurorChance) - m_target->CastSpell(m_target,17099,true,NULL,this); + m_target->CastCustomSpell(m_target,17099,&FurorChance, NULL, NULL,true,NULL,this); } else { |