Battlepoint Script

Auto-Pickup

当前为 2018-09-22 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Battlepoint Script
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Auto-Pickup
  6. // @author SnowOfficial / SnowLord7 / Drew Snow
  7. // @match https://battlepoint.io/
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. setInterval(function() {
  12. if (typeof UI !== "undefined") {
  13. UI.gameStatesUIController.gameState.ENTITIES.items.children.forEach(function(e) {
  14. if (e.constructor.toString().slice(9, 19) == "Pickupable") {
  15. if ("wxyzgdf".indexOf(e.type) != -1) {
  16. UI.gameStatesUIController.gameState.networkCommunicator.sendItemPickup(e.id);
  17. }
  18. }
  19. });
  20. }
  21. }, 10);

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址