I modified the YEP_PartySystem Plugin to show skills instead of Equip, by changing 2 words in his code:
It looks like this now:
Now I want the player to see each skill description, when hovering(mouse) above the skill. Like the Olivia_StateTooltipDisplay does it with states. (seen in the follwing picture)
Any help is appreciated! 🙂
Code:
Window_PartyDetail.prototype.getActorEquips = function() { //function that puts the actor.equips() array into the equips array.
var equips = []; //variable with an array signed to it
for (var i = 0; i < this._actor.skills().length; ++i) { //for loop I CHANGED equips to skills!!!!!!!
var equip = this._actor.skills()[i]; // variable with looping i variable I CHANGED equips to skills!!!!!!!
if (equip) equips.push(equip); //.push pushes variable equip to the equips array variable
}
return equips; //returns equips array to the function caller
};
Now I want the player to see each skill description, when hovering(mouse) above the skill. Like the Olivia_StateTooltipDisplay does it with states. (seen in the follwing picture)
Any help is appreciated! 🙂