public static bool CastQ(Target target) { if (target == null || !target.Unit.IsValid || !Katarina.Instance.Q.IsReady() || !target.Unit.IsValidTarget(Katarina.Instance.Q.Range)) return false; Katarina.Instance.Q.CastOnUnit(target.Unit, true); return true; }
public static bool CastIgnite(Target target) { if (target == null || !target.Unit.IsValid || !target.Unit.IsValidTarget(600)) return false; var ignite = ObjectManager.Player.SummonerSpellbook.Spells.FirstOrDefault(x => x.Name == "summonerdot"); if (ignite == null) return false; return ObjectManager.Player.SummonerSpellbook.CastSpell(ignite.Slot, target.Unit); }
public static double GetLiandrysDamage(Target target) { return DamageLib.CalcMagicDmg(0.06 * target.Unit.MaxHealth, target.Unit); }
public static bool CastW(Target target) { if (target == null || !target.Unit.IsValid || !Katarina.Instance.W.IsReady() || !target.Unit.IsValidTarget(Katarina.Instance.W.Range)) return false; return Katarina.Instance.W.Cast(); }