예제 #1
0
        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);
        }
예제 #2
0
        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;
        }
예제 #3
0
        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;
        }
예제 #4
0
        public CommonSpells(ICommonChampion player)
        {
            champion = player;

            spellList = new List <CommonSpell>();
        }
예제 #5
0
 public CommonDamageDrawing(ICommonChampion champion)
 {
     this.champion = champion;
 }
예제 #6
0
        public CommonDisableAA(ICommonChampion champion)
        {
            this.champion = champion;

            Orbwalking.BeforeAttack += CancelAA;
        }
예제 #7
0
        public CommonDisableAA(ICommonChampion champion)
        {
            this.champion = champion;

            Orbwalking.BeforeAttack += CancelAA;
        }
예제 #8
0
        public CommonSpells(ICommonChampion player)
        {
            champion = player;

            spellList = new List<CommonSpell>();
        }
예제 #9
0
 public CommonDamageDrawing(ICommonChampion champion)
 {
     this.champion = champion;
 }