protected override void SetupSpells() { Q = new Spell(SpellSlot.Q, 850f, DamageType.Magical); Q.SetSkillshot(0.3f, 50f, float.MaxValue, false, SkillshotType.SkillshotCircle); W = new Spell(SpellSlot.W, 850f, DamageType.Magical); W.SetSkillshot(0.5f, 125f, 2500f, false, SkillshotType.SkillshotCircle); E = new Spell(SpellSlot.E, 700f, DamageType.Magical); E.SetTargetted(0.2f, 1700f); E.Collision = true; R = new Spell(SpellSlot.R, 825f, DamageType.Magical); R.SetSkillshot(0.8f, (float) (80 * Math.PI / 180), float.MaxValue, false, SkillshotType.SkillshotCone); _ultimate = new UltimateManager { Combo = true, Assisted = true, Auto = true, Flash = true, Required = true, Force = true, Gapcloser = true, GapcloserDelay = false, Interrupt = true, InterruptDelay = false, Spells = Spells, DamageCalculation = (hero, resMulti, rangeCheck) => CalcComboDamage( hero, resMulti, rangeCheck, Menu.Item(Menu.Name + ".combo.q").GetValue<bool>(), Menu.Item(Menu.Name + ".combo.w").GetValue<bool>(), Menu.Item(Menu.Name + ".combo.e").GetValue<bool>(), true) }; }
protected override void OnLoad() { Orbwalking.BeforeAttack += OnOrbwalkingBeforeAttack; AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser; Interrupter2.OnInterruptableTarget += OnInterruptableTarget; CustomEvents.Unit.OnDash += OnUnitDash; _ultimate = new UltimateManager { Combo = true, Assisted = true, Auto = true, Flash = true, Required = true, Force = true, Gapcloser = true, GapcloserDelay = false, Interrupt = true, InterruptDelay = false, DamageCalculation = hero => CalcComboDamage( hero, Menu.Item(Menu.Name + ".combo.q").GetValue<bool>() && Q.IsReady(), Menu.Item(Menu.Name + ".combo.w").GetValue<bool>() && W.IsReady(), Menu.Item(Menu.Name + ".combo.e").GetValue<bool>() && E.IsReady(), true) }; }