public static void OnLoad() { try { player = ObjectManager.Player; if (player.ChampionName != ChampionName) { return; } ShowNotification("BlackZilean by blacky - Loaded", Color.Crimson, 10000); //DamageIndicator.Initialize(GetComboDamage); //DamageIndicator.Enabled = true; //DamageIndicator.DrawingColor = Color.GreenYellow; ManaManager = new ManaManager(); MenuGenerator.Load(); SkillsHandler.Load(); AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser; Drawing.OnDraw += DrawHandler.OnDraw; Game.OnUpdate += OnUpdate; } catch (Exception e) { Console.WriteLine("An error occurred: '{0}'", e); } }
public static void OnLoad() { try { player = ObjectManager.Player; if (player.ChampionName != ChampionName) { return; } ShowNotification("Kassadin the Harbinger", Color.DarkOrange, 10000); ShowNotification("by blacky - Loaded", Color.DarkOrange, 10000); DamageIndicator.Initialize(GetComboDamage); DamageIndicator.Enabled = true; DamageIndicator.DrawingColor = Color.GreenYellow; ManaManager = new ManaManager(); MenuGenerator.Load(); SkillsHandler.Load(); AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser; Interrupter2.OnInterruptableTarget += OnInterruptableTarget; Orbwalking.BeforeAttack += OnBeforeAttack; Drawing.OnDraw += DrawHandler.OnDraw; Game.OnUpdate += OnUpdate; } catch (Exception e) { Console.WriteLine("An error occurred: '{0}'", e); } }
public static void OnLoad() { try { player = ObjectManager.Player; if (player.ChampionName != ChampionName) { return; } ShowNotification("Lissandra the Ice Goddess", Color.DeepSkyBlue, 10000); ShowNotification("by blacky & Asuna - Loaded", Color.DeepSkyBlue, 10000); DamageIndicator.Initialize(GetComboDamage); DamageIndicator.Enabled = true; DamageIndicator.DrawingColor = Color.GreenYellow; ManaManager = new ManaManager(); MenuGenerator.Load(); SkillsHandler.Load(); AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser; Interrupter2.OnInterruptableTarget += OnInterruptableTarget; Drawing.OnDraw += DrawHandler.OnDraw; Game.OnUpdate += OnUpdate; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; DamagePrediction.OnTargettedSpellWillKill += DamagePrediction_OnTargettedSpellWillKill; EStartTick = -1; } catch (Exception e) { Console.WriteLine("An error occurred: '{0}'", e); } }