Core/Spells: Fix talent Improved Unholy Presence

Closes #411
This commit is contained in:
DrTenma
2011-07-15 04:58:14 +07:00
committed by tobmaps
parent 5f565709cf
commit ebc1baf684
4 changed files with 27 additions and 7 deletions
@@ -3897,6 +3897,8 @@ void AuraEffect::HandleModPowerRegen(AuraApplication const* aurApp, uint8 mode,
// Update manaregen value
if (GetMiscValue() == POWER_MANA)
target->ToPlayer()->UpdateManaRegen();
else if (GetMiscValue() == POWER_RUNE)
target->ToPlayer()->UpdateRuneRegen(RuneType(GetMiscValueB()));
// other powers are not immediate effects - implemented in Player::Regenerate, Creature::Regenerate
}