static SummonerManager() { try { // ReSharper disable once StringLiteralTypo BlueSmite = new SummonerSpell { Name = "s5_summonersmiteplayerganker", CastType = CastType.Target, Range = 750f }; RedSmite = new SummonerSpell { Name = "s5_summonersmiteSingle", CastType = CastType.Target, Range = 750f }; Ghost = new SummonerSpell { Name = "SummonerHaste", CastType = CastType.Self, Range = float.MaxValue }; Clarity = new SummonerSpell { Name = "SummonerMana", CastType = CastType.Self, Range = 600f }; Heal = new SummonerSpell { Name = "SummonerHeal", CastType = CastType.Self, Range = 850f }; Barrier = new SummonerSpell { Name = "SummonerBarrier", CastType = CastType.Self, Range = float.MaxValue }; Exhaust = new SummonerSpell { Name = "SummonerExhaust", CastType = CastType.Target, Range = 650f }; Cleanse = new SummonerSpell { Name = "SummonerBoost", CastType = CastType.Self, Range = float.MaxValue }; Flash = new SummonerSpell { Name = "SummonerFlash", CastType = CastType.Position, Range = 425f }; Ignite = new SummonerSpell { Name = "SummonerDot", CastType = CastType.Target, Range = 600f }; Smite = new SummonerSpell { Name = "SummonerSmite", CastType = CastType.Target, Range = 750f }; SummonerSpells = new List<SummonerSpell> { Ghost, Clarity, Heal, Barrier, Exhaust, Cleanse, Flash, Ignite, Smite, BlueSmite, RedSmite }; MaxRange = SummonerSpells.Max(s => s.Range); } catch (Exception ex) { Global.Logger.AddItem(new LogItem(ex)); } }