本文整理汇总了C#中Parent.Add方法的典型用法代码示例。如果您正苦于以下问题:C# Parent.Add方法的具体用法?C# Parent.Add怎么用?C# Parent.Add使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Parent
的用法示例。
在下文中一共展示了Parent.Add方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Load
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>");
}
示例2: Load
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>");
}
示例3: Load
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),
//.........这里部分代码省略.........
示例4: Load
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,
//.........这里部分代码省略.........
示例5: Load
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>");
}
示例6: Load
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;
//.........这里部分代码省略.........
示例7: Load
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,
//.........这里部分代码省略.........
示例8: Load
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: Load
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>");
}