Revert 41d43be8e87560441e3f76029f547998c3a2146d

This commit is contained in:
Antz 2017-02-18 23:28:16 +00:00
parent bf5a5d7183
commit 3de99d8f83

View File

@ -4754,9 +4754,11 @@ void Aura::PeriodicTick()
target->HandleEmoteCommand(EMOTE_ONESHOT_EAT);
}
// Setting the rage decay rate to the value of the spell/aura. Currently only works on players.
// Anger Management
// amount = 1+ 16 = 17 = 3,4*5 = 10,2*5/3
// so 17 is rounded amount for 5 sec tick grow ~ 1 range grow in 3 sec
if (powerType == POWER_RAGE)
{ target->ToPlayer()->m_rageDecayMultiplier = m_modifier.m_amount; }
{ target->ModifyPower(powerType, m_modifier.m_amount * 3 / 5); }
break;
}
// Here tick dummy auras