public static void UseCastables() { if (BOTRK.IsOwned() || Cutl.IsOwned()) { var t = TargetSelector2.GetTarget(BOTRK.Range, DamageType.Physical); if (t == null || !t.IsValidTarget()) { return; } if (BOTRK.IsReady() || Cutl.IsReady()) { BOTRK.Cast(t); Cutl.Cast(t); } } }
public static void UseCastables(Obj_AI_Base t) { if (HexTech.IsOwned()) { if (HexTech.IsReady()) { HexTech.Cast(t); } } if (BOTRK.IsOwned() || Cutl.IsOwned()) { if (BOTRK.IsReady() || Cutl.IsReady()) { BOTRK.Cast(t); Cutl.Cast(t); } } }