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 *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax