じ☆ve冰风 发表于 2026-7-30 15:42:22

Hide Sealed Skills

Simple plugin that changes the engine's default behavior regarding sealed skills, making them hidden instead of just greyed out. Undoing the seal works as normal and shows the skill again.

Reason for making this: I couldn't find a way to hide skills globally without notetags everywhere, and needed this specific function for a personal project. Figured I would share it.

Free for use in any project. Enjoy!
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7


Raw code in case it's needed elsewhere in your projects
                JavaScript:       
(function() {

    const _Window_SkillList_includes = Window_SkillList.prototype.includes;
    Window_SkillList.prototype.includes = function(item) {
      if (!item) return false;
      if (this._actor && this._actor.isSkillSealed(item.id)) {
            return false;
      }
      return _Window_SkillList_includes.call(this, item);
    };

})();




本贴来自国际rpgmaker官方论坛作者:JGreene处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/hide-sealed-skills.182888/
页: [1]
查看完整版本: Hide Sealed Skills