/// <summary> /// Increase damage by 500%, attack speed by 150%. /// Boss will only auto attack. /// </summary> public void Enrage() { Mgr.LogAction(this, "enrages!"); IsEnraged = true; AbilityPower = Numbers.IncreaseByPercent(AbilityPower, 500.0f); AbilityList.Clear(); AbilityList.Add(new AutoAttack(this)); CurrentAbility = AbilityList[0]; float attacksPerSec = 1.0f / GlobalCooldown; attacksPerSec = Numbers.IncreaseByPercent(attacksPerSec, 150.0f); GlobalCooldown = 1.0f / attacksPerSec; }