Exemplo n.º 1
0
        private static void Ignite()
        {
            var autoIgnite = TargetSelector.GetTarget(MyActivator.Ignite.Range, DamageType.True);

            if (autoIgnite != null && autoIgnite.Health <= Player.GetSpellDamage(autoIgnite, MyActivator.Ignite.Slot) ||
                autoIgnite != null && autoIgnite.HealthPercent <= OwlsticksMenu.SpellsIgniteFocus())
            {
                MyActivator.Ignite.Cast(autoIgnite);
            }
        }