コード例 #1
0
        private static void Setup()
        {
            // The root "menu"
            var root = new SuperParent("Root");

            // A normal Menu
            var comboParent = new Parent("Combo");

            comboParent.Switch = new BoolSwitch(comboParent.Menu, "Disabled", false, comboParent);

            // 2 children containing the same logic
            var child  = new ExampleChild("Child");
            var child2 = new ExampleChild("Child2");

            /* "Connects" each composition element
             *
             * compositionElement.AddChild(compositionElement)
             *
             */

            root.Add(comboParent);

            comboParent.Add(child);
            comboParent.Add(child2);

            /* Example Output:
             * Root > Combo            > Child            > Enabled [On/Off]
             *        Enabled [On/Off]   Child2           > Enabled [On/Off]
             *                           Enabled [On/Off]
             */
        }
コード例 #2
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Add(new List <Base>()
            {
            });


            superParent.Load();


            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;
        }
コード例 #3
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Add(new List<Base>()
                                {
                                    new AllyMinion.AllyMinion(),
                                    new TradeEnemy.TradeEnemy()
                                });

            superParent.Load();

            superParent.Menu.Style = FontStyle.Bold;

            RootMenu = superParent.Menu;
        }
コード例 #4
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Add(new List<Base>()
                                {
                                 
                                });


            superParent.Load();


            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;
        }
コード例 #5
0
ファイル: TradeSmartLoader.cs プロジェクト: wade1990/PortAIO
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Add(new List <Base>()
            {
                new AllyMinion.AllyMinion(),
                new TradeEnemy.TradeEnemy()
            });

            superParent.Load();

            superParent.Menu.Style = FontStyle.Bold;

            RootMenu = superParent.Menu;
        }
コード例 #6
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Initialize();

            var qSpell = new QSpell();
            var wSpell = new WSpell();
            var eSpell = new ESpell();
            var rSpell = new RSpell();

            var spellParent = new SpellParent();

            spellParent.Add(new List <Base>
            {
                qSpell,
                wSpell,
                eSpell,
                rSpell
            });
            spellParent.Load();

            var orbwalkerModule = new OrbwalkerModule();

            orbwalkerModule.Load();

            var comboParent  = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent("Harass", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var laneParent   = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);

            var killstealParent = new Parent("Killsteal");
            var drawParent      = new Parent("Drawings");

            var utilityParent = new Parent("Reformed Utility");

            utilityParent.Add(new CaitlynSkinchanger());

            var logic = new ComboLogic(eSpell, wSpell, qSpell, rSpell);

            comboParent.Add(new List <Base>()
            {
                new QCombo(qSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.Q)),
                new WCombo(wSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.W)),
                new ECombo(eSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.E))
            });

            harassParent.Add(new List <Base>()
            {
                new QHarass(qSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.Q)),
                new WHarass(wSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.W)),
                new EHarass(eSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.E))
            });

            laneParent.Add(new List <Base>
            {
                new QLane(qSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.Q))
            });

            jungleParent.Add(new List <Base>
            {
                new QJungle(qSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.Q)).Guardian(new SpellMustBeReady(SpellSlot.E)
                {
                    Negated = true
                }),
                new EJungle(eSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.E))
            });

            killstealParent.Add(new List <Base>
            {
                new QKillsteal(qSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.Q)),
                new RKillsteal(rSpell).Guardian(new SpellMustBeReady(SpellSlot.R))
            });

            drawParent.Add(new List <Base>
            {
                new DmgDraw(logic),
                new QDraw(qSpell),
                new RDraw(rSpell)
            });

            superParent.Add(new List <Base> {
                utilityParent,
                orbwalkerModule,
                comboParent,
                harassParent,
                laneParent,
                jungleParent,
                killstealParent,
                drawParent
            });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Chat.Print("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Caitlyn!</font></b>");
        }
コード例 #7
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Initialize();

            var spells = new Spells(); // - RIP CLEAN CODE

            spells.Initialize();

            var orbwalker = new OrbwalkerModule();

            orbwalker.Load();

            var comboParent     = new OrbwalkingParent("Combo", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent    = new OrbwalkingParent("Harass", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var jungleParent    = new OrbwalkingParent("Jungle", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var laneParent      = new OrbwalkingParent("Lane", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var killstealParent = new Parent("Killsteal");
            var fleeParent      = new Parent("Flee");
            var drawingParent   = new Parent("Drawing");

            var mustNotBeWindingUp = new PlayerMustNotBeWindingUp();
            var qReady             = new SpellMustBeReady(SpellSlot.Q);
            var w2Ready            = new SpellMustBeReady(SpellSlot.W);
            var eReady             = new SpellMustBeReady(SpellSlot.E);
            var rReady             = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new Base[]
            {
                new QCombo().Guardian(qReady).Guardian(mustNotBeWindingUp),
                new WCombo().Guardian(w2Ready).Guardian(mustNotBeWindingUp),
                new ECombo().Guardian(eReady).Guardian(mustNotBeWindingUp),
                new RCombo().Guardian(rReady)
            });

            harassParent.Add(new Base[]
            {
                new QHarass().Guardian(qReady).Guardian(mustNotBeWindingUp)
            });

            laneParent.Add(new Base[]
            {
                new QLane().Guardian(qReady).Guardian(mustNotBeWindingUp),
                new W2Lane().Guardian(w2Ready)
            });

            jungleParent.Add(new Base[]
            {
                new QJungle().Guardian(qReady).Guardian(mustNotBeWindingUp),
                new W2Jungle().Guardian(w2Ready).Guardian(mustNotBeWindingUp),
                new EJungle().Guardian(eReady).Guardian(mustNotBeWindingUp)
            });

            killstealParent.Add(new Base[]
            {
                new QKillsteal("Q"),
                new WKillsteal("W")
            });

            fleeParent.Add(new Base[]
            {
                new Flee("Flee")
            });

            drawingParent.Add(new Base[]
            {
                new GnarDamage("Damage Indicator"),
                new QRange("Q"),
                new WRange("W"),
                new ERange("E"),
                new RRange("R")
            });

            superParent.Add(new Base[]
            {
                // reformedUtilityParent,
                orbwalker,
                comboParent,
                harassParent,
                laneParent,
                jungleParent,
                killstealParent,
                new W(),
                new PermaActive.Antigapcloser.W(),
                fleeParent,
                drawingParent
            });

            superParent.Load();

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Chat.Print("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Gnar!</font></b>");
        }
コード例 #8
0
ファイル: AsheLoader.cs プロジェクト: Nechrito/Leaguesharp
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var orbwalkerModule = new OrbwalkerModule();
            orbwalkerModule.Load();

            var comboParent = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var laneParent = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var mixedParent = new OrbwalkingParent("Mixed", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var drawingParent = new Parent("Drawings");

            var utilityParent = new Parent("Reformed Utility");

            utilityParent.Add(new AsheSkinchanger());

            var setSpell = new SetSpells();
            setSpell.Load();

            comboParent.Add(new ChildBase[]
            {
                new QCombo(),
                new WCombo(),
                new ECombo(),
                new RCombo()
            });

            mixedParent.Add(new ChildBase[]
            {
                new QMixed(),
                new WMixed() 
            });

            jungleParent.Add(new ChildBase[]
            {
                new QJungle(),
                new WJungle()
            });

           laneParent.Add(new ChildBase[]
           {
               new QLane(),
               new WLane()  
           });

            drawingParent.Add(new ChildBase[]
            {
               new WDraw(),
               new DmgDraw() 
            });
           
            superParent.Add(new Base[] {
                utilityParent,
                orbwalkerModule,
                comboParent,
                mixedParent,
                laneParent,
                jungleParent,
                drawingParent
            });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Ashe!</font></b>");
        }
コード例 #9
0
ファイル: GnarLoader.cs プロジェクト: Nechrito/Leaguesharp
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var spells = new Spells(); // - RIP CLEAN CODE
            spells.Initialize();

            var orbwalker = new OrbwalkerModule();
            orbwalker.Load();

            var comboParent = new OrbwalkingParent("Combo", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent("Harass", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var laneParent = new OrbwalkingParent("Lane", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var killstealParent = new Parent("Killsteal");
            var fleeParent = new Parent("Flee");
            var drawingParent = new Parent("Drawing");

            var mustNotBeWindingUp = new PlayerMustNotBeWindingUp();
            var qReady = new SpellMustBeReady(SpellSlot.Q);
            var w2Ready = new SpellMustBeReady(SpellSlot.W);
            var eReady = new SpellMustBeReady(SpellSlot.E);
            var rReady = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new Base[]
            {
                new QCombo().Guardian(qReady).Guardian(mustNotBeWindingUp),
                new WCombo().Guardian(w2Ready).Guardian(mustNotBeWindingUp),
                new ECombo().Guardian(eReady).Guardian(mustNotBeWindingUp),
                new RCombo().Guardian(rReady)
            });

            harassParent.Add(new Base[]
            {
                new QHarass().Guardian(qReady).Guardian(mustNotBeWindingUp) 
            });

            laneParent.Add(new Base[]
            {
                new QLane().Guardian(qReady).Guardian(mustNotBeWindingUp),
                new W2Lane().Guardian(w2Ready)  
            });

            jungleParent.Add(new Base[]
            {
                new QJungle().Guardian(qReady).Guardian(mustNotBeWindingUp),
                new W2Jungle().Guardian(w2Ready).Guardian(mustNotBeWindingUp),
                new EJungle().Guardian(eReady).Guardian(mustNotBeWindingUp) 
            });

            killstealParent.Add(new Base[]
            {
               new QKillsteal("Q"),
               new WKillsteal("W")  
            });

            fleeParent.Add(new Base[]
            {
                new Flee("Flee")
            });

            drawingParent.Add(new Base[]
            {
                new GnarDamage("Damage Indicator"), 
                new QRange("Q"),
                new WRange("W"),
                new ERange("E"),
                new RRange("R")    
            });

            superParent.Add(new Base[]
            {
               // reformedUtilityParent,
                orbwalker,
                comboParent,
                harassParent,
                laneParent,
                jungleParent,
                killstealParent,
                new W(),
                new PermaActive.Antigapcloser.W(),  
                fleeParent,
                drawingParent
            });

            superParent.Load();

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Gnar!</font></b>");
        }
コード例 #10
0
ファイル: LeeSinLoader.cs プロジェクト: Dekryptor/Port-1
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Initialize();

            var qSpell = new QSpell();
            var wSpell = new WSpell();
            var eSpell = new ESpell();
            var rSpell = new RSpell();

            var spellParent = new SpellParent();

            spellParent.Add(new List <Base> {
                qSpell, wSpell, eSpell, rSpell
            });
            spellParent.Load();

            var orbwalkerModule = new OrbwalkerModule();

            orbwalkerModule.Load();

            var insecParent = new OrbwalkingParent(
                "INSEC",
                orbwalkerModule.OrbwalkerInstance,
                Orbwalking.OrbwalkingMode.Burst);

            var comboParent = new OrbwalkingParent(
                "Combo",
                orbwalkerModule.OrbwalkerInstance,
                Orbwalking.OrbwalkingMode.Combo);

            var harassParent = new OrbwalkingParent(
                "Harass",
                orbwalkerModule.OrbwalkerInstance,
                Orbwalking.OrbwalkingMode.Mixed);

            var laneParent = new OrbwalkingParent(
                "Lane",
                orbwalkerModule.OrbwalkerInstance,
                Orbwalking.OrbwalkingMode.LaneClear);

            var jungleParent = new OrbwalkingParent(
                "Jungle",
                orbwalkerModule.OrbwalkerInstance,
                Orbwalking.OrbwalkingMode.LaneClear);

            var fleeParent = new OrbwalkingParent(
                "Flee",
                orbwalkerModule.OrbwalkerInstance,
                Orbwalking.OrbwalkingMode.Flee);

            var killstealParnet = new Parent("Killsteal");
            var drawingParent   = new Parent("Drawings");

            var mustNotBeWindingUpGuardian = new PlayerMustNotBeWindingUp();
            var qReadyGuardian             = new SpellMustBeReady(SpellSlot.Q);
            var wReadyGuardian             = new SpellMustBeReady(SpellSlot.W);
            var eReadyGuardian             = new SpellMustBeReady(SpellSlot.E);
            var rReadyGuardian             = new SpellMustBeReady(SpellSlot.R);

            var leeSinStatistisks = new LeeSinStatistisks(qSpell, wSpell, eSpell, rSpell);

            insecParent.Add(new List <Base> {
                new RwInsec(wSpell, rSpell, qSpell).Guardian(mustNotBeWindingUpGuardian)
            });

            comboParent.Add(new List <Base> {
                new QCombo(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WCombo(wSpell, rSpell, leeSinStatistisks).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                new ECombo(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
                new RCombo(rSpell, leeSinStatistisks).Guardian(rReadyGuardian)
            });

            harassParent.Add(new List <Base> {
                new QHarass(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WHarass(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                new EHarass(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian)
            });
            laneParent.Add(new List <Base> {
                new QLane(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WLane(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                new ELane(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian)
            });

            jungleParent.Add(new List <Base> {
                new QJungle(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WJungle(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                new EJungle(eSpell, wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian)
            });

            fleeParent.Add(new List <Base>
            {
                new Flee(qSpell, wSpell).Guardian(qReadyGuardian),
            });

            killstealParnet.Add(new List <Base> {
                new QKillsteal(qSpell).Guardian(qReadyGuardian),
                new EKillsteal(eSpell).Guardian(eReadyGuardian),
                new RKillsteal(rSpell).Guardian(rReadyGuardian),
                new RQQKillsteal(qSpell, rSpell).Guardian(qReadyGuardian).Guardian(rReadyGuardian)
            });

            drawingParent.Add(new List <Base>
            {
                new DamageDrawing(leeSinStatistisks, qSpell),
                new InsecDrawing(wSpell, rSpell).Guardian(rReadyGuardian),
                new QDrawing(qSpell),
                new WDrawing(wSpell),
                new EDrawing(eSpell)
            });

            superParent.Add(new List <Base>
            {
                orbwalkerModule,
                insecParent,
                comboParent,
                harassParent,
                laneParent,
                jungleParent,
                new SmiteHandler(qSpell, wSpell),
                fleeParent,
                new Wardjump(wSpell).Guardian(wReadyGuardian),
                killstealParnet,
                drawingParent,
                new LeeSinAntiGapcloser(rSpell, wSpell),
                new LeeSinInterrupter(rSpell)
            });

            superParent.Load();

            insecParent.Menu.Style = FontStyle.Bold;
            insecParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Chat.Print("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Lee Sin!</font></b>");
        }
コード例 #11
0
ファイル: DianaLoader.cs プロジェクト: waldow90/PortAIO
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Initialize();

            var orbwalker = new Orbwalking.Orbwalker(superParent.Menu.SubMenu("Orbwalker"));

            // Parents
            var comboParent  = new OrbwalkingParent("Combo", orbwalker, Orbwalking.OrbwalkingMode.Combo);
            var misayaParent = new Parent("Misaya");
            var laneParent   = new OrbwalkingParent("Lane", orbwalker, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalker, Orbwalking.OrbwalkingMode.LaneClear);
            var mixedParent  = new OrbwalkingParent("Mixed", orbwalker, Orbwalking.OrbwalkingMode.Mixed);
            var ksParent     = new Parent("Killsteal");
            var drawParent   = new Parent("Drawings");
            var fleeParent   = new Parent("Flee");

            var utilityParent = new Parent("Reformed Utility");

            utilityParent.Add(new DianaSkinchanger());

            var qReady          = new SpellMustBeReady(SpellSlot.Q);
            var wReady          = new SpellMustBeReady(SpellSlot.W);
            var eReady          = new SpellMustBeReady(SpellSlot.E);
            var rReady          = new SpellMustBeReady(SpellSlot.R);
            var rMustNotBeReady = new SpellMustBeReady(SpellSlot.R)
            {
                Negated = true
            };

            comboParent.Add(new Base[]
            {
                new CrescentStrike().Guardian(qReady).Guardian(rMustNotBeReady),
                new LunarRush().Guardian(wReady),
                new Moonfall().Guardian(eReady),
                new PaleCascade().Guardian(rReady),
            });

            misayaParent.Add(new MisayaCombo());

            mixedParent.Add(new Base[]
            {
                new MixedCrescentStrike().Guardian(qReady)
            });

            laneParent.Add(new Base[]
            {
                new LaneCrescentStrike().Guardian(qReady),
                new LaneLunarRush().Guardian(wReady)
            });

            jungleParent.Add(new Base[]
            {
                new JungleCrescentStrike().Guardian(qReady),
                new JungleLunarRush().Guardian(wReady),
                new JungleMoonfall().Guardian(eReady),
                new JunglePaleCascade().Guardian(rReady)
            });

            ksParent.Add(new Base[]
            {
                new KsPaleCascade(),
                new KsCrescentStrike()
            });

            drawParent.Add(new Base[]
            {
                new DrawQ(),
                new DrawE(),
                new DrawDmg(),
                new DrawPred()
            });

            fleeParent.Add(new Base[]
            {
                new FleeMode()
            });

            superParent.Add(new Base[] {
                utilityParent,
                comboParent,
                misayaParent,
                mixedParent,
                laneParent,
                jungleParent,
                ksParent,
                drawParent,
                fleeParent
            });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Chat.Print("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Diana!</font></b>");
        }
コード例 #12
0
ファイル: YasuoLoader.cs プロジェクト: waldow90/PortAIO
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Initialize();

            var qSpell  = new Q1Spell();
            var q3Spell = new Q3Spell();
            var wSpell  = new WSpell();
            var eSpell  = new ESpell();
            var rSpell  = new RSpell();

            var spellParent = new SpellParent();

            spellParent.Add(new List <Base>
            {
                qSpell,
                q3Spell,
                wSpell,
                eSpell,
                rSpell
            });
            spellParent.Load();

            var orbwalkerModule = new OrbwalkerModule();

            orbwalkerModule.Load();

            var comboParent   = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent  = new OrbwalkingParent("Harass", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var laneParent    = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent  = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var lasthitParent = new OrbwalkingParent("Lasthit", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LastHit);

            var killstealParnet = new Parent("Killsteal");
            var drawingParent   = new Parent("Drawings");
            var utilityParent   = new Parent("Reformed Utility");

            utilityParent.Add(new YasuoSkinchanger());

            var yasuoDmg = new YasuoDamage(qSpell, eSpell, rSpell);

            var mustNotBeWindingUpGuardian = new PlayerMustNotBeWindingUp();
            var qReadyGuardian             = new SpellMustBeReady(SpellSlot.Q);
            var wReadyGuardian             = new SpellMustBeReady(SpellSlot.W);
            var eReadyGuardian             = new SpellMustBeReady(SpellSlot.E);
            var rReadyGuardian             = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new List <Base>()
            {
                new QCombo(qSpell, q3Spell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new ECombo(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
                new RCombo(rSpell, yasuoDmg).Guardian(mustNotBeWindingUpGuardian).Guardian(rReadyGuardian)
            });
            harassParent.Add(new List <Base>()
            {
                new QHarass(qSpell, q3Spell).Guardian(qReadyGuardian),
                new EHarass(eSpell).Guardian(eReadyGuardian),
            });
            laneParent.Add(new List <Base>()
            {
                new QLane(qSpell, q3Spell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new ELane(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
            });

            jungleParent.Add(new List <Base>()
            {
                new QJungle(qSpell, q3Spell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new EJungle(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
            });

            lasthitParent.Add(new List <Base>()
            {
                new QLasthit(qSpell, q3Spell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new ELasthit(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
            });

            killstealParnet.Add(new List <Base>
            {
                new QKillsteal(qSpell, q3Spell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new EKillsteal(eSpell).Guardian(rReadyGuardian)
            });

            drawingParent.Add(new List <Base>
            {
                new YasuoDamageDrawing(yasuoDmg),
                new QDrawing(qSpell, q3Spell),
                new EDrawing(eSpell)
            });

            superParent.Add(new List <Base>
            {
                utilityParent,
                orbwalkerModule,
                comboParent,
                harassParent,
                laneParent,
                jungleParent,
                lasthitParent,
                killstealParnet,
                new YasuoQStack(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new Flee(eSpell).Guardian(eReadyGuardian),
                drawingParent,
            });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Chat.Print("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Yasuo!</font></b>");
        }
コード例 #13
0
ファイル: LucianLoader.cs プロジェクト: Nechrito/Leaguesharp
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var qSpell = new QSpell();
           var q2Spell = new Q2Spell();
            var wSpell = new WSpell();
            var eSpell = new ESpell();
            var rSpell = new RSpell();

            var spellParent = new SpellParent();
            spellParent.Add(new List<Base>
                                  {
                                     qSpell,
                                     q2Spell,
                                     wSpell,
                                     eSpell,
                                     rSpell
                                  });
            spellParent.Load();

            var dmg = new LucDamage(eSpell, wSpell, qSpell, rSpell);

            var dashSmart = new DashSmart();

            var orbwalkerModule = new OrbwalkerModule();
            orbwalkerModule.Load();

            var comboParent  = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent("Harass", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var laneParent   = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);

            var killstealParnet = new Parent("Killsteal");
            var drawingParent = new Parent("Drawings");
            var reformedUtilityParent = new Parent("Reformed Utility");

            reformedUtilityParent.Add(new LucianSkinchanger());

           // var new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true } = new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true };
            var eMustNotBeReadyGuardian = new SpellMustBeReady(SpellSlot.E) { Negated = true };
            var wMustNotBeReadyGuardian = new SpellMustBeReady(SpellSlot.W) { Negated = true };
            var qMustNotBeReadyGuardian = new SpellMustBeReady(SpellSlot.Q) { Negated = true };
            var qReadyGuardian = new SpellMustBeReady(SpellSlot.Q);
            var wReadyGuardian = new SpellMustBeReady(SpellSlot.W);
            var eReadyGuardian = new SpellMustBeReady(SpellSlot.E);
            var rReadyGuardian = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new List<Base>
                                {
                                    new QCombo(qSpell, q2Spell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true })
                                    .Guardian(eMustNotBeReadyGuardian)
                                    .Guardian(qReadyGuardian),

                                    new WCombo(wSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true })
                                    .Guardian(qMustNotBeReadyGuardian)
                                    .Guardian(wReadyGuardian),

                                    new ECombo(eSpell, dmg, dashSmart).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true })
                                    .Guardian(eReadyGuardian),

                                    new RCombo(rSpell, dmg).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true })
                                    .Guardian(rReadyGuardian),
                                 });

            harassParent.Add(new List<Base>
                                 {
                                    new QHarass(qSpell, q2Spell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(qReadyGuardian),
                                    new WHarass(wSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(qMustNotBeReadyGuardian).Guardian(wReadyGuardian),
                                    new EHarass(eSpell, dmg, dashSmart).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true })
                                    .Guardian(eReadyGuardian),
                                 });

            laneParent.Add(new List<Base>
                               {
                                    new QLaneClear(qSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(qReadyGuardian).Guardian(eMustNotBeReadyGuardian),
                                    new WLaneClear(wSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(wReadyGuardian).Guardian(eMustNotBeReadyGuardian),
                                    new ELaneClear(eSpell, dashSmart).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(eReadyGuardian),
                               });

            jungleParent.Add(new List<Base>
                                 {
                                     new QJungleClear(qSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(eMustNotBeReadyGuardian),
                                     new WJungleClear(wSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(wReadyGuardian).Guardian(qMustNotBeReadyGuardian),
                                     new EJungleClear(eSpell).Guardian(eReadyGuardian)
                                 });

            killstealParnet.Add(new List<Base>
                                   {
                                      new Q(qSpell, q2Spell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(qReadyGuardian),
                                      new W(wSpell).Guardian(wReadyGuardian),
                                      new R(rSpell).Guardian(rReadyGuardian),
                                   });

            drawingParent.Add(new List<Base>
                                   {
                                        new DmgDraw(dmg),
                                        new QDraw(qSpell, q2Spell),
                                        new WDraw(wSpell),
                                        new RDraw(rSpell),
                                   });

            superParent.Add(new List<Base>
                                  {
                                     reformedUtilityParent,
                                     orbwalkerModule,
                                     comboParent,
                                     harassParent,
                                     laneParent,
                                     jungleParent,
                                     killstealParnet,
                                     drawingParent,
                                  });

            superParent.Load();

            reformedUtilityParent.Menu.Style = FontStyle.Bold;
            reformedUtilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;
        }
コード例 #14
0
ファイル: DianaLoader.cs プロジェクト: Nechrito/Leaguesharp
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var orbwalker = new Orbwalking.Orbwalker(superParent.Menu.SubMenu("Orbwalker"));

            // Parents
            var comboParent = new OrbwalkingParent("Combo", orbwalker, Orbwalking.OrbwalkingMode.Combo);
            var misayaParent = new Parent("Misaya");
            var laneParent = new OrbwalkingParent("Lane", orbwalker, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalker, Orbwalking.OrbwalkingMode.LaneClear);
            var mixedParent = new OrbwalkingParent("Mixed", orbwalker, Orbwalking.OrbwalkingMode.Mixed);
            var ksParent = new Parent("Killsteal");
            var drawParent = new Parent("Drawings");
            var fleeParent = new Parent("Flee");

            var utilityParent = new Parent("Reformed Utility");

            utilityParent.Add(new DianaSkinchanger());

            var qReady = new SpellMustBeReady(SpellSlot.Q);
            var wReady = new SpellMustBeReady(SpellSlot.W);
            var eReady = new SpellMustBeReady(SpellSlot.E);
            var rReady = new SpellMustBeReady(SpellSlot.R);
            var rMustNotBeReady = new SpellMustBeReady(SpellSlot.R) {Negated = true};

            comboParent.Add(new Base[]
            {
                new CrescentStrike().Guardian(qReady).Guardian(rMustNotBeReady), 
                new LunarRush().Guardian(wReady),
                new Moonfall().Guardian(eReady),
                new PaleCascade().Guardian(rReady), 
            });

            misayaParent.Add(new MisayaCombo());

            mixedParent.Add(new Base[]
            {
                new MixedCrescentStrike().Guardian(qReady)
            });
            
            laneParent.Add(new Base[]
            {
                new LaneCrescentStrike().Guardian(qReady), 
                new LaneLunarRush().Guardian(wReady) 
            });
            
            jungleParent.Add(new Base[]
            {
                new JungleCrescentStrike().Guardian(qReady), 
                new JungleLunarRush().Guardian(wReady), 
                new JungleMoonfall().Guardian(eReady), 
                new JunglePaleCascade().Guardian(rReady) 
            });
         
            ksParent.Add(new Base[]
            {
                new KsPaleCascade(), 
                new KsCrescentStrike() 
            });
            
            drawParent.Add(new Base[]
            {
                new DrawQ(), 
                new DrawE(), 
                new DrawDmg(), 
                new DrawPred() 
            });
            
            fleeParent.Add(new Base[]
            {
                new FleeMode() 
            });

            superParent.Add(new Base[] {
                utilityParent,
                comboParent,
                misayaParent,
                mixedParent,
                laneParent,
                jungleParent,
                ksParent,
                drawParent,
                fleeParent
            });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Diana!</font></b>");
        }
コード例 #15
0
ファイル: AnnieLoader.cs プロジェクト: waldow90/PortAIO
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Initialize();

            var qSpell = new QSpell();
            var wSpell = new WSpell();
            var eSpell = new ESpell();
            var rSpell = new RSpell();

            var spellParent = new SpellParent();

            spellParent.Add(new List <Base>
            {
                qSpell,
                wSpell,
                eSpell,
                rSpell
            });
            spellParent.Load();

            var orbwalkerModule = new OrbwalkerModule();

            orbwalkerModule.Load();

            var comboParent     = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent    = new OrbwalkingParent("Harass", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var laneParent      = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent    = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var lasthitParent   = new OrbwalkingParent("Lasthit", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LastHit);
            var killstealParnet = new Parent("Killsteal");
            var passiveParent   = new Parent("Passive");
            var drawingParent   = new Parent("Drawings");
            var utilityParent   = new Parent("Reformed Utility");

            utilityParent.Add(new AnnieSkinchanger());

            var annieDmg = new AnnieDamage(qSpell, wSpell, eSpell, rSpell);

            var tibbersAI = new TibbersAI.TibbersAI(orbwalkerModule.OrbwalkerInstance);

            tibbersAI.Load();
            tibbersAI.Switch.InternalEnable(null);

            var mustNotBeWindingUpGuardian = new PlayerMustNotBeWindingUp();
            var qReadyGuardian             = new SpellMustBeReady(SpellSlot.Q);
            var wReadyGuardian             = new SpellMustBeReady(SpellSlot.W);
            var eReadyGuardian             = new SpellMustBeReady(SpellSlot.E);
            var rReadyGuardian             = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new List <Base>()
            {
                new QCombo(qSpell, orbwalkerModule.OrbwalkerInstance).Guardian(qReadyGuardian),
                new WCombo(wSpell).Guardian(wReadyGuardian),
                new ECombo(eSpell).Guardian(eReadyGuardian),
                new RCombo(rSpell, annieDmg).Guardian(rReadyGuardian)
            });
            harassParent.Add(new List <Base>()
            {
                new QHarass(qSpell).Guardian(qReadyGuardian),
                new WHarass(wSpell).Guardian(wReadyGuardian),
                new EHarass(eSpell).Guardian(eReadyGuardian),
            });
            laneParent.Add(new List <Base>()
            {
                new QLane(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WLane(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
            });

            jungleParent.Add(new List <Base>()
            {
                new QJungle(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WJungle(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                new EJungle(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
            });
            lasthitParent.Add(new List <Base>()
            {
                new QLasthit(qSpell)
            });

            killstealParnet.Add(new List <Base>
            {
                new QKillsteal(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WKillsteal(wSpell).Guardian(wReadyGuardian),
                new RKillsteal(rSpell).Guardian(rReadyGuardian)
            });

            passiveParent.Add(new PassiveStack(eSpell, wSpell));

            drawingParent.Add(new List <Base>
            {
                new AnnieDamageDraw(annieDmg),
                new PassiveDraw(),
                new QDraw(qSpell),
                new WDraw(wSpell),
                new RDraw(rSpell)
            });

            superParent.Add(new List <Base>
            {
                utilityParent,
                orbwalkerModule,
                comboParent,
                harassParent,
                laneParent,
                jungleParent,
                lasthitParent,
                killstealParnet,
                drawingParent,
            });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Chat.Print("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Annie!</font></b>");
        }
コード例 #16
0
ファイル: EzrealLoader.cs プロジェクト: Nechrito/Leaguesharp
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var qSpell = new QSpell();
            var wSpell = new WSpell();
            var eSpell = new ESpell();
            var rSpell = new RSpell();

            var spellParent = new SpellParent();
            spellParent.Add(new List<Base>
                                  {
                                     qSpell,
                                     wSpell,
                                     eSpell,
                                     rSpell
                                  });
            spellParent.Load();

            var orbwalkerModule = new OrbwalkerModule();
            orbwalkerModule.Load();

            var comboParent = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent("Harass", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var laneParent = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
           //var miscParent = new Parent("Misc");
            var killstealParnet = new Parent("Killsteal");
            var drawingParent = new Parent("Drawings");
            var utilityParent = new Parent("Reformed Utility");

            utilityParent.Add(new EzrealSkinchanger());

            var dmg = new EzrealDamage(eSpell, wSpell, qSpell, rSpell);
            var dashSmart = new DashSmart();

            var mustNotBeWindingUpGuardian = new PlayerMustNotBeWindingUp();
            var qReadyGuardian = new SpellMustBeReady(SpellSlot.Q);
            var wReadyGuardian = new SpellMustBeReady(SpellSlot.W);
            var eReadyGuardian = new SpellMustBeReady(SpellSlot.E);
            var rReadyGuardian = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new List<Base>()
                                {
                                    new QCombo(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                    new WCombo(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                                    new ECombo(eSpell, dashSmart).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
                                    new RCombo(rSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(rReadyGuardian)
                                });
            harassParent.Add(new List<Base>()
                                 {
                                     new QHarass(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                     new WHarass(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                                 });
            laneParent.Add(new List<Base>()
                               {
                                   new QLane(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                   new WLane(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                               });

            jungleParent.Add(new List<Base>()
                                 {
                                     new QJungle(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                     new WJungle(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                                 });

            killstealParnet.Add(new List<Base>
                                    {
                                        new QKillsteal(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                        new WKillsteal(wSpell).Guardian(wReadyGuardian).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                                      //  new RKillsteal(rSpell).Guardian(rReadyGuardian),
                                    });

            drawingParent.Add(new List<Base>
                                  {
                                    new DmgDraw(dmg),
                                    new QDraw(qSpell),
                                    new WDraw(wSpell)
                                  });

            superParent.Add(new List<Base>
                                  {
                                     utilityParent,
                                     orbwalkerModule,
                                     comboParent,
                                     harassParent,
                                     laneParent,
                                     jungleParent,
                                     new StackTear(qSpell, wSpell).Guardian(new PlayerMustNotBeWindingUp()),
                                     killstealParnet,
                                     drawingParent,
                                  });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Ezreal!</font></b>");
        }
コード例 #17
0
ファイル: GragasLoader.cs プロジェクト: waldow90/PortAIO
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Initialize();

            var orbwalker = new OrbwalkerModule();

            orbwalker.Load();

            var comboParent  = new OrbwalkingParent("Combo", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var laneParent   = new OrbwalkingParent("Lane", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var mixedParent  = new OrbwalkingParent("Mixed", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var draw         = new Parent("Drawings");

            var reformedUtilityParent = new Parent("Reformed Utility");

            reformedUtilityParent.Add(new GragasSkinchanger());

            var qLogic = new QLogic();

            qLogic.Load();

            var qReady = new SpellMustBeReady(SpellSlot.Q);
            var wReady = new SpellMustBeReady(SpellSlot.W);
            var eReady = new SpellMustBeReady(SpellSlot.E);
            var rReady = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new ChildBase[]
            {
                new QCombo().Guardian(qReady).Guardian(new SpellMustBeReady(SpellSlot.R)
                {
                    Negated = true
                }),
                new WCombo().Guardian(wReady),
                new ECombo().Guardian(eReady),
                new RCombo().Guardian(rReady)
            });

            laneParent.Add(new ChildBase[]
            {
                new LaneQ().Guardian(qReady),
                new LaneW().Guardian(wReady),
                new LaneE().Guardian(eReady)
            });

            mixedParent.Add(new ChildBase[]
            {
                new QMixed().Guardian(qReady)
            });

            jungleParent.Add(new ChildBase[]
            {
                new QJungle().Guardian(qReady),
                new WJungle().Guardian(wReady),
                new EJungle().Guardian(eReady)
            });

            draw.Add(new ChildBase[]
            {
                new DrawIndicator(),
                new DrawQ(),
                new DrawE(),
                new DrawR()
            });

            superParent.Add(new Base[]
            {
                reformedUtilityParent,
                orbwalker,
                comboParent,
                mixedParent,
                laneParent,
                jungleParent,
                draw
            });

            Prediction.Initialize(superParent.Menu);

            superParent.Load();

            reformedUtilityParent.Menu.Style = FontStyle.Bold;
            reformedUtilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Chat.Print("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Gragas!</font></b>");
        }
コード例 #18
0
ファイル: YasuoLoader.cs プロジェクト: Nechrito/Leaguesharp
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var qSpell = new Q1Spell();
            var q3Spell = new Q3Spell();
            var wSpell = new WSpell();
            var eSpell = new ESpell();
            var rSpell = new RSpell();

            var spellParent = new SpellParent();
            spellParent.Add(new List<Base>
                                  {
                                     qSpell,
                                     q3Spell,
                                     wSpell,
                                     eSpell,
                                     rSpell
                                  });
            spellParent.Load();

            var orbwalkerModule = new OrbwalkerModule();
            orbwalkerModule.Load();

            var comboParent = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent("Harass", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var laneParent = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var lasthitParent = new OrbwalkingParent("Lasthit", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LastHit);

            var killstealParnet = new Parent("Killsteal");
            var drawingParent = new Parent("Drawings");
            var utilityParent = new Parent("Reformed Utility");

            utilityParent.Add(new YasuoSkinchanger());

            var yasuoDmg = new YasuoDamage(qSpell, eSpell, rSpell);

            var mustNotBeWindingUpGuardian = new PlayerMustNotBeWindingUp();
            var qReadyGuardian = new SpellMustBeReady(SpellSlot.Q);
            var wReadyGuardian = new SpellMustBeReady(SpellSlot.W);
            var eReadyGuardian = new SpellMustBeReady(SpellSlot.E);
            var rReadyGuardian = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new List<Base>()
                                {
                                    new QCombo(qSpell, q3Spell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                    new ECombo(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
                                    new RCombo(rSpell, yasuoDmg).Guardian(mustNotBeWindingUpGuardian).Guardian(rReadyGuardian)
                                });
            harassParent.Add(new List<Base>()
                                 {
                                     new QHarass(qSpell, q3Spell).Guardian(qReadyGuardian),
                                     new EHarass(eSpell).Guardian(eReadyGuardian),
                                 });
            laneParent.Add(new List<Base>()
                               {
                                   new QLane(qSpell, q3Spell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                   new ELane(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                               });

            jungleParent.Add(new List<Base>()
                                 {
                                     new QJungle(qSpell, q3Spell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                     new EJungle(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
                                 });

            lasthitParent.Add(new List<Base>()
                                  {
                                      new QLasthit(qSpell, q3Spell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                      new ELasthit(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
                                  });

            killstealParnet.Add(new List<Base>
                                    {
                                        new QKillsteal(qSpell, q3Spell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                        new EKillsteal(eSpell).Guardian(rReadyGuardian)
                                    });

            drawingParent.Add(new List<Base>
                                  {
                                    new YasuoDamageDrawing(yasuoDmg),
                                    new QDrawing(qSpell, q3Spell),
                                    new EDrawing(eSpell)
                                  });

            superParent.Add(new List<Base>
                                  {
                                     utilityParent,
                                     orbwalkerModule,
                                     comboParent,
                                     harassParent,
                                     laneParent,
                                     jungleParent,
                                     lasthitParent,
                                     killstealParnet,
                                     new YasuoQStack(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                     new Flee(eSpell).Guardian(eReadyGuardian),
                                     drawingParent,
                                  });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Yasuo!</font></b>");
        }
コード例 #19
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Initialize();

            var qSpell  = new QSpell();
            var q2Spell = new Q2Spell();
            var wSpell  = new WSpell();
            var eSpell  = new ESpell();
            var rSpell  = new RSpell();

            var spellParent = new SpellParent();

            spellParent.Add(new List <Base>
            {
                qSpell,
                q2Spell,
                wSpell,
                eSpell,
                rSpell
            });
            spellParent.Load();

            var dmg = new LucDamage(eSpell, wSpell, qSpell, rSpell);

            var dashSmart = new DashSmart();

            var orbwalkerModule = new OrbwalkerModule();

            orbwalkerModule.Load();

            var comboParent  = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent("Harass", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var laneParent   = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);

            var killstealParnet       = new Parent("Killsteal");
            var drawingParent         = new Parent("Drawings");
            var reformedUtilityParent = new Parent("Reformed Utility");

            reformedUtilityParent.Add(new LucianSkinchanger());

            var eMustNotBeReadyGuardian = new SpellMustBeReady(SpellSlot.E)
            {
                Negated = true
            };
            var wMustNotBeReadyGuardian = new SpellMustBeReady(SpellSlot.W)
            {
                Negated = true
            };
            var qMustNotBeReadyGuardian = new SpellMustBeReady(SpellSlot.Q)
            {
                Negated = true
            };
            var qReadyGuardian = new SpellMustBeReady(SpellSlot.Q);
            var wReadyGuardian = new SpellMustBeReady(SpellSlot.W);
            var eReadyGuardian = new SpellMustBeReady(SpellSlot.E);
            var rReadyGuardian = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new List <Base>
            {
                new QCombo(qSpell, q2Spell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff")
                {
                    Negated = true
                })
                .Guardian(eMustNotBeReadyGuardian)
                .Guardian(qReadyGuardian),

                new WCombo(wSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff")
                {
                    Negated = true
                })
                .Guardian(qMustNotBeReadyGuardian)
                .Guardian(wReadyGuardian),

                new ECombo(eSpell, dmg, dashSmart).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff")
                {
                    Negated = true
                })
                .Guardian(eReadyGuardian),

                new RCombo(rSpell, dmg).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff")
                {
                    Negated = true
                })
                .Guardian(rReadyGuardian),
            });

            harassParent.Add(new List <Base>
            {
                new QHarass(qSpell, q2Spell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff")
                {
                    Negated = true
                }).Guardian(qReadyGuardian),
                new WHarass(wSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff")
                {
                    Negated = true
                }).Guardian(qMustNotBeReadyGuardian).Guardian(wReadyGuardian),
                new EHarass(eSpell, dmg, dashSmart).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff")
                {
                    Negated = true
                })
                .Guardian(eReadyGuardian),
            });

            laneParent.Add(new List <Base>
            {
                new QLaneClear(qSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff")
                {
                    Negated = true
                }).Guardian(qReadyGuardian).Guardian(eMustNotBeReadyGuardian),
                new WLaneClear(wSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff")
                {
                    Negated = true
                }).Guardian(wReadyGuardian).Guardian(qMustNotBeReadyGuardian),
                new ELaneClear(eSpell, dashSmart).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff")
                {
                    Negated = true
                }).Guardian(eReadyGuardian),
            });

            jungleParent.Add(new List <Base>
            {
                new QJungleClear(qSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff")
                {
                    Negated = true
                }).Guardian(eMustNotBeReadyGuardian),
                new WJungleClear(wSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff")
                {
                    Negated = true
                }).Guardian(wReadyGuardian).Guardian(qMustNotBeReadyGuardian),
                new EJungleClear(eSpell).Guardian(eReadyGuardian)
            });

            killstealParnet.Add(new List <Base>
            {
                new Q(qSpell, q2Spell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff")
                {
                    Negated = true
                }).Guardian(qReadyGuardian),
                new W(wSpell).Guardian(wReadyGuardian),
                new R(rSpell).Guardian(rReadyGuardian),
            });

            drawingParent.Add(new List <Base>
            {
                new DmgDraw(dmg),
                new QDraw(qSpell, q2Spell),
                new WDraw(wSpell),
                new RDraw(rSpell),
            });

            superParent.Add(new List <Base>
            {
                reformedUtilityParent,
                orbwalkerModule,
                comboParent,
                harassParent,
                laneParent,
                jungleParent,
                killstealParnet,
                drawingParent,
            });

            superParent.Load();

            reformedUtilityParent.Menu.Style = FontStyle.Bold;
            reformedUtilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Chat.Print("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Lucian!</font></b>");
        }
コード例 #20
0
ファイル: AnnieLoader.cs プロジェクト: Nechrito/Leaguesharp
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var qSpell = new QSpell();
            var wSpell = new WSpell();
            var eSpell = new ESpell();
            var rSpell = new RSpell();

            var spellParent = new SpellParent();
            spellParent.Add(new List<Base>
                                  {
                                     qSpell,
                                     wSpell,
                                     eSpell,
                                     rSpell
                                  });
            spellParent.Load();

            var orbwalkerModule = new OrbwalkerModule();
            orbwalkerModule.Load();

            var comboParent = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent("Harass", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var laneParent = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var lasthitParent = new OrbwalkingParent("Lasthit", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LastHit);
            var killstealParnet = new Parent("Killsteal");
            var passiveParent = new Parent("Passive");
            var drawingParent = new Parent("Drawings");
            var utilityParent = new Parent("Reformed Utility");

            utilityParent.Add(new AnnieSkinchanger());

            var annieDmg = new AnnieDamage(qSpell, wSpell, eSpell, rSpell);

            var tibbersAI = new TibbersAI.TibbersAI(orbwalkerModule.OrbwalkerInstance);
            tibbersAI.Load();
            tibbersAI.Switch.InternalEnable(null);

            var mustNotBeWindingUpGuardian = new PlayerMustNotBeWindingUp();
            var qReadyGuardian = new SpellMustBeReady(SpellSlot.Q);
            var wReadyGuardian = new SpellMustBeReady(SpellSlot.W);
            var eReadyGuardian = new SpellMustBeReady(SpellSlot.E);
            var rReadyGuardian = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new List<Base>()
                                {
                                    new QCombo(qSpell, orbwalkerModule.OrbwalkerInstance).Guardian(qReadyGuardian),
                                    new WCombo(wSpell).Guardian(wReadyGuardian),
                                    new ECombo(eSpell).Guardian(eReadyGuardian),
                                    new RCombo(rSpell, annieDmg).Guardian(rReadyGuardian)
                                });
            harassParent.Add(new List<Base>()
                                 {
                                     new QHarass(qSpell).Guardian(qReadyGuardian),
                                     new WHarass(wSpell).Guardian(wReadyGuardian),
                                     new EHarass(eSpell).Guardian(eReadyGuardian),
                                 });
            laneParent.Add(new List<Base>()
                               {
                                   new QLane(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                   new WLane(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                               });

            jungleParent.Add(new List<Base>()
                                 {
                                     new QJungle(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                     new WJungle(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                                     new EJungle(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
                                 });
            lasthitParent.Add(new List<Base>()
                                  {
                                      new QLasthit(qSpell)
                                  });

            killstealParnet.Add(new List<Base>
                                    {
                                        new QKillsteal(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                        new WKillsteal(wSpell).Guardian(wReadyGuardian),
                                        new RKillsteal(rSpell).Guardian(rReadyGuardian)
                                    });

            passiveParent.Add(new PassiveStack(eSpell, wSpell));

            drawingParent.Add(new List<Base>
                                  {
                                    new AnnieDamageDraw(annieDmg),
                                    new PassiveDraw(),
                                    new QDraw(qSpell),
                                    new WDraw(wSpell),
                                    new RDraw(rSpell)
                                  });

            superParent.Add(new List<Base>
                                  {
                                     utilityParent,
                                     orbwalkerModule,
                                     comboParent,
                                     harassParent,
                                     laneParent,
                                     jungleParent,
                                     lasthitParent,
                                     killstealParnet,
                                     drawingParent,
                                  });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Annie!</font></b>");
        }
コード例 #21
0
        /// <summary>
        ///     Loads this instance.
        /// </summary>
        public override void Load()
        {
            var superParent = new SuperParent(this.DisplayName);

            var orbwalkerModule = new OrbwalkerModule();

            orbwalkerModule.Load();

            var graphGeneratorModule = new GraphGeneratorModule(null);

            var pathfinderModule = new PathfinderModule();

            var damageCalculator = new DamageCalculatorParent();

            //var ireliaP = new IreliaP();
            var ireliaQ = new IreliaQ(graphGeneratorModule, pathfinderModule);

            graphGeneratorModule.IreliaQ = ireliaQ;
            var ireliaW = new IreliaW();
            var ireliaE = new IreliaE();
            var ireliaR = new IreliaR();

            var aa = new AutoAttacks();

            damageCalculator.Add(aa);
            damageCalculator.Add(ireliaQ);
            damageCalculator.Add(ireliaW);
            damageCalculator.Add(ireliaE);
            damageCalculator.Add(ireliaR);

            graphGeneratorModule.IreliaQ = ireliaQ;

            var spellInterrupterModule =
                new SpellInterrupterModule(new SpellInterrupter(ireliaE.Spell, sender => ireliaE.CanStun(sender)));

            var dashToMouseModule = new PathfindToMouseModule(ireliaQ);

            var spellParent = new SpellParent.SpellParent();

            spellParent.Add(new List <Base> {
                ireliaQ, ireliaW, ireliaE, ireliaR,
            });
            spellParent.Load();

            var comboParent = new OrbwalkingParent(
                "Combo",
                orbwalkerModule.OrbwalkerInstance,
                Orbwalking.OrbwalkingMode.Combo);

            var laneClearParent = new OrbwalkingParent(
                "LaneClear",
                orbwalkerModule.OrbwalkerInstance,
                Orbwalking.OrbwalkingMode.LaneClear);

            var lastHitParent = new OrbwalkingParent(
                "LastHit",
                orbwalkerModule.OrbwalkerInstance,
                Orbwalking.OrbwalkingMode.LastHit,
                Orbwalking.OrbwalkingMode.Mixed,
                Orbwalking.OrbwalkingMode.LaneClear);

            var mixedParent = new OrbwalkingParent(
                "Mixed",
                orbwalkerModule.OrbwalkerInstance,
                Orbwalking.OrbwalkingMode.Mixed);

            var drawingParent = new Parent("Drawings");

            comboParent.Add(
                new List <Base>
            {
                new Q(ireliaQ, damageCalculator).Guardian(new SpellMustBeReady(SpellSlot.Q)),
                new W(ireliaW, ireliaQ).Guardian(new SpellMustBeReady(SpellSlot.W)),
                new E(ireliaE).Guardian(new SpellMustBeReady(SpellSlot.E)).Guardian(new PlayerMustNotBeWindingUp()),
                new R(ireliaR, ireliaQ, damageCalculator).Guardian(new SpellMustBeReady(SpellSlot.R))
                .Guardian(new PlayerMustNotBeWindingUp())
            });

            laneClearParent.Add(
                new List <Base>
            {
                new LaneClear.W(ireliaW).Guardian(new SpellMustBeReady(SpellSlot.W)),
                new LaneClear.E(ireliaE).Guardian(new SpellMustBeReady(SpellSlot.E))
                .Guardian(new PlayerMustNotBeWindingUp())
            });

            lastHitParent.Add(
                new List <Base>
            {
                new LastHit.Q(ireliaQ).Guardian(new SpellMustBeReady(SpellSlot.Q)),
                new LastHit.E(ireliaE).Guardian(new SpellMustBeReady(SpellSlot.E))
                .Guardian(new PlayerMustNotBeWindingUp())
            });

            mixedParent.Add(
                new List <Base>
            {
                new Q(ireliaQ, damageCalculator).Guardian(new SpellMustBeReady(SpellSlot.Q)),
                new W(ireliaW, ireliaQ).Guardian(new SpellMustBeReady(SpellSlot.W)),
                new Mixed.E(ireliaE).Guardian(new SpellMustBeReady(SpellSlot.E))
                .Guardian(new PlayerMustNotBeWindingUp())
            });

            var module = new DamageDrawingParent("Damage Drawings");

            const byte defaultAlpha = 50 * 255 / 100;

            module.Add(
                new List <IDamageDrawing>
            {
                new DamageDrawingChild("Auto-Attacks", aa.GetDamage)
                {
                    Color = new Color(40, 175, 175)
                    {
                        A = defaultAlpha
                    },
                },
                new DamageDrawingChild("Q", ireliaQ.GetDamage)
                {
                    Color = new Color(25, 100, 125)
                    {
                        A = defaultAlpha
                    }
                },
                new DamageDrawingChild("W", ireliaW.GetDamage)
                {
                    Color = new Color(40, 175, 175)
                    {
                        A = defaultAlpha
                    }
                },
                new DamageDrawingChild("E", ireliaE.GetDamage)
                {
                    Color = new Color(255, 210, 95)
                    {
                        A = defaultAlpha
                    }
                },
                new DamageDrawingChild("R", ireliaR.GetDamage)
                {
                    Color = new Color(240, 150, 75)
                    {
                        A = defaultAlpha
                    }
                }
            });

            var spellRangeParent = new Parent("Ranges");

            spellRangeParent.Add(
                new List <Base>
            {
                new RangeDrawingChild(ireliaQ.Spell, "Q"),
                new RangeDrawingChild(ireliaE.Spell, "E"),
                new RangeDrawingChild(ireliaR.Spell, "R", true),
            });

            drawingParent.Add(new List <Base> {
                spellRangeParent, module
            });

            superParent.Add(
                new List <Base>
            {
                orbwalkerModule,
                spellParent,
                damageCalculator,
                pathfinderModule,
                graphGeneratorModule,
                comboParent,
                laneClearParent,
                lastHitParent,
                mixedParent,
                dashToMouseModule,
                spellInterrupterModule,
                drawingParent
            });

            superParent.Load();

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Firebrick;
        }
コード例 #22
0
ファイル: GragasLoader.cs プロジェクト: Nechrito/Leaguesharp
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var orbwalker = new OrbwalkerModule();
            orbwalker.Load();

            var comboParent = new OrbwalkingParent("Combo", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var laneParent = new OrbwalkingParent("Lane", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var mixedParent = new OrbwalkingParent("Mixed", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var draw = new Parent("Drawings");

            var reformedUtilityParent = new Parent("Reformed Utility");

            reformedUtilityParent.Add(new GragasSkinchanger());

            var qLogic = new QLogic();
            qLogic.Load();

            var qReady = new SpellMustBeReady(SpellSlot.Q);
            var wReady = new SpellMustBeReady(SpellSlot.W);
            var eReady = new SpellMustBeReady(SpellSlot.E);
            var rReady = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new ChildBase[]
            {
                new QCombo().Guardian(qReady).Guardian(new SpellMustBeReady(SpellSlot.R) { Negated = true }), 
                new WCombo().Guardian(wReady), 
                new ECombo().Guardian(eReady), 
                new RCombo().Guardian(rReady)
            });
           
            laneParent.Add(new ChildBase[]
            {
                new LaneQ().Guardian(qReady), 
                new LaneW().Guardian(wReady), 
                new LaneE().Guardian(eReady) 
            });
          
            mixedParent.Add(new ChildBase[]
            {
                new QMixed().Guardian(qReady)
            });
           
            jungleParent.Add(new ChildBase[]
            {
                new QJungle().Guardian(qReady), 
                new WJungle().Guardian(wReady), 
                new EJungle().Guardian(eReady)
            });
            
            draw.Add(new ChildBase[]
            {
                new DrawIndicator(), 
                new DrawQ(), 
                new DrawE(), 
                new DrawR()
            });
          
            superParent.Add(new Base[]
            {
                reformedUtilityParent,
                orbwalker,
                comboParent,
                mixedParent,
                laneParent,
                jungleParent,
                draw
            });

            Prediction.Initialize(superParent.Menu);

            superParent.Load();

            reformedUtilityParent.Menu.Style = FontStyle.Bold;
            reformedUtilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Gragas!</font></b>");
        }
コード例 #23
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Initialize();

            var qSpell = new QSpell();
            var wSpell = new WSpell();
            var eSpell = new ESpell();
            var rSpell = new RSpell();

            var spellParent = new SpellParent();

            spellParent.Add(new List <Base>
            {
                qSpell,
                wSpell,
                eSpell,
                rSpell
            });
            spellParent.Load();

            var orbwalkerModule = new OrbwalkerModule();

            orbwalkerModule.Load();

            var comboParent  = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent("Harass", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var laneParent   = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            //var miscParent = new Parent("Misc");
            var killstealParnet = new Parent("Killsteal");
            var drawingParent   = new Parent("Drawings");
            var utilityParent   = new Parent("Reformed Utility");

            utilityParent.Add(new EzrealSkinchanger());

            var dmg       = new EzrealDamage(eSpell, wSpell, qSpell, rSpell);
            var dashSmart = new DashSmart();

            var mustNotBeWindingUpGuardian = new PlayerMustNotBeWindingUp();
            var qReadyGuardian             = new SpellMustBeReady(SpellSlot.Q);
            var wReadyGuardian             = new SpellMustBeReady(SpellSlot.W);
            var eReadyGuardian             = new SpellMustBeReady(SpellSlot.E);
            var rReadyGuardian             = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new List <Base>()
            {
                new QCombo(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WCombo(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                new ECombo(eSpell, dashSmart).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
                new RCombo(rSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(rReadyGuardian)
            });
            harassParent.Add(new List <Base>()
            {
                new QHarass(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WHarass(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
            });
            laneParent.Add(new List <Base>()
            {
                new QLane(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WLane(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
            });

            jungleParent.Add(new List <Base>()
            {
                new QJungle(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WJungle(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
            });

            killstealParnet.Add(new List <Base>
            {
                new QKillsteal(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WKillsteal(wSpell).Guardian(wReadyGuardian).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                //  new RKillsteal(rSpell).Guardian(rReadyGuardian),
            });

            drawingParent.Add(new List <Base>
            {
                new DmgDraw(dmg),
                new QDraw(qSpell),
                new WDraw(wSpell)
            });

            superParent.Add(new List <Base>
            {
                utilityParent,
                orbwalkerModule,
                comboParent,
                harassParent,
                laneParent,
                jungleParent,
                new StackTear(qSpell, wSpell).Guardian(new PlayerMustNotBeWindingUp()),
                killstealParnet,
                new EzrealAntiGapcloser(eSpell),
                drawingParent,
            });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Chat.Print("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Ezreal!</font></b>");
        }
コード例 #24
0
ファイル: AsheLoader.cs プロジェクト: Dekryptor/Port-1
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Initialize();

            var orbwalkerModule = new OrbwalkerModule();

            orbwalkerModule.Load();

            var comboParent   = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var laneParent    = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent  = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var mixedParent   = new OrbwalkingParent("Mixed", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var drawingParent = new Parent("Drawings");

            var utilityParent = new Parent("Reformed Utility");

            utilityParent.Add(new AsheSkinchanger());

            var setSpell = new SetSpells();

            setSpell.Load();

            comboParent.Add(new ChildBase[]
            {
                new QCombo(),
                new WCombo(),
                new ECombo(),
                new RCombo()
            });

            mixedParent.Add(new ChildBase[]
            {
                new QMixed(),
                new WMixed()
            });

            jungleParent.Add(new ChildBase[]
            {
                new QJungle(),
                new WJungle()
            });

            laneParent.Add(new ChildBase[]
            {
                new QLane(),
                new WLane()
            });

            drawingParent.Add(new ChildBase[]
            {
                new WDraw(),
                new DmgDraw()
            });

            superParent.Add(new Base[] {
                utilityParent,
                orbwalkerModule,
                comboParent,
                mixedParent,
                laneParent,
                jungleParent,
                drawingParent
            });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Chat.Print("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Ashe!</font></b>");
        }
コード例 #25
0
ファイル: GragasLoader.cs プロジェクト: Dekryptor/Port-1
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Initialize();

            var qSpell = new QSpell();
            var wSpell = new WSpell();
            var eSpell = new ESpell();
            var rSpell = new RSpell();

            var spellParent = new SpellParent();

            spellParent.Add(new List <Base> {
                qSpell, wSpell, eSpell, rSpell
            });
            spellParent.Load();

            var orbwalkerModule = new OrbwalkerModule();

            orbwalkerModule.Load();

            var comboParent = new OrbwalkingParent(
                "Combo",
                orbwalkerModule.OrbwalkerInstance,
                Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent(
                "Harass",
                orbwalkerModule.OrbwalkerInstance,
                Orbwalking.OrbwalkingMode.Mixed);
            var laneParent = new OrbwalkingParent(
                "Lane",
                orbwalkerModule.OrbwalkerInstance,
                Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent(
                "Jungle",
                orbwalkerModule.OrbwalkerInstance,
                Orbwalking.OrbwalkingMode.LaneClear);

            var killstealParnet = new Parent("Killsteal");
            var drawingParent   = new Parent("Drawings");

            var mustNotBeWindingUpGuardian = new PlayerMustNotBeWindingUp();
            var qReadyGuardian             = new SpellMustBeReady(SpellSlot.Q);
            var wReadyGuardian             = new SpellMustBeReady(SpellSlot.W);
            var eReadyGuardian             = new SpellMustBeReady(SpellSlot.E);
            var rReadyGuardian             = new SpellMustBeReady(SpellSlot.R);

            var GragasDmg = new GragasDamage(qSpell, wSpell, eSpell, rSpell);

            comboParent.Add(new List <Base>()
            {
                new WCombo(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                new ECombo(eSpell, GragasDmg).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
                new RQCombo(qSpell, rSpell)
            });

            harassParent.Add(new List <Base>()
            {
                new QHarass(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WHarass(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                new EHarass(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian)
            });
            laneParent.Add(new List <Base>()
            {
                new QLane(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WLane(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                new ELane(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian)
            });

            jungleParent.Add(new List <Base>()
            {
                new QJungle(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WJungle(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                new EJungle(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian)
            });

            killstealParnet.Add(new List <Base>()
            {
                new QKillsteal(qSpell).Guardian(qReadyGuardian),
                new EKillsteal(eSpell).Guardian(eReadyGuardian),
            });

            drawingParent.Add(new List <Base>
            {
                new DamageDrawing(GragasDmg),
                new InsecDrawing(qSpell, rSpell),
                new QDrawing(qSpell),
                new WDrawing(wSpell),
                new EDrawing(eSpell),
                new RDrawing(rSpell)
            });

            superParent.Add(new List <Base>
            {
                orbwalkerModule,
                comboParent,
                harassParent,
                laneParent,
                jungleParent,
                killstealParnet,
                drawingParent,
                new GragasAntiGapcloser(eSpell),
                new GragasInterrupter(rSpell)
            });

            superParent.Load();

            orbwalkerModule.Menu.Style = FontStyle.Bold;
            orbwalkerModule.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Chat.Print("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Gragas!</font></b>");
        }
コード例 #26
0
ファイル: CaitlynLoader.cs プロジェクト: Nechrito/Leaguesharp
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var qSpell = new QSpell();
            var wSpell = new WSpell();
            var eSpell = new ESpell();
            var rSpell = new RSpell();

            var spellParent = new SpellParent();
            spellParent.Add(new List<Base>
                                  {
                                     qSpell,
                                     wSpell,
                                     eSpell,
                                     rSpell
                                  });
            spellParent.Load();

            var orbwalkerModule = new OrbwalkerModule();
            orbwalkerModule.Load();

            var comboParent = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent("Harass", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var laneParent = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);

            var killstealParent = new Parent("Killsteal");
            var drawParent = new Parent("Drawings");

            var utilityParent = new Parent("Reformed Utility");

            utilityParent.Add(new CaitlynSkinchanger());

            var logic = new ComboLogic(eSpell, wSpell, qSpell, rSpell);

            comboParent.Add(new List<Base>()
            {
                new QCombo(qSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.Q)),
                new WCombo(wSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.W)),
                new ECombo(eSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.E))
            });

            harassParent.Add(new List<Base>()
            {
                new QHarass(qSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.Q)),
                new WHarass(wSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.W)),
                new EHarass(eSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.E))
            });

            laneParent.Add(new List<Base>
            {
                new QLane(qSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.Q))
            });

            jungleParent.Add(new List<Base>
            {
                new QJungle(qSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.Q)).Guardian(new SpellMustBeReady(SpellSlot.E) {Negated = true}),
                new EJungle(eSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.E))
            });

            killstealParent.Add(new List<Base>
            {
                new QKillsteal(qSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.Q)),
                new RKillsteal(rSpell).Guardian(new SpellMustBeReady(SpellSlot.R))
            });

            drawParent.Add(new List<Base>
            {
                new DmgDraw(logic),
                new QDraw(qSpell),
                new RDraw(rSpell)
            });

            superParent.Add(new List<Base> {
                utilityParent,
                orbwalkerModule,
                comboParent,
                harassParent,
                laneParent,
                jungleParent,
                killstealParent,
                drawParent
           });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Caitlyn!</font></b>");
        }