/// <summary> /// Initializes a new instance of the <see cref="Kalista" /> class. /// </summary> public Kalista() { MenuGenerator.Generate(); Game.OnUpdate += this.OnUpdate; Drawing.OnDraw += this.OnDraw; TickLimiter.Add("ModulesLimiter", 0x7D); this.LoadModules(); Spellbook.OnCastSpell += (sender, args) => { if (sender.Owner.IsMe && args.Slot == SpellSlot.Q && ObjectManager.Player.IsDashing()) { args.Process = false; } }; Obj_AI_Base.OnProcessSpellCast += (sender, args) => { if (!sender.IsMe) { return; } if (args.SData.Name == "KalistaExpungeWrapper") { DelayAction.Add(0x7D, Orbwalker.ResetAutoAttackTimer); } }; Notifications.Add( new Notification( "iKalista 2.0 - Even Better Then Before", "Please Note this is currently a work in progress assembly\n" + "Please leave any feedback / suggestion in the thread\n" + "Made by Corey, Protected under Australian IP Laws")); }
public static void OnLoad() { LoadSpells(); LoadEvents(); TickLimiter.Add("CondemnLimiter", 250); TickLimiter.Add("ModulesLimiter", 300); TickLimiter.Add("ComboLimiter", 80); LoadModules(); }