mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[7807] Drop dead code after switch to 3.0.x.
This commit is contained in:
parent
829649aac6
commit
1feff6365f
3 changed files with 1 additions and 33 deletions
|
|
@ -671,16 +671,6 @@ void Player::UpdateManaRegen()
|
|||
power_regen_mp5 += GetStat(Stats(mod->m_miscvalue)) * mod->m_amount / 500.0f;
|
||||
}
|
||||
|
||||
// Bonus from some dummy auras
|
||||
AuraList const& mDummyAuras = GetAurasByType(SPELL_AURA_PERIODIC_DUMMY);
|
||||
for(AuraList::const_iterator i = mDummyAuras.begin();i != mDummyAuras.end(); ++i)
|
||||
if((*i)->GetId() == 34074) // Aspect of the Viper
|
||||
{
|
||||
power_regen_mp5 += (*i)->GetModifier()->m_amount * Intellect / 500.0f;
|
||||
// Add regen bonus from level in this dummy
|
||||
power_regen_mp5 += getLevel() * 35 / 100;
|
||||
}
|
||||
|
||||
// Set regen rate in cast state apply only on spirit based regen
|
||||
int32 modManaRegenInterrupt = GetTotalAuraModifier(SPELL_AURA_MOD_MANA_REGEN_INTERRUPT);
|
||||
if (modManaRegenInterrupt > 100)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue