示例#1
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            if (Player.ChampionName != "Fiora")
            {
                return;
            }
            Q = new Spell(SpellSlot.Q, 400);
            W = new Spell(SpellSlot.W, 750);
            E = new Spell(SpellSlot.E);
            R = new Spell(SpellSlot.R);
            W.SetSkillshot(0.75f, 80, 2000, false, SkillshotType.SkillshotLine);
            W.MinHitChance = HitChance.High;


            Menu = new Menu("Project" + Player.ChampionName, Player.ChampionName, true);
            Menu.SetFontStyle(System.Drawing.FontStyle.Bold, SharpDX.Color.DeepPink);

            Menu orbwalkerMenu = new Menu("Orbwalker", "Orbwalker");

            Orbwalker = new FioraProject.Orbwalking.Orbwalker(orbwalkerMenu);
            Menu.AddSubMenu(orbwalkerMenu);
            Menu ts = Menu.AddSubMenu(new Menu("Target Selector", "Target Selector"));;

            TargetSelector.AddToMenu(ts);
            Menu spellMenu = Menu.AddSubMenu(new Menu("Spell", "Spell"));

            Menu Harass = spellMenu.AddSubMenu(new Menu("Harass", "Harass"));

            Menu Combo = spellMenu.AddSubMenu(new Menu("Combo", "Combo"));

            Menu Target = Menu.AddSubMenu(new Menu("Targeting Modes", "Targeting Modes"));

            Menu PriorityMode = Target.AddSubMenu(new Menu("Priority", "Priority Mode"));

            Menu OptionalMode = Target.AddSubMenu(new Menu("Optional", "Optional Mode"));

            Menu SelectedMode = Target.AddSubMenu(new Menu("Selected", "Selected Mode"));

            Menu LaneClear = spellMenu.AddSubMenu(new Menu("Lane Clear", "Lane Clear"));

            spellMenu.AddItem(new MenuItem("Orbwalk Last Right Click", "Orbwalk Last Right Click")
                              .SetValue(new KeyBind('Y', KeyBindType.Press))).ValueChanged += OrbwalkLastClick.OrbwalkLRCLK_ValueChanged;

            Menu JungClear = spellMenu.AddSubMenu(new Menu("Jungle Clear", "Jungle Clear"));

            Menu Misc = Menu.AddSubMenu(new Menu("Misc", "Misc"));

            Menu Draw = Menu.AddSubMenu(new Menu("Draw", "Draw"));;

            Harass.AddItem(new MenuItem("Use Q Harass", "Q Enable").SetValue(true));
            Harass.AddItem(new MenuItem("Use Q Harass Gap", "Use Q to gapclose").SetValue(true));
            Harass.AddItem(new MenuItem("Use Q Harass Pre Pass", "Use Q to hit pre-passive spot").SetValue(true));
            Harass.AddItem(new MenuItem("Use Q Harass Pass", "Use Q to hit passive").SetValue(true));
            Harass.AddItem(new MenuItem("Use E Harass", "E Enable").SetValue(true));
            Harass.AddItem(new MenuItem("Mana Harass", "Mana Harass").SetValue(new Slider(40, 0, 100)));

            Combo.AddItem(new MenuItem("Use Q Combo", "Q Enable").SetValue(true));
            Combo.AddItem(new MenuItem("Use Q Combo Gap", "Use Q to gapclose").SetValue(true));
            Combo.AddItem(new MenuItem("Use Q Combo Pre Pass", "Use Q to hit pre-passive spot").SetValue(true));
            Combo.AddItem(new MenuItem("Use Q Combo Pass", "Use Q to hit passive").SetValue(true));
            Combo.AddItem(new MenuItem("Use Q Combo Gap Minion", "Use Q minion to gapclose").SetValue(false));
            Combo.AddItem(new MenuItem("Use Q Combo Gap Minion Value", "Q minion gapclose if % cdr >=").SetValue(new Slider(25, 0, 40)));
            Combo.AddItem(new MenuItem("Use E Combo", "E Enable").SetValue(true));
            Combo.AddItem(new MenuItem("Use R Combo", "R Enable").SetValue(true));
            Combo.AddItem(new MenuItem("Use R Combo LowHP", "Use R LowHP").SetValue(true));
            Combo.AddItem(new MenuItem("Use R Combo LowHP Value", "R LowHP if player hp <").SetValue(new Slider(40, 0, 100)));
            Combo.AddItem(new MenuItem("Use R Combo Killable", "Use R Killable").SetValue(true));
            Combo.AddItem(new MenuItem("Use R Combo On Tap", "Use R on Tap").SetValue(true));
            Combo.AddItem(new MenuItem("Use R Combo On Tap Key", "R on Tap key").SetValue(new KeyBind('G', KeyBindType.Press)));
            Combo.AddItem(new MenuItem("Use R Combo Always", "Use R Always").SetValue(false));

            Target.AddItem(new MenuItem("Targeting Mode", "Targeting Mode").SetValue(new StringList(new string[] { "Optional", "Selected", "Priority", "Normal" })));
            Target.AddItem(new MenuItem("Orbwalk To Passive Range", "Orbwalk To Passive Range").SetValue(new Slider(300, 250, 500)));
            Target.AddItem(new MenuItem("Focus Ulted Target", "Focus Ulted Target").SetValue(false));
            Target.AddItem(new MenuItem("Note1", "Go in each Mode menu to customize what you want!"));
            Target.AddItem(new MenuItem("Note2", "Please remember Orbwalk to Passive spot only works"));
            Target.AddItem(new MenuItem("Note3", "in \" Combo Orbwalk to Passive\" mode can be found"));
            Target.AddItem(new MenuItem("Note4", "in orbwalker menu!"));

            PriorityMode.AddItem(new MenuItem("Priority Range", "Priority Range").SetValue(new Slider(1000, 300, 1000)));
            PriorityMode.AddItem(new MenuItem("Priority Orbwalk to Passive", "Orbwalk to Passive").SetValue(true));
            PriorityMode.AddItem(new MenuItem("Priority Under Tower", "Under Tower").SetValue(true));
            foreach (var hero in HeroManager.Enemies)
            {
                PriorityMode.AddItem(new MenuItem("Priority" + hero.ChampionName, hero.ChampionName).SetValue(new Slider(2, 1, 5)));
            }

            OptionalMode.AddItem(new MenuItem("Optional Range", "Optional Range").SetValue(new Slider(1000, 300, 1000)));
            OptionalMode.AddItem(new MenuItem("Optional Orbwalk to Passive", "Orbwalk to Passive").SetValue(true));
            OptionalMode.AddItem(new MenuItem("Optional Under Tower", "Under Tower").SetValue(false));
            OptionalMode.AddItem(new MenuItem("Optional Switch Target Key", "Switch Target Key").SetValue(new KeyBind('T', KeyBindType.Press)));
            OptionalMode.AddItem(new MenuItem("Note5", "Also Can Left-click the target to switch!"));

            SelectedMode.AddItem(new MenuItem("Selected Range", "Selected Range").SetValue(new Slider(1000, 300, 1000)));
            SelectedMode.AddItem(new MenuItem("Selected Orbwalk to Passive", "Orbwalk to Passive").SetValue(true));
            SelectedMode.AddItem(new MenuItem("Selected Under Tower", "Under Tower").SetValue(false));
            SelectedMode.AddItem(new MenuItem("Selected Switch If No Selected", "Switch to Optional if no target").SetValue(true));

            LaneClear.AddItem(new MenuItem("Use E LClear", "E Enable").SetValue(true));
            LaneClear.AddItem(new MenuItem("Use Timat LClear", "Tiamat Enable").SetValue(true));
            LaneClear.AddItem(new MenuItem("minimum Mana LC", "minimum Mana").SetValue(new Slider(40, 0, 100)));

            JungClear.AddItem(new MenuItem("Use E JClear", "E Enable").SetValue(true));
            JungClear.AddItem(new MenuItem("Use Timat JClear", "Tiamat Enable").SetValue(true));
            JungClear.AddItem(new MenuItem("minimum Mana JC", "minimum Mana").SetValue(new Slider(40, 0, 100)));

            Misc.AddItem(new MenuItem("WallJump", "WallJump").SetValue(new KeyBind('H', KeyBindType.Press)));

            Draw.AddItem(new MenuItem("Draw Q", "Draw Q").SetValue(false));
            Draw.AddItem(new MenuItem("Draw W", "Draw W").SetValue(false));
            Draw.AddItem(new MenuItem("Draw Optional Range", "Draw Optional Range").SetValue(true));
            Draw.AddItem(new MenuItem("Draw Selected Range", "Draw Selected Range").SetValue(true));
            Draw.AddItem(new MenuItem("Draw Priority Range", "Draw Priority Range").SetValue(true));
            Draw.AddItem(new MenuItem("Draw Target", "Draw Target").SetValue(true));
            Draw.AddItem(new MenuItem("Draw Vitals", "Draw Vitals").SetValue(false));
            Draw.AddItem(new MenuItem("Draw Fast Damage", "Draw Fast Damage").SetValue(false)).ValueChanged += DrawHP_ValueChanged;

            if (HeroManager.Enemies.Any())
            {
                Evade.Evade.Init();
                EvadeTarget.Init();
                TargetedNoMissile.Init();
                OtherSkill.Init();
            }
            OrbwalkLastClick.Init();
            Menu.AddToMainMenu();
            Drawing.OnDraw     += Drawing_OnDraw;
            Drawing.OnEndScene += Drawing_OnEndScene;

            GameObject.OnCreate            += GameObject_OnCreate;
            Game.OnUpdate                  += Game_OnGameUpdate;
            Orbwalking.AfterAttack         += AfterAttack;
            Orbwalking.AfterAttackNoTarget += Orbwalking_AfterAttackNoTarget;
            Orbwalking.OnAttack            += OnAttack;
            Obj_AI_Base.OnProcessSpellCast += oncast;
            Game.OnWndProc                 += Game_OnWndProc;
            //Utility.HpBarDamageIndicator.DamageToUnit = GetFastDamage;
            //Utility.HpBarDamageIndicator.Enabled = DrawHP;
            CustomDamageIndicator.Initialize(GetFastDamage);
            CustomDamageIndicator.Enabled = DrawHP;

            //evade
            FioraProject.Evade.Evade.Evading += EvadeSkillShots.Evading;
            Game.PrintChat("Welcome to FioraWorld");
        }
示例#2
0
        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");
        }
示例#3
0
        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");
        }