Thank you for the praise and patronage, much appreciated 😊
Yes, you can retrieve this info through my plugin’s API.
(() => {
// Override the updateHelp method for Window_SkillType
Window_SkillType.prototype.updateHelp = function() {
const skillTypeId = this.currentExt(); // Get the skill type ID from the command
const bcd = TS_Battle_Command_Descriptions.parameters.battleCommandDescriptions
.find(bcd => bcd.skillTypeIds.includes(skillTypeId));
if (bcd) this._helpWindow.setText(bcd.description);
else this._helpWindow.setText(""); // Default empty text
};
})();
I haven’t tested this, but it should work. It’s not necessary to include null
/undefined
checks for most properties in my plugins since I normalise them to always be populated.