private static void OnLoadingComplete(EventArgs args) { if (Player.Instance.ChampionName != "Rengar") { return; } Variables.Q = new Spell.Active(SpellSlot.Q); Variables.W = new Spell.Skillshot(SpellSlot.W, 500, SkillShotType.Circular, 250, 2000, 100); Variables.W.AllowedCollisionCount = -1; Variables.E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Linear, 250, 1500, 140); Variables.R = new Spell.Active(SpellSlot.R); foreach (var spell in Player.Instance.Spellbook.Spells.Where( i => i.Name.ToLower().Contains("smite") && (i.Slot == SpellSlot.Summoner1 || i.Slot == SpellSlot.Summoner2))) { Variables.Smite = spell.Slot; } Config.Initialize(); subOrb.Initialize(); Combo.Initialize(); Harass.Initialize(); LaneClear.Initialize(); JungleClear.Initialize(); Auto.Initialize(); Drawing.Initialize(); Magnet.Initialize(); Targetting.Initialize(); }
public static void Initialize() { Menu = MainMenu.AddMenu(Player.Instance.ChampionName, "GodSpeedRengar"); Menu.AddGroupLabel("Introduction"); Menu.AddLabel("Don't be a scary cat!"); // Modes Modes = Menu.AddSubMenu("Modes", "modes"); // Combo Modes.AddGroupLabel("Combo"); Variables.ComboSmite = Modes.Add("comboUseSmite", new CheckBox("Use Smite")); Variables.ComboYoumuu = Modes.Add("comboUseYoumuu", new CheckBox("Use Youmuu's while steath")); Modes.AddLabel("Modes (1-Snare;2- OneShoot;3- Snare on Jump;4- Q always)"); Variables.ComboMode = Modes.Add("comboMode", new Slider("Mode", 2, 1, 4)); Variables.ComboSwitchKey = Modes.Add("comboSwitch", new KeyBind("Modes Switch Key", false, KeyBind.BindTypes.HoldActive, 'T')); Modes.AddSeparator(); //Harass Modes.AddGroupLabel("Harass"); Variables.HarassW = Modes.Add("harassUseW", new CheckBox("Use W")); Variables.HarassE = Modes.Add("harassUseE", new CheckBox("Use E")); Modes.AddSeparator(); //LaneClear Modes.AddGroupLabel("LaneClear"); Variables.LaneQ = Modes.Add("laneUseQ", new CheckBox("Use Q")); Variables.LaneW = Modes.Add("laneUseW", new CheckBox("Use W")); Variables.LaneE = Modes.Add("laneUseE", new CheckBox("Use E")); Variables.LaneTiamat = Modes.Add("laneUseTiamat", new CheckBox("Use Tiamat/Hydra")); Variables.LaneSave = Modes.Add("laneSave", new CheckBox("Save 5 FEROCITY", false)); Modes.AddSeparator(); //JungleClear Modes.AddGroupLabel("JungleClear"); Variables.JungQ = Modes.Add("jungUseQ", new CheckBox("Use Q")); Variables.JungW = Modes.Add("jungUseW", new CheckBox("Use W")); Variables.JungE = Modes.Add("jungUseE", new CheckBox("Use E")); Variables.JungTiamat = Modes.Add("jungUseTiamat", new CheckBox("Use Tiamat/Hydra")); Variables.JungSave = Modes.Add("jungSave", new CheckBox("Save 5 FEROCITY", false)); Modes.AddSeparator(); //Auto Modes.AddGroupLabel("Auto"); Variables.AutoWHeal = Modes.Add("autoWHeal", new Slider("W Heal if HP <", 20, 0, 100)); Variables.AutoEInterrupt = Modes.Add("autoEInterrupt", new CheckBox("Interrupt with E")); Variables.AutoSmiteKS = Modes.Add("autoSmiteKS", new CheckBox("Smite KS (blue/red)")); Variables.AutoESK = Modes.Add("autoEKS", new CheckBox("E Ks")); Variables.AutoWKS = Modes.Add("autoWKS", new CheckBox("W Ks")); Variables.AutoSmiteSteal = Modes.Add("autoSteal", new CheckBox("Smite steal Drake/Baron")); //drawing Draw = Menu.AddSubMenu("Drawing", "drawing"); Variables.DrawMode = Draw.Add("drawMode", new CheckBox("Draw Mode")); //Variables.DrawSelectedTarget = Draw.Add("drawSelected", new CheckBox("Notify Selected Target While Steath")); Magnet = Menu.AddSubMenu("Magnet", "magnet"); Magnet.AddLabel("Magnet will only works on selected target"); Variables.MagnetEnable = Magnet.Add("magnetEnable", new CheckBox("Enable", false)); Variables.MagnetRange = Magnet.Add("magnetRange", new Slider("Magnet Range", 300, 150, 500)); Targetting = Menu.AddSubMenu("Targetting", "targetting"); Targetting.AddGroupLabel("Ultimate Jump Targeting"); Variables.UltSelected = Targetting.Add("ultiSelected", new CheckBox("Priority Selected Target")); foreach (var hero in EntityManager.Heroes.Enemies) { Targetting.Add("ulti" + hero.NetworkId, new CheckBox(hero.ChampionName + "(" + hero.Name + ")")); } Targetting.AddGroupLabel("Bush Jump Targeting"); Variables.BushSelected = Targetting.Add("bushSelected", new CheckBox("Priority Selected Target")); foreach (var hero in EntityManager.Heroes.Enemies) { Targetting.Add("bush" + hero.NetworkId, new Slider(hero.ChampionName + "(" + hero.Name + ")", TargetSelector.GetPriority(hero), 1, 5)); } Game.OnTick += Game_OnTick; }
public static void Initialize() { Menu = MainMenu.AddMenu(Player.Instance.ChampionName, "GodSpeedRengar"); Menu.AddGroupLabel("Açıklama"); Menu.AddLabel("Korkutucu Hareketler Yapma :D!"); Menu.AddLabel("Çeviri TRAdana"); // Modes Modes = Menu.AddSubMenu("Modlar", "modes"); // Combo Modes.AddGroupLabel("Kombo"); Variables.ComboSmite = Modes.Add("comboUseSmite", new CheckBox("Tutuştur Kullan")); Variables.ComboYoumuu = Modes.Add("comboUseYoumuu", new CheckBox("Kullan Youmuu")); Modes.AddLabel("Modlar (1-Snare;2- OneShoot;3- Snare on Jump;4- Q always)"); Variables.ComboMode = Modes.Add("comboMode", new Slider("Modlar", 2, 1, 4)); Variables.ComboSwitchKey = Modes.Add("comboSwitch", new KeyBind("Modu Değiştirme Tuşu", false, KeyBind.BindTypes.HoldActive, 'T')); Modes.AddSeparator(); //Harass Modes.AddGroupLabel("Dürtme"); Variables.HarassW = Modes.Add("harassUseW", new CheckBox("Kullan W")); Variables.HarassE = Modes.Add("harassUseE", new CheckBox("Kullan E")); Modes.AddSeparator(); //LaneClear Modes.AddGroupLabel("LaneTemizleme"); Variables.LaneQ = Modes.Add("laneUseQ", new CheckBox("Kullan Q")); Variables.LaneW = Modes.Add("laneUseW", new CheckBox("Kullan W")); Variables.LaneE = Modes.Add("laneUseE", new CheckBox("Kullan E")); Variables.LaneTiamat = Modes.Add("laneUseTiamat", new CheckBox("Kullan Tiamat/Hydra")); Variables.LaneSave = Modes.Add("laneSave", new CheckBox("5 yükü Sakla", false)); Modes.AddSeparator(); //JungleClear Modes.AddGroupLabel("OrmanTemizleme"); Variables.JungQ = Modes.Add("jungUseQ", new CheckBox("Kullan Q")); Variables.JungW = Modes.Add("jungUseW", new CheckBox("Kullan W")); Variables.JungE = Modes.Add("jungUseE", new CheckBox("Kullan E")); Variables.JungTiamat = Modes.Add("jungUseTiamat", new CheckBox("Kullan Tiamat/Hydra")); Variables.JungSave = Modes.Add("jungSave", new CheckBox("5 yükü Sakla", false)); Modes.AddSeparator(); //Auto Modes.AddGroupLabel("Otomatik"); Variables.AutoWHeal = Modes.Add("autoWHeal", new Slider("W için canım şundan az <", 20, 0, 100)); Variables.AutoEInterrupt = Modes.Add("autoEInterrupt", new CheckBox("Interrupt with E")); Variables.AutoSmiteKS = Modes.Add("autoSmiteKS", new CheckBox("Çarpla Ks at (blue/red)")); Variables.AutoESK = Modes.Add("autoEKS", new CheckBox("E Ks Kullan")); Variables.AutoWKS = Modes.Add("autoWKS", new CheckBox("W Ks Kullan")); Variables.AutoSmiteSteal = Modes.Add("autoSteal", new CheckBox("Çarpla Çal Ejder/Baron")); //drawing Draw = Menu.AddSubMenu("Gösterge", "drawing"); Variables.DrawMode = Draw.Add("drawMode", new CheckBox("Gösterge Modu")); //Variables.DrawSelectedTarget = Draw.Add("drawSelected", new CheckBox("Notify Selected Target While Steath")); Magnet = Menu.AddSubMenu("Magnet", "magnet"); Magnet.AddLabel("Seçili hedefe doğru odaklan"); Variables.MagnetEnable = Magnet.Add("magnetEnable", new CheckBox("Aktif", false)); Variables.MagnetRange = Magnet.Add("magnetRange", new Slider("Magnet(Mıktatıs) Menzili", 300, 150, 500)); Targetting = Menu.AddSubMenu("Hedefleme", "targetting"); Targetting.AddGroupLabel("Ulti Zıplama Hedefleme"); Variables.UltSelected = Targetting.Add("ultiSelected", new CheckBox("Hedef Önceliği Seç")); foreach (var hero in EntityManager.Heroes.Enemies) { Targetting.Add("ulti" + hero.NetworkId, new CheckBox(hero.ChampionName + "(" + hero.Name + ")")); } Targetting.AddGroupLabel("Çalıdan Hedefe Zıplama"); Variables.BushSelected = Targetting.Add("bushSelected", new CheckBox("Hedef Önceliği Seç")); foreach (var hero in EntityManager.Heroes.Enemies) { Targetting.Add("bush" + hero.NetworkId, new Slider(hero.ChampionName + "(" + hero.Name + ")", TargetSelector.GetPriority(hero), 1, 5)); } Game.OnTick += Game_OnTick; }