Thank you for this script, it does exactly what i needed
🙂
I played with it a little and did some modifications, one is addind a max value for atb gauge for each battler (to mimic the system used in FFX2), the other is just a little tweak.
First one :
The idea was to allow the user to modify how quickly the ATB gauge grows. Your "unintended feature" does actually a lot of stuff, for example, when an ally can cast a "haste" skill for the next action on the party by using the "b.atb+=full_atb/2;" formula or by adding/substracting agi.
I just extended this feature by adding a new attribute : max_tab, used to change the length of the ATB gauge after that the battler performed an action. For exemple, using a item is a quicl action, it will use "a.max_atb = full_atb/4". Casting a AoE skill is a time costly action, it will use "a.max_atb = full_atb". Default is max_atb/2.And default full_atb is 100 000.
I also changed the graphics. This effect is similar to what we can see in FFX2.
EllyeSimpleATB.txt
Second one :
Very little tweak. I added the battler attack speed in the formula :
battler.atb += (base_atb_increase + battler.agi * (agi_weight/100) + battler.attackSpeed());so we can use this parameter to create "haste" states without messing with the agility parameter.
I am not sure about how usefull this can be, but maybe someone could need this extra parameter.
In fact i wanted to use the speed parameter of skills and items, but i didn't succeded, so i tried this instead.
Thank you very much again, it is a great script for ATB gauges !