/// <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; }
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); }
public static bool HasItem(this Obj_AI_Hero target, Item item) { return(Items.HasItem(item.Id, target)); }
/// <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; }
public static bool HasItem(this Obj_AI_Hero target, Item item) { return Items.HasItem(item.Id, target); }
public _Item(Item _item,bool __Enabled ) { Item = _item; _Enabled = __Enabled; }
public _Item(Item _item, bool __Enabled) { Item = _item; _Enabled = __Enabled; }