public SemiAutomaticE(Lucian lucian) { this.lucian = lucian; E = lucian.Spells.E; if (KoreanUtils.GetParamBool(lucian.MainMenu, "dashmode")) { Game.OnWndProc += Game_OnWndProc; } }
public static void Load(CommonChampion akali) { var Q = new CommonSpell(SpellSlot.Q, 580f, TargetSelector.DamageType.Magical); var W = new CommonSpell(SpellSlot.W, 680f, TargetSelector.DamageType.Magical); var E = new CommonSpell(SpellSlot.E, 295f, TargetSelector.DamageType.Physical); var R = new CommonSpell(SpellSlot.R, 680f, TargetSelector.DamageType.Magical); Q.SetTargetted(0.317f, 1000f); R.SetTargetted(0.1f, float.MaxValue); akali.Spells.AddSpell(Q); akali.Spells.AddSpell(W); akali.Spells.AddSpell(E); akali.Spells.AddSpell(R); }
public static void Load(CommonChampion champion) { CommonSpell Q = new CommonSpell(SpellSlot.Q, 950, TargetSelector.DamageType.Magical); CommonSpell W = new CommonSpell(SpellSlot.W, 625, TargetSelector.DamageType.Magical); CommonSpell E = new CommonSpell(SpellSlot.E, 0, TargetSelector.DamageType.Magical); CommonSpell R = new CommonSpell(SpellSlot.R, 175, TargetSelector.DamageType.Magical); Q.SetSkillshot(0.75f, 200f, 450f, false, SkillshotType.SkillshotCircle); W.SetSkillshot(0.25f, 250f, float.MaxValue, false, SkillshotType.SkillshotCone); champion.Spells.AddSpell(Q); champion.Spells.AddSpell(W); champion.Spells.AddSpell(E); champion.Spells.AddSpell(R); }
public static void Load(CommonChampion akali) { var Q = new CommonSpell(SpellSlot.Q, 600f, TargetSelector.DamageType.Magical); var W = new CommonSpell(SpellSlot.W, 0f, TargetSelector.DamageType.Magical); var E = new CommonSpell(SpellSlot.E, 610f, TargetSelector.DamageType.Magical); var R = new CommonSpell(SpellSlot.R, 625f, TargetSelector.DamageType.Magical); Q.SetTargetted(0.300f, 2500f); R.SetSkillshot(0.2f, 175f, float.MaxValue, false, SkillshotType.SkillshotCircle); akali.Spells.AddSpell(Q); akali.Spells.AddSpell(W); akali.Spells.AddSpell(E); akali.Spells.AddSpell(R); }
public static void Load(ICommonChampion champion) { CommonSpell q = new CommonSpell(SpellSlot.Q, 625, TargetSelector.DamageType.Magical); CommonSpell w = new CommonSpell(SpellSlot.W, 550, TargetSelector.DamageType.Magical); CommonSpell e = new CommonSpell(SpellSlot.E, 0, TargetSelector.DamageType.Magical); CommonSpell r = new CommonSpell(SpellSlot.R, 600, TargetSelector.DamageType.Magical); q.SetTargetted(0.25f, 1400f); w.SetSkillshot(0.5f, 250f, float.MaxValue, false, SkillshotType.SkillshotCone); r.SetSkillshot(0.2f, 250f, float.MaxValue, false, SkillshotType.SkillshotCircle); champion.Spells.AddSpell(q); champion.Spells.AddSpell(w); champion.Spells.AddSpell(e); champion.Spells.AddSpell(r); }
public static void Load(CommonChampion champion) { lucian = champion; CommonSpell Q = new CommonSpell(SpellSlot.Q, 675, TargetSelector.DamageType.Physical); CommonSpell W = new CommonSpell(SpellSlot.W, 1000, TargetSelector.DamageType.Magical); CommonSpell E = new CommonSpell(SpellSlot.E, 425, TargetSelector.DamageType.Physical); CommonSpell R = new CommonSpell(SpellSlot.R, 1400, TargetSelector.DamageType.Physical); Q.SetTargetted(0.25f, float.MaxValue); W.SetSkillshot(0.4f, 150f, 1600, true, SkillshotType.SkillshotCircle); E.SetSkillshot(0.25f, 1f, float.MaxValue, false, SkillshotType.SkillshotLine); R.SetSkillshot(0.2f, 110f, 2500, true, SkillshotType.SkillshotLine); champion.Spells.AddSpell(Q); champion.Spells.AddSpell(W); champion.Spells.AddSpell(E); champion.Spells.AddSpell(R); }
private void EnqueueSpell(CommonSpell spell, AIHeroClient target) { if (!spell.UseOnCombo) { return; } AIHeroClient selectedTarget = target ?? TargetSelector.GetTarget(spell.Range, spell.DamageType); if (selectedTarget == null) { return; } if (spell.IsInRange(selectedTarget)) { EnqueueAction( () => spell.IsReadyToCastOn(selectedTarget), () => spell.Cast(selectedTarget), () => !spell.IsReadyToCastOn(selectedTarget) || selectedTarget.IsDead); } }