public static void Load(ICommonChampion champion) { CommonSpell q = new CommonSpell(SpellSlot.Q, 625, TargetSelector.DamageType.Magical); CommonSpell w = new CommonSpell(SpellSlot.W, 550, TargetSelector.DamageType.Magical); CommonSpell e = new CommonSpell(SpellSlot.E, 0, TargetSelector.DamageType.Magical); CommonSpell r = new CommonSpell(SpellSlot.R, 600, TargetSelector.DamageType.Magical); q.SetTargetted(0.25f, 1400f); w.SetSkillshot(0.5f, 250f, float.MaxValue, false, SkillshotType.SkillshotCone); r.SetSkillshot(0.2f, 250f, float.MaxValue, false, SkillshotType.SkillshotCircle); champion.Spells.AddSpell(q); champion.Spells.AddSpell(w); champion.Spells.AddSpell(e); champion.Spells.AddSpell(r); }
public CommonForceUltimate(ICommonChampion champion) { this.champion = champion; MouseImage1 = new Render.Sprite(Resources.Mouse1, new Vector2(0, 0)); MouseImage1.Scale = new Vector2(0.50f, 0.50f); MouseImage1.Add(); MouseImage2 = new Render.Sprite(Resources.Mouse2, new Vector2(0, 0)); MouseImage2.Scale = new Vector2(0.50f, 0.50f); MouseImage2.Add(); DenyMouseImage = new Render.Sprite(Resources.DenyMouse, new Vector2(0, 0)); DenyMouseImage.Scale = new Vector2(0.50f, 0.50f); DenyMouseImage.Add(); DenyMouseImage.Visible = false; text.Add(); text.Visible = false; Game.OnWndProc += CheckMouseButtons; Game.OnUpdate += ShowAnimation; }
public CommonForceUltimate(ICommonChampion champion) { this.champion = champion; MouseImage1 = new Render.Sprite(Resources.mouse1, new Vector2(0, 0)); MouseImage1.Scale = new Vector2(0.50f, 0.50f); MouseImage1.Add(); MouseImage2 = new Render.Sprite(Resources.mouse2, new Vector2(0, 0)); MouseImage2.Scale = new Vector2(0.50f, 0.50f); MouseImage2.Add(); DenyMouseImage = new Render.Sprite(Resources.denymouse, new Vector2(0, 0)); DenyMouseImage.Scale = new Vector2(0.50f, 0.50f); DenyMouseImage.Add(); DenyMouseImage.Visible = false; text.Add(); text.Visible = false; Game.OnWndProc += CheckMouseButtons; Game.OnUpdate += ShowAnimation; }
public CommonSpells(ICommonChampion player) { champion = player; spellList = new List <CommonSpell>(); }
public CommonDamageDrawing(ICommonChampion champion) { this.champion = champion; }
public CommonDisableAA(ICommonChampion champion) { this.champion = champion; Orbwalking.BeforeAttack += CancelAA; }
public CommonSpells(ICommonChampion player) { champion = player; spellList = new List<CommonSpell>(); }