Ejemplo n.º 1
0
        private static void ignite()
        {
            var autoIgnite = TargetSelector.GetTarget(KindredActivator.ignite.Range, DamageType.True);

            if (autoIgnite != null && autoIgnite.Health <= Player.Instance.GetSpellDamage(autoIgnite, KindredActivator.ignite.Slot) || autoIgnite != null && autoIgnite.HealthPercent <= KindredMenu.spellsHealignite())
            {
                KindredActivator.ignite.Cast(autoIgnite);
            }
        }
Ejemplo n.º 2
0
        public void ignite()
        {
            var autoIgnite = TargetSelector.GetTarget(KindredSpells.ignite.Range, DamageType.True);

            if (autoIgnite != null && autoIgnite.Health <= DamageLibrary.GetSpellDamage(Player.Instance, autoIgnite, KindredSpells.ignite.Slot) || autoIgnite != null && autoIgnite.HealthPercent <= KindredMenu.spellsHealignite())
            {
                KindredSpells.ignite.Cast(autoIgnite);
            }
        }