mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[12209] Update mana regen to 4.x
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
This commit is contained in:
parent
378aaa4daf
commit
832f9b1a46
9 changed files with 30 additions and 42 deletions
|
|
@ -4784,10 +4784,6 @@ void Spell::TakePower()
|
|||
}
|
||||
|
||||
m_caster->ModifyPower(powerType, -(int32)m_powerCost);
|
||||
|
||||
// Set the five second timer
|
||||
if (powerType == POWER_MANA && m_powerCost > 0)
|
||||
m_caster->SetLastManaUse();
|
||||
}
|
||||
|
||||
SpellCastResult Spell::CheckOrTakeRunePower(bool take)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue