increase both health and mana regen while sitting by double
This commit is contained in:
parent
be47269ede
commit
e6af1065e4
1 changed files with 4 additions and 1 deletions
|
|
@ -1879,6 +1879,9 @@ void Player::Regenerate(Powers power)
|
|||
addvalue += GetFloatValue(UNIT_FIELD_POWER_REGEN_INTERRUPTED_FLAT_MODIFIER + AsUnderlyingType(POWER_MANA)) * ManaIncreaseRate * 0.001f * m_regenTimer;
|
||||
else
|
||||
addvalue += GetFloatValue(UNIT_FIELD_POWER_REGEN_FLAT_MODIFIER + AsUnderlyingType(POWER_MANA)) * ManaIncreaseRate * 0.001f * m_regenTimer;
|
||||
|
||||
if (!IsStandState())
|
||||
addvalue *= 2.0f;
|
||||
}
|
||||
break;
|
||||
case POWER_RAGE: // Regenerate rage
|
||||
|
|
@ -2002,7 +2005,7 @@ void Player::RegenerateHealth()
|
|||
|
||||
if (!IsStandState())
|
||||
{
|
||||
addvalue *= 1.33f;
|
||||
addvalue *= 2.0f;
|
||||
}
|
||||
|
||||
addvalue *= GetTotalAuraMultiplier(SPELL_AURA_MOD_HEALTH_REGEN_PERCENT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue