예제 #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 <= FapturneMenu.SpellsIgniteFocus())
            {
                MyActivator.Ignite.Cast(autoIgnite);
            }
        }