[FIX] Energy/Mana Regeneration By HiZed

--HG--
branch : trunk
This commit is contained in:
megamage
2009-09-02 15:05:18 -05:00
parent 0da2e08a7e
commit 85ab4599ee
5 changed files with 51 additions and 35 deletions
+1 -1
View File
@@ -3671,7 +3671,7 @@ void AuraEffect::HandleAuraTransform(bool apply, bool Real, bool /*changeAmount*
// for players, start regeneration after 1s (in polymorph fast regeneration case)
// only if caster is Player (after patch 2.4.2)
if (IS_PLAYER_GUID(GetCasterGUID()) )
((Player*)m_target)->setRegenTimer(1*IN_MILISECONDS);
((Player*)m_target)->setRegenTimerCount(1*IN_MILISECONDS);
//dismount polymorphed target (after patch 2.4.2)
if (m_target->IsMounted())