DoubleX RMVXA Speed Addon to YSA Battle System: Classical ATB

DoubleX RMVXA Speed Addon v1.00b to YSA Battle System: Classical ATB​
by DoubleX​

Prerequisites

DoubleX RMVXA Bug Fixes to YSA Battle System: Classical ATB

http://forums.rpgmakerweb.com/index.php?/topic/22142-doublex-rmvxa-bug-fixes-to-ysa-battle-system-classical-atb/

YSA Battle System: Classical ATB(Created by Yami)

http://yamiworld.wordpress.com/rgss3/battle-scripts/yeas-add-on/ysa-battle-system-classical-active-time-battle/

Introduction

Lets users set action input speed for battlers that auto input actions

Spoiler
#------------------------------------------------------------------------------|# * Actor/Class/Weapon/Armor/Enemy/State Notetags: |# - <custom catb speed reduce: CATBSRX> |# Sets the number of frames an enemy or actor with autobattle and/or |# confusion needs when inputting actions as CATBSRX, which can be set in |# Custom CATB Speed Reduce Notetag Values |#------------------------------------------------------------------------------|#==============================================================================|# ** You only need to edit this part as it's about what this script does |#------------------------------------------------------------------------------|module DoubleX_RMVXA module YSA_CATB_Speed_Addon #--------------------------------------------------------------------------| # Custom CATB Speed Reduce Notetag Values | # - Setups CATBSRX used by <custom catb speed reduce: CATBSRX> notetags | #--------------------------------------------------------------------------| # (Needs decent scripting knowledge)CATBSRX are used at: # 1. Game_Battler # - speed_reduce.each { |sr| @last_catb_speed_reduce = sr.call(self) } in # set_catb_speed_reduce # CATBSRX are strings of RGSS3 codes # CATBSRX must return a non-negative integer # The naming of CATBSRX can only use alphanumeric characters # The below CATBSRX are examples to help you set your CATBSRX # You can freely use, rewrite and/or delete these examples # Sets the action input speed reduction as x frames CATBSR1 = %Q(x) # Sets the action input speed reduction as the number of frames being the # value of variable with id x CATBSR2 = %Q($game_variables[x]) # Adds the action input speed reduction by x frames CATBSR3 = %Q(@last_catb_speed_reduce + x) # Adds new CATBSRX here #==============================================================================|
Features

Notetag values being RGSS3 code strings

Decent scripting knowledge is needed to fully utilize this script

How to use
Open the script editor and put this script into an open slot between the script DoubleX RMVXA Bug Fixes to YSA Battle System: Classical ATB and Main. Save to take effect.

FAQ
None

Credit and Thanks
DoubleX(Giving me credit is completely optional)
The terms of use are the same as that of YSA Battle System: Classical ATB except that you must also give Yami credit(you should do this anyway) if you give DoubleX or his alias credit
 
Compatibility
Same as that of YSA Battle System: Classical ATB
 
Changelog

v1.00b(GMT 1400 28-5-2015):

- Used direct eval instead of lambda with instance exec for CATBSRX

v1.00a(GMT 1500 9-5-2015):

- 1st version of this script finished

(DoubleX)YSA CATB Speed Addon v1.00b.rar
Updates

v1.00b(GMT 1400 28-5-2015):

- Used direct eval instead of lambda with instance exec for CATBSRX

Original thread: https://forums.rpgmakerweb.com/threads/doublex-rmvxa-speed-addon-to-ysa-battle-system-classical-atb.39831/