修改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();
//测试出来的,还得看看怎么使用翻页功能
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();
//测试出来的,还得看看怎么使用翻页功能