dabaxhei 发表于 2021-8-18 04:40
装备类别里增加想要的最大值的就行了,增加几个就是几个装备栏
MH-Pride 发表于 2021-8-18 10:55
不太明白你的意思
是这样吗
MH-Pride 发表于 2021-8-18 10:55
不太明白你的意思
是这样吗
Game_Actor.prototype.equipSlots = function() {
const slots = [];
for (let i = 1; i < $dataSystem.equipTypes.length; i++) {
if(i<5){
slots.push(i);
}else{
slots.push(5)
}
}
if (slots.length >= 2 && this.isDualWield()) {
slots[1] = 1;
}
return slots;
};
Game_Actor.prototype.equipSlots = function() {
const slots = [];
slots.push(1);
slots.push(2);
slots.push(3);
slots.push(4);
slots.push(5);
slots.push(5);
slots.push(5);
if (slots.length >= 2 && this.isDualWield()) {
slots[1] = 1;
}
return slots;
};
MH-Pride 发表于 2021-8-18 23:18
Game_Actor.prototype.equipSlots = function() {
const slots = [];
for (let i = 1; i < $dataSy ...
wxh811211 发表于 2021-8-19 17:41
https://torigoya-plugin.rutan.dev/party/sameEquipType/
这个插件满足你。
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |