Core: Learning

This script overwrites the default learning logic by separating the “can learn” conditions into a separate method. This allows you to add more conditions without having to overwrite any of the methods that are actually learning the skill when learn conditions are met.

Download

Script: download here

Installation

Place this script above “Materials” and below Scene_Gameover

Usage

Two methods are overwritten in Game_Actor

  • level_up
  • init_skills

If you look at the original scripts, you’ll see that I replace the learn condition with a method call to can_learn? which takes the learning object as a parameter.

The method uses negative-checking, so if ANY condition fails, then you can’t learn the skill.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *