public static void Load() { Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnSpellCast; Game.OnUpdate += Game_OnUpdate; Logic.Mechanics.LoadFlash(); Traps.Load(); foreach (var module in Variables.moduleList) { module.OnLoad(); } }
public static void Load() { Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnSpellCast; Orbwalker.OnPostAttack += Orbwalker_OnPostAttack; Orbwalker.OnPreAttack += Orbwalker_OnPreAttack; Game.OnPostTick += delegate { Variables.IsAfterAttack = false; Variables.IsBeforeAttack = false; }; Game.OnUpdate += Game_OnUpdate; Logic.Mechanics.LoadFlash(); Traps.Load(); foreach (var module in Variables.moduleList) { module.OnLoad(); } }