public static void Game_OnGameLoad() { if (Player.ChampionName != "Fiora") { return; } Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 400); W = new LeagueSharp.Common.Spell(SpellSlot.W, 750); E = new LeagueSharp.Common.Spell(SpellSlot.E); R = new LeagueSharp.Common.Spell(SpellSlot.R); W.SetSkillshot(0.75f, 80, 2000, false, SkillshotType.SkillshotLine); W.MinHitChance = LeagueSharp.Common.HitChance.High; Menu = MainMenu.AddMenu("Project" + Player.ChampionName, Player.ChampionName); Harass = Menu.AddSubMenu("Harass", "Harass"); Harass.Add("Use Q Harass", new CheckBox("Q Enable")); Harass.Add("Use Q Harass Gap", new CheckBox("Use Q to gapclose")); Harass.Add("Use Q Harass Pre Pass", new CheckBox("Use Q to hit pre-passive spot")); Harass.Add("Use Q Harass Pass", new CheckBox("Use Q to hit passive")); Harass.Add("Use E Harass", new CheckBox("E Enable")); Harass.Add("Mana Harass", new Slider("Mana Harass", 40, 0, 100)); Combo = Menu.AddSubMenu("Combo", "Combo"); Combo.Add("Orbwalker2Mouse", new KeyBind("Combo Orbwalk to Passive", false, KeyBind.BindTypes.HoldActive, 'Z')); Combo.Add("Use Q Combo", new CheckBox("Q Enable")); Combo.Add("Use Q Combo Gap", new CheckBox("Use Q to gapclose")); Combo.Add("Use Q Combo Pre Pass", new CheckBox("Use Q to hit pre-passive spot")); Combo.Add("Use Q Combo Pass", new CheckBox("Use Q to hit passive")); Combo.Add("Use Q Combo Gap Minion", new CheckBox("Use Q minion to gapclose", false)); Combo.Add("Use Q Combo Gap Minion Value", new Slider("Q minion gapclose if % cdr >=", 25, 0, 40)); Combo.Add("Use E Combo", new CheckBox("E Enable")); Combo.Add("Use R Combo", new CheckBox("R Enable")); Combo.Add("Use R Combo LowHP", new CheckBox("Use R LowHP")); Combo.Add("Use R Combo LowHP Value", new Slider("R LowHP if player hp <", 40, 0, 100)); Combo.Add("Use R Combo Killable", new CheckBox("Use R Killable")); Combo.Add("Use R Combo On Tap", new CheckBox("Use R on Tap")); Combo.Add("Use R Combo On Tap Key", new KeyBind("R on Tap key", false, KeyBind.BindTypes.HoldActive, 'G')); Combo.Add("Use R Combo Always", new CheckBox("Use R Always", false)); Target = Menu.AddSubMenu("Targeting Modes", "Targeting Modes"); Target.Add("Targeting Mode", new ComboBox("Targeting Mode", 0, "Optional", "Selected", "Priority", "Normal")); Target.Add("Orbwalk To Passive Range", new Slider("Orbwalk To Passive Range", 300, 250, 500)); Target.Add("Focus Ulted Target", new CheckBox("Focus Ulted Target", false)); Target.AddLabel("Go in each Mode menu to customize what you want!"); Target.AddLabel("Please remember Orbwalk to Passive spot only works"); Target.AddLabel("in \" Combo Orbwalk to Passive\" mode can be found"); Target.AddLabel("in misc menu!"); PriorityMode = Menu.AddSubMenu("Priority", "Priority Mode"); PriorityMode.Add("Priority Range", new Slider("Priority Range", 1000, 300, 1000)); PriorityMode.Add("Priority Orbwalk to Passive", new CheckBox("Orbwalk to Passive")); PriorityMode.Add("Priority Under Tower", new CheckBox("Under Tower")); foreach (var hero in HeroManager.Enemies) { PriorityMode.Add("Priority" + hero.ChampionName, new Slider(hero.ChampionName, 2, 1, 5)); } OptionalMode = Menu.AddSubMenu("Optional", "Optional Mode"); OptionalMode.Add("Optional Range", new Slider("Optional Range", 1000, 300, 1000)); OptionalMode.Add("Optional Orbwalk to Passive", new CheckBox("Orbwalk to Passive")); OptionalMode.Add("Optional Under Tower", new CheckBox("Under Tower", false)); OptionalMode.Add("Optional Switch Target Key", new KeyBind("Switch Target Key", false, KeyBind.BindTypes.HoldActive, 'T')); OptionalMode.AddLabel("Also Can Left-click the target to switch!"); SelectedMode = Menu.AddSubMenu("Selected", "Selected Mode"); SelectedMode.Add("Selected Range", new Slider("Selected Range", 1000, 300, 1000)); SelectedMode.Add("Selected Orbwalk to Passive", new CheckBox("Orbwalk to Passive")); SelectedMode.Add("Selected Under Tower", new CheckBox("Under Tower", false)); SelectedMode.Add("Selected Switch If No Selected", new CheckBox("Switch to Optional if no target")); LaneClear = Menu.AddSubMenu("Lane Clear", "Lane Clear"); LaneClear.Add("Use E LClear", new CheckBox("E Enable")); LaneClear.Add("Use Timat LClear", new CheckBox("Tiamat Enable")); LaneClear.Add("minimum Mana LC", new Slider("minimum Mana", 40, 0, 100)); JungClear = Menu.AddSubMenu("Jungle Clear", "Jungle Clear"); JungClear.Add("Use E JClear", new CheckBox("E Enable")); JungClear.Add("Use Timat JClear", new CheckBox("Tiamat Enable")); JungClear.Add("minimum Mana JC", new Slider("minimum Mana", 40, 0, 100)); Misc = Menu.AddSubMenu("Misc", "Misc"); Misc.Add("WallJump", new KeyBind("WallJump", false, KeyBind.BindTypes.HoldActive, 'H')); Misc.Add("Orbwalk Last Right Click", new KeyBind("Orbwalk Last Right Click", false, KeyBind.BindTypes.HoldActive, 'Y')).OnValueChange += OrbwalkLastClick.OrbwalkLRCLK_ValueChanged; Draw = Menu.AddSubMenu("Draw", "Draw"); Draw.Add("Draw Q", new CheckBox("Draw Q", false)); Draw.Add("Draw W", new CheckBox("Draw W", false)); Draw.Add("Draw Optional Range", new CheckBox("Draw Optional Range")); Draw.Add("Draw Selected Range", new CheckBox("Draw Selected Range")); Draw.Add("Draw Priority Range", new CheckBox("Draw Priority Range")); Draw.Add("Draw Target", new CheckBox("Draw Target")); Draw.Add("Draw Vitals", new CheckBox("Draw Vitals", false)); Draw.Add("Draw Fast Damage", new CheckBox("Draw Fast Damage", false)).OnValueChange += DrawHP_ValueChanged; if (HeroManager.Enemies.Any()) { Evade.Evade.Init(); EvadeTarget.Init(); TargetedNoMissile.Init(); OtherSkill.Init(); } OrbwalkLastClick.Init(); Drawing.OnDraw += Drawing_OnDraw; Drawing.OnEndScene += Drawing_OnEndScene; //GameObject.OnCreate += GameObject_OnCreate; Game.OnUpdate += Game_OnGameUpdate; Orbwalker.OnPostAttack += AfterAttack; Orbwalker.OnPostAttack += Orbwalking_AfterAttackNoTarget; Orbwalker.OnAttack += OnAttack; Obj_AI_Base.OnProcessSpellCast += oncast; Game.OnWndProc += Game_OnWndProc; CustomDamageIndicator.Initialize(GetFastDamage); CustomDamageIndicator.Enabled = DrawHP; //evade FioraProject.Evade.Evade.Evading += EvadeSkillShots.Evading; Chat.Print("Welcome to FioraWorld"); }
public static void Game_OnGameLoad() { if (Player.ChampionName != "Fiora") { return; } Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 400); W = new LeagueSharp.Common.Spell(SpellSlot.W, 750); E = new LeagueSharp.Common.Spell(SpellSlot.E); R = new LeagueSharp.Common.Spell(SpellSlot.R); W.SetSkillshot(0.75f, 80, 2000, false, SkillshotType.SkillshotLine); W.MinHitChance = LeagueSharp.Common.HitChance.High; Menu = MainMenu.AddMenu("Project" + Player.ChampionName, Player.ChampionName); Harass = Menu.AddSubMenu("骚扰", "Harass"); Harass.Add("Use Q Harass", new CheckBox("Q 开启")); Harass.Add("Use Q Harass Gap", new CheckBox("使用 Q 接近")); Harass.Add("Use Q Harass Pre Pass", new CheckBox("使用Q攻击 准备出现的弱点")); Harass.Add("Use Q Harass Pass", new CheckBox("使用Q攻击弱点")); Harass.Add("Use E Harass", new CheckBox("E 开启")); Harass.Add("Mana Harass", new Slider("骚扰蓝量", 40, 0, 100)); Combo = Menu.AddSubMenu("连招", "Combo"); Combo.Add("Orbwalker2Mouse", new KeyBind("连招走砍至弱点", false, KeyBind.BindTypes.HoldActive, 'Z')); Combo.Add("Use Q Combo", new CheckBox("Q 开启")); Combo.Add("Use Q Combo Gap", new CheckBox("使用 Q 接近")); Combo.Add("Use Q Combo Pre Pass", new CheckBox("使用Q攻击 准备出现的弱点")); Combo.Add("Use Q Combo Pass", new CheckBox("使用Q攻击弱点")); Combo.Add("Use Q Combo Gap Minion", new CheckBox("使用Q 小兵进行接近", false)); Combo.Add("Use Q Combo Gap Minion Value", new Slider("冷却% >= X,Q小兵进行接近", 25, 0, 40)); Combo.Add("Use E Combo", new CheckBox("E 开启 ")); Combo.Add("Use R Combo", new CheckBox("R 开启")); Combo.Add("Use R Combo LowHP", new CheckBox("低血量使用R")); Combo.Add("Use R Combo LowHP Value", new Slider("R 如果玩家生命% <", 40, 0, 100)); Combo.Add("Use R Combo Killable", new CheckBox("使用 R 如果可击杀")); Combo.Add("Use R Combo On Tap", new CheckBox("使用 R 按键")); Combo.Add("Use R Combo On Tap Key", new KeyBind("R 按键", false, KeyBind.BindTypes.HoldActive, 'G')); Combo.Add("Use R Combo Always", new CheckBox("总是使用 R", false)); Target = Menu.AddSubMenu("目标选择模式", "Targeting Modes"); Target.Add("Targeting Mode", new ComboBox("选择模式", 0, "自定义", "点击", "优先", "正常")); Target.Add("Orbwalk To Passive Range", new Slider("走砍至弱点范围", 300, 250, 500)); Target.Add("Focus Ulted Target", new CheckBox("集火R目标", false)); Target.AddLabel("修改每一项获得最大化设置!"); Target.AddLabel("记住走进弱点智能用于在"); Target.AddLabel(" \" 连招走砍至弱点\"模式下"); Target.AddLabel("在连招菜单下!");; PriorityMode = Menu.AddSubMenu("Priority", "优先"); PriorityMode.Add("Priority Range", new Slider("优先模式范围", 1000, 300, 1000)); PriorityMode.Add("Priority Orbwalk to Passive", new CheckBox("走砍至弱点")); PriorityMode.Add("Priority Under Tower", new CheckBox("塔下范围")); foreach (var hero in HeroManager.Enemies) { PriorityMode.Add("Priority" + hero.ChampionName, new Slider(hero.ChampionName, 2, 1, 5)); } OptionalMode = Menu.AddSubMenu("Optional", "自定义模式"); OptionalMode.Add("Optional Range", new Slider("自定义模式范围", 1000, 300, 1000)); OptionalMode.Add("Optional Orbwalk to Passive", new CheckBox("走砍至弱点")); OptionalMode.Add("Optional Under Tower", new CheckBox("塔下", false)); OptionalMode.Add("Optional Switch Target Key", new KeyBind("切换目标按键", false, KeyBind.BindTypes.HoldActive, 'T')); OptionalMode.AddLabel("也可以左键点击目标来切换!"); SelectedMode = Menu.AddSubMenu("Selected", "点击模式"); SelectedMode.Add("Selected Range", new Slider("点击模式范围", 1000, 300, 1000)); SelectedMode.Add("Selected Orbwalk to Passive", new CheckBox("走砍至弱点")); SelectedMode.Add("Selected Under Tower", new CheckBox("塔下", false)); SelectedMode.Add("Selected Switch If No Selected", new CheckBox("切换至自定义如果附近无目标")); LaneClear = Menu.AddSubMenu("清线", "Lane Clear"); LaneClear.Add("Use E LClear", new CheckBox("E 开启")); LaneClear.Add("Use Timat LClear", new CheckBox("提亚马特 开启")); LaneClear.Add("minimum Mana LC", new Slider("最低蓝量", 40, 0, 100)); JungClear = Menu.AddSubMenu("清野", "Jungle Clear"); JungClear.Add("Use E JClear", new CheckBox("E 开启")); JungClear.Add("Use Timat JClear", new CheckBox("提亚马特 开启")); JungClear.Add("minimum Mana JC", new Slider("最低蓝量", 40, 0, 100)); Misc = Menu.AddSubMenu("杂项", "Misc"); Misc.Add("WallJump", new KeyBind("跳墙", false, KeyBind.BindTypes.HoldActive, 'H')); Misc.Add("Orbwalk Last Right Click", new KeyBind("走砍至最后一次右键位置", false, KeyBind.BindTypes.HoldActive, 'Y')).OnValueChange += OrbwalkLastClick.OrbwalkLRCLK_ValueChanged; Draw = Menu.AddSubMenu("线圈", "Draw"); Draw.Add("Draw Q", new CheckBox("显示 Q", false)); Draw.Add("Draw W", new CheckBox("显示 W", false)); Draw.Add("Draw Optional Range", new CheckBox("显示 自定义模式范围")); Draw.Add("Draw Selected Range", new CheckBox("显示 点击模式范围")); Draw.Add("Draw Priority Range", new CheckBox("显示 优先模式范围")); Draw.Add("Draw Target", new CheckBox("显示 目标")); Draw.Add("Draw Vitals", new CheckBox("显示 弱点", false)); Draw.Add("Draw Fast Damage", new CheckBox("显示 快速伤害", false)).OnValueChange += DrawHP_ValueChanged; if (HeroManager.Enemies.Any()) { Evade.Evade.Init(); EvadeTarget.Init(); TargetedNoMissile.Init(); OtherSkill.Init(); } OrbwalkLastClick.Init(); Drawing.OnDraw += Drawing_OnDraw; Drawing.OnEndScene += Drawing_OnEndScene; //GameObject.OnCreate += GameObject_OnCreate; Game.OnUpdate += Game_OnGameUpdate; Orbwalker.OnPostAttack += AfterAttack; Orbwalker.OnPostAttack += Orbwalking_AfterAttackNoTarget; Orbwalker.OnAttack += OnAttack; Obj_AI_Base.OnProcessSpellCast += oncast; Game.OnWndProc += Game_OnWndProc; CustomDamageIndicator.Initialize(GetFastDamage); CustomDamageIndicator.Enabled = DrawHP; //evade FioraProject.Evade.Evade.Evading += EvadeSkillShots.Evading; Chat.Print("Welcome to FioraWorld"); }