[RMMV] NEED HELP WITH YANFLY JOB POINTS SCRIPT

Posts

Pages: 1
I'm using Yanfly's job point script and was wondering if there's any way if I can have the JP received at the end of the battle scale with the enemy levels.

Currently the enemy levels script makes everything else pretty much automatic for me but, then I'll have to manually enter a JP value for the same enemy but, at different levels.
A quick look at this script shows the script parameters has "JP per enemy".

The <JP:x> tag on an enemy overrides this.
See DataManager.processJPNotetags3 for where the JP tag is read

The first one is a script eval, while the second is a fixed value.
(See Game_Enemy.prototype.jp for where the eval happens)

The natural way to do it would be to add a lunatic version of the JP tag allowing you to specify your own script call.
Look at their other plugins for examples of lunatic tags.

e.g.
<CUSTOM JP>

your script here
</CUSTOM JP>


And in your script code, call a.level() as part of your calculation.
Pages: 1