暗黑破坏神吧 关注:685,423贴子:20,684,309
  • 4回复贴,共1

单机1.13d Kolbot 用10x10箱子

只看楼主收藏回复

修改Storage.js
var Storage = new function () {
this.Init = function () {
this.StashY = me.gametype === 0 ? 4 : 8; //8改成10能填充10行
this.Inventory = new Container("Inventory", 10, 4, 3);
this.TradeScreen = new Container("Inventory", 10, 4, 5);
this.Stash = new Container("Stash", 6, this.StashY, 7); //6改成10能填充10列.
this.Belt = new Container("Belt", 4 * this.BeltSize(), 1, 2);
this.Cube = new Container("Horadric Cube", 3, 4, 6);
this.InvRef = [];
this.Reload();
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//改动后如下
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
var Storage = new function () {
this.Init = function () {
this.StashY = me.gametype === 0 ? 4 : 10; //8改成10能填充10行
this.Inventory = new Container("Inventory", 10, 4, 3);
this.TradeScreen = new Container("Inventory", 10, 4, 5);
this.Stash = new Container("Stash", 10, this.StashY, 7); //6改成10能填充10列.
this.Belt = new Container("Belt", 4 * this.BeltSize(), 1, 2);
this.Cube = new Container("Horadric Cube", 3, 4, 6);
this.InvRef = [];
this.Reload();
//测试出来的,还得看看怎么使用翻页功能


IP属地:上海1楼2018-02-08 11:36回复


    IP属地:河北来自Android客户端2楼2018-02-08 12:02
    回复
      2025-08-15 02:57:00
      广告
      不感兴趣
      开通SVIP免广告
      请问能自动翻页实现了吗?最近在琢磨这个自动翻页。想请教请教


      来自Android客户端3楼2019-04-29 23:21
      回复
        单机kolbot用1.14d多好


        IP属地:安徽来自iPhone客户端4楼2020-02-01 20:32
        收起回复