Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

DoubleX RMMV Formulae Edit

DoubleX

Just a nameless weakling
Member

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
Code:
 *    # 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
Code:
 * @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
Code:
 *      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                                

Download Link
DoubleX RMMV Formulae Edit
 

DoubleX

Just a nameless weakling
Member

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
Member

Updates
Code:
 *      v1.01b(GMT 0400 9-9-2017):                                            

 *      1. Fixed not loading the edited formulae from save files bug          

 
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top