Exemplo n.º 1
0
        private static void ExecuteDoubleChain()
        {
            EloBuddy.Player.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPos);

            Drawing.DrawText(Drawing.Width * 0.45f, Drawing.Height * 0.78f, System.Drawing.Color.Red, "Double Stun Active!");

            foreach (var e in
                     ObjectManager.Get <AIHeroClient>()
                     .Where(
                         e =>
                         e.IsEnemy && !e.IsDead && e.IsVisible &&
                         ObjectManager.Player.LSDistance(e) < Modes.ModeSettings.MaxERange && !e.HasSoulShackle()))
            {
                PlayerSpells.CastE(e);
                PlayerSpells.CastE2(e);
            }
        }