MV Trying to modify Yanfly_PartySystem to show skills

I am using Yanfly_PartySystem Plugin. And I am using a BeastBook Plugin. The BeastBook Plugin lists the skills in a very pleasant way. So my Idea is to replace the Yanfly_Party System Equipment description with the BeastBook skill-list.

following picture is the desired output (actually just the 7 skillicons and names).
desired output.png


following picture shows where the skill-list is supposed to be:

Yanfly partysystem equip desc.png


Code:
Window_PartyDetail.prototype.getActorEquips = function() {
    var equips = [];
    for (var i = 0; i < this._actor.equips().length; ++i) {
      var equip = this._actor.equips()[i];
      if (equip) equips.push(equip);
    }
    return equips;
};

Window_PartyDetail.prototype.drawActorEquipsList = function(equips) {
   
    this._lastSlot = false;
    var max = this._linesAvailable;
    var ww = this.contents.width / 2;
    var wh = this.lineHeight();
    var wy = this.lineHeight() * 4;
    var wx = ww + 6;
    ww -= 12;
    if (this._linesAvailable >= 7) {
      max -= 1;
      wy += this.lineHeight();
    }
    if (this._linesAvailable === 4) {
      max -= 1;
      wy += this.lineHeight();
    }
    for (var i = 0; i < equips.length; ++i) {
      var equip = equips[i];
      if (!equip) break;
      if (i >= max - 1 && i < equips.length - 1) this._lastSlot = true;
      if (this._lastSlot) {
        var iconIndex = equip.iconIndex;
        this.drawIcon(iconIndex, wx + 2, wy + 2);
        wx += Window_Base._iconWidth;
        continue;
      } else if (this._lastSlot && i === equips.length - 1) {
        var iconIndex = equip.iconIndex;
        this.drawIcon(iconIndex, wx + 2, wy + 2);
        wx += Window_Base._iconWidth;
      } else {
        this.drawItemName(equip, wx, wy, ww);
      }
      wy += this.lineHeight();
    }

This is probably most of the code that needs to be modified. However I tried modifying it and I can't even seem to get any output.


Any help is appreciated! 🙂
i motherfcking did id fck the h8ers.png

I only needed to change these 2 words from "equips" to "skills".
i motherfcking did id fck the h8ersss.png

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/trying-to-modify-yanfly_partysystem-to-show-skills.150237/