private static void DoBaseUlt(EnemyInfo target) { var disable = baseMenu["disable"].Cast <KeyBind>().CurrentValue; var enable = baseMenu["enable"].Cast <KeyBind>().CurrentValue; float CountDown = target.CountDown(); float Traveltime = traveltime(target.Enemy); if (enable && !disable) { if (lastseen(target) && CountDown >= Traveltime && target.Enemy.Killable()) { if (CountDown - Traveltime < Game.Ping && !target.Enemy.Collison()) { Player.CastSpell(R.Slot, target.Enemy.Fountain()); } } } }
private static void DoBaseUlt(EnemyInfo target) { var disable = baseMenu["disable1"].Cast <KeyBind>().CurrentValue; var enable = baseMenu["enable"].Cast <KeyBind>().CurrentValue; var CountDown = target.CountDown(); var Traveltime = traveltime(target.Enemy); if (enable && !disable) { if (R.IsReady() && lastseen(target) && CountDown >= Traveltime && target.Enemy.Killable()) { if (CountDown - Traveltime <= CastDelay(baseMenu["ping"].Cast <CheckBox>().CurrentValue) && !target.Enemy.Collison()) { Console.WriteLine("BASEULT"); Player.Instance.Spellbook.CastSpell(R.Slot, target.Enemy.Fountain()); } } } }