I guess that this is pretty self-explanatory but, can someone help me figure out how to create the slow and stop status spells? I know that slow used to be used by cutting attack speed but with the ATB I wasn't sure how to do it. Is it as simple as cutting the agility stat? Not quite sure what makes the ATB gauge fill faster or slower. Thanks!
Slow and Stop status for ATB in MZ?
RPG Maker MZ SupportBattlers' AGI determines how fast their ATB gauge fills, so you can simply cut their AGI stat to do a Slow status. Be careful when determining the number of turns this lasts, as turns in the ATB (time progress) system are determined by how many times that battler's turn comes up.
I think there's a lower bound on how slowly an actor's gauge can fill, so even giving the battler an AGI * 0 feature might or might not actually Stop them entirely (and if it did, there's no amount of turns it could wear off in). You might be better off just giving the "Stop" state a Cannot Move Restriction so that the battler can't take any action, but their "turns" continue to flow normally.
I think there's a lower bound on how slowly an actor's gauge can fill, so even giving the battler an AGI * 0 feature might or might not actually Stop them entirely (and if it did, there's no amount of turns it could wear off in). You might be better off just giving the "Stop" state a Cannot Move Restriction so that the battler can't take any action, but their "turns" continue to flow normally.
Thanks i appreciare it! Although im wondering, if i give them a cannot move restriction, woukdnt there ATB fill once and stay until they use an action? I was just thinking that wouldnt it never wear off since he is really not taking turns?
I wasn't sure what would happen with the ATB with a Move Restriction, so I did a test and found that, unexpectedly, the default Paralysis state (whose only relevant feature for these purposes is the Cannot Move Restriction) causes the character's ATB to not move at all! Even more curiously, the Paralysis DID wear off after a certain amount of time. (I'm using the Active TPB battle system, if it means anything.)
I looked through the code for any kind of special behavior that causes "turns" to pass for a battler under restriction but couldn't find anything. Maybe there's something else that rules the concept of turns? It's very weird to me.
I did some additional testing, to see if I could find any hints. I started a battler in both Paralysis and Poison states, and Poison did tick 3 times along the way, ticking the 3rd time as Paralysis wore off... so turns are clearly somehow being handled for the battler despite the apparent lack of TPB movement. (Maybe it's just that the visuals show an empty gauge, but it's really filling behind the scenes??) I also tried starting enemies that were somewhat slower than that actor off with the same Paralysis state. The actor recovered quicker, meaning that their AGI did somehow still affect the speed at which their "turns" passed while under the Cannot Move Restriction.
I suppose the upshot is that the Cannot Move Restriction would be a pretty good way for you to implement "Stop"-type states, unless you were planning on doing fancy things like enabling battlers to take a turn during Stop if they were targeted with support skills that, for example, instantly raised their ATB gauge.
I looked through the code for any kind of special behavior that causes "turns" to pass for a battler under restriction but couldn't find anything. Maybe there's something else that rules the concept of turns? It's very weird to me.
I did some additional testing, to see if I could find any hints. I started a battler in both Paralysis and Poison states, and Poison did tick 3 times along the way, ticking the 3rd time as Paralysis wore off... so turns are clearly somehow being handled for the battler despite the apparent lack of TPB movement. (Maybe it's just that the visuals show an empty gauge, but it's really filling behind the scenes??) I also tried starting enemies that were somewhat slower than that actor off with the same Paralysis state. The actor recovered quicker, meaning that their AGI did somehow still affect the speed at which their "turns" passed while under the Cannot Move Restriction.
I suppose the upshot is that the Cannot Move Restriction would be a pretty good way for you to implement "Stop"-type states, unless you were planning on doing fancy things like enabling battlers to take a turn during Stop if they were targeted with support skills that, for example, instantly raised their ATB gauge.
This is very interesting. Im now wondering if turns continue to tick on a time based system. Its possible that a normal turn that takes 5 seconds to charge will still count behind the scenes as you stated. Although it may seem that poison ticks indepedently to an actor taking a turn. This is interesting and also means i will likely have to reduce my poison damage considerably, as i currently have it set at 6.5% a tick. Meaning the damage would be nearly 20% per turn. Thanks for doing some testing, since im currently at work, i have been pondering this all day.
WOuld the same apply in the Wait TBS?
It
Shouldnt be any different. Wait just means turns wont charge while you are scrolling through battle menus.
Basically the battle manager ticks every frame, which increases the gauge for each battler by a certain amount based on their agi.
State turns are also affected by that agi but it isn't tied to the gauge. You can probably treat it as a state gauge, for each state.
Maybe I am mistaken here, but aren't there a "global turn" counter based on the actor whose took turns more often? Maybe this is what being used to calculate the wear off time.
I guess thats possible, but it doesnt make sense. Otherwise the faster your characters. The faster debuffs would wear off enemies.
Original thread: https://forums.rpgmakerweb.com/threads/slow-and-stop-status-for-atb-in-mz.126283/