示例#1
0
 private static void Game_OnGameUpdate(EventArgs args)
 {
     Q.MinHitChance = Combo.HitchanceCheck(menu.Item("seth").GetValue <Slider>().Value);
     if (Player.IsDead)
     {
         return;
     }
     if (menu.Item("fleekey").GetValue <KeyBind>().Active)
     {
         Flee.Do();
     }
     if (menu.Item("combokey").GetValue <KeyBind>().Active)
     {
         Combo.Do();
     }
     if (menu.Item("wardjump").GetValue <KeyBind>().Active)
     {
         WardJump.Newjump();
     }
     else
     {
         WardJump.jumped = false;
     }
     if (menu.Item("jungleclearkey").GetValue <KeyBind>().Active)
     {
         LaneClear.Do();
         JungleClear.Do();
     }
     if (menu.Item("lasthitkey").GetValue <KeyBind>().Active)
     {
         LastHit.Do();
     }
     if (menu.Item("Harrash key").GetValue <KeyBind>().Active)
     {
         Harrash.Combo();
     }
     if (menu.Item("Starcombokey").GetValue <KeyBind>().Active)
     {
         StarCombo.Combo();
     }
     else
     {
         StarCombo.steps = "One";
     }
     if (menu.Item("InstaFlashRkey").GetValue <KeyBind>().Active)
     {
         RFlashInsec.Combo(TargetSelector.GetTarget(W.Range, TargetSelector.DamageType.Physical));
     }
     if (menu.Item("inseckey").GetValue <KeyBind>().Active)
     {
         NormalInsec.Combo();
     }
     else
     {
         NormalInsec.ResetInsecStats();
     }
     checkBuffs();
 }