Example #1
0
        /// <summary>
        ///     Initializes this instance.
        /// </summary>
        public void Load()
        {
            zhonyaItem = new LeagueSharp.Common.Items.Item(Game.MapId == GameMapId.SummonersRift ? 3157 : 3090);

            Game.OnUpdate                  += Game_OnUpdate;
            GameObject.OnCreate            += GameObjectOnCreate;
            Obj_AI_Base.OnProcessSpellCast += ObjAiBaseOnProcessSpellCast;
        }
Example #2
0
        public override void setUpSpells()
        {
            DFG = Utility.Map.GetMap().Type == Utility.Map.MapType.TwistedTreeline ||
                  Utility.Map.GetMap().Type == Utility.Map.MapType.CrystalScar
                ? new LeagueSharp.Common.Items.Item(3188, 750) : new LeagueSharp.Common.Items.Item(3128, 750);

            Q = new Spell(SpellSlot.Q, 650);
            W = new Spell(SpellSlot.W, 150);
            E = new Spell(SpellSlot.E, 500);
            R = new Spell(SpellSlot.R, 500);

            Q.SetTargetted(0.5f, 1400f);
            E.SetSkillshot(0.5f, 10f, float.MaxValue, false, SkillshotType.SkillshotCone);
            R.SetSkillshot(0.5f, 150f, float.MaxValue, false, SkillshotType.SkillshotCircle);
        }
Example #3
0
 public static bool HasItem(this Obj_AI_Hero target, Item item)
 {
     return(Items.HasItem(item.Id, target));
 }
Example #4
0
        /// <summary>
        ///     Initializes this instance.
        /// </summary>
        public void Load()
        {
            zhonyaItem = new LeagueSharp.Common.Items.Item(Game.MapId == GameMapId.SummonersRift ? 3157 : 3090);

            Game.OnUpdate += Game_OnUpdate;
            GameObject.OnCreate += GameObjectOnCreate;
            Obj_AI_Base.OnProcessSpellCast += ObjAiBaseOnProcessSpellCast;
        }
Example #5
0
 public static bool HasItem(this Obj_AI_Hero target, Item item)
 {
     return Items.HasItem(item.Id, target);
 }
Example #6
0
 public _Item(Item _item,bool __Enabled )
 {
     Item = _item;
     _Enabled = __Enabled;
 }
Example #7
0
 public _Item(Item _item, bool __Enabled)
 {
     Item     = _item;
     _Enabled = __Enabled;
 }