本文整理汇总了C#中Menu.Slider方法的典型用法代码示例。如果您正苦于以下问题:C# Menu.Slider方法的具体用法?C# Menu.Slider怎么用?C# Menu.Slider使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Menu
的用法示例。
在下文中一共展示了Menu.Slider方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: OnLoad
internal static void OnLoad()
{
QssMenu = Load.UtliMenu.AddSubMenu("AutoQSS");
QssMenu.AddGroupLabel("AutoQSS Ayarları");
QssMenu.Checkbox("enable", "Aktif");
QssMenu.Checkbox("Mercurial", "Cıva Yatağan Kullan");
QssMenu.Checkbox("Quicksilver", "Kullan Cıvalı Kuşak");
QssMenu.Checkbox("Dervish_Blade", "Derviş Kılıcı Kullan");
QssMenu.Checkbox("Mikaels_Crucible", "Mikael'in Kazanı Kullan");
if (Player.Spells.FirstOrDefault(o => o.SData.Name.Contains("SummonerBoost")) != null)
{
QssMenu.Checkbox("Cleanse", "Arındırıcı Büyüler Kullan");
Cleanse = new Spell.Active(Player.Instance.GetSpellSlotFromName("SummonerBoost"));
}
QssMenu.AddSeparator();
QssMenu.AddGroupLabel("QSS Kurtarıcı:");
QssMenu.Checkbox("blind", "Körse?");
QssMenu.Checkbox("charm", "Çekciliğe bürünmüşse(ahri)?");
QssMenu.Checkbox("disarm", "Etkisizhale gelmişse?");
QssMenu.Checkbox("fear", "Korkmuşsa?");
QssMenu.Checkbox("frenzy", "Donmuşsa?");
QssMenu.Checkbox("silence", "Susturulmuşsa?");
QssMenu.Checkbox("snare", "Tuzağa Düşmüşse?");
QssMenu.Checkbox("sleep", "Uyutulmuşsa?");
QssMenu.Checkbox("stun", "Sabitlenmişse?");
QssMenu.Checkbox("supperss", "Önlenmişse?");
QssMenu.Checkbox("slow", "Yavaşlatılmışsa?");
QssMenu.Checkbox("knockup", "Havaya Kaldırılmışsa?");
QssMenu.Checkbox("knockback", "Use On Knock Backs?");
QssMenu.Checkbox("nearsight", "Yakındaysa(tehlike durumunda?");
QssMenu.Checkbox("root", "Use On Roots?");
QssMenu.Checkbox("tunt", "Alay Ediliyorsa?");
QssMenu.Checkbox("poly", "Use On Polymorph?");
QssMenu.Checkbox("poison", "Zehirlenmişse?");
QssMenu.AddSeparator();
QssMenu.AddGroupLabel("Ults Ayarları::");
QssMenu.Checkbox("liss", "Lissandra Ult?");
QssMenu.Checkbox("naut", "Nautilus Ult?");
QssMenu.Checkbox("zed", "Zed Ult?");
QssMenu.Checkbox("vlad", "Vlad Ult?");
QssMenu.Checkbox("fizz", "Fizz Ult?");
QssMenu.Checkbox("fiora", "Fiora Ult?");
QssMenu.AddSeparator();
QssMenu.Slider("hp", "Sadece canım şunun altında ise [{0}%]", 30);
QssMenu.Slider("human", "İnsancıl Gecikme [{0}]", 150, 0, 1500);
QssMenu.Slider("Rene", "[{0}] Daire Ykaınındaki düşmanlar", 1, 0, 5);
QssMenu.Slider("enemydetect", "Düşmanları tespit etme mesafesi [{0}]", 1000, 0, 2000);
loaded = true;
Obj_AI_Base.OnBuffGain += OnBuffGain;
}
示例2: Harass
protected override void Harass(Menu menu)
{
if (MyHero.ManaPercent >= menu.Slider("ManaPercent"))
{
if (Target != null)
{
if (menu.CheckBox("Q"))
{
CastQ(Target);
}
if (menu.CheckBox("W"))
{
CastW(Target);
}
if (menu.Slider("E") > 0)
{
switch (menu.Slider("E"))
{
case 1:
CastE(Target);
break;
case 2:
E.Cast(Target);
break;
}
}
}
}
base.Harass(menu);
}
示例3: Combo
protected override void Combo(Menu menu)
{
if (Target != null)
{
if (menu.Slider("E") > 0)
{
switch (menu.Slider("E"))
{
case 1:
CastE(Target);
break;
case 2:
E.Cast(Target);
break;
}
}
if (menu.CheckBox("Q"))
{
CastQ(Target);
}
if (menu.CheckBox("W"))
{
CastW(Target);
}
if (menu.Slider("R") > 0)
{
if (MyHero.CountEnemiesInRange(R.Range) >= menu.Slider("R"))
{
R.Cast(Target);
}
}
}
base.Combo(menu);
}
示例4: LastHit
protected override void LastHit(Menu menu)
{
if (MyHero.ManaPercent >= menu.Slider("LastHit.ManaPercent"))
{
Q.LastHit((LastHitType)menu.Slider("LastHit.Q"));
}
base.LastHit(menu);
}
示例5: LaneClear
protected override void LaneClear(Menu menu)
{
if (MyHero.ManaPercent >= menu.Slider("LaneClear.ManaPercent"))
{
Q.LaneClear(true, menu.Slider("LaneClear.Q"));
CastW(W.LaneClear(false, menu.Slider("LaneClear.W")));
}
base.LaneClear(menu);
}
示例6: JungleClear
protected override void JungleClear(Menu menu)
{
if (MyHero.ManaPercent >= menu.Slider("JungleClear.ManaPercent"))
{
if (menu.CheckBox("JungleClear.Q"))
{
Q.JungleClear();
}
if (menu.CheckBox("JungleClear.W"))
{
CastW(W.JungleClear(false));
}
if (menu.CheckBox("JungleClear.E"))
{
CastE(E.JungleClear(false));
}
}
base.JungleClear(menu);
}
示例7: Harass
protected override void Harass(Menu menu)
{
if (MyHero.ManaPercent >= menu.Slider("ManaPercent"))
{
if (E.IsReady && menu.CheckBox("E.Shield"))
{
if (MissileManager.MissileWillHitMyHero)
{
CastE(MyHero);
}
}
if (Target != null)
{
if (menu.CheckBox("Q"))
{
CastQ(Target);
}
if (menu.CheckBox("W"))
{
CastW(Target);
}
if (menu.Slider("E.HealthPercent") >= MyHero.HealthPercent)
{
var enemy =
UnitManager.ValidEnemyHeroesInRange.FirstOrDefault(h => h.InAutoAttackRange(MyHero));
if (enemy != null)
{
CastE(MyHero);
}
}
}
}
base.Harass(menu);
}
示例8: LastHit
protected override void LastHit(Menu menu)
{
if (menu.Slider("LastHit.E") > 0)
{
var minion = E.LastHit(LastHitType.Always, false).FirstOrDefault();
if (minion != null)
{
switch (menu.Slider("LastHit.E"))
{
case 1:
CastE(minion);
break;
case 2:
E.Cast(minion);
break;
}
}
}
base.LastHit(menu);
}
示例9: Combo
protected override void Combo(Menu menu)
{
if (Target != null)
{
var bestCombo = GetBestCombo(Target);
if (menu.CheckBox("Ignite") && Ignite.IsReady && bestCombo.IsKillable)
{
Ignite.Cast(Target);
}
if (menu.Slider("E") > 0 && !MyHero.InAutoAttackRange(Target))
{
if (menu.Slider("E") != 2 || bestCombo.IsKillable)
{
var path = Prediction.Position.GetRealPath(Target);
if (path.Any() && path.Last().Distance(MyHero, true) > Target.GetDistanceSqr(MyHero))
{
E.Cast(Target);
}
}
}
if (menu.CheckBox("W"))
{
W.Cast(Target);
}
if (menu.CheckBox("Q"))
{
CastQ(Target);
}
if (menu.CheckBox("QR"))
{
if (bestCombo.IsKillable)
{
GapClose(Target);
}
}
if (menu.Slider("R") > 0)
{
switch (menu.Slider("R"))
{
case 1:
CastR(Target);
break;
case 2:
R.Cast(Target);
break;
}
}
}
base.Combo(menu);
}
示例10: JungleClear
protected override void JungleClear(Menu menu)
{
if (MyHero.ManaPercent >= menu.Slider("JungleClear.ManaPercent"))
{
Obj_AI_Minion minion = null;
if (menu.CheckBox("JungleClear.W"))
{
minion = W.JungleClear(false);
if (ShouldWaitMana)
{
return;
}
CastW(minion);
}
if (menu.CheckBox("JungleClear.E"))
{
CastE(E.JungleClear(false) ?? minion);
}
if (menu.CheckBox("JungleClear.Q"))
{
CastQ(Q.JungleClear(false));
}
}
base.JungleClear(menu);
}
示例11: Harass
protected override void Harass(Menu menu)
{
if (Target != null)
{
if (IsHarass2)
{
if (ShouldWaitMana)
{
return;
}
if (menu.CheckBox("WE") && W.IsReady && IsW1 && E.IsReady && !MyHero.IsInRange(Target, WRange + E.Radius))
{
return;
}
CastW(Target);
CastE(Target);
CastQ(Target);
}
else
{
if (MyHero.ManaPercent >= menu.Slider("ManaPercent"))
{
CastE(Target);
CastQ(Target);
}
}
}
base.Harass(menu);
}
示例12: Harass
protected override void Harass(Menu menu)
{
if (MyHero.ManaPercent >= menu.Slider("ManaPercent"))
{
if (Target != null)
{
if (Core.GameTickCount - W.LastSentTime < 100)
{
return;
}
if (Core.GameTickCount - E.LastSentTime < 100)
{
return;
}
if (Core.GameTickCount - W.LastCastTime < W.CastDelay + 50)
{
return;
}
if (Core.GameTickCount - E.LastCastTime < E.CastDelay + 50)
{
return;
}
if (Spells.E.Missile != null && Spells.E.Missile.IsValidMissile() && MyHero.Distance(Spells.E.Missile, true) <= MyHero.Distance(Target, true))
{
return;
}
if (Orbwalker.CanAutoAttack && HasPassive && MyHero.IsInAutoAttackRange(Target))
{
return;
}
if (menu.CheckBox("E"))
{
CastE(Target);
}
if (menu.CheckBox("W"))
{
CastW(Target);
}
if (StartWithCc && W.IsReady && E.IsReady)
{
return;
}
if (menu.CheckBox("Q"))
{
CastQ(Target);
}
}
}
base.Harass(menu);
}
示例13: LastHit
protected override void LastHit(Menu menu)
{
if (MyHero.ManaPercent >= menu.Slider("LastHit.ManaPercent"))
{
var tuples = Q.LastHit((LastHitType)menu.Slider("LastHit.Q"), false);
var minion = tuples.FirstOrDefault();
if (minion != null)
{
CastQ(minion);
}
}
base.LastHit(menu);
}
示例14: LaneClear
protected override void LaneClear(Menu menu)
{
if (MyHero.ManaPercent >= menu.Slider("LaneClear.ManaPercent"))
{
if (Q.IsReady && menu.Slider("LaneClear.Q") > 0)
{
var minions = Q.LaneClearMinions;
if (minions.Count >= menu.Slider("LaneClear.Q"))
{
var result = GetBestHitQ(minions);
if (result.Hits >= menu.Slider("LaneClear.Q"))
{
Q.Cast(result.Position);
}
}
}
if (W.IsReady && menu.Slider("LaneClear.W") > 0)
{
var minions = W.LaneClearMinions;
if (minions.Count >= menu.Slider("LaneClear.W"))
{
W.Cast();
}
}
if (E.IsReady && menu.Slider("LaneClear.E") > 0)
{
var minions = E.LaneClearMinions;
if (minions.Count >= menu.Slider("LaneClear.E"))
{
var result = GetBestHitE(minions);
if (result.Hits >= menu.Slider("LaneClear.E"))
{
CastE(result.Target);
}
}
}
}
base.LaneClear(menu);
}
示例15: JungleClear
protected override void JungleClear(Menu menu)
{
if (MyHero.ManaPercent >= menu.Slider("JungleClear.ManaPercent"))
{
if (menu.CheckBox("JungleClear.Q"))
{
CastQ(Q.JungleClear(false));
}
if (menu.CheckBox("JungleClear.W"))
{
CastW(W.JungleClear(false));
}
if (menu.CheckBox("JungleClear.E"))
{
var minion = E.JungleClear(false);
if (minion != null)
{
CastE(minion);
}
}
}
base.JungleClear(menu);
}