コード例 #1
0
        public static void Game_OnGameLoad()
        {
            // Champ validation
            player = ObjectManager.Player;
            if (player.ChampionName != CHAMP_NAME)
            {
                return;
            }

            // Define spells
            Q = new Spell(SpellSlot.Q, 600);
            W = new Spell(SpellSlot.W, 700);
            E = new Spell(SpellSlot.E, rangeE);
            R = new Spell(SpellSlot.R, 700);

            // Finetune spells
            Q.SetTargetted(0.25f, 2000);
            W.SetSkillshot(0.5f, 300, float.MaxValue, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0, 80, speedE, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.25f, 300f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            // Create menu
            SetupMenu();

            // Register events
            Game.OnUpdate  += Game_OnGameUpdate;
            Drawing.OnDraw += Drawing_OnDraw;

            Events.OnGapCloser           += AntiGapcloser_OnEnemyGapcloser;
            Variables.Orbwalker.OnAction += Orbwalker_OnAction;
            Events.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
            Drawing.OnEndScene           += DrawDmg;
        }
コード例 #2
0
ファイル: Spells.cs プロジェクト: yashine59fr/PortAIO-1
 public static void ExecuteSpells()
 {
     Q = new Spell(SpellSlot.Q,300f);
     W = new Spell(SpellSlot.W);
     E = new Spell(SpellSlot.E,550f);
     E.SetTargetted(0.25F, 1600f);
     R = new Spell(SpellSlot.R);
 }
コード例 #3
0
ファイル: Spells.cs プロジェクト: Burbb/Portaio
 public static void ExecuteSpells()
 {
     Q = new Spell(SpellSlot.Q, 300f);
     W = new Spell(SpellSlot.W);
     E = new Spell(SpellSlot.E, 550f);
     E.SetTargetted(0.25F, 1600f);
     R = new Spell(SpellSlot.R);
 }
コード例 #4
0
            public static void Load()
            {
                Q = new Spell(SpellSlot.Q, 680);
                W = new Spell(SpellSlot.W);
                E = new Spell(SpellSlot.E);
                R = new Spell(SpellSlot.R, 300);

                Q.SetTargetted(0.5f, 1500f);
                R.SetSkillshot(0.5f, 120f, 1000f, false, SkillshotType.SkillshotCircle);

                Ignite = Player.GetSpellSlot("SummonerDot");
            }
コード例 #5
0
ファイル: Core.cs プロジェクト: yMeliodasNTD/PortAIO
            public static void Load()
            {
                Q = new Spell(SpellSlot.Q, 680);
                W = new Spell(SpellSlot.W);
                E = new Spell(SpellSlot.E);
                R = new Spell(SpellSlot.R, 300);

                Q.SetTargetted(0.5f, 1500f);
                R.SetSkillshot(0.5f, 120f, 1000f, false, SkillshotType.SkillshotCircle);

                Ignite = Player.GetSpellSlot("SummonerDot");
            }
コード例 #6
0
ファイル: Spells.cs プロジェクト: soulcrash/PortAIO
        public static void Load()
        {
            Q = new Spell(SpellSlot.Q, 650);
            W = new Spell(SpellSlot.W, 200);
            E = new Spell(SpellSlot.E, 700);
            R = new Spell(SpellSlot.R, 500);

            Q.SetTargetted(0.5f, 1400);
            E.SetSkillshot(0.5f, 10f, float.MaxValue, false, SkillshotType.SkillshotCone);
            R.SetSkillshot(0.5f, 150f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            Ignite = GameObjects.Player.GetSpellSlot("summonerDot");
        }
コード例 #7
0
ファイル: Spells.cs プロジェクト: yashine59fr/PortAIO
        public static void Load()
        {
            Q = new Spell(SpellSlot.Q, 650);
            W = new Spell(SpellSlot.W, 200);
            E = new Spell(SpellSlot.E, 700);
            R = new Spell(SpellSlot.R, 500);

            Q.SetTargetted(0.5f, 1400);
            E.SetSkillshot(0.5f, 10f, float.MaxValue, false, SkillshotType.SkillshotCone);
            R.SetSkillshot(0.5f, 150f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            Ignite = GameObjects.Player.GetSpellSlot("summonerDot");
        }
コード例 #8
0
ファイル: Lucian.cs プロジェクト: cttbot/LeagueSharp
        public Lucian()
        {
            Q = new Spell(SpellSlot.Q, 675);
            Q2 = new Spell(SpellSlot.Q, 1200);
            W = new Spell(SpellSlot.W, 1200f);
            E = new Spell(SpellSlot.E, 475f);
            R = new Spell(SpellSlot.R, 1400);

            Q.SetTargetted(0.25f, 1400f);
            Q2.SetSkillshot(0.5f, 50, float.MaxValue, false, SkillshotType.SkillshotLine);
            W.SetSkillshot(0.30f, 70f, 1600f, true, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.2f, 110f, 2500, true, SkillshotType.SkillshotLine);
            InitMenu();
            DelayedOnUpdate += OnUpdate;
            Events.OnGapCloser += EventsOnOnGapCloser;
            Events.OnInterruptableTarget += OnInterruptableTarget;
            Orbwalker.OnAction += OnAction;
            Spellbook.OnCastSpell += OnCastSpell;
        }
コード例 #9
0
        public Lucian()
        {
            Q  = new LeagueSharp.SDK.Spell(SpellSlot.Q, 675);
            Q2 = new LeagueSharp.SDK.Spell(SpellSlot.Q, 1200);
            W  = new LeagueSharp.SDK.Spell(SpellSlot.W, 1200f);
            E  = new LeagueSharp.SDK.Spell(SpellSlot.E, 475f);
            R  = new LeagueSharp.SDK.Spell(SpellSlot.R, 1400);

            Q.SetTargetted(0.25f, 1400f);
            Q2.SetSkillshot(0.5f, 50, float.MaxValue, false, SkillshotType.SkillshotLine);
            W.SetSkillshot(0.30f, 70f, 1600f, true, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.2f, 110f, 2500, true, SkillshotType.SkillshotLine);
            InitMenu();
            DelayedOnUpdate              += OnUpdate;
            Events.OnGapCloser           += EventsOnOnGapCloser;
            Events.OnInterruptableTarget += OnInterruptableTarget;
            Orbwalker.OnPostAttack       += Orbwalker_OnPostAttack;
            Orbwalker.OnPreAttack        += Orbwalker_OnPreAttack;
            Spellbook.OnCastSpell        += OnCastSpell;
        }
コード例 #10
0
ファイル: Lucian.cs プロジェクト: yashine59fr/PortAIO-1
        public Lucian()
        {
            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 675);
            Q2 = new LeagueSharp.SDK.Spell(SpellSlot.Q, 1100);
            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 1100);
            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 475f);
            R = new LeagueSharp.SDK.Spell(SpellSlot.R, 1400);

            Q.SetTargetted(0.25f, 1400f);
            Q2.SetSkillshot(0.5f, 50, float.MaxValue, false, SkillshotType.SkillshotLine);
            W.SetSkillshot(0.30f, 70f, 1600f, true, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.2f, 110f, 2500, true, SkillshotType.SkillshotLine);
            InitMenu();
            DelayedOnUpdate += OnUpdate;
            Events.OnGapCloser += EventsOnOnGapCloser;
            Events.OnInterruptableTarget += OnInterruptableTarget;
            LeagueSharp.Common.LSEvents.AfterAttack += Orbwalker_OnPostAttack;
            LeagueSharp.Common.LSEvents.BeforeAttack += Orbwalker_OnPreAttack;
            Spellbook.OnCastSpell += OnCastSpell;
        }