static ItemManager()
        {
            try
            {
                // Speed + Atk Speed
                Youmuu = new CustomItem
                {
                    Name        = "youmuus-ghostblade",
                    DisplayName = "Youmuu's Ghostblade",
                    Item        = ItemData.Youmuus_Ghostblade.GetItem(),
                    Flags       = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.AttackSpeed | EffectFlags.MovementSpeed,
                    CastType    = CastType.Self,
                    Range       =
                        ObjectManager.Player.IsMelee
                            ? ObjectManager.Player.AttackRange * 3
                            : Orbwalking.GetRealAutoAttackRange(ObjectManager.Player)
                };

                // AOE damage, only melee
                Tiamat = new CustomItem
                {
                    Name        = "tiamat",
                    DisplayName = "Tiamat",
                    Item        = ItemData.Tiamat_Melee_Only.GetItem(),
                    Flags       = ItemFlags.Offensive,
                    CombatFlags = CombatFlags.Melee,
                    EffectFlags = EffectFlags.Damage,
                    CastType    = CastType.Self,
                    Damage      = Damage.DamageItems.Tiamat,
                    Range       = ItemData.Tiamat_Melee_Only.GetItem().Range
                };

                // AOE damage, only melee
                Hydra = new CustomItem
                {
                    Name        = "hydra",
                    DisplayName = "Hydra",
                    Item        = ItemData.Ravenous_Hydra_Melee_Only.GetItem(),
                    Flags       = ItemFlags.Offensive,
                    CombatFlags = CombatFlags.Melee,
                    EffectFlags = EffectFlags.Damage,
                    CastType    = CastType.Self,
                    Damage      = Damage.DamageItems.Hydra,
                    Range       = ItemData.Ravenous_Hydra_Melee_Only.GetItem().Range
                };

                // Slow + Damage
                BilgewaterCutlass = new CustomItem
                {
                    Name        = "bilgewater-cutlass",
                    DisplayName = "Bilgewater Cutlass",
                    Item        = ItemData.Bilgewater_Cutlass.GetItem(),
                    Flags       = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Damage | EffectFlags.MovementSlow,
                    CastType    = CastType.Target,
                    Damage      = Damage.DamageItems.Bilgewater,
                    Range       = ItemData.Bilgewater_Cutlass.GetItem().Range
                };

                // Slow + Damage
                BladeRuinedKing = new CustomItem
                {
                    Name        = "blade-ruined-king",
                    DisplayName = "Blade of the Ruined King",
                    Item        = ItemData.Blade_of_the_Ruined_King.GetItem(),
                    Flags       = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Damage | EffectFlags.MovementSlow,
                    CastType    = CastType.Target,
                    Damage      = Damage.DamageItems.Botrk,
                    Range       = ItemData.Blade_of_the_Ruined_King.GetItem().Range
                };

                // Damage + Slow
                HextechGunblade = new CustomItem
                {
                    Name        = "hextech-gunblade",
                    DisplayName = "Hextech Gunblade",
                    Item        = ItemData.Hextech_Gunblade.GetItem(),
                    Flags       = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Damage | EffectFlags.MovementSlow,
                    CastType    = CastType.Target,
                    Damage      = Damage.DamageItems.Hexgun,
                    Range       = ItemData.Hextech_Gunblade.GetItem().Range
                };

                // AOE Shield
                LocketIronSolari = new CustomItem
                {
                    Name        = "locket-iron-solari",
                    DisplayName = "Locket of the Iron Solari",
                    Item        = ItemData.Locket_of_the_Iron_Solari.GetItem(),
                    Flags       = ItemFlags.Supportive | ItemFlags.Defensive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Shield,
                    CastType    = CastType.Self,
                    Range       = ItemData.Locket_of_the_Iron_Solari.GetItem().Range
                };

                // Remove stun + heal
                MikaelsCrucible = new CustomItem
                {
                    Name        = "mikaels-crucible",
                    DisplayName = "Mikael's Crucible",
                    Item        = ItemData.Mikaels_Crucible.GetItem(),
                    Flags       = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.RemoveStun | EffectFlags.Heal,
                    CastType    = CastType.Target,
                    Range       = ItemData.Mikaels_Crucible.GetItem().Range
                };

                // Place wards
                Sightstone = new CustomItem
                {
                    Name        = "sightstone",
                    DisplayName = "Sightstone",
                    Item        = ItemData.Sightstone.GetItem(),
                    Flags       = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType    = CastType.Position,
                    Range       = ItemData.Sightstone.GetItem().Range
                };

                // Place wards
                RubySightstone = new CustomItem
                {
                    Name        = "ruby-sightstone",
                    DisplayName = "Ruby Sightstone",
                    Item        = ItemData.Ruby_Sightstone.GetItem(),
                    Flags       = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType    = CastType.Position,
                    Range       = ItemData.Ruby_Sightstone.GetItem().Range
                };

                Items = new List <CustomItem>
                {
                    Youmuu,
                    Tiamat,
                    Hydra,
                    BilgewaterCutlass,
                    BladeRuinedKing,
                    HextechGunblade,
                    MikaelsCrucible,
                    LocketIronSolari,
                    Sightstone,
                    RubySightstone
                };

                MaxRange = Items.Max(s => s.Range);
            }
            catch (Exception ex)
            {
                Global.Logger.AddItem(new LogItem(ex));
            }
        }
        static ItemManager()
        {
            try
            {
                // Speed + Atk Speed
                Youmuu = new CustomItem
                {
                    Name        = "youmuus-ghostblade",
                    DisplayName = "Youmuu's Ghostblade",
                    Item        = ItemData.Youmuus_Ghostblade.GetItem(),
                    Flags       = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.AttackSpeed | EffectFlags.MovementSpeed,
                    CastType    = CastType.None,
                    Range       =
                        ObjectManager.Player.IsMelee
                            ? ObjectManager.Player.AttackRange * 3
                            : Orbwalking.GetRealAutoAttackRange(ObjectManager.Player)
                };

                // AOE damage, only melee
                Hydra = new CustomItem
                {
                    Name        = "hydra",
                    DisplayName = "Hydra",
                    Item        = ItemData.Ravenous_Hydra_Melee_Only.GetItem(),
                    Flags       = ItemFlags.Offensive,
                    CombatFlags = CombatFlags.Melee,
                    EffectFlags = EffectFlags.Damage,
                    CastType    = CastType.None,
                    Damage      = Damage.DamageItems.Hydra,
                    Range       = ItemData.Ravenous_Hydra_Melee_Only.GetItem().Range
                };

                // Slow + Damage
                BilgewaterCutlass = new CustomItem
                {
                    Name        = "bilgewater-cutlass",
                    DisplayName = "Bilgewater Cutlass",
                    Item        = ItemData.Bilgewater_Cutlass.GetItem(),
                    Flags       = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Damage | EffectFlags.MovementSlow,
                    CastType    = CastType.Target,
                    Damage      = Damage.DamageItems.Bilgewater,
                    Range       = ItemData.Bilgewater_Cutlass.GetItem().Range
                };

                // Slow + Damage
                BladeRuinedKing = new CustomItem
                {
                    Name        = "blade-ruined-king",
                    DisplayName = "Blade of the Ruined King",
                    Item        = ItemData.Blade_of_the_Ruined_King.GetItem(),
                    Flags       = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Damage | EffectFlags.MovementSlow,
                    CastType    = CastType.Target,
                    Damage      = Damage.DamageItems.Botrk,
                    Range       = ItemData.Blade_of_the_Ruined_King.GetItem().Range
                };

                // Damage + Slow
                HextechGunblade = new CustomItem
                {
                    Name        = "hextech-gunblade",
                    DisplayName = "Hextech Gunblade",
                    Item        = ItemData.Hextech_Gunblade.GetItem(),
                    Flags       = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Damage | EffectFlags.MovementSlow,
                    CastType    = CastType.Target,
                    Damage      = Damage.DamageItems.Hexgun,
                    Range       = ItemData.Hextech_Gunblade.GetItem().Range
                };

                // AOE Shield
                LocketIronSolari = new CustomItem
                {
                    Name        = "locket-iron-solari",
                    DisplayName = "Locket of the Iron Solari",
                    Item        = ItemData.Locket_of_the_Iron_Solari.GetItem(),
                    Flags       = ItemFlags.Supportive | ItemFlags.Defensive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Shield,
                    CastType    = CastType.None,
                    Range       = ItemData.Locket_of_the_Iron_Solari.GetItem().Range
                };

                // Remove stun + heal
                MikaelsCrucible = new CustomItem
                {
                    Name        = "mikaels-crucible",
                    DisplayName = "Mikael's Crucible",
                    Item        = ItemData.Mikaels_Crucible.GetItem(),
                    Flags       = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.RemoveStun | EffectFlags.Heal,
                    CastType    = CastType.Target,
                    Range       = ItemData.Mikaels_Crucible.GetItem().Range
                };


                // Slow
                FrostQueensClaim = new CustomItem
                {
                    Name        = "frost-queens-claim",
                    DisplayName = "Frost Queen's Claim",
                    Item        = ItemData.Frost_Queens_Claim.GetItem(),
                    Flags       = ItemFlags.Supportive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.MovementSlow,
                    CastType    = CastType.None,
                    Range       = ItemData.Frost_Queens_Claim.GetItem().Range
                };

                // Speed
                TalismanOfAscension = new CustomItem
                {
                    Name        = "talisman-of-ascension",
                    DisplayName = "Talisman of Ascension",
                    Item        = ItemData.Talisman_of_Ascension.GetItem(),
                    Flags       = ItemFlags.Supportive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.MovementSpeed,
                    CastType    = CastType.None,
                    Range       = ItemData.Talisman_of_Ascension.GetItem().Range
                };

                // Shield
                FaceOfTheMountain = new CustomItem
                {
                    Name        = "face-of-the-mountain",
                    DisplayName = "Face of the Mountain",
                    Item        = ItemData.Face_of_the_Mountain.GetItem(),
                    Flags       = ItemFlags.Supportive | ItemFlags.Flee | ItemFlags.Defensive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Shield,
                    CastType    = CastType.Self,
                    Range       = ItemData.Face_of_the_Mountain.GetItem().Range
                };

                // Place wards
                Sightstone = new CustomItem
                {
                    Name        = "sightstone",
                    DisplayName = "Sightstone",
                    Item        = ItemData.Sightstone.GetItem(),
                    Flags       = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType    = CastType.Position,
                    Range       = ItemData.Sightstone.GetItem().Range
                };

                // Place wards
                RubySightstone = new CustomItem
                {
                    Name        = "ruby-sightstone",
                    DisplayName = "Ruby Sightstone",
                    Item        = ItemData.Ruby_Sightstone.GetItem(),
                    Flags       = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType    = CastType.Position,
                    Range       = ItemData.Ruby_Sightstone.GetItem().Range
                };

                // Place wards
                EyeOfTheWatchers = new CustomItem
                {
                    Name        = "eye-of-the-watchers",
                    DisplayName = "Eye of the Watchers",
                    Item        = ItemData.Eye_of_the_Watchers.GetItem(),
                    Flags       = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType    = CastType.Position,
                    Range       = ItemData.Eye_of_the_Watchers.GetItem().Range
                };

                // Place wards
                EyeOfTheEquinox = new CustomItem
                {
                    Name        = "eye-of-the-equinox",
                    DisplayName = "Eye of the Equinox",
                    Item        = ItemData.Eye_of_the_Equinox.GetItem(),
                    Flags       = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType    = CastType.Position,
                    Range       = ItemData.Eye_of_the_Equinox.GetItem().Range
                };

                // Place wards
                EyeOfTheOasis = new CustomItem
                {
                    Name        = "eye-of-the-oasis",
                    DisplayName = "Eye of the Oasis",
                    Item        = ItemData.Eye_of_the_Oasis.GetItem(),
                    Flags       = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType    = CastType.Position,
                    Range       = ItemData.Eye_of_the_Oasis.GetItem().Range
                };

                // Place wards
                TrackersKnife = new CustomItem
                {
                    Name        = "trackers-knife",
                    DisplayName = "Tracker's Knife",
                    Item        = ItemData.Trackers_Knife.GetItem(),
                    Flags       = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType    = CastType.Position,
                    Range       = ItemData.Trackers_Knife.GetItem().Range
                };

                Items = new List <CustomItem>
                {
                    Youmuu,
                    Hydra,
                    BilgewaterCutlass,
                    BladeRuinedKing,
                    HextechGunblade,
                    MikaelsCrucible,
                    LocketIronSolari,
                    FrostQueensClaim,
                    TalismanOfAscension,
                    FaceOfTheMountain,
                    Sightstone,
                    RubySightstone,
                    EyeOfTheWatchers,
                    EyeOfTheEquinox,
                    EyeOfTheOasis,
                    TrackersKnife
                };

                MaxRange = Items.Max(s => s.Range);
            }
            catch (Exception ex)
            {
                Global.Logger.AddItem(new LogItem(ex));
            }
        }
Пример #3
0
        static ItemManager()
        {
            try
            {
                // Speed + Atk Speed
                Youmuu = new CustomItem
                {
                    Name = "youmuus-ghostblade",
                    DisplayName = Global.Lang.Get("MI_YoumuusGhostblade"),
                    Item = ItemData.Youmuus_Ghostblade.GetItem(),
                    Flags = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.AttackSpeed | EffectFlags.MovementSpeed,
                    CastType = CastType.Self,
                    Range =
                        ObjectManager.Player.IsMelee
                            ? ObjectManager.Player.AttackRange * 3
                            : Orbwalking.GetRealAutoAttackRange(ObjectManager.Player)
                };

                // AOE damage, only melee
                Tiamat = new CustomItem
                {
                    Name = "tiamat",
                    DisplayName = Global.Lang.Get("MI_Tiamat"),
                    Item = ItemData.Tiamat_Melee_Only.GetItem(),
                    Flags = ItemFlags.Offensive,
                    CombatFlags = CombatFlags.Melee,
                    EffectFlags = EffectFlags.Damage,
                    CastType = CastType.Self,
                    Damage = Damage.DamageItems.Tiamat,
                    Range = ItemData.Tiamat_Melee_Only.GetItem().Range
                };

                // AOE damage, only melee
                Hydra = new CustomItem
                {
                    Name = "hydra",
                    DisplayName = Global.Lang.Get("MI_Hydra"),
                    Item = ItemData.Ravenous_Hydra_Melee_Only.GetItem(),
                    Flags = ItemFlags.Offensive,
                    CombatFlags = CombatFlags.Melee,
                    EffectFlags = EffectFlags.Damage,
                    CastType = CastType.Self,
                    Damage = Damage.DamageItems.Hydra,
                    Range = ItemData.Ravenous_Hydra_Melee_Only.GetItem().Range
                };
                // Slow + Damage
                BilgewaterCutlass = new CustomItem
                {
                    Name = "bilgewater-cutlass",
                    DisplayName = Global.Lang.Get("MI_BilgewaterCutlass"),
                    Item = ItemData.Bilgewater_Cutlass.GetItem(),
                    Flags = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Damage | EffectFlags.MovementSlow,
                    CastType = CastType.Target,
                    Damage = Damage.DamageItems.Bilgewater,
                    Range = ItemData.Bilgewater_Cutlass.GetItem().Range
                };

                // Slow + Damage
                BladeRuinedKing = new CustomItem
                {
                    Name = "blade-ruined-king",
                    DisplayName = Global.Lang.Get("MI_BladeRuinedKing"),
                    Item = ItemData.Blade_of_the_Ruined_King.GetItem(),
                    Flags = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Damage | EffectFlags.MovementSlow,
                    CastType = CastType.Target,
                    Damage = Damage.DamageItems.Botrk,
                    Range = ItemData.Blade_of_the_Ruined_King.GetItem().Range
                };

                // Damage + Slow
                HextechGunblade = new CustomItem
                {
                    Name = "hextech-gunblade",
                    DisplayName = Global.Lang.Get("MI_HextechGunblade"),
                    Item = ItemData.Hextech_Gunblade.GetItem(),
                    Flags = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Damage | EffectFlags.MovementSlow,
                    CastType = CastType.Target,
                    Damage = Damage.DamageItems.Hexgun,
                    Range = ItemData.Hextech_Gunblade.GetItem().Range
                };

                // Remove stun + heal
                MikaelsCrucible = new CustomItem
                {
                    Name = "mikaels-crucible",
                    DisplayName = Global.Lang.Get("MI_MikaelsCrucible"),
                    Item = ItemData.Mikaels_Crucible.GetItem(),
                    Flags = ItemFlags.Supportive | ItemFlags.Defensive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.RemoveStun | EffectFlags.Heal,
                    CastType = CastType.Target,
                    Range = ItemData.Mikaels_Crucible.GetItem().Range
                };

                // AOE Shield
                LocketIronSolari = new CustomItem
                {
                    Name = "locket-iron-solari",
                    DisplayName = Global.Lang.Get("MI_LocketIronSolari"),
                    Item = ItemData.Locket_of_the_Iron_Solari.GetItem(),
                    Flags = ItemFlags.Supportive | ItemFlags.Defensive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Shield,
                    CastType = CastType.Self,
                    Range = ItemData.Locket_of_the_Iron_Solari.GetItem().Range
                };

                // Place wards
                Sightstone = new CustomItem
                {
                    Name = "sightstone",
                    DisplayName = Global.Lang.Get("MI_Sightstone"),
                    Item = ItemData.Sightstone.GetItem(),
                    Flags = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType = CastType.Position,
                    Range = ItemData.Sightstone.GetItem().Range
                };

                // Place wards
                RubySightstone = new CustomItem
                {
                    Name = "ruby-sightstone",
                    DisplayName = Global.Lang.Get("MI_RubySightstone"),
                    Item = ItemData.Ruby_Sightstone.GetItem(),
                    Flags = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType = CastType.Position,
                    Range = ItemData.Ruby_Sightstone.GetItem().Range
                };

                Items = new List<CustomItem>
                {
                    Youmuu,
                    Tiamat,
                    Hydra,
                    BilgewaterCutlass,
                    BladeRuinedKing,
                    HextechGunblade,
                    MikaelsCrucible,
                    LocketIronSolari,
                    Sightstone,
                    RubySightstone
                };

                MaxRange = Items.Max(s => s.Range);
            }
            catch (Exception ex)
            {
                Global.Logger.AddItem(new LogItem(ex));
            }
        }
        static ItemManager()
        {
            try
            {
                // Speed + Atk Speed
                Youmuu = new CustomItem
                {
                    Name = "youmuus-ghostblade",
                    DisplayName = "Youmuu's Ghostblade",
                    Item = ItemData.Youmuus_Ghostblade.GetItem(),
                    Flags = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.AttackSpeed | EffectFlags.MovementSpeed,
                    CastType = CastType.None,
                    Range =
                        ObjectManager.Player.IsMelee
                            ? ObjectManager.Player.AttackRange * 3
                            : Orbwalking.GetRealAutoAttackRange(ObjectManager.Player)
                };

                // AOE damage, only melee
                Hydra = new CustomItem
                {
                    Name = "hydra",
                    DisplayName = "Hydra",
                    Item = ItemData.Ravenous_Hydra_Melee_Only.GetItem(),
                    Flags = ItemFlags.Offensive,
                    CombatFlags = CombatFlags.Melee,
                    EffectFlags = EffectFlags.Damage,
                    CastType = CastType.None,
                    Damage = Damage.DamageItems.Hydra,
                    Range = ItemData.Ravenous_Hydra_Melee_Only.GetItem().Range
                };

                // Slow + Damage
                BilgewaterCutlass = new CustomItem
                {
                    Name = "bilgewater-cutlass",
                    DisplayName = "Bilgewater Cutlass",
                    Item = ItemData.Bilgewater_Cutlass.GetItem(),
                    Flags = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Damage | EffectFlags.MovementSlow,
                    CastType = CastType.Target,
                    Damage = Damage.DamageItems.Bilgewater,
                    Range = ItemData.Bilgewater_Cutlass.GetItem().Range
                };

                // Slow + Damage
                BladeRuinedKing = new CustomItem
                {
                    Name = "blade-ruined-king",
                    DisplayName = "Blade of the Ruined King",
                    Item = ItemData.Blade_of_the_Ruined_King.GetItem(),
                    Flags = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Damage | EffectFlags.MovementSlow,
                    CastType = CastType.Target,
                    Damage = Damage.DamageItems.Botrk,
                    Range = ItemData.Blade_of_the_Ruined_King.GetItem().Range
                };

                // Damage + Slow
                HextechGunblade = new CustomItem
                {
                    Name = "hextech-gunblade",
                    DisplayName = "Hextech Gunblade",
                    Item = ItemData.Hextech_Gunblade.GetItem(),
                    Flags = ItemFlags.Offensive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Damage | EffectFlags.MovementSlow,
                    CastType = CastType.Target,
                    Damage = Damage.DamageItems.Hexgun,
                    Range = ItemData.Hextech_Gunblade.GetItem().Range
                };

                // AOE Shield
                LocketIronSolari = new CustomItem
                {
                    Name = "locket-iron-solari",
                    DisplayName = "Locket of the Iron Solari",
                    Item = ItemData.Locket_of_the_Iron_Solari.GetItem(),
                    Flags = ItemFlags.Supportive | ItemFlags.Defensive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Shield,
                    CastType = CastType.None,
                    Range = ItemData.Locket_of_the_Iron_Solari.GetItem().Range
                };

                // Remove stun + heal
                MikaelsCrucible = new CustomItem
                {
                    Name = "mikaels-crucible",
                    DisplayName = "Mikael's Crucible",
                    Item = ItemData.Mikaels_Crucible.GetItem(),
                    Flags = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.RemoveStun | EffectFlags.Heal,
                    CastType = CastType.Target,
                    Range = ItemData.Mikaels_Crucible.GetItem().Range
                };


                // Slow
                FrostQueensClaim = new CustomItem
                {
                    Name = "frost-queens-claim",
                    DisplayName = "Frost Queen's Claim",
                    Item = ItemData.Frost_Queens_Claim.GetItem(),
                    Flags = ItemFlags.Supportive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.MovementSlow,
                    CastType = CastType.None,
                    Range = ItemData.Frost_Queens_Claim.GetItem().Range
                };

                // Speed
                TalismanOfAscension = new CustomItem
                {
                    Name = "talisman-of-ascension",
                    DisplayName = "Talisman of Ascension",
                    Item = ItemData.Talisman_of_Ascension.GetItem(),
                    Flags = ItemFlags.Supportive | ItemFlags.Flee,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.MovementSpeed,
                    CastType = CastType.None,
                    Range = ItemData.Talisman_of_Ascension.GetItem().Range
                };

                // Shield
                FaceOfTheMountain = new CustomItem
                {
                    Name = "face-of-the-mountain",
                    DisplayName = "Face of the Mountain",
                    Item = ItemData.Face_of_the_Mountain.GetItem(),
                    Flags = ItemFlags.Supportive | ItemFlags.Flee | ItemFlags.Defensive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    EffectFlags = EffectFlags.Shield,
                    CastType = CastType.Self,
                    Range = ItemData.Face_of_the_Mountain.GetItem().Range
                };

                // Place wards
                Sightstone = new CustomItem
                {
                    Name = "sightstone",
                    DisplayName = "Sightstone",
                    Item = ItemData.Sightstone.GetItem(),
                    Flags = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType = CastType.Position,
                    Range = ItemData.Sightstone.GetItem().Range
                };

                // Place wards
                RubySightstone = new CustomItem
                {
                    Name = "ruby-sightstone",
                    DisplayName = "Ruby Sightstone",
                    Item = ItemData.Ruby_Sightstone.GetItem(),
                    Flags = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType = CastType.Position,
                    Range = ItemData.Ruby_Sightstone.GetItem().Range
                };

                // Place wards
                EyeOfTheWatchers = new CustomItem
                {
                    Name = "eye-of-the-watchers",
                    DisplayName = "Eye of the Watchers",
                    Item = ItemData.Eye_of_the_Watchers.GetItem(),
                    Flags = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType = CastType.Position,
                    Range = ItemData.Eye_of_the_Watchers.GetItem().Range
                };

                // Place wards
                EyeOfTheEquinox = new CustomItem
                {
                    Name = "eye-of-the-equinox",
                    DisplayName = "Eye of the Equinox",
                    Item = ItemData.Eye_of_the_Equinox.GetItem(),
                    Flags = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType = CastType.Position,
                    Range = ItemData.Eye_of_the_Equinox.GetItem().Range
                };

                // Place wards
                EyeOfTheOasis = new CustomItem
                {
                    Name = "eye-of-the-oasis",
                    DisplayName = "Eye of the Oasis",
                    Item = ItemData.Eye_of_the_Oasis.GetItem(),
                    Flags = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType = CastType.Position,
                    Range = ItemData.Eye_of_the_Oasis.GetItem().Range
                };

                // Place wards
                TrackersKnife = new CustomItem
                {
                    Name = "trackers-knife",
                    DisplayName = "Tracker's Knife",
                    Item = ItemData.Trackers_Knife.GetItem(),
                    Flags = ItemFlags.Supportive,
                    CombatFlags = CombatFlags.Melee | CombatFlags.Ranged,
                    CastType = CastType.Position,
                    Range = ItemData.Trackers_Knife.GetItem().Range
                };

                Items = new List<CustomItem>
                {
                    Youmuu,
                    Hydra,
                    BilgewaterCutlass,
                    BladeRuinedKing,
                    HextechGunblade,
                    MikaelsCrucible,
                    LocketIronSolari,
                    FrostQueensClaim,
                    TalismanOfAscension,
                    FaceOfTheMountain,
                    Sightstone,
                    RubySightstone,
                    EyeOfTheWatchers,
                    EyeOfTheEquinox,
                    EyeOfTheOasis,
                    TrackersKnife
                };

                MaxRange = Items.Max(s => s.Range);
            }
            catch (Exception ex)
            {
                Global.Logger.AddItem(new LogItem(ex));
            }
        }