Exemplo n.º 1
0
        static Items()
        {
            try
            {
                // AOE damage, only melee
                Hydra = new CustomItem
                {
                    Item   = ItemData.Ravenous_Hydra_Melee_Only.GetItem(),
                    Damage = Damage.DamageItems.Hydra,
                    Target = false,
                    Range  = ItemData.Ravenous_Hydra_Melee_Only.GetItem().Range
                };

                // Slow + Damage
                BilgewaterCutlass = new CustomItem
                {
                    Item   = ItemData.Bilgewater_Cutlass.GetItem(),
                    Damage = Damage.DamageItems.Bilgewater,
                    Target = true,
                    Range  = ItemData.Bilgewater_Cutlass.GetItem().Range
                };

                // Slow + Damage
                BladeRuinedKing = new CustomItem
                {
                    Item   = ItemData.Blade_of_the_Ruined_King.GetItem(),
                    Damage = Damage.DamageItems.Botrk,
                    Target = true,
                    Range  = ItemData.Blade_of_the_Ruined_King.GetItem().Range
                };

                // Damage + Slow
                HextechGunblade = new CustomItem
                {
                    Item   = ItemData.Hextech_Gunblade.GetItem(),
                    Damage = Damage.DamageItems.Hexgun,
                    Target = true,
                    Range  = ItemData.Hextech_Gunblade.GetItem().Range
                };

                CustomItems = new List <CustomItem> {
                    Hydra, BilgewaterCutlass, BladeRuinedKing, HextechGunblade
                };
            }
            catch (Exception ex)
            {
                CustomItems = new List <CustomItem>();
                Global.Logger.AddItem(new LogItem(ex));
            }
        }
Exemplo n.º 2
0
        static Items()
        {
            try
            {
                // AOE damage, only melee
                Hydra = new CustomItem
                {
                    Item = ItemData.Ravenous_Hydra_Melee_Only.GetItem(),
                    Damage = Damage.DamageItems.Hydra,
                    Target = false,
                    Range = ItemData.Ravenous_Hydra_Melee_Only.GetItem().Range
                };

                // Slow + Damage
                BilgewaterCutlass = new CustomItem
                {
                    Item = ItemData.Bilgewater_Cutlass.GetItem(),
                    Damage = Damage.DamageItems.Bilgewater,
                    Target = true,
                    Range = ItemData.Bilgewater_Cutlass.GetItem().Range
                };

                // Slow + Damage
                BladeRuinedKing = new CustomItem
                {
                    Item = ItemData.Blade_of_the_Ruined_King.GetItem(),
                    Damage = Damage.DamageItems.Botrk,
                    Target = true,
                    Range = ItemData.Blade_of_the_Ruined_King.GetItem().Range
                };

                // Damage + Slow
                HextechGunblade = new CustomItem
                {
                    Item = ItemData.Hextech_Gunblade.GetItem(),
                    Damage = Damage.DamageItems.Hexgun,
                    Target = true,
                    Range = ItemData.Hextech_Gunblade.GetItem().Range
                };

                CustomItems = new List<CustomItem> { Hydra, BilgewaterCutlass, BladeRuinedKing, HextechGunblade };
            }
            catch (Exception ex)
            {
                CustomItems = new List<CustomItem>();
                Global.Logger.AddItem(new LogItem(ex));
            }
        }