Exemple #1
0
 public WCombo(WSpell spell, ESpell eSpell, QSpell qSpell, ZiggsDamage damage)
 {
     this.spell  = spell;
     this.eSpell = eSpell;
     this.qSpell = qSpell;
     this.damage = damage;
 }
Exemple #2
0
 public RCombo(RSpell spell, ZiggsDamage damage)
 {
     this.spell  = spell;
     this.damage = damage;
 }
 public ZiggsDamageDrawing(ZiggsDamage damage)
 {
     this.Damage = damage;
 }
Exemple #4
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 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 ziggsDmg = new ZiggsDamage(qSpell, wSpell, eSpell, rSpell);

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

            harassParent.Add(new List <Base>()
            {
                new QHarass(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                new WHarass(wSpell, eSpell, qSpell).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 WKillsteal(wSpell).Guardian(wReadyGuardian),
                new EKillsteal(eSpell).Guardian(eReadyGuardian),
                new RKillsteal(rSpell).Guardian(rReadyGuardian)
            });

            drawingParent.Add(new List <Base>
            {
                new ZiggsDamageDrawing(ziggsDmg),
                new QDrawing(qSpell),
                new EDrawing(eSpell)
            });

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

            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\"> - Ziggs!</font></b>");
        }