From this
to like this
I tried change Line Height on YEP_CoreEngine 36 to 50 but it affect to all windows
to like this
I tried change Line Height on YEP_CoreEngine 36 to 50 but it affect to all windows
I've moved this thread to JS Plugin Requests. Thank you.
The attached plugin works for me with no other plugins active.
(function(alias) {
Window_BattleSkill.prototype.itemHeight = function() {
return alias.apply(this, arguments) * 2;
};
})(Window_BattleSkill.prototype.itemHeight);
(function(alias) {
Window_BattleSkill.prototype.drawItemName = function(item, x, y, width) {
return alias.call(this, item, x, y + this.lineHeight() / 2, width);
};
})(Window_BattleSkill.prototype.drawItemName);
(function(alias) {
Window_BattleSkill.prototype.drawSkillCost = function(item, x, y, width) {
return alias.call(this, item, x, y + this.lineHeight() / 2, width);
};
})(Window_BattleSkill.prototype.drawSkillCost);
The horizontal space, between columns? Try adding this to the end of the plugin:
Window_BattleSkill.prototype.spacing = function() {
return 24; // originally 48
};24 if you like~Maybe this (untested):
(function(alias) {
Window_BattleItem.prototype.itemHeight = function() {
return alias.apply(this, arguments) * 2;
};
})(Window_BattleItem.prototype.itemHeight);
(function(alias) {
Window_BattleItem.prototype.drawItemName = function(item, x, y, width) {
return alias.call(this, item, x, y + this.lineHeight() / 2, width);
};
})(Window_BattleItem.prototype.drawItemName);
(function(alias) {
Window_BattleItem.prototype.drawItemNumber = function(item, x, y, width) {
return alias.call(this, item, x, y + this.lineHeight() / 2, width);
};
})(Window_BattleItem.prototype.drawItemNumber);
Window_BattleItem.prototype.spacing = function() {
return 24; // originally 48
};
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/how-to-increase-size-skill-list-in-battle.142706/