Esempio n. 1
0
 private static void OnGameLoad(EventArgs args)
 {
     Player = ObjectManager.Player;
     Name   = Player.ChampionName;
     Game.PrintChat("<font color = \'{0}'>Master Series</font>", HtmlColor.Lime);
     Game.PrintChat("<font color = \'{0}'>-></font> <font color = \'{1}'>Feel free to donate via Paypal to</font>: <font color = \'{2}'>[email protected]</font>", HtmlColor.BlueViolet, HtmlColor.Orange, HtmlColor.LightCoral);
     Config = new Menu("Master Series", "MasterSeries", true);
     TS     = new M_TargetSelector(Config, 1600);
     Orbwalk.AddToMenu(Config);
     try
     {
         if (Activator.CreateInstance(null, "MasterPlugin." + Name) != null)
         {
             //var QData = Player.Spellbook.GetSpell(SpellSlot.Q);
             //var WData = Player.Spellbook.GetSpell(SpellSlot.W);
             //var EData = Player.Spellbook.GetSpell(SpellSlot.E);
             //var RData = Player.Spellbook.GetSpell(SpellSlot.R);
             //Game.PrintChat("{0}/{1}/{2}/{3}", QData.SData.CastRange[0], WData.SData.CastRange[0], EData.SData.CastRange[0], RData.SData.CastRange[0]);
             ItemBool(Config.SubMenu(Name + "_Plugin").SubMenu("Misc"), "UsePacket", "Use Packet To Cast");
             FData = Player.SummonerSpellbook.GetSpell(Player.GetSpellSlot("summonerflash"));
             SData = Player.SummonerSpellbook.GetSpell(Player.GetSpellSlot("summonersmite"));
             IData = Player.SummonerSpellbook.GetSpell(Player.GetSpellSlot("summonerdot"));
             SkinChanger(null, null);
             Game.PrintChat("<font color = \'{0}'>-></font> <font color = \'{1}'>Master Of {2}</font>: <font color = \'{3}'>Loaded !</font>", HtmlColor.BlueViolet, HtmlColor.Gold, Name, HtmlColor.Cyan);
             Game.OnGameUpdate += OnGameUpdate;
         }
     }
     catch
     {
         Game.PrintChat("<font color = \'{0}'>-></font> <font color = \'{1}'>{2}</font>: <font color = \'{3}'>Currently not supported !</font>", HtmlColor.BlueViolet, HtmlColor.Gold, Name, HtmlColor.Cyan);
     }
     Config.AddItem(new MenuItem("Info", "Credits: Brian"));
     Config.AddToMainMenu();
 }
Esempio n. 2
0
 private static void OnGameLoad(EventArgs args)
 {
     Player = ObjectManager.Player;
     Name   = Player.ChampionName;
     Game.PrintChat("<font color = \'{0}'>澶у笀绯诲垪鍚堥泦</font>", HtmlColor.Lime);
     Config = new Menu("大师系列上野二合一", "MasterSeries", true);
     TS     = new M_TargetSelector(Config, 1600);
     Orbwalk.AddToMenu(Config);
     try
     {
         if (Activator.CreateInstance(null, "MasterPlugin." + Name) != null)
         {
             //var QData = Player.Spellbook.GetSpell(SpellSlot.Q);
             //var WData = Player.Spellbook.GetSpell(SpellSlot.W);
             //var EData = Player.Spellbook.GetSpell(SpellSlot.E);
             //var RData = Player.Spellbook.GetSpell(SpellSlot.R);
             //Game.PrintChat("{0}: {1}-{2}/{3}/{4}/{5}", QData.SData.Name, QData.SData.CastRange[0], QData.SData.CastRangeDisplayOverride[0], QData.SData.SpellCastTime, QData.SData.LineWidth, QData.SData.MissileSpeed);
             //Game.PrintChat("{0}: {1}-{2}/{3}/{4}/{5}", WData.SData.Name, WData.SData.CastRange[0], WData.SData.CastRangeDisplayOverride[0], WData.SData.SpellCastTime, WData.SData.LineWidth, WData.SData.MissileSpeed);
             //Game.PrintChat("{0}: {1}-{2}/{3}/{4}/{5}", EData.SData.Name, EData.SData.CastRange[0], EData.SData.CastRangeDisplayOverride[0], EData.SData.SpellCastTime, EData.SData.LineWidth, EData.SData.MissileSpeed);
             //Game.PrintChat("{0}: {1}-{2}/{3}/{4}/{5}", RData.SData.Name, RData.SData.CastRange[0], RData.SData.CastRangeDisplayOverride[0], RData.SData.SpellCastTime, RData.SData.LineWidth, RData.SData.MissileSpeed);
             ItemBool(Config.SubMenu(Name + "_Plugin").SubMenu("Misc"), "UsePacket", "施放使用封包");
             FlashSlot  = Player.GetSpellSlot("summonerflash");
             SmiteSlot  = SmiteName.Any(i => Player.GetSpellSlot(i) != SpellSlot.Unknown) ? Player.GetSpellSlot(SmiteName.First(i => Player.GetSpellSlot(i) != SpellSlot.Unknown)) : SpellSlot.Unknown;
             IgniteSlot = Player.GetSpellSlot("summonerdot");
             SkinChanger(null, null);
             Game.PrintChat("<font color = \'{0}'>-></font> <font color = \'{1}'>闊╂湇澶у笀缁剕鎶€鏈瘄 {2}</font>: <font color = \'{3}'>杞藉叆 !</font>", HtmlColor.BlueViolet, HtmlColor.Gold, Name, HtmlColor.Cyan);
             Game.OnGameUpdate        += OnGameUpdate;
             Game.OnGameProcessPacket += OnGameProcessPacket;
         }
     }
     catch
     {
     }
     Config.AddItem(new MenuItem("Info", "by: Doramio"));
     Config.AddToMainMenu();
 }