YANFLY ENGINE ACE - JP MANAGER

RPG Maker VX Ace

To be used with future Yanfly Engine Ace scripts.

  • YF
  • 01/07/2012 05:22 AM
  • 2604 views


DL Link

This script provides a base for JP implementation. JP is a currency similar to EXP that’s gained through performing actions and leveling up in addition to killing enemies. This script provides modifiers that adjust the gains for JP through rates, individual gains per skill or item, and per enemy. Though this script provides no usage of JP by itself, future Yanfly Engine Ace scripts may make use of it.



Insert this notetag in the noteboxes of actors, classes, weapons, armours, or states to gain its effects.

<jp rate: x%>

Changes the JP earned rate to x%. This affects JP earned and not JP directly gained. If this notetag isn’t used, the object will default to 100%.



Insert this notetag into the notebox of skills or items.

<jp gain: x>

When the actor successfully hits an target with this action, the actor will earn x JP. If this notetag isn’t used, the amount of JP earned will equal to the ACTION_JP constant in the module.



This notetag is for enemies:

<jp gain: x>

Changes the amount of JP gained for killing the enemy to x. If this notetag isn’t used, then the default JP gain will be equal to the amount set in the module through the constant ENEMY_KILL.



The following are script calls you may use:

$game_actors.earn_jp(y)
$game_actors.earn_jp(y, z)

This will cause actor x to earn y amount of JP. JP earned will be modified by any JP Rate traits provided through notetags. If z is used, z will be the class the JP is earned for.

$game_actors.gain_jp(y)
$game_actors.gain_jp(y, z)

This will cause actor x to gain y amount of JP. JP gained this way will not be modified by any JP Rate traits provided through notetags. If z is used, z will be the class the JP is gained for.

$game_actors.lose_jp(y)
$game_actors.lose_jp(y, z)

This will cause actor x to lose y amount of JP. JP lost this way will not be modified by any JP Rate traits provided through notetags. If z is used, z will be the class the JP is lost from.

— And that’s all, folks! —

Original Blog Link

Posts

Pages: 1
How would one go about being able to view how much JP a character has?
I am looking at the ICON = 0 part but... I have no idea what to set it to...
I've been working at this for around an hour and a half... Not on the script in general, but this single part itself. I've figured out just about everything else and it's awesome... just... basically I am wanting there to be a bar under the EXP for the JP... HALP PLEASE! (this is driving me crazy)

-EDIT: I looked through the comments on the main page for this and think I found an answer.
Pages: 1