DoubleX RMMV Popularized ATB Turn

Note


This plugin's available for commercial use


Purpose


Lets users multiply the max turn unit by the number of battlers


Games using this plugin


None so far


Configurations

Spoiler
Spoiler






* @param max_turn_unit_battler_code
* @desc Sets the code indicating which battlers will be counted for
* multiplying with max_turn_unit as max_turn_unit_battler_code
* The number of counted battlers will be multiplied to max_turn_unit
* Available codes for max_turn_unit_battler_code:
* alive_battler - All alive battlers will be counted
* alive_actor - All alive actors will be counted
* alive_enemy - All alive enemies will be counted
* all_battler - All battlers will be counted
* all_actor - All actors will be counted
* all_enemy - All enemies will be counted
* max_turn_unit_battler_code won't be used if it doesn't return any
* available code
* @default alive_battler





Plugin Calls

Spoiler
Spoiler






* # Configuration manipulations
* 1. $gameSystem.patb.param
* - Returns the value of param listed in the plugin manager
* 2. $gameSystem.patb.param = val
* - Sets the value of param listed in the plugin manager as val
* - All $gameSystem.patb.param changes will be saved





Prerequisites


Plugins:


1. DoubleX RMMV Popularized ATB Core


Abilities:


1. Little 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
Spoiler






 *      v1.00a(GMT 0500 23-1-2016):                                           
 *      1. Increased this plugin's compactness                                
 *      2. 1st completed version of this plugin finished                      
 *      v0.00b(GMT 0700 29-11-2015):                                          
 *      1. Increased this plugin's compactness                               
* v0.00a(GMT 0600 28-11-2015):
* 1. 1st testing version of this plugin finished



View attachment DoubleX RMMV Popularized ATB Turn v100a.rar
Updates

Code:
 *      v1.00a(GMT 0500 23-1-2016):                                           
 *      1. Increased this plugin's compactness                                
 *      2. 1st completed version of this plugin finished                      
 *      v0.00b(GMT 0700 29-11-2015):                                          
 *      1. Increased this plugin's compactness
What does this to? Can you explain it to me like I'm 5 years old? :'D
From the core plugin:
Code:
* @param turn_unit_code
* @desc Sets the code of the unit of the battle turn clock as turn_unit_code
* Available code for the unit of the battle turn clock:
* act - Number of executed actions
* sec - Seconds
* The battle turn clock won't run if turn_unit_code doesn't return an
* available code
* @default sec
*
* @param max_turn_unit
* @desc Sets the maximum battle turn clock unit as max_turn_unit
* max_turn_unit must return a Number and should return a positive one
* @default 5
In this case, 1 turn consists of 5 seconds.

Code:
* @param max_turn_unit_battler_code
* @desc Sets the code indicating which battlers will be counted for
* multiplying with max_turn_unit as max_turn_unit_battler_code
* The number of counted battlers will be multiplied to max_turn_unit
* Available codes for max_turn_unit_battler_code:
* alive_battler - All alive battlers will be counted
* alive_actor - All alive actors will be counted
* alive_enemy - All alive enemies will be counted
* all_battler - All battlers will be counted
* all_actor - All actors will be counted
* all_enemy - All enemies will be counted
* max_turn_unit_battler_code won't be used if it doesn't return any
* available code
* @default alive_battler
With this plugin, that 5 seconds will be multiplied with the number of alive battlers, due to max_turn_unit_battler_code being set as alive_battler.

Original thread: https://forums.rpgmakerweb.com/threads/doublex-rmmv-popularized-atb-turn.51702/