protected override void SetupSpells() { Q = new Spell(SpellSlot.Q, 850f); Q.SetSkillshot(0.25f, 15f * (float) Math.PI / 180, 2000f, false, SkillshotType.SkillshotCone); W = new Spell(SpellSlot.W, 900f, DamageType.Magical); W.SetSkillshot(0.35f, 250f, 1650f, false, SkillshotType.SkillshotCircle); E = new Spell(SpellSlot.E, 425f); R = new Spell(SpellSlot.R, 1100f); R.SetSkillshot(0.25f, 110f, 2100f, false, SkillshotType.SkillshotLine); R2 = new Spell(SpellSlot.R, 700f); R2.SetSkillshot(0f, 110f, 1500f, false, SkillshotType.SkillshotCone); Ultimate = new UltimateManager { Combo = true, Assisted = true, Auto = true, Flash = false, Required = true, Force = true, Gapcloser = false, GapcloserDelay = false, Interrupt = false, InterruptDelay = false, Spells = Spells, DamageCalculation = (hero, resMulti, rangeCheck) => CalcComboDamage( hero, resMulti, rangeCheck, Menu.Item(Menu.Name + ".combo.q").GetValue<bool>(), true) }; }
protected override void OnLoad() { _ultimate = new UltimateManager { Combo = true, Assisted = true, Auto = true, Flash = false, Required = true, Force = true, Gapcloser = false, GapcloserDelay = false, Interrupt = false, InterruptDelay = false, DamageCalculation = hero => CalcComboDamage(hero, Menu.Item(Menu.Name + ".combo.q").GetValue<bool>() && Q.IsReady(), true) }; AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser; }