private void CastQ(Obj_AI_Base t) { if (Q.Instance.ToggleState != 0) { return; } var Qpred = Q.GetPrediction(t); if (Qpred.Hitchance >= HitChance.High) { Program.CastSpell(Q, t); } else { var pred = QDummy.GetPrediction(t); if (pred.Hitchance >= HitChance.High) { if (Program.LagFree(1)) { pointList = AimQ(pred.CastPosition); } if (Program.LagFree(2)) { BestAim(pred.CastPosition); } } } }
private static void CastQ(Obj_AI_Base t) { var Qpred = Q.GetPrediction(t); if (Qpred.Hitchance >= HitChance.High) { Program.CastSpell(Q, t); } else { var pred = QDummy.GetPrediction(t); if (pred.Hitchance >= HitChance.High) { if (Program.LagFree(1)) { pointList = AimQ(t.ServerPosition); } if (Program.LagFree(2)) { BestAim(t.ServerPosition); } } } }