[VX Ace] Problem with Victor's ATB script and custom slip formula

Hello, I have a small trouble with Victor's ATB script (This one) and Victor's custom slip formula (This one)


You'll see, I'm using a custom formula for inherent MP regen

Code:
<custom mp regen>
b.mmp * (0.05 + (b.luk.to_f/1000))
</custom mp regen>



The problem is how Victor's ATB script is making the regen works


You'll see, one of the configurable parts is about regeneration trigger


#--------------------------------------------------------------------------
# * Regenerarion Trigger
# All regen effects triggers at same time no matter of the source, here
# you can set when the regen trigger
# :turn : at the turn end
# :action : at the action end
# :timing : at fixed intervals
# It's highly recomended to setup all regen and poison states with the
# same auto-removal condition to ensure the duration match the trigger
#--------------------------------------------------------------------------
VE_ATB_REGEN_TRIGGER = :action


The first trouble is when I set it to :turn it just doesn't work, so I tend to work with :action


Now, when I use the cast time tag


# <cast time: x>
# <cast time: x, y>
# Actions with this will have a cast time before executing, you can add
# opitionally wich stat will be used to define the speed.
# x : cast speed (100 = default speed)
# y : stat (any valid battler stat)


When I use it under :action in regeneration triggers, the MP regen triggers when I use a skill with a cast time, it'll trigger when cast time starts AND after the skill executes, that means a double MP regen.


Otherwise, it simple doesn't trigger when I use it under :turn


Can someone please help me to fix this? Thanks a lot

 
BUMP
BUMP
BUMP
BUMP
BUMP
BUMP

Original thread: https://forums.rpgmakerweb.com/threads/vx-ace-problem-with-victors-atb-script-and-custom-slip-formula.66493/