private static void InitializeSpells() { if (mustDebug) Game.PrintChat("InitializeSpells Start"); Q = new Spell(SpellSlot.Q, 850); Q.SetSkillshot(0.6f, 40f, float.MaxValue, false, SkillshotType.SkillshotCircle); W = new Spell(SpellSlot.W, 850); W.SetSkillshot(0.5f, 90f, 2500, false, SkillshotType.SkillshotCircle); E = new Spell(SpellSlot.E, 700); E.SetTargetted(0.2f, float.MaxValue); R = new Spell(SpellSlot.R, 800); R.SetSkillshot(0.6f, (float)(80 * Math.PI / 180), float.MaxValue, false, SkillshotType.SkillshotCone); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); summonerSpellManager = new SummonerSpellManager(); if (mustDebug) Game.PrintChat("InitializeSpells Finish"); }
private static void InitializeSpells() { summonerSpellManager = new SummonerSpellManager(); itemManager = new ItemManager(); Q = new Spell(SpellSlot.Q, 650); Q.SetTargetted(0.25f, 1400); W = new Spell(SpellSlot.W, 625); W.SetSkillshot(0.6f, (float)(50 * Math.PI / 180), float.MaxValue, false, SkillshotType.SkillshotCone); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R, 600); R.SetSkillshot(0.25f, 200f, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); }