public static void Update(EventArgs args) { if (Spells.W.IsReady()) { var T = HeroManager.Enemies.Where(x => x.IsValidTarget(Spells.R.Range) && !x.IsZombie); foreach (var target in T) { if (target.Health < Spells.W.GetDamage(target) && InWRange(target)) { Spells.W.Cast(); } } } if (Spells.R.IsReady() && Spells.R.Instance.Name == IsSecondR) { var T = HeroManager.Enemies.Where(x => x.IsValidTarget(Spells.R.Range) && !x.IsZombie); foreach (var target in T) { if (target.Health < Dmg.Rdame(target, target.Health) && !target.HasBuff("kindrednodeathbuff") && !target.HasBuff("Undying Rage") && !target.HasBuff("JudicatorIntervention")) { Spells.R.Cast(target.Position); } } } if (Spells.Ignite.IsReady() && MenuConfig.ignite) { var target = TargetSelector.GetTarget(600f, TargetSelector.DamageType.True); if (target.IsValidTarget(600f) && Dmg.IgniteDamage(target) >= target.Health) { Player.Spellbook.CastSpell(Spells.Ignite, target); } } }