本文整理汇总了C#中LeagueSharp.Common.Orbwalking.Orbwalker.SetAttack方法的典型用法代码示例。如果您正苦于以下问题:C# Orbwalking.Orbwalker.SetAttack方法的具体用法?C# Orbwalking.Orbwalker.SetAttack怎么用?C# Orbwalking.Orbwalker.SetAttack使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LeagueSharp.Common.Orbwalking.Orbwalker
的用法示例。
在下文中一共展示了Orbwalking.Orbwalker.SetAttack方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Init
public static void Init()
{
MenuConfig = new Menu(":: CjShu Jinx is Back", "CjShu Jinx Back", true).SetFontStyle(FontStyle.Regular, Color.GreenYellow);
MenuTools = new Menu("Tools", "Tools");
MenuConfig.AddSubMenu(MenuTools);
MenuTools.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
Orbwalker = new Orbwalking.Orbwalker(MenuTools.SubMenu("Orbwalking"));
Orbwalker.SetAttack(true);
Modes.ModeSettings.Init(MenuConfig);
{
Common.CommonAutoLevel.Init(MenuTools);
Common.CommonAutoBush.Init(MenuTools);
Common.CommonSkins.Init(MenuTools);
}
// EvadeMain.Init();
CommonHelper.Init();
MenuKeys = new Menu("Keys", "Keys").SetFontStyle(FontStyle.Bold, Color.Coral);
{
MenuKeys.AddItem(new MenuItem("Key.Combo", "Combo!").SetValue(new KeyBind(MenuConfig.Item("Orbwalk").GetValue<KeyBind>().Key, KeyBindType.Press))).SetFontStyle(FontStyle.Regular, Color.GreenYellow);
MenuKeys.AddItem(new MenuItem("Key.Farm", "Farm").SetValue(new KeyBind(MenuConfig.Item("LaneClear").GetValue<KeyBind>().Key, KeyBindType.Press))).SetFontStyle(FontStyle.Regular, Color.DarkKhaki);
MenuConfig.AddSubMenu(MenuKeys);
}
ModeCombo.Init();
MenuFarm = new Menu("Farm", "Farm");
{
Modes.ModeLane.Init(MenuFarm);
Modes.ModeJungle.Init(MenuFarm);
MenuFarm.AddItem(new MenuItem("Farm.Enable", ":: Lane / Jungle Clear Active!").SetValue(new KeyBind("J".ToCharArray()[0], KeyBindType.Toggle, true))).Permashow(true, ObjectManager.Player.ChampionName + " | " + "Lane/Jungle Farm", Colors.ColorPermaShow);
MenuFarm.AddItem(new MenuItem("Farm.MinMana.Enable", "Min. Mana Control Active!").SetValue(new KeyBind("M".ToCharArray()[0], KeyBindType.Toggle, true)).SetFontStyle(FontStyle.Regular, Color.Aqua)).Permashow(true, ObjectManager.Player.ChampionName + " | " + "Min. Mana Control Active", Colors.ColorPermaShow);
MenuConfig.AddSubMenu(MenuFarm);
}
new ModeDraw().Init();
ModePerma.Init();
MenuConfig.AddToMainMenu();
foreach (var i in MenuConfig.Children.Cast<Menu>().SelectMany(GetSubMenu))
{
i.DisplayName = ":: " + i.DisplayName;
}
}
示例2: Init
public static void Init()
{
MenuConfig = new Menu(":: Warwick ::", "Warwick", true).SetFontStyle(FontStyle.Regular, Color.GreenYellow);
MenuTools = new Menu("Tools", "Tools");
MenuConfig.AddSubMenu(MenuTools);
MenuTools.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
Orbwalker = new Orbwalking.Orbwalker(MenuTools.SubMenu("Orbwalking"));
Orbwalker.SetAttack(true);
Common.CommonTargetSelector.Initialize(MenuTools);
Common.CommonAutoLevel.Initialize(MenuTools);
Common.CommonAutoBush.Initialize(MenuTools);
Common.CommonSkins.Initialize(MenuTools);
//EvadeMain.Initialize();
Common.CommonHelper.Initialize();
Modes.ModeCombo.Initialize(MenuConfig);
Modes.ModePerma.Initialize(MenuConfig);
MenuFarm = new Menu("Farm", "Farm");
{
Modes.ModeLane.Initialize(MenuFarm);
Modes.ModeJungle.Initialize(MenuFarm);
MenuFarm.AddItem(new MenuItem("Farm.Enable", ":: Lane / Jungle Clear Active!").SetValue(new KeyBind("J".ToCharArray()[0], KeyBindType.Toggle, true))).Permashow(true, ObjectManager.Player.ChampionName + " | " + "Lane/Jungle Farm", Colors.ColorPermaShow);
MenuFarm.AddItem(new MenuItem("Farm.MinMana.Enable", ":: Min. Mana Control Active!").SetValue(new KeyBind("M".ToCharArray()[0], KeyBindType.Toggle, true)).SetFontStyle(FontStyle.Regular, Color.Aqua)).Permashow(true, ObjectManager.Player.ChampionName + " | " + "Min. Mana Control Active", Colors.ColorPermaShow);
MenuConfig.AddSubMenu(MenuFarm);
}
new ModeDraw().Initialize();
MenuConfig.AddToMainMenu();
foreach (var i in MenuConfig.Children.Cast<Menu>().SelectMany(GetSubMenu))
{
i.DisplayName = ":: " + i.DisplayName;
}
}
示例3: Game_OnGameLoad
private static void Game_OnGameLoad(EventArgs args)
{
if (vPlayer.BaseSkinName != "Vi") return;
if (vPlayer.IsDead) return;
Q = new Spell(SpellSlot.Q, 860f);
E = new Spell(SpellSlot.E, 235f);
E2 = new Spell(SpellSlot.E, 600f);
R = new Spell(SpellSlot.R, 800f);
Q.SetSkillshot(0.5f, 75f, float.MaxValue, false, SkillshotType.SkillshotLine);
E.SetSkillshot(0.15f, 150f, float.MaxValue, false, SkillshotType.SkillshotLine);
R.SetTargetted(0.15f, 1500f);
Q.SetCharged("ViQ", "ViQ", 100, 860, 1f);
SpellList.Add(Q);
SpellList.Add(E);
SpellList.Add(R);
IgniteSlot = vPlayer.GetSpellSlot("SummonerDot");
SmiteSlot = vPlayer.GetSpellSlot("SummonerSmite");
FlashSlot = vPlayer.GetSpellSlot("SummonerFlash");
//Create the menu
Config = new Menu("xQx | Vi", "Vi", true);
var targetSelectorMenu = new Menu("Target Selector", "Target Selector");
SimpleTs.AddToMenu(targetSelectorMenu);
Config.AddSubMenu(targetSelectorMenu);
Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking"));
Orbwalker.SetAttack(true);
// Combo
Config.AddSubMenu(new Menu("Combo", "Combo"));
/* [ Don't Use Ult ] */
Config.SubMenu("Combo").AddSubMenu(new Menu("Don't use Ult on", "DontUlt"));
foreach (var enemy in ObjectManager.Get<Obj_AI_Hero>().Where(enemy => enemy.Team != vPlayer.Team))
{
Config.SubMenu("Combo")
.SubMenu("DontUlt")
.AddItem(new MenuItem("DontUlt" + enemy.BaseSkinName, enemy.BaseSkinName).SetValue(false));
}
/* [ Find Him in Team Fight ] */
Config.SubMenu("Combo").AddSubMenu(new Menu("Focus in TF", "FindHim"));
Config.SubMenu("Combo").SubMenu("FindHim")
.AddItem(new MenuItem("ForceFocusctive", "Force Focus Active").SetValue(false));
foreach (var enemy in ObjectManager.Get<Obj_AI_Hero>().Where(enemy => enemy.Team != vPlayer.Team))
{
Config.SubMenu("Combo")
.SubMenu("FindHim")
.AddItem(new MenuItem("FindHim" + enemy.BaseSkinName, enemy.BaseSkinName).SetValue(false));
}
Menu comboUseQ = new Menu("Q Settings", "comboUseQ");
Config.SubMenu("Combo").AddSubMenu(comboUseQ);
comboUseQ.AddItem(new MenuItem("UseQCombo", "Use Q").SetValue(true));
comboUseQ.AddItem(new MenuItem("UseQComboDontUnderTurret", "Don't Under Turret Q").SetValue(true));
Config.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E").SetValue(true));
Config.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R").SetValue(true));
Config.SubMenu("Combo").AddItem(new MenuItem("UseFQCombo", "Use Flash+Q").SetValue(true));
Config.SubMenu("Combo")
.AddItem(
new MenuItem("ComboFlashQActive", "Combo Flash+Q!").SetValue(new KeyBind("T".ToCharArray()[0],
KeyBindType.Press)));
Config.SubMenu("Combo")
.AddItem(
new MenuItem("ComboActive", "Combo!").SetValue(new KeyBind("Z".ToCharArray()[0],
KeyBindType.Press)));
// Harass
Config.AddSubMenu(new Menu("Harass", "Harass"));
Menu harassUseQ = new Menu("Q Settings", "harassUseQ");
Config.SubMenu("Harass").AddSubMenu(harassUseQ);
harassUseQ.AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true));
harassUseQ.AddItem(new MenuItem("UseQHarassDontUnderTurret", "Don't Under Turret Q").SetValue(true));
Config.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "Use E").SetValue(true));
Config.SubMenu("Harass").AddItem(new MenuItem("HarassMana", "Min. Mana Percent: ")
.SetValue(new Slider(50, 100, 0)));
Config.SubMenu("Harass")
.AddItem(new MenuItem("HarassActive", "Harass").SetValue(new KeyBind("C".ToCharArray()[0],
KeyBindType.Press)));
// Lane Clear
Config.AddSubMenu(new Menu("LaneClear", "LaneClear"));
Config.SubMenu("LaneClear").AddItem(new MenuItem("UseQLaneClear", "Use Q").SetValue(false));
Config.SubMenu("LaneClear").AddItem(new MenuItem("UseELaneClear", "Use E").SetValue(false));
Config.SubMenu("LaneClear").AddItem(new MenuItem("LaneClearMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0)));
Config.SubMenu("LaneClear")
.AddItem(new MenuItem("LaneClearActive", "LaneClear").SetValue(new KeyBind("V".ToCharArray()[0],
KeyBindType.Press)));
// Jungling Farm
Config.AddSubMenu(new Menu("JungleFarm", "JungleFarm"));
//.........这里部分代码省略.........
示例4: Game_OnGameLoad
private static void Game_OnGameLoad(EventArgs args)
{
_player = ObjectManager.Player;
if (ObjectManager.Player.ChampionName != "Draven")
{
Notifications.AddNotification(new Notification("Not Draven? Draaaaaaaaaven.", 5));
return;
}
Config = new Menu("FuckingAwesomeDraven", "FuckingAwesomeDraven", true);
Orbwalker = new Orbwalking.Orbwalker(Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking")));
TargetSelector.AddToMenu(Config.AddSubMenu(new Menu("Target Selector", "Target Selector")));
var comboMenu = Config.AddSubMenu(new Menu("Combo", "Combo"));
comboMenu.AddItem(new MenuItem("UQC", "Use Q").SetValue(true));
comboMenu.AddItem(new MenuItem("UWC", "Use W").SetValue(true));
comboMenu.AddItem(new MenuItem("UEC", "Use E").SetValue(true));
comboMenu.AddItem(new MenuItem("URC", "Use R").SetValue(true));
comboMenu.AddItem(
new MenuItem("URCM", "R Mode").SetValue(new StringList(new[] { "Out of Range KS", "KS (any time)" })));
comboMenu.AddItem(new MenuItem("forceR", "Force R on Target").SetValue(new KeyBind('T', KeyBindType.Press)));
var harassMenu = Config.AddSubMenu(new Menu("Harass", "Harass"));
harassMenu.AddItem(new MenuItem("UQH", "Use Q").SetValue(true));
harassMenu.AddItem(new MenuItem("UWH", "Use W").SetValue(true));
harassMenu.AddItem(new MenuItem("UEH", "Use E").SetValue(true));
var jungleMenu = Config.AddSubMenu(new Menu("MinionClear", "MinionClear"));
jungleMenu.AddItem(new MenuItem("sdfsdf", "Jungle Clear"));
jungleMenu.AddItem(new MenuItem("UQJ", "Use Q").SetValue(true));
jungleMenu.AddItem(new MenuItem("UWJ", "Use W").SetValue(true));
jungleMenu.AddItem(new MenuItem("UEJ", "Use E").SetValue(true));
jungleMenu.AddItem(new MenuItem("sdffdsdf", "Wave Clear"));
jungleMenu.AddItem(new MenuItem("UQWC", "Use Q").SetValue(true));
jungleMenu.AddItem(new MenuItem("WCM", "Min Mana for Waveclear (%)").SetValue(new Slider(20)));
// Axe Menu
var axe = Config.AddSubMenu(new Menu("Axe Catching", "Axe Catching"));
axe.AddItem(new MenuItem("catching", "Catching Enabled").SetValue(new KeyBind('M', KeyBindType.Toggle)));
axe.AddItem(new MenuItem("useWCatch", "Use W to Catch (smart)").SetValue(false));
axe.AddItem(
new MenuItem("catchRadiusMode", "Catch Radius Mode").SetValue(
new StringList(new[] { "Mouse Mode", "Sector Mode" })));
axe.AddItem(new MenuItem("sectorAngle", "Sector Angle").SetValue(new Slider(177, 1, 360)));
axe.AddItem(new MenuItem("catchRadius", "Catch Radius").SetValue(new Slider(600, 300, 1500)));
axe.AddItem(new MenuItem("ignoreTowerReticle", "Ignore Tower Reticle").SetValue(true));
axe.AddItem(new MenuItem("clickRemoveAxes", "Remove Axes With Click").SetValue(true));
Antispells.Init();
var draw = Config.AddSubMenu(new Menu("Draw", "Draw"));
draw.AddItem(new MenuItem("DABR", "Disable All Drawings but Reticle").SetValue(false));
draw.AddItem(new MenuItem("DE", "Draw E Range").SetValue(new Circle(false, System.Drawing.Color.White)));
draw.AddItem(new MenuItem("DR", "Draw R Range").SetValue(new Circle(false, System.Drawing.Color.White)));
draw.AddItem(
new MenuItem("DCS", "Draw Catching State").SetValue(new Circle(true, System.Drawing.Color.White)));
draw.AddItem(
new MenuItem("DCA", "Draw Current Axes").SetValue(new Circle(false, System.Drawing.Color.White)));
draw.AddItem(
new MenuItem("DCR", "Draw Catch Radius").SetValue(new Circle(true, System.Drawing.Color.White)));
draw.AddItem(new MenuItem("DAR", "Draw Axe Spots").SetValue(new Circle(true, System.Drawing.Color.White)));
draw.AddItem(
new MenuItem("DKM", "Draw Killable Minion").SetValue(new Circle(true, System.Drawing.Color.White)));
var info = Config.AddSubMenu(new Menu("Information", "info"));
info.AddItem(new MenuItem("Msddsds", "if you would like to donate via paypal"));
info.AddItem(new MenuItem("Msdsddsd", "you can do so by sending money to:"));
info.AddItem(new MenuItem("Msdsadfdsd", "[email protected]"));
Config.AddItem(new MenuItem("Mgdgdfgsd", "Version: 0.0.4-0"));
Config.AddItem(new MenuItem("Msd", "Made By FluxySenpai"));
Config.AddToMainMenu();
Notifications.AddNotification(new Notification("Fucking Awesome Draven - Loaded", 5));
Notifications.AddNotification("Who wants some Draven?", 5);
_spells[Spells.E].SetSkillshot(250f, 130f, 1400f, false, SkillshotType.SkillshotLine);
_spells[Spells.R].SetSkillshot(400f, 160f, 2000f, false, SkillshotType.SkillshotLine);
Orbwalker.SetAttack(false);
Orbwalker.SetMovement(false);
GameObject.OnCreate += AxeCatcher.OnCreate;
GameObject.OnDelete += AxeCatcher.OnDelete;
Obj_AI_Base.OnProcessSpellCast += AxeCatcher.Obj_AI_Hero_OnProcessSpellCast;
Drawing.OnDraw += eventArgs => AxeCatcher.Draw();
Game.OnUpdate += Game_OnGameUpdate;
Game.OnWndProc += AxeCatcher.GameOnOnWndProc;
}
示例5: Game_OnGameLoad
private static void Game_OnGameLoad(EventArgs args)
{
if (ObjectManager.Player.ChampionName != ChampionName)
{
return;
}
Q = new Spell(SpellSlot.Q, 1060f);
Q.SetSkillshot(0.25f, 70f, 1800f, true, SkillshotType.SkillshotLine);
W = new Spell(SpellSlot.W, 670f);
E = new Spell(SpellSlot.E, 430f);
R = new Spell(SpellSlot.R, 375f);
igniteSlot = ObjectManager.Player.GetSpellSlot("SummonerDot");
flashSlot = ObjectManager.Player.GetSpellSlot("SummonerFlash");
SmiteDamageSlot = ObjectManager.Player.GetSpellSlot(SmitetypeDmg());
SmiteHpSlot = ObjectManager.Player.GetSpellSlot(SmitetypeHp());
Config = new Menu("Lee is Back!", "Lee Is Back", true).SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow);
Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking"));
Orbwalker.SetAttack(true);
new AssassinManager().Initialize();
new GameItems().Initialize();
MenuKeys = new Menu("Keys", "Keys").SetFontStyle(FontStyle.Regular, SharpDX.Color.IndianRed);
{
MenuKeys.AddItem(new MenuItem("Insec", "Insec")).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press)).SetFontStyle(FontStyle.Regular, SharpDX.Color.Aquamarine);
MenuKeys.AddItem(new MenuItem("Flee.Active.Ward", "Ward Jump")).SetValue(new KeyBind("A".ToCharArray()[0], KeyBindType.Press)).SetFontStyle(FontStyle.Regular, SharpDX.Color.IndianRed);
MenuKeys.AddItem(new MenuItem("Flee.Active.QW", "Flee [Q / W]")).SetValue(new KeyBind("G".ToCharArray()[0], KeyBindType.Press)).SetFontStyle(FontStyle.Regular, SharpDX.Color.IndianRed);
MenuKeys.AddItem(new MenuItem("Combo.Active", "Combo!")).SetValue(new KeyBind(Config.Item("Orbwalk").GetValue<KeyBind>().Key, KeyBindType.Press)).SetFontStyle(FontStyle.Regular, SharpDX.Color.Yellow);
MenuKeys.AddItem(new MenuItem("Combo.WardJump", "Combo + Ward Jump to Far Enemy")).SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Press)).SetFontStyle(FontStyle.Regular, SharpDX.Color.Yellow);
MenuKeys.AddItem(new MenuItem("Harass.QW", "Harass: Hit with Q -> Run with W:")).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press)).SetFontStyle(FontStyle.Regular, SharpDX.Color.Aqua);
Config.AddSubMenu(MenuKeys);
}
MenuInsec = new Menu("Insec Settings", "MenuInsec").SetFontStyle(FontStyle.Regular, SharpDX.Color.Yellow);
{
var str = new[] {"Don't Insec", "Insec If Enemy Alone", "Just Ward", "Ward + Flash (If need)"};
foreach (var e in HeroManager.Enemies)
{
MenuInsec.AddItem(new MenuItem("Insec." + e.ChampionName, e.ChampionName).SetValue(new StringList(str, 2)));
}
MenuInsec.AddItem(new MenuItem("Insec.Draw", "Draw Insec Last Position")).SetValue(new Circle(true, Color.Aqua));
MenuInsec.AddItem(new MenuItem("Insec.Status", "Show Enemy Insec Status")).SetValue(true);
Config.AddSubMenu(MenuInsec);
}
MenuFlee = new Menu("Flee / Ward Jump", "Flee");
{
Config.AddSubMenu(MenuFlee);
ModeFlee.Initialize();
}
MenuKickWave = new Menu("R: Multiple Target", "RKickWave");
{
MenuKickWave.AddItem(new MenuItem("Combo.R.UseRKickWaveForKill", "R Multiple Target: For Killable Enemy!")).SetValue(true).SetFontStyle(FontStyle.Regular, R.MenuColor());
MenuKickWave.AddItem(new MenuItem("Combo.R.UseRKickWaveForDamage", "R Multiple Target: If it'll Hit Enemy Count >")).SetValue(new StringList(new[] { "No", ">=2 target", ">=3 target", ">=4 target" }, 2)).SetFontStyle(FontStyle.Regular, R.MenuColor());
MenuKickWave.AddItem(new MenuItem("Combo.R.UseRKickWaveUseWard", "Use WardJump for Cast Position")).SetValue(true).SetFontStyle(FontStyle.Regular, R.MenuColor());
MenuKickWave.AddItem(new MenuItem("Draw.Custom", "Custom Draw").SetValue(new Slider(500, 0, 2500)));
Config.AddSubMenu(MenuKickWave);
}
MenuCombo = new Menu("Combo", "Combo");
{
MenuCombo.AddItem(new MenuItem("Combo.SmiteQ", "Combo: Smite + Q")).SetValue(new StringList(new[] {"Off", "On"}, 1));
MenuCombo.AddItem(new MenuItem("Combo.WJumpQ", "Combo: W + Q for the Far Enemy")).SetValue(new StringList(new[] {"Off", "On"}, 1));
MenuCombo.AddItem(new MenuItem("UseSmitecombo", "Combo: Smite to Enemy")).SetValue(true);
MenuCombo.AddItem(new MenuItem("Combo.W.UseNormal", "W: Normal Attack")).SetValue(false).SetFontStyle(FontStyle.Regular, W.MenuColor());
MenuCombo.AddItem(new MenuItem("Combo.W.JumpToEnemyFoot", "W: Jump to the Enemy's Foot").SetValue(new StringList(new[] { "Off", "Use Ward", "Use Ally Minion/Champion", "Both" }, 2))).SetFontStyle(FontStyle.Regular, W.MenuColor()); ;
Config.AddSubMenu(MenuCombo);
}
MenuHarass = new Menu("Harass", "Harass");
{
MenuHarass.AddItem(new MenuItem("Harass.Q", "Q:")).SetValue(new StringList(new[] {"Off", "Just Q1", "Q1 + Q2"}, 1));
MenuHarass.AddItem(new MenuItem("Harass.E", "E:")).SetValue(new StringList(new[] {"Off", "Manual: Just on Harass Mode", "Auto: If Can Hit to Enemy"}));
MenuHarass.AddItem(new MenuItem("Harass.Items", "Use Tiamat/Hydra")).SetValue(true);
// menuHarass.AddItem(new MenuItem("UseQ1Har", "Use Q1 Harass")).SetValue(true);
// menuHarass.AddItem(new MenuItem("UseQ2Har",Harass.Active "Use Q2 Harass")).SetValue(true);
Config.AddSubMenu(MenuHarass);
}
//Farm
MenuLane = new Menu("Lane", "Lane");
{
MenuLane.AddItem(new MenuItem("Lane.UseQ", "Q:")).SetValue(true);
MenuLane.AddItem(new MenuItem("Lane.UseE", "E:")).SetValue(true);
MenuLane.AddItem(new MenuItem("Lane.UseItems", "Use Items")).SetValue(true);
MenuLane.AddItem(new MenuItem("UseQLH", "Q LastHit")).SetValue(true);
Config.AddSubMenu(MenuLane);
}
MenuJungle = new Menu("Jungle", "Jungle");
{
//.........这里部分代码省略.........
示例6: Game_OnGameLoad
private static void Game_OnGameLoad(EventArgs args)
{
if (Player.BaseSkinName != "Jax")
return;
if (Player.IsDead)
return;
Q = new Spell(SpellSlot.Q, 680f);
W = new Spell(SpellSlot.W);
E = new Spell(SpellSlot.E);
R = new Spell(SpellSlot.R);
Q.SetTargetted(0.50f, 75f);
SpellList.Add(Q);
SpellList.Add(W);
SpellList.Add(E);
SpellList.Add(R);
IgniteSlot = Player.GetSpellSlot("SummonerDot");
//Create the menu
Config = new Menu("xQx | Jax", "Jax", true);
var targetSelectorMenu = new Menu("Target Selector", "Target Selector");
TargetSelector.AddToMenu(targetSelectorMenu);
Config.AddSubMenu(targetSelectorMenu);
new AssassinManager();
Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking"));
Orbwalker.SetAttack(true);
// Combo
Config.AddSubMenu(new Menu("Combo", "Combo"));
Config.SubMenu("Combo").AddItem(new MenuItem("ComboUseQMinRange", "Min. Q Range").SetValue(new Slider(250, (int) Q.Range)));
// Harass
Config.AddSubMenu(new Menu("Harass", "Harass"));
Config.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true));
Config.SubMenu("Harass")
.AddItem(new MenuItem("UseQHarassDontUnderTurret", "Don't Under Turret Q").SetValue(true));
Config.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "Use E").SetValue(true));
Config.SubMenu("Harass")
.AddItem(
new MenuItem("HarassMode", "Harass Mode: ").SetValue(
new StringList(new[] { "Q+W", "Q+E", "Default" })));
Config.SubMenu("Harass")
.AddItem(new MenuItem("HarassMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0)));
Config.SubMenu("Harass")
.AddItem(
new MenuItem("HarassActive", "Harass").SetValue(
new KeyBind("C".ToCharArray()[0], KeyBindType.Press)));
// Lane Clear
Config.AddSubMenu(new Menu("LaneClear", "LaneClear"));
Config.SubMenu("LaneClear").AddItem(new MenuItem("UseQLaneClear", "Use Q").SetValue(false));
Config.SubMenu("LaneClear")
.AddItem(new MenuItem("UseQLaneClearDontUnderTurret", "Don't Under Turret Q").SetValue(true));
Config.SubMenu("LaneClear").AddItem(new MenuItem("UseWLaneClear", "Use W").SetValue(false));
Config.SubMenu("LaneClear").AddItem(new MenuItem("UseELaneClear", "Use E").SetValue(false));
Config.SubMenu("LaneClear")
.AddItem(new MenuItem("LaneClearMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0)));
Config.SubMenu("LaneClear")
.AddItem(
new MenuItem("LaneClearActive", "LaneClear").SetValue(
new KeyBind("V".ToCharArray()[0], KeyBindType.Press)));
// Jungling Farm
Config.AddSubMenu(new Menu("JungleFarm", "JungleFarm"));
Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseQJungleFarm", "Use Q").SetValue(true));
Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseWJungleFarm", "Use W").SetValue(false));
Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseEJungleFarm", "Use E").SetValue(false));
Config.SubMenu("JungleFarm")
.AddItem(new MenuItem("JungleFarmMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0)));
Config.SubMenu("JungleFarm")
.AddItem(
new MenuItem("JungleFarmActive", "JungleFarm").SetValue(
new KeyBind("V".ToCharArray()[0], KeyBindType.Press)));
// Extra
MenuExtras = new Menu("Extras", "Extras");
Config.AddSubMenu(MenuExtras);
MenuExtras.AddItem(new MenuItem("InterruptSpells", "Interrupt Spells").SetValue(true));
// Extras -> Use Items
Menu menuUseItems = new Menu("Use Items", "menuUseItems");
Config.SubMenu("Extras").AddSubMenu(menuUseItems);
// Extras -> Use Items -> Targeted Items
MenuTargetedItems = new Menu("Targeted Items", "menuTargetItems");
menuUseItems.AddSubMenu(MenuTargetedItems);
MenuTargetedItems.AddItem(new MenuItem("item3153", "Blade of the Ruined King").SetValue(true));
MenuTargetedItems.AddItem(new MenuItem("item3144", "Bilgewater Cutlass").SetValue(true));
MenuTargetedItems.AddItem(new MenuItem("item3146", "Hextech Gunblade").SetValue(true));
MenuTargetedItems.AddItem(new MenuItem("item3184", "Entropy ").SetValue(true));
// Extras -> Use Items -> AOE Items
//.........这里部分代码省略.........
示例7: Init
public static void Init()
{
MenuConfig = new Menu(":: Leblanc II ::", "Leblanc", true).SetFontStyle(FontStyle.Regular, Color.GreenYellow);
MenuTools = new Menu("Tools", "Tools").SetFontStyle(FontStyle.Regular, Color.Aqua);
MenuConfig.AddSubMenu(MenuTools);
MenuTools.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
Orbwalker = new Orbwalking.Orbwalker(MenuTools.SubMenu("Orbwalking"));
Orbwalker.SetAttack(true);
Modes.ModeSettings.Init(MenuConfig);
{
Common.CommonGeometry.Init();
Common.CommonTargetSelector.Init(MenuTools);
Common.CommonAutoLevel.Init(MenuTools);
Common.CommonAutoBush.Init(MenuTools);
Common.CommonSkins.Init(MenuTools);
}
//EvadeMain.Init();
Common.CommonHelper.Init();
MenuKeys = new Menu("Keys", "Keys").SetFontStyle(FontStyle.Bold, Color.Coral);
{
MenuKeys.AddItem(new MenuItem("Key.Combo", "Combo!").SetValue(new KeyBind(MenuConfig.Item("Orbwalk").GetValue<KeyBind>().Key, KeyBindType.Press))).SetFontStyle(FontStyle.Regular, Color.GreenYellow);
MenuKeys.AddItem(new MenuItem("Key.ChangeCombo", "Change Combo!").SetValue(new KeyBind('J', KeyBindType.Press))).SetFontStyle(FontStyle.Regular, Color.GreenYellow);
MenuKeys.AddItem(new MenuItem("Key.Harass1", "Harass Toggle!").SetValue(new KeyBind('T', KeyBindType.Toggle)).SetFontStyle(FontStyle.Regular, Color.GreenYellow)).Permashow(true, ObjectManager.Player.ChampionName + " | Harass Toggle", Color.AliceBlue);
//.ValueChanged += (sender, args) =>
// {
// MenuKeys.Item("Key.Harass1").Permashow(args.GetNewValue<KeyBind>().Active, ObjectManager.Player.ChampionName + " | Harass Toggle", Color.AliceBlue);
// //if (args.GetNewValue<KeyBind>().Active)
// //{
// // MenuKeys.Item("Key.Harass1").Permashow(args.GetNewValue<KeyBind>().Active, ObjectManager.Player.ChampionName + " | Harass Toggle",Color.AliceBlue);
// //}
// //else
// //{
// // MenuKeys.Item("Key.Harass1").Permashow(false);
// //}
// };
MenuKeys.AddItem(new MenuItem("Key.DoubleChain", "Double Chain!").SetValue(new KeyBind('G', KeyBindType.Press)).SetFontStyle(FontStyle.Regular, Color.IndianRed));
MenuKeys.AddItem(new MenuItem("Key.Farm", "Farm").SetValue(new KeyBind(MenuConfig.Item("LaneClear").GetValue<KeyBind>().Key, KeyBindType.Press))).SetFontStyle(FontStyle.Regular, Color.DarkKhaki);
MenuKeys.AddItem(new MenuItem("Key.Flee", "Flee").SetValue(new KeyBind('A', KeyBindType.Press)).SetFontStyle(FontStyle.Regular, Color.GreenYellow));
MenuConfig.AddSubMenu(MenuKeys);
}
Modes.ModeCombo.Init();
Modes.ModeChain.Init();
Modes.ModeHarass.Init();
MenuFarm = new Menu("Farm", "Farm");
{
Modes.ModeLane.Init(MenuFarm);
Modes.ModeJungle.Init(MenuFarm);
MenuFarm.AddItem(new MenuItem("Farm.Enable", ":: Lane / Jungle Clear Active!").SetValue(new KeyBind("J".ToCharArray()[0], KeyBindType.Toggle, true))).Permashow(true, ObjectManager.Player.ChampionName + " | " + "Lane/Jungle Farm", Colors.ColorPermaShow);
MenuFarm.AddItem(new MenuItem("Farm.MinMana.Enable", "Min. Mana Control!").SetValue(new KeyBind("M".ToCharArray()[0], KeyBindType.Toggle, true)).SetFontStyle(FontStyle.Regular, Color.Aqua)).Permashow(true, ObjectManager.Player.ChampionName + " | " + "Min. Mana Control!", Colors.ColorPermaShow);
MenuConfig.AddSubMenu(MenuFarm);
}
Modes.ModeFlee.Init(MenuConfig);
new ModeDraw().Init();
Modes.ModePerma.Init();
Champion.PlayerObjects.Init();
//EvadeMain.Initialize();
MenuConfig.AddToMainMenu();
foreach (var i in MenuConfig.Children.Cast<Menu>().SelectMany(GetSubMenu))
{
i.DisplayName = ":: " + i.DisplayName;
}
}
示例8: Game_OnLoad
private static void Game_OnLoad(EventArgs args)
{
if (Player.ChampionName != "Vi")
return;
Q = new Spell(SpellSlot.Q, 860f);
E = new Spell(SpellSlot.E);
E2 = new Spell(SpellSlot.E, 600f);
R = new Spell(SpellSlot.R, 800f);
Q.SetSkillshot(0.5f, 75f, float.MaxValue, false, SkillshotType.SkillshotLine);
Q.SetCharged("ViQ", "ViQ", 100, 860, 1f);
E.SetSkillshot(0.15f, 150f, float.MaxValue, false, SkillshotType.SkillshotLine);
R.SetTargetted(0.15f, 1500f);
SpellList.Add(Q);
SpellList.Add(E);
SpellList.Add(R);
FlashSlot = Player.GetSpellSlot("SummonerFlash");
ItemBilge = new Items.Item(3144, 450f);
ItemBlade = new Items.Item(3153, 450f);
ItemHydra = new Items.Item(3074, 250f);
ItemLotis = new Items.Item(3190, 590f);
ItemRand = new Items.Item(3143, 490f);
ItemTiamat = new Items.Item(3077, 250f);
//Create the menu
Config = new Menu("xQx | Vi", "Vi", true);
var targetSelectorMenu = new Menu("Target Selector", "Target Selector");
TargetSelector.AddToMenu(targetSelectorMenu);
Config.AddSubMenu(targetSelectorMenu);
AssassinManager.Initiliaze();
Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking"));
Orbwalker.SetAttack(true);
// Combo
Config.AddSubMenu(new Menu("Combo", "Combo"));
/* [ Don't Use Ult ] */
Config.SubMenu("Combo").AddSubMenu(new Menu("Don't use Ult on", "DontUlt"));
foreach (var enemy in ObjectManager.Get<Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team))
{
Config.SubMenu("Combo")
.SubMenu("DontUlt")
.AddItem(new MenuItem("DontUlt" + enemy.CharData.BaseSkinName, enemy.CharData.BaseSkinName).SetValue(false));
}
PlayerSpells.Initialize();
/* [ Find Him in Team Fight ] */
Config.SubMenu("Combo").AddSubMenu(new Menu("Focus in TF", "FindHim"));
Config.SubMenu("Combo")
.SubMenu("FindHim")
.AddItem(new MenuItem("ForceFocusActive", "Force Focus Active").SetValue(false));
foreach (var enemy in ObjectManager.Get<Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team))
{
Config.SubMenu("Combo")
.SubMenu("FindHim")
.AddItem(new MenuItem("FindHim" + enemy.CharData.BaseSkinName, enemy.CharData.BaseSkinName).SetValue(false));
}
Config.SubMenu("Combo")
.AddItem(
new MenuItem("ComboFlashQActive", "Combo Flash+Q!").SetValue(
new KeyBind("T".ToCharArray()[0], KeyBindType.Press)));
Config.SubMenu("Combo")
.AddItem(
new MenuItem("ComboActive", "Combo!").SetValue(
new KeyBind(Config.Item("Orbwalk").GetValue<KeyBind>().Key, KeyBindType.Press)));
// Harass
Config.AddSubMenu(new Menu("Harass", "Harass"));
Menu harassUseQ = new Menu("Q Settings", "harassUseQ");
Config.SubMenu("Harass").AddSubMenu(harassUseQ);
harassUseQ.AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true));
harassUseQ.AddItem(new MenuItem("UseQHarassDontUnderTurret", "Don't Under Turret Q").SetValue(true));
Config.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "Use E").SetValue(true));
Config.SubMenu("Harass")
.AddItem(new MenuItem("HarassMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0)));
Config.SubMenu("Harass")
.AddItem(
new MenuItem("HarassActive", "Harass").SetValue(
new KeyBind("C".ToCharArray()[0], KeyBindType.Press)));
// Lane Clear
Config.AddSubMenu(new Menu("LaneClear", "LaneClear"));
Config.SubMenu("LaneClear").AddItem(new MenuItem("UseQLaneClear", "Use Q").SetValue(false));
Config.SubMenu("LaneClear").AddItem(new MenuItem("UseELaneClear", "Use E").SetValue(false));
Config.SubMenu("LaneClear")
.AddItem(new MenuItem("LaneClearMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0)));
Config.SubMenu("LaneClear")
.AddItem(
new MenuItem("LaneClearActive", "LaneClear").SetValue(
new KeyBind("V".ToCharArray()[0], KeyBindType.Press)));
//.........这里部分代码省略.........
示例9: Game_OnGameLoad
/// <summary>
/// The game_ on game load.
/// </summary>
private static void Game_OnGameLoad()
{
Configuration.Miscellaneous.AddItem(new MenuItem("Debug", "Debug Mode")).SetValue<bool>(false);
// CHANGE THIS IF YOU WANT DEBUG ENABLED ON FIRST LOAD
Logger.Print(string.Format("AIO Version {0} Loaded.", Version));
if (Champion != null)
{
#region Menu OnLoad
Orbwalker = new Orbwalking.Orbwalker(Configuration.Main.AddSubMenu(new Menu("Orbwalk", "Orbwalk")));
DamageIndicator = new HpBarIndicator(ObjectManager.Player);
Configuration.Draw.AddItem(new MenuItem("Indicator", "HP Damage Indicator"))
.SetValue<bool>(true)
.ValueChanged += (a, b) =>
{
if (b.GetNewValue<bool>())
{
Logger.Print("Indicator has been disabled.");
}
DamageIndicator.Enabled = b.GetNewValue<bool>();
};
Configuration.Draw.AddItem(new MenuItem("IndicatorColor", "Damage Indicator Color"))
.SetValue<Color>(Color.Green)
.ValueChanged += (a, b) =>
{
var color = b.GetNewValue<Color>();
DamageIndicator.DrawColor = new SharpDX.Color(color.R, color.G, color.B, color.A);
};
Configuration.Miscellaneous.AddItem(
new MenuItem("BuiltIn", "Disable Built-In Orbwalker").SetValue<bool>(false)).ValueChanged +=
(a, b) =>
{
if (b.GetNewValue<bool>())
{
Logger.Print(
"Built-In orbwalker disabled, feel free to use any external orb walker of your choice");
}
Orbwalker.SetMovement(!b.GetNewValue<bool>());
Orbwalker.SetAttack(!b.GetNewValue<bool>());
};
Configuration.Miscellaneous.AddItem(new MenuItem("CustomPrediction", "Use Custom Prediction", true))
.SetValue<bool>(true)
.ValueChanged += (a, b) =>
{
if (b.GetNewValue<bool>())
{
Logger.Print("Custom prediction enabled, turn on Debug to see prediction circle");
}
};
foreach (var spell in Champion.GetList())
{
if (spell.CastingType == ChampionSpell.CastType.LinearCollision
|| spell.CastingType == ChampionSpell.CastType.Circle)
{
spell.CreateHandler(ChampionSpell.HandlerType.Immobile);
spell.CreateHandler(ChampionSpell.HandlerType.Dash);
}
spell.CreateHandler(ChampionSpell.HandlerType.Killable);
spell.CreateHandler(ChampionSpell.HandlerType.Farm);
spell.CreateHandler(ChampionSpell.HandlerType.OnMinimumHit);
#region Range Circle
var circle = new Render.Circle(ObjectManager.Player, spell.Range, Color.AliceBlue);
Configuration.Draw.AddItem(
new MenuItem(spell.String, string.Format("Draw {0}", spell.String)))
.SetValue<Circle>(new Circle(false, Color.Aqua, spell.Range))
.ValueChanged += (a, b) => { circle.Color = b.GetNewValue<Circle>().Color; };
circle.VisibleCondition =
(a) =>
Configuration.Draw.Item(spell.String).GetValue<Circle>().Active
&& ObjectManager.Player.IsVisible;
circle.Add();
#endregion
#region Damage Indicator
DamageIndicator.AddSpell(spell.Slot);
#endregion
}
#endregion
#region Champion#OnLoad call
//.........这里部分代码省略.........
示例10: Game_OnGameLoad
private static void Game_OnGameLoad(EventArgs args)
{
if (ObjectManager.Player.ChampionName != "Karthus") return;
Player = ObjectManager.Player;
IgniteSlot = ObjectManager.Player.GetSpellSlot("SummonerDot");
Q = new Spell(SpellSlot.Q, 875f);
W = new Spell(SpellSlot.W, 990f);
E = new Spell(SpellSlot.E, 425f);
R = new Spell(SpellSlot.R, float.MaxValue);
Q.SetSkillshot(1f, 150f, float.MaxValue, false, SkillshotType.SkillshotCircle);
W.SetSkillshot(0.25f, 5f, float.MaxValue, false, SkillshotType.SkillshotLine);
E.SetSkillshot(1f, 520f, float.MaxValue, false, SkillshotType.SkillshotCircle);
R.SetSkillshot(3f, float.MaxValue, float.MaxValue, false, SkillshotType.SkillshotCircle);
(_menu = new Menu("Kimbaeng Karthus", "kimbaengkarthus", true)).AddToMainMenu();
var targetSelectorMenu = new Menu("Target Selector", "TargetSelector");
TargetSelector.AddToMenu(targetSelectorMenu);
_menu.AddSubMenu(targetSelectorMenu);
_orbwalker = new Orbwalking.Orbwalker(_menu.AddSubMenu(new Menu("Orbwalking", "Orbwalking")));
_orbwalker.SetAttack(true);
var HitchanceMenu = _menu.AddSubMenu(new Menu("Hitchance", "Hitchance"));
HitchanceMenu.AddItem(
new MenuItem("Hitchance", "Hitchance").SetValue(
new StringList(new[] { "Low", "Medium", "High", "VeryHigh", "Impossible" }, 3)));
var comboMenu = _menu.AddSubMenu(new Menu("combo", "Combo"));
comboMenu.AddItem(new MenuItem("useQ", "Use Q").SetValue(true));
comboMenu.AddItem(new MenuItem("useW", "Use W").SetValue(true));
comboMenu.AddItem(new MenuItem("useE", "Use E").SetValue(true));
comboMenu.AddItem(new MenuItem("comboAA", "Use AA").SetValue(false));
comboMenu.AddItem(new MenuItem("string", "if No Mana(100↓), Allow Use AA"));
comboMenu.AddItem(new MenuItem("UseI", "Use Ignite").SetValue(true));
var harassMenu = _menu.AddSubMenu(new Menu("Harass", "Harass"));
harassMenu.AddItem(new MenuItem("useQHarass", "UseQ").SetValue(true));
harassMenu.AddItem(new MenuItem("useEHarass", "UseE").SetValue(true));
harassMenu.AddItem(new MenuItem("harassAA", "Use AA").SetValue(false));
harassMenu.AddItem(new MenuItem("autoqh", "Auto Q Harass").SetValue(false));
harassMenu.AddItem(new MenuItem("harassmana", "Mana %").SetValue(new Slider(50)));
var LastHitMenu = _menu.AddSubMenu(new Menu("LastHit", "LastHit"));
LastHitMenu.AddItem(new MenuItem("useqlasthit", "Use Q").SetValue(true));
var MiscMenu = _menu.AddSubMenu(new Menu("Misc", "Misc"));
var ultMenu = MiscMenu.AddSubMenu(new Menu("Ult", "Ult"));
ultMenu.AddItem(new MenuItem("NotifyUlt", "Notify Ult Text").SetValue(true));
ultMenu.AddItem(new MenuItem("NotifyPing", "Notify Ult Ping").SetValue(true));
MiscMenu.AddItem(new MenuItem("estate", "Auto E if No Target").SetValue(true));
var DrawMenu = _menu.AddSubMenu(new Menu("Draw", "drawing"));
DrawMenu.AddItem(new MenuItem("noDraw", "Disable Drawing").SetValue(true));
DrawMenu.AddItem(new MenuItem("drawQ", "DrawQ").SetValue(new Circle(true, System.Drawing.Color.Goldenrod)));
DrawMenu.AddItem(new MenuItem("drawW", "DrawW").SetValue(new Circle(false, System.Drawing.Color.Goldenrod)));
DrawMenu.AddItem(new MenuItem("drawE", "DrawE").SetValue(new Circle(false, System.Drawing.Color.Goldenrod)));
DrawMenu.SubMenu("Draw Damage").AddItem(new MenuItem("damagedraw", "Draw Combo Damage").SetValue(true));
DrawMenu.SubMenu("Draw Damage").AddItem(new MenuItem("damagedrawfill", "Fill Color").SetValue(new Circle(true, System.Drawing.Color.Gold)));
damageindicator.DamageToUnit = TotalDamage;
damageindicator.Enabled = DrawMenu.SubMenu("Draw Damage").Item("damagedraw").GetValue<bool>();
damageindicator.Fill = DrawMenu.SubMenu("Draw Damage").Item("damagedrawfill").GetValue<Circle>().Active;
damageindicator.FillColor = DrawMenu.SubMenu("Draw Damage").Item("damagedrawfill").GetValue<Circle>().Color;
Drawing.OnDraw += Drawing_Ondraw;
Game.OnUpdate += Game_OnUpdate;
Orbwalking.BeforeAttack += Orbwalking_BeforeAttack;
Game.PrintChat("Kimbaeng<font color=\"#030066\">Karthus</font> Loaded");
Game.PrintChat("If You like this Assembly plz <font color=\"#1DDB16\">Upvote</font> XD ");
}
示例11: Game_OnGameLoad
private static void Game_OnGameLoad(EventArgs args)
{
if (Player.ChampionName != "Jax") return;
Q = new Spell(SpellSlot.Q, 680f);
W = new Spell(SpellSlot.W);
E = new Spell(SpellSlot.E);
R = new Spell(SpellSlot.R);
Q.SetTargetted(0.50f, 75f);
SpellList.Add(Q);
SpellList.Add(W);
SpellList.Add(E);
SpellList.Add(R);
igniteSlot = Player.GetSpellSlot("SummonerDot");
//Create the menu
Config = new Menu("xQx | Jax", "Jax", true);
var targetSelectorMenu = new Menu("Target Selector", "Target Selector");
TargetSelector.AddToMenu(targetSelectorMenu);
Config.AddSubMenu(targetSelectorMenu);
AssassinManager = new AssassinManager();
Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking"));
Orbwalker.SetAttack(true);
// Combo
Config.AddSubMenu(new Menu("Combo", "Combo"));
Config.SubMenu("Combo")
.AddItem(new MenuItem("ComboUseQMinRange", "Min. Q Range").SetValue(new Slider(250, (int)Q.Range)));
Config.SubMenu("Combo")
.AddItem(
new MenuItem("ComboActive", "Combo!").SetValue(
new KeyBind(Config.Item("Orbwalk").GetValue<KeyBind>().Key, KeyBindType.Press)));
// Harass
Config.AddSubMenu(new Menu("Harass", "Harass"));
Config.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true));
Config.SubMenu("Harass")
.AddItem(new MenuItem("UseQHarassDontUnderTurret", "Don't Under Turret Q").SetValue(true));
Config.SubMenu("Harass").AddItem(new MenuItem("UseWHarass", "Use W").SetValue(true));
Config.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "Use E").SetValue(true));
Config.SubMenu("Harass")
.AddItem(
new MenuItem("HarassMode", "Harass Mode: ").SetValue(
new StringList(new[] { "Q+W", "Q+E", "Default" })));
Config.SubMenu("Harass")
.AddItem(new MenuItem("HarassMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0)));
Config.SubMenu("Harass")
.AddItem(
new MenuItem("HarassActive", "Harass").SetValue(
new KeyBind("C".ToCharArray()[0], KeyBindType.Press)));
// Lane Clear
Config.AddSubMenu(new Menu("LaneClear", "LaneClear"));
Config.SubMenu("LaneClear").AddItem(new MenuItem("UseQLaneClear", "Use Q").SetValue(false));
Config.SubMenu("LaneClear")
.AddItem(new MenuItem("UseQLaneClearDontUnderTurret", "Don't Under Turret Q").SetValue(true));
Config.SubMenu("LaneClear").AddItem(new MenuItem("UseWLaneClear", "Use W").SetValue(false));
Config.SubMenu("LaneClear").AddItem(new MenuItem("UseELaneClear", "Use E").SetValue(false));
Config.SubMenu("LaneClear")
.AddItem(new MenuItem("LaneClearMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0)));
Config.SubMenu("LaneClear")
.AddItem(
new MenuItem("LaneClearActive", "LaneClear").SetValue(
new KeyBind("V".ToCharArray()[0], KeyBindType.Press)));
// Jungling Farm
Config.AddSubMenu(new Menu("JungleFarm", "JungleFarm"));
Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseQJungleFarm", "Use Q").SetValue(true));
Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseWJungleFarm", "Use W").SetValue(false));
Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseEJungleFarm", "Use E").SetValue(false));
Config.SubMenu("JungleFarm")
.AddItem(new MenuItem("JungleFarmMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0)));
Config.SubMenu("JungleFarm")
.AddItem(
new MenuItem("JungleFarmActive", "JungleFarm").SetValue(
new KeyBind("V".ToCharArray()[0], KeyBindType.Press)));
// Extra
MenuExtras = new Menu("Extras", "Extras");
Config.AddSubMenu(MenuExtras);
MenuExtras.AddItem(new MenuItem("InterruptSpells", "Interrupt Spells").SetValue(true));
// Drawing
Config.AddSubMenu(new Menu("Drawings", "Drawings"));
Config.SubMenu("Drawings")
.AddItem(
new MenuItem("DrawQRange", "Q range").SetValue(
new Circle(true, System.Drawing.Color.FromArgb(255, 255, 255, 255))));
Config.SubMenu("Drawings")
.AddItem(
new MenuItem("DrawQMinRange", "Min. Q range").SetValue(
new Circle(true, System.Drawing.Color.GreenYellow)));
//.........这里部分代码省略.........
示例12: Game_OnGameLoad
private static void Game_OnGameLoad(EventArgs args)
{
if (Player.ChampionName != "MonkeyKing")
return;
if (Player.IsDead)
return;
Q = new Spell(SpellSlot.Q, 375f);
W = new Spell(SpellSlot.W);
E = new Spell(SpellSlot.E, 640f);
R = new Spell(SpellSlot.R, 375f);
E.SetTargetted(0.5f, 2000f);
SpellList.Add(Q);
SpellList.Add(E);
SpellList.Add(R);
//Create the menu
Config = new Menu("xQx | Monkey King", "MonkeyKing", true);
var targetSelectorMenu = new Menu("Target Selector", "Target Selector");
TargetSelector.AddToMenu(targetSelectorMenu);
Config.AddSubMenu(targetSelectorMenu);
AssassinManager.Load();
Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking"));
Orbwalker.SetAttack(true);
SetSmiteSlot();
var menuCombo = new Menu("Combo", "Combo");
// Combo
Config.AddSubMenu(menuCombo);
menuCombo.AddItem(new MenuItem("UseRComboEnemyCount", "Use R if enemy count >= (0 = off)").SetValue(new Slider(1, 5, 0)));
menuCombo.AddItem(new MenuItem("UseRForTheEnemy", "Force Ultimate For:"));
menuCombo.AddItem(new MenuItem("UseRForTheEnemyJust", space + "Use Just:").SetValue(
new StringList(new[] { "Everytime", "If Enemy is Killable" })));
;
foreach (var enemy in ObjectManager.Get<Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team))
menuCombo.AddItem(new MenuItem("forceUlti" + enemy.ChampionName, space + enemy.ChampionName).SetValue(false));
if (SmiteSlot != SpellSlot.Unknown)
menuCombo.AddItem(new MenuItem("ComboSmite", "Use Smite").SetValue(true));
// Harass
Config.AddSubMenu(new Menu("Harass", "Harass"));
Config.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true));
Config.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "Use E").SetValue(true));
Config.SubMenu("Harass").AddItem(new MenuItem("UseEHarassTurret", "Don't Under Turret E").SetValue(true));
Config.SubMenu("Harass").AddItem(new MenuItem("HarassMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0)));
Config.SubMenu("Harass").AddItem(new MenuItem("HarassActive", "Harass").SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press)));
// Lane Clear
Config.AddSubMenu(new Menu("LaneClear", "LaneClear"));
Config.SubMenu("LaneClear").AddItem(new MenuItem("UseQLaneClear", "Use Q").SetValue(false));
Config.SubMenu("LaneClear").AddItem(new MenuItem("UseELaneClear", "Use E").SetValue(false));
Config.SubMenu("LaneClear")
.AddItem(new MenuItem("LaneClearMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0)));
Config.SubMenu("LaneClear").AddItem(new MenuItem("LaneClearUseTiamat", "Tiamat").SetValue(true));
Config.SubMenu("LaneClear")
.AddItem(
new MenuItem("LaneClearActive", "LaneClear").SetValue(
new KeyBind("V".ToCharArray()[0], KeyBindType.Press)));
// Jungling Farm
Config.AddSubMenu(new Menu("JungleFarm", "JungleFarm"));
Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseQJungleFarm", "Use Q").SetValue(true));
Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseEJungleFarm", "Use E").SetValue(false));
Config.SubMenu("JungleFarm")
.AddItem(new MenuItem("JungleFarmMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0)));
Config.SubMenu("JungleFarm").AddItem(new MenuItem("JungleFarmUseTiamat", "Tiamat").SetValue(true));
Config.SubMenu("JungleFarm")
.AddItem(
new MenuItem("JungleFarmActive", "JungleFarm").SetValue(
new KeyBind("V".ToCharArray()[0], KeyBindType.Press)));
// Extras -> Use Items
MenuMisc = new Menu("Misc", "Misc");
Config.AddSubMenu(MenuMisc);
MenuMisc.AddItem(new MenuItem("Misc.UseQ", "Use Q if Possible to Attack!").SetValue(true));
MenuMisc.AddItem(new MenuItem("InterruptSpells", "Interrupt Spells").SetValue(true));
var menuUseItems = new Menu("Use Items", "menuUseItems");
Config.SubMenu("Extras").AddSubMenu(menuUseItems);
// Extras -> Use Items -> Targeted Items
MenuTargetedItems = new Menu("Targeted Items", "menuTargetItems");
menuUseItems.AddSubMenu(MenuTargetedItems);
MenuTargetedItems.AddItem(new MenuItem("item3153", "Blade of the Ruined King").SetValue(true));
MenuTargetedItems.AddItem(new MenuItem("item3144", "Bilgewater Cutlass").SetValue(true));
MenuTargetedItems.AddItem(new MenuItem("item3146", "Hextech Gunblade").SetValue(true));
MenuTargetedItems.AddItem(new MenuItem("item3184", "Entropy ").SetValue(true));
// Extras -> Use Items -> AOE Items
MenuNonTargetedItems = new Menu("AOE Items", "menuNonTargetedItems");
menuUseItems.AddSubMenu(MenuNonTargetedItems);
//.........这里部分代码省略.........
示例13: Game_onGameLoad
static void Game_onGameLoad(EventArgs args)
{
if (ObjectManager.Player.ChampionName != "Brand")
{
return;
}
Q = new Spell(SpellSlot.Q, 1050);
W = new Spell(SpellSlot.W, 900);
E = new Spell(SpellSlot.E, 625);
R = new Spell(SpellSlot.R, 750);
Q.SetSkillshot(0.25f,60, 1600, true, SkillshotType.SkillshotLine);
W.SetSkillshot(1, 240, float.MaxValue, false, SkillshotType.SkillshotCircle);
IgniteSlot = ObjectManager.Player.GetSpellSlot("SummonerDot");
(_Menu = new Menu("Kimbaeng Brand", "kimbaengbrand", true)).AddToMainMenu();
var targetSelectorMenu = new Menu("Target Selector", "TargetSelector");
TargetSelector.AddToMenu(targetSelectorMenu);
_Menu.AddSubMenu(targetSelectorMenu);
_Orbwalker = new Orbwalking.Orbwalker(_Menu.AddSubMenu(new Menu("Orbwalking", "Orbwalking")));
_Orbwalker.SetAttack(true);
var HitchanceMenu = _Menu.AddSubMenu(new Menu("Hitchance", "Hitchance"));
HitchanceMenu.AddItem(
new MenuItem("Hitchance", "Hitchance").SetValue(
new StringList(new[] { "Low", "Medium", "High", "VeryHigh", "Impossible" }, 2)));
var comboMenu = _Menu.AddSubMenu(new Menu("Combo", "Combo"));
comboMenu.AddItem(new MenuItem("useCQ", "Use Q").SetValue(true));
comboMenu.AddItem(new MenuItem("useCW", "Use W").SetValue(true));
comboMenu.AddItem(new MenuItem("useCE", "Use E").SetValue(true));
comboMenu.AddItem(new MenuItem("useCR", "Use R").SetValue(true));
comboMenu.AddItem(new MenuItem("useCI", "Use Ignite").SetValue(true));
var harassMenu = _Menu.AddSubMenu(new Menu("Harass", "Harass"));
harassMenu.AddItem(new MenuItem("useHQ", "UseQ").SetValue(true));
harassMenu.AddItem(new MenuItem("useHW", "UseW").SetValue(true));
harassMenu.AddItem(new MenuItem("useHE", "UseE").SetValue(true));
harassMenu.AddItem(new MenuItem("ManaManagerH", "Mana %").SetValue(new Slider(60,1,100)));
var laneMenu = _Menu.AddSubMenu(new Menu("Lane Clear", "laneclear"));
laneMenu.AddItem(new MenuItem("useLW", "Use W").SetValue(true));
laneMenu.AddItem(new MenuItem("useLE", "Use E").SetValue(true));
laneMenu.AddItem(new MenuItem("ManaManagerL", "Mana %").SetValue(new Slider(30, 1, 100)));
var LastHitMenu = _Menu.AddSubMenu(new Menu("LastHit", "LastHit"));
LastHitMenu.AddItem(new MenuItem("useLHQ", "Use Q").SetValue(true));
var MiscMenu = _Menu.AddSubMenu(new Menu("MISC", "MISC"));
MiscMenu.AddItem(new MenuItem("gapclose", "Auto AntiGapcloser(E → Q)").SetValue(true));
var DrawMenu = _Menu.AddSubMenu(new Menu("Drawing", "drawing"));
DrawMenu.AddItem(new MenuItem("noDraw", "Disable Drawing").SetValue(true));
DrawMenu.AddItem(new MenuItem("drawQ", "DrawQ").SetValue(new Circle(true, System.Drawing.Color.Goldenrod)));
DrawMenu.AddItem(new MenuItem("drawW", "DrawW").SetValue(new Circle(false, System.Drawing.Color.Goldenrod)));
DrawMenu.AddItem(new MenuItem("drawE", "DrawE").SetValue(new Circle(false, System.Drawing.Color.Goldenrod)));
DrawMenu.AddItem(new MenuItem("drawR", "DrawR").SetValue(new Circle(false, System.Drawing.Color.Goldenrod)));
//DrawMenu.AddItem(new MenuItem("drawdmg", "Draw Damage").SetValue(true));
Game.OnUpdate += Game_onUpdate;
Drawing.OnDraw += Drawing_Ondraw;
AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser;
Game.PrintChat("<font color=\"#ED4C00\">Kimbaeng Brand</font> Loaded ");
Game.PrintChat("If You like this Assembly plz <font color=\"#1DDB16\">Upvote</font> XD ");
}
示例14: Game_OnGameLoad
private static void Game_OnGameLoad(EventArgs args)
{
if (vPlayer.BaseSkinName != "Irelia")
return;
Q = new Spell(SpellSlot.Q, 650f);
W = new Spell(SpellSlot.W);
E = new Spell(SpellSlot.E, 325);
R = new Spell(SpellSlot.R, 1000f);
Q.SetSkillshot(0.25f, 75f, 1500f, false, SkillshotType.SkillshotLine);
E.SetSkillshot(0.15f, 75f, 1500f, false, SkillshotType.SkillshotCircle);
R.SetSkillshot(0.15f, 80f, 1500f, false, SkillshotType.SkillshotLine);
SpellList.Add(Q);
SpellList.Add(W);
SpellList.Add(E);
SpellList.Add(R);
IgniteSlot = vPlayer.GetSpellSlot("SummonerDot");
//Create the menu
Config = new Menu("xQx | Irelia", "Irelia", true);
var TargetSelectorMenu = new Menu("Target Selector", "Target Selector");
TargetSelector.AddToMenu(TargetSelectorMenu);
Config.AddSubMenu(TargetSelectorMenu);
new AssassinManager();
Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking"));
Orbwalker.SetAttack(true);
var menuUseItems = new Menu("Use Items", "menuUseItems");
Config.AddSubMenu(menuUseItems);
// Extras -> Use Items -> Targeted Items
MenuTargetedItems = new Menu("Targeted Items", "menuTargetItems");
MenuTargetedItems.AddItem(new MenuItem("item3153", "Blade of the Ruined King").SetValue(true));
MenuTargetedItems.AddItem(new MenuItem("item3143", "Randuin's Omen").SetValue(true));
MenuTargetedItems.AddItem(new MenuItem("item3144", "Bilgewater Cutlass").SetValue(true));
MenuTargetedItems.AddItem(new MenuItem("item3146", "Hextech Gunblade").SetValue(true));
MenuTargetedItems.AddItem(new MenuItem("item3184", "Entropy ").SetValue(true));
menuUseItems.AddSubMenu(MenuTargetedItems);
// Extras -> Use Items -> AOE Items
MenuNonTargetedItems = new Menu("AOE Items", "menuNonTargetedItems");
MenuNonTargetedItems.AddItem(new MenuItem("item3180", "Odyn's Veil").SetValue(true));
MenuNonTargetedItems.AddItem(new MenuItem("item3131", "Sword of the Divine").SetValue(true));
MenuNonTargetedItems.AddItem(new MenuItem("item3074", "Ravenous Hydra").SetValue(true));
MenuNonTargetedItems.AddItem(new MenuItem("item3077", "Tiamat ").SetValue(true));
MenuNonTargetedItems.AddItem(new MenuItem("item3142", "Youmuu's Ghostblade").SetValue(true));
menuUseItems.AddSubMenu(MenuNonTargetedItems);
// Combo
Config.AddSubMenu(new Menu("Combo", "Combo"));
Menu comboUseQ = new Menu("Use Q", "comboUseQ");
Config.SubMenu("Combo").AddSubMenu(comboUseQ);
comboUseQ.AddItem(new MenuItem("UseQCombo", "Use Q").SetValue(true));
comboUseQ.AddItem(new MenuItem("UseQComboDontUnderTurret", "Don't Under Turret Q").SetValue(true));
Config.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true));
Config.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E").SetValue(true));
Config.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R").SetValue(true));
Config.SubMenu("Combo")
.AddItem(
new MenuItem("ComboActive", "Combo!").SetValue(
new KeyBind(Config.Item("Orbwalk").GetValue<KeyBind>().Key, KeyBindType.Press)));
// Harass
Config.AddSubMenu(new Menu("Harass", "Harass"));
Menu harassUseQ = new Menu("Use Q", "harassUseQ");
Config.SubMenu("Harass").AddSubMenu(harassUseQ);
harassUseQ.AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true));
harassUseQ.AddItem(new MenuItem("UseQHarassDontUnderTurret", "Don't Under Turret Q").SetValue(true));
Config.SubMenu("Harass").AddItem(new MenuItem("UseWHarass", "Use W").SetValue(true));
Config.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "Use E").SetValue(true));
Config.SubMenu("Harass")
.AddItem(
new MenuItem("HarassMode", "Harass Mode: ").SetValue(new StringList(new[] { "Q", "E", "Q+E" })));
Config.SubMenu("Harass")
.AddItem(new MenuItem("HarassMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0)));
Config.SubMenu("Harass")
.AddItem(
new MenuItem("HarassActive", "Harass").SetValue(
new KeyBind("C".ToCharArray()[0], KeyBindType.Press)));
// Lane Clear
Config.AddSubMenu(new Menu("LaneClear", "LaneClear"));
Menu laneClearUseQ = new Menu("Use Q", "laneClearUseQ");
Config.SubMenu("LaneClear").AddItem(new MenuItem("UseQLaneClear", "Use Q").SetValue(false));
Config.SubMenu("LaneClear").AddItem(new MenuItem("UseWLaneClear", "Use W").SetValue(false));
Config.SubMenu("LaneClear").AddItem(new MenuItem("UseELaneClear", "Use E").SetValue(false));
Config.SubMenu("LaneClear")
.AddItem(new MenuItem("QFarmDelay", "Q Farm Delay (Default: 300)").SetValue(new Slider(200, 500, 0)));
Config.SubMenu("LaneClear")
.AddItem(new MenuItem("LaneClearMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0)));
Config.SubMenu("LaneClear")
.AddItem(
new MenuItem("LaneClearActive", "LaneClear").SetValue(
//.........这里部分代码省略.........