Gain EXP Effect

This script allows you to create an effect for your skills and items that will add (or remove) exp from the target.

Download

Script: download here

Installation

In the script editor (F11), place this script below Materials and above Main

Usage

Add the note-tag to skills or items

<eff: gain_exp>
  FORMULA
</eff: gain_exp>

Where the FORMULA is any valid formula that determines how much EXP you
will gain or lose.

The following formula variables are supported

 a - user of the item/skill
 b - the actor that will gain/lose EXP
 v - game variables
 s - game switches
 p - game party
 t - game troop

Note that there is no effect on enemies.

Examples

To add 200 EXP to the target, use the note-tag

<eff: gain_exp>
   200
</eff: gain_exp>

To add 50% of the EXP required to next level, use the note-tag

<eff: gain_exp>
  b.next_level_exp * 0.5
</eff: gain_exp>

To add EXP based on variable 3, use the note-tag

<eff: gain_exp>
  v[3]
</eff: gain_exp>

You may also like...

2 Responses

  1. Amyrakunejo says:

    Um, just a question on the formula piece.

    Is it

    (variable type) + (integer goes here)?

    Like:

    b + 100 (as an example)

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