public static void OnLoad() { Player = ObjectManager.Player; DefineSpells(); if (Player.CharData.BaseSkinName != "Lissandra") { return; } LissMenu.CreateMenu(); Game.OnUpdate += GameTick; Game.OnUpdate += MonitorMissilePosition; AntiGapcloser.OnEnemyGapcloser += OnGapClose; Interrupter2.OnInterruptableTarget += OnInterruptableTarget; GameObject.OnCreate += OnCreate; GameObject.OnDelete += OnDelete; Drawing.OnDraw += OnDraw; Config = LissMenu.Config; comboMenu = LissMenu.comboMenu; ksMenu = LissMenu.ksMenu; harassMenu = LissMenu.harassMenu; lastHitMenu = LissMenu.lastHitMenu; clearMenu = LissMenu.clearMenu; interruptMenu = LissMenu.interruptMenu; blackListMenu = LissMenu.blackListMenu; miscMenu = LissMenu.miscMenu; drawMenu = LissMenu.drawMenu; }
public static void OnLoad() { Player = ObjectManager.Player; if (Player.CharData.BaseSkinName != "Lissandra") { return; } LissMenu.CreateMenu(); DefineSpells(); Game.OnUpdate += GameTick; Game.OnUpdate += MonitorMissilePosition; AntiGapcloser.OnEnemyGapcloser += OnGapClose; Interrupter2.OnInterruptableTarget += OnInterruptableTarget; GameObject.OnCreate += OnCreate; GameObject.OnDelete += OnDelete; Drawing.OnDraw += OnDraw; }
static void OnLoad(EventArgs args) { Player = ObjectManager.Player; if (Player.BaseSkinName != "Lissandra") { return; } Game.PrintChat("<font color=\"#2EFEC8\"><b>SephLissandra</b> " + version + " by Seph"); Config = LissMenu.CreateMenu(); Config.AddToMainMenu(); DefineSpells(); Game.OnUpdate += GameTick; Game.OnUpdate += MonitorMissilePosition; AntiGapcloser.OnEnemyGapcloser += OnGapClose; Interrupter2.OnInterruptableTarget += OnInterruptableTarget; GameObject.OnCreate += OnCreate; GameObject.OnDelete += OnDelete; Drawing.OnDraw += OnDraw; }