Core/Spells: Set energy in cat form to zero on shapeshift before calculating energy gain from furor talent.

Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
This commit is contained in:
sarjuuk
2011-01-06 19:43:36 +01:00
committed by Machiavelli
parent b0c559e704
commit 20b49bccb0

View File

@@ -3109,6 +3109,7 @@ void AuraEffect::HandleAuraModShapeshift(AuraApplication const * aurApp, uint8 m
case FORM_CAT:
{
int32 basePoints = int32(std::min(oldPower, FurorChance));
target->SetPower(POWER_ENERGY, 0);
target->CastCustomSpell(target, 17099, &basePoints, NULL, NULL, true, NULL, this);
}
break;