static Gangplank() { Init(); Q = new Spell.Targeted(SpellSlot.Q, 625); W = new Spell.Active(SpellSlot.W); E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Circular, 250, int.MaxValue, 325); R = new Spell.Skillshot(SpellSlot.R, int.MaxValue, SkillShotType.Circular, 250, int.MaxValue, 600); MenuIni = MainMenu.AddMenu(MenuName, MenuName); AutoMenu = MenuIni.AddSubMenu("Auto"); ComboMenu = MenuIni.AddSubMenu("Combo"); //HarassMenu = MenuIni.AddSubMenu("Harass"); JungleClearMenu = MenuIni.AddSubMenu("JungleClear"); LaneClearMenu = MenuIni.AddSubMenu("LaneClear"); KillStealMenu = MenuIni.AddSubMenu("KillSteal"); DrawMenu = MenuIni.AddSubMenu("Drawings"); SpellList.Add(Q); SpellList.Add(E); SpellList.Add(R); SpellList.ForEach( i => { ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); if (i != R) { //HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); //HarassMenu.AddSeparator(0); LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); LaneClearMenu.AddSeparator(0); JungleClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); JungleClearMenu.AddSeparator(0); DrawMenu.CreateCheckBox(i.Slot, "Draw " + i.Slot); if (i != E) { //HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); JungleClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); } } KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal"); }); AutoMenu.CreateCheckBox("CC", "Auto W CC Buffs"); AutoMenu.CreateCheckBox("Qunk", "Auto Q UnKillable Minions"); AutoMenu.CreateKeyBind("EQMOUSE", "E > Q To Mouse", false, KeyBind.BindTypes.HoldActive, 'S'); ComboMenu.CreateSlider("RAOE", "R AoE Hit {0}", 3, 1, 6); KillStealMenu.CreateSlider("Rdmg", "Multipy R Damage By X{0}", 3, 1, 12); LaneClearMenu.CreateCheckBox("QLH", "LastHit Mode Q"); LaneClearMenu.CreateSlider("EKill", "Minions Kill Count {0}", 2, 0, 10); LaneClearMenu.CreateSlider("EHits", "Minions To Hit With E {0}", 3, 0, 10); DrawMenu.CreateCheckBox("Barrels", "Enable Barrels Drawings"); Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion; Spellbook.OnCastSpell += Spellbook_OnCastSpell; }
static Gangplank() { Init(); Q = new Spell.Targeted(SpellSlot.Q, 625); W = new Spell.Active(SpellSlot.W); E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Circular, 500, int.MaxValue, 325); R = new Spell.Skillshot(SpellSlot.R, int.MaxValue, SkillShotType.Circular, 500, int.MaxValue, 600); MenuIni = MainMenu.AddMenu(MenuName, MenuName); AutoMenu = MenuIni.AddSubMenu("Auto"); ComboMenu = MenuIni.AddSubMenu("Combo"); //HarassMenu = MenuIni.AddSubMenu("Harass"); LaneClearMenu = MenuIni.AddSubMenu("LaneClear"); KillStealMenu = MenuIni.AddSubMenu("KillSteal"); SpellList.Add(Q); SpellList.Add(E); SpellList.Add(R); SpellList.ForEach( i => { ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); if (i != R) { //HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); //HarassMenu.AddSeparator(0); LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); LaneClearMenu.AddSeparator(0); if (i != E) { //HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); } } KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal"); }); MenuIni.AddGroupLabel("For W CC Cleaner Check Activator > Qss"); //AutoMenu.CreateCheckBox("CC", "Auto W CC Buffs"); AutoMenu.CreateCheckBox("AutoQ", "Auto Q Barrels", false); AutoMenu.CreateCheckBox("Qunk", "Auto Q UnKillable Minions"); ComboMenu.CreateCheckBox("FB", "Place First Barrel"); ComboMenu.CreateSlider("RAOE", "R AoE Hit {0}", 3, 1, 6); KillStealMenu.CreateCheckBox("RSwitch", "Use Only Upgrades Damage"); KillStealMenu.CreateSlider("Rdmg", "Multipy R Damage By X{0}", 3, 1, 12); LaneClearMenu.CreateCheckBox("QLH", "LastHit Mode Q"); LaneClearMenu.CreateSlider("EKill", "Minions Kill Count {0}", 2, 0, 10); LaneClearMenu.CreateSlider("EHits", "Minions To Hit With E {0}", 3, 0, 10); Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion; Spellbook.OnCastSpell += Spellbook_OnCastSpell; }
static Gangplank() { Init(); Q = new Spell.Targeted(SpellSlot.Q, 625); W = new Spell.Active(SpellSlot.W); E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Circular, 500, int.MaxValue, 325); R = new Spell.Skillshot(SpellSlot.R, int.MaxValue, SkillShotType.Circular, 500, int.MaxValue, 600); MenuIni = MainMenu.AddMenu(MenuName, MenuName); AutoMenu = MenuIni.AddSubMenu("Otomatik"); ComboMenu = MenuIni.AddSubMenu("Kombo"); //HarassMenu = MenuIni.AddSubMenu("Dürtme"); JungleClearMenu = MenuIni.AddSubMenu("OrmanTemizleme"); LaneClearMenu = MenuIni.AddSubMenu("LaneTemizleme"); KillStealMenu = MenuIni.AddSubMenu("KillÇal"); DrawMenu = MenuIni.AddSubMenu("Göstergeler"); SpellList.Add(Q); SpellList.Add(E); SpellList.Add(R); SpellList.ForEach( i => { ComboMenu.CreateCheckBox(i.Slot, "Kullan " + i.Slot); if (i != R) { //HarassMenu.CreateCheckBox(i.Slot, "Kullan " + i.Slot); //HarassMenu.AddSeparator(0); LaneClearMenu.CreateCheckBox(i.Slot, "Kullan " + i.Slot); LaneClearMenu.AddSeparator(0); JungleClearMenu.CreateCheckBox(i.Slot, "Kullan " + i.Slot); JungleClearMenu.AddSeparator(0); DrawMenu.CreateCheckBox(i.Slot, "Göster " + i.Slot); if (i != E) { //HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Yardımcısı {0}%", 60); LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Yardımcısı {0}%", 60); JungleClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Yardımcısı {0}%", 60); } } KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillÇal"); }); MenuIni.AddGroupLabel("W ile Arındırma için Activator Kontrol Et > Qss"); //AutoMenu.CreateCheckBox("CC", "Auto W CC Buffs"); AutoMenu.CreateCheckBox("AutoQ", "Varillere Otomatik Q", false); AutoMenu.CreateCheckBox("Qunk", "Ölmeyecek Minyona Q"); AutoMenu.CreateKeyBind("EQMOUSE", "E > Q Fareye Doğru", false, KeyBind.BindTypes.HoldActive, 'S'); ComboMenu.CreateCheckBox("FB", "Önce Varil Yerleştir"); ComboMenu.CreateSlider("RAOE", "R alanı için düşman sayısı {0}", 3, 1, 6); KillStealMenu.CreateCheckBox("RSwitch", "Hasar Yükseltmeyi Otomatik Kullan"); KillStealMenu.CreateSlider("Rdmg", "R hasarını çoğalt X{0}", 3, 1, 12); LaneClearMenu.CreateCheckBox("QLH", "Q ile Son vuruş"); LaneClearMenu.CreateSlider("EKill", "E için ölecek minyon Sayısı {0}", 2, 0, 10); LaneClearMenu.CreateSlider("EHits", "E kaç Minyona Çarpması gerekir {0}", 3, 0, 10); DrawMenu.CreateCheckBox("Barrels", "Varil Göstergeleri Aktif"); Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion; Spellbook.OnCastSpell += Spellbook_OnCastSpell; }
public override void Initialize() { FirstMenu = MainMenu.AddMenu("OKTR " + GetAttribute().Name, "id" + GetAttribute().Name.ToLower()); FirstMenu.AddGroupLabel("Introduction:"); FirstMenu.AddSeparator(); FirstMenu.AddGroupLabel("Author: " + GetAttribute().Author); if (HUEHUEHUEHUE) { FirstMenu.AddLabel("Plugin From: http://oktraio.com"); } ComboMenu = FirstMenu.AddSubMenu("Combo", ComboMenuID); ComboMenu.AddGroupLabel("Combo Settings:"); HarassMenu = FirstMenu.AddSubMenu("Harass", HarassMenuID); HarassMenu.AddGroupLabel("Harass Settings:"); AutoHarassMenu = FirstMenu.AddSubMenu("Auto Harass", AutoHarassMenuID); AutoHarassMenu.AddGroupLabel("Auto Harass Settings:"); LaneClearMenu = FirstMenu.AddSubMenu("Laneclear", LaneMenuID); LaneClearMenu.AddGroupLabel("Laneclear Settings:"); JungleClearMenu = FirstMenu.AddSubMenu("Jungleclear", JunglesMenuID); JungleClearMenu.AddGroupLabel("Jungleclear Settings:"); LastHitMenu = FirstMenu.AddSubMenu("Lasthit", LastMenuID); LastHitMenu.AddGroupLabel("Lasthit Settings:"); FleeMenu = FirstMenu.AddSubMenu("Flee", FleeMenuID); FleeMenu.AddGroupLabel("Flee Settings:"); KillStealMenu = FirstMenu.AddSubMenu("Killsteal", KillstealMenuID); KillStealMenu.AddGroupLabel("Killsteal Settings:"); DrawMenu = FirstMenu.AddSubMenu("Draw", DrawMenuID); DrawMenu.AddGroupLabel("Draw Settings:"); DrawMenu.CreateCheckBox("Only draw spells if they are ready", DrawMenuID + "whenready"); DrawMenu.AddGroupLabel("Damage Indicator settings: "); DrawMenu.CreateCheckBox("Draw damage indicator", DrawMenuID + "damageDraw"); DrawMenu.CreateCheckBox("Draw statistics", DrawMenuID + "statDraw"); DrawMenu.CreateCheckBox("Draw percentage", DrawMenuID + "perDraw"); DamageIndicatorDrawColor = new ColorSlider(DrawMenu, DrawMenuID + "damageHealthIndicator", Color.Yellow, "Damage Indicator Color"); DrawMenu.AddSeparator(); DrawMenu.CreateCheckBox("Calculate Q", DrawMenuID + "calculateQ"); DrawMenu.CreateCheckBox("Calculate W", DrawMenuID + "calculateW"); DrawMenu.CreateCheckBox("Calculate E", DrawMenuID + "calculateE"); DrawMenu.CreateCheckBox("Calculate R", DrawMenuID + "calculateR"); DrawMenu.AddGroupLabel("Spells to draw: "); MiscMenu = FirstMenu.AddSubMenu("Misc", MiscMenuID); MiscMenu.AddGroupLabel("Miscellanous Settings:"); InitializeSpells(); InitializeEvents(); InitializeMenu(); if (PlayerHasMana) { HarassMenu.CreateSlider("Player mana must be less than [{0}%] to use harass spells", HarassMenuID + "mana", 40); AutoHarassMenu.CreateSlider("Player mana must be less than [{0}%] to use auto harass spells", AutoHarassMenuID + "mana", 40); LaneClearMenu.CreateSlider("Player mana must be less than [{0}%] to use lane clear spells", LaneClearMenu + "mana", 40); JungleClearMenu.CreateSlider("Player mana must be less than [{0}%] to use jungle clear spells", JunglesMenuID + "mana", 40); LastHitMenu.CreateSlider("Player mana must be less than [{0}%] to use lasthit spells", LastMenuID + "mana", 40); KillStealMenu.CreateSlider("Player mana must be less than [{0}%] to use Killsteal spells", KillstealMenuID + "mana", 10); MiscMenu.CreateSlider("Player mana must be less than [{0}%] to use misc spells", MiscMenuID + "mana", 30); } DrawMenu.AddGroupLabel("Drawing Colors"); QDrawColor = new ColorSlider(DrawMenu, DrawMenuID + "Q" + "colorid", Color.Orange, "- Q Color"); WDrawColor = new ColorSlider(DrawMenu, DrawMenuID + "W" + "colorid", Color.Red, "- W Color"); EDrawColor = new ColorSlider(DrawMenu, DrawMenuID + "E" + "colorid", Color.Blue, "- E Color"); RDrawColor = new ColorSlider(DrawMenu, DrawMenuID + "R" + "colorid", Color.DeepPink, "- R Color"); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; }