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.
Script: download here
Place this script above “Materials” and below Scene_Gameover
Two methods are overwritten in Game_Actor
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.