public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

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

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: [VX Ace] Problem with Victor's ATB script and custom slip formula
  • Original author: S.Court
  • Original date: August 8, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/vx-ace-problem-with-victors-atb-script-and-custom-slip-formula.66493/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support

Summary

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: b.mmp * (0.05 + (b.luk.to_f/1000))

Archived First Post

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

 

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#rgss-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar