DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,816
Reaction score
968
First Language
Chinese
Primarily Uses
N/A
Note: This plugin's available for commercial use.


Purpose


Lets users modify some hardcoded default RMMV formulae on the fly


Games using this plugin


None so far


Plugin Calls

Spoiler






* # Configuration manipulations
* 1. DoubleX_RMMV.Formulae_Edit.param
* - Returns the function param under DoubleX_RMMV.Formulae_Edit
* 2. DoubleX_RMMV.Formulae_Edit.param = function
* - Sets the function param under DoubleX_RMMV.Formulae_Edit as function
* - No DoubleX_RMMV.Formulae_Edit.param change will be saved





Configurations

Spoiler






* @param makeEscapeRatio
* @desc Sets the party escape ratio upon battle start as makeEscapeRatio, which
* must return the content of a function that takes the party and troop's
* agi, which can be referenced by partyAgi and troopAgi respectively, as
* the arguments
* The content of the function returned by makeEscapeRatio will be bound
* to BattleManager upon use
* @Default this._escapeRatio = 0.5 * partyAgi / troopAgi;
*
* @param speed
* @desc Sets the action speed as speed, which must return the content of a
* function that takes the subject's agi, which can be referenced by agi,
* as the argument and returns a Number
* The content of the function returned by speed will be bound to
* Game_Action upon use
* @Default return agi + Math.randomInt(Math.floor(5 + agi / 4));
*
* @param lukEffectRate
* @desc Sets the luk effect rate multiplier applied to adding states and
* debuffs to a target as lukEffectRate, which must return the content of
* a function that takes a subject and target, which can be referenced by
* subject and target respectively, as the arguments and returns a Number
* The content of the function returned by lukEffectRate will be bound to
* Game_Action upon use
* @Default return Math.max(1.0 + (subject.luk - target.luk) * 0.001, 0.0);
*
* @param expForLevel
* @desc Sets the required experience for levelling up to level as expForLevel,
* which must return the content of a function that takes the level,
* actor's class, experience basis, extra, acceleration a and b, which can
* be referenced by level, c, basis, extra, acc_a and acc_b respectively,
* as the arguments and returns a Number
* The content of the function returned by expForLevel will be bound to
* Game_Actor upon use
* @Default return Math.round(basis * (Math.pow(level - 1, 0.9 + acc_a / 250)) * level * (level + 1) / (6 + Math.pow(level, 2) / 50 / acc_b) + (level - 1) * extra);
*
* @param distancePerFrame
* @desc Sets the characters' moving distance per frame as distancePerFrame,
* which must return the content of a function that takes the real move
* speed, which can be referenced by speed, as the argument and returns a
* Number
* The content of the function returned by expForLevel will be bound to
* Game_CharacterBase upon use
* @Default return Math.pow(2, speed) / 256;
*
* @param makeEncounterCount
* @desc Sets the number of steps needed to trigger an encounter as
* makeEncounterCount, which must return the content of a function that
* takes the encounter count, which can be referenced by n, as the
* argument
* The content of the function returned by makeEncounterCount will be
* bound to Game_Player upon use
* @Default this._encounterCount = Math.randomInt(n) + Math.randomInt(n) + 1;





Prerequisites


Abilities:


1. Some Javascript coding proficiency to fully utilize this plugin


Terms Of Use


You shall keep this plugin's Plugin Info part's contents intact


You shalln't claim that this plugin's written by anyone other than DoubleX or his aliases


None of the above applies to DoubleX or his/her aliases


Changelog

Spoiler







* v1.01b(GMT 0400 9-9-2017):
* 1. Fixed not loading the edited formulae from save files bug
* v1.01a(GMT 1400 27-1-2016):
* 1. Fixed called DoubleX_RMMV.Formulae_Edit before it's defined bug
* 2. All configuration values will be saved in $gameSystem
* 3. Increased this plugin's readability
* v1.00b(GMT 1200 17-11-2015):
* 1. Fixed wrong number of arugments bug for lukEffectRate and
* makeEncounterCount
* 2. Increased this plugin's efficiency
* v1.00a(GMT 1300 10-11-2015):
* 1. 1st version of this plugin finished
 

Attachments

  • DoubleX RMMV Formulae Edit v101b.rar
    3.2 KB · Views: 16
Last edited:

Pine Towers

Knight Hospitaller
Veteran
Joined
Nov 11, 2015
Messages
467
Reaction score
228
First Language
Portuguese
Primarily Uses
RMMV
Registered only to say thank you. I prefer to make my own XP Tables and was searching for something like that.
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,816
Reaction score
968
First Language
Chinese
Primarily Uses
N/A
Updates

Code:
 *      v1.00b(GMT 1200 17-11-2015):                                           *      1. Fixed wrong number of arugments bug for lukEffectRate and           *         makeEncounterCount                                                  *      2. Increased this plugin's efficiency
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,816
Reaction score
968
First Language
Chinese
Primarily Uses
N/A
Updates

Code:
 *      v1.01a(GMT 1400 27-1-2016):                                           
 *      1. Fixed called DoubleX_RMMV.Formulae_Edit before it's defined bug    
 *      2. All configuration values will be saved in $gameSystem              
 *      3. Increased this plugin's readability
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,816
Reaction score
968
First Language
Chinese
Primarily Uses
N/A
Updates
Code:
 *      v1.01b(GMT 0400 9-9-2017):                                           
 *      1. Fixed not loading the edited formulae from save files bug
 

N-Amata

Percarus
Veteran
Joined
Nov 10, 2017
Messages
36
Reaction score
12
First Language
Filipino
Primarily Uses
RMMV
Thank you for making this! Huge lifesaver for devs who really wants to finetune every single part of the game mechanics.
 

Latest Threads

Latest Posts

Latest Profile Posts

I decided to create reboots of my games on RPG Maker MV. I'm happy. :biggrin:
So, as i finish setting up my items for part 1 of my game, I realized I forgot to finalize an ENTIRE category of items. Know which ones? The Fallen Feathers....BTW my game is called "Fallen Feather"
and_remember_tomorrow_exploding_puzzle_logo.jpg

Made some new friends, and blew up a puzzle... Happens. :LZSwink:
A new RPG Maker music pack is coming out soon! Below is a demo of one of the compositions in the pack, Heroic Battle. More details coming soon!

Trying to build a child-size body. Mostly happy with it except the sideview arms - can't get them to move quite right yet. Anyway, here's the work-in-progress, with an adult for size comparison.
ChildTest-01.gif

I started in VXAce and I liked how the kids flapped their arms so that's why it's just flapping.

Forum statistics

Threads
111,141
Messages
1,058,679
Members
144,372
Latest member
graysome
Top