コード例 #1
0
 public static void buyItems()
 {
     if (lastBuy < DeathWalker.now - 2300)
     {
         AutoShopper.buyNext();
         lastBuy = DeathWalker.now;
     }
 }
コード例 #2
0
 public static void buyItems()
 {
     if (lastBuy < ARAMDetFull.now - 2300)//if (lastBuy + 125 <= Core.GameTickCount)
     {
         //Chat.Print("I should buy an item now.");
         AutoShopper.buyNext();
         lastBuy = Core.GameTickCount;
     }
     else
     {
         //Chat.Print("I cant buy an item now." + Core.GameTickCount);
     }
 }
コード例 #3
0
        public static void buyItems()
        {
            if (lastBuy < DeathWalker.now - 2300)
            {
                AutoShopper.buyNext();
                lastBuy = DeathWalker.now;
            }

            /* foreach (var item in nextItem.itemIds)
             * {
             *   if (!LeagueSharp.Common.Items.HasItem(item) && nextItem.goldReach<=player.Gold)
             *   {
             *       Console.WriteLine("Buy itemmss: "+item);
             *       player.BuyItem((ItemId)item);
             *       lastBuy = DeathWalker.now;
             *   }
             * }
             * checkItems();*/
        }