示例#1
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Caitlyn")
            {
                return;
            }
            Chat.Print(
                "<font color=\"#6909aa\" >MeLoDag Presents </font><font color=\"#fffffff\" >Caitlyn </font><font color=\"#6909aa\" >Kappa Kippo</font>");
            Chat.Print("Loaded Version 1.3 (9-6-2016)", Color.Red);
            CaitlynTheTrollMeNu.LoadMenu();
            Game.OnTick += GameOnTick;
            Activator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill

            Q = new Spell.Skillshot(SpellSlot.Q, 1240, SkillShotType.Linear, 250, 2000, 60);
            W = new Spell.Skillshot(SpellSlot.W, 820, SkillShotType.Circular, 500, int.MaxValue, 80);
            E = new Spell.Skillshot(SpellSlot.E, 800, SkillShotType.Linear, 250, 1600, 80);
            {
                E.AllowedCollisionCount = 0;
            }
            R = new Spell.Targeted(SpellSlot.R, 2000);

            #endregion

            Gapcloser.OnGapcloser            += AntiGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Drawing.OnDraw += GameOnDraw;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }
示例#2
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Caitlyn")
            {
                return;
            }
            Chat.Print(
                "<font color=\"#6909aa\" >MeLoSenpai Presents </font><font color=\"#fffffff\" >Caitlyn </font><font color=\"#6909aa\" >The Troll Ceviri TekinTR</font>");
            Chat.Print("Yuklenen versiyon 1.6 (27-10-2016)", Color.Red);
            CaitlynTheTrollMeNu.LoadMenu();
            Game.OnTick += GameOnTick;
            Activator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill

            Q = new Spell.Skillshot(SpellSlot.Q, 1200, SkillShotType.Linear, 625, 2200, 90)
            {
                AllowedCollisionCount = -1
            };
            W = new Spell.Skillshot(SpellSlot.W, 800, SkillShotType.Circular, 500, int.MaxValue, 20);
            E = new Spell.Skillshot(SpellSlot.E, 800, SkillShotType.Linear, 150, 1600, 80)
            {
                AllowedCollisionCount = 0
            };
            R = new Spell.Targeted(SpellSlot.R, 2000);

            #endregion

            Gapcloser.OnGapcloser            += AntiGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Orbwalker.OnPostAttack           += OnAfterAttack;
            Drawing.OnDraw += GameOnDraw;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }