MZ Indicate with an icon when a character benefits from an extra action?

I'm talking about this:

1715164579515.png


I'm using Visustella's CTB so if a character gets an extra action, you as a player are not aware of it, you only found out AFTER you've picked the first action. Except sometimes knowing in advance that you have an extra action, you can make better use of your two actions by picking first an appropriate skill and second another one, for better (more strategic) combinations of skills. I should add once you've picked the first action, it's set in stone for this turn and you can't cancel (modify) it.
So would it be possible to tell in advance to the player that there is an extra action available? Better yet, would it be possible to pick a different icon in case there are 2 or more extra actions (I'm thinking of a number icon for instance).
maybe a different approach might be suitable? i didnt use action times+ in the past unless it was 100% for a similar reason.

What i did before was instead of having a state with an action times+ trait for say, 30%, id split it onto 2 states. one with an action times + of 100% that i dont allow to be directly applied, and a second one that is applied directly who's purpose is to give the first one 30% of the time. then you can call animations as that first one is applied and have the state icon indicate that a bonus action was gained
I'm using Visustella's CTB. I tried to "simulate" the percentage chance directly with a random number called each turn and it works fairly well except that with CTB in a single turn a character can play several times if they are fast, so the extra action given via the random number "stays" until a new turn happens.

I've read carefully your method and there are a few things I don't get.

second one that is applied directly who's purpose is to give the first one 30% of the time

How does the second state gives the first state 30% of the time?

then you can call animations as that first one is applied and have the state icon indicate that a bonus action was gained

Why do you need animations at all? If the first one is applied, its state icon will be visible thus solving the problem, right?

My question is rather, how can a state be applied with only 30% chances EACH TIME the character plays, in the context of CTB. It's easy to achieve with the default battle system since one turn = each character plays once, but it's trickier with CTB where one turn can mean playing several distinct times (for instance twice before the monster plays).
My question is rather, how can a state be applied with only 30% chances EACH TIME the character plays, in the context of CTB
sounds like the use case for pre/post end action
1715859174972.png


How does the second state gives the first state 30% of the time?
i go about it a different way now and i use MV, so my tags are slightly different, but the gist of it was that the first state was invisible and had a <Custom Turn Start Effect> that would have used Math.random() < .3 to determine if the battler should get the second state. if the 30% roll fails, nothing happens. if it passes, i play an animation and run addState to give that second state. that second state has 100% action times + and a state icon to show that the effect activated.

Why do you need animations at all? If the first one is applied, its state icon will be visible thus solving the problem, right?
visual/audio indication. The player would know when the effect happens from the second state's icon, but if theres a few buffs and/or states they might not notice it
So I'll draw a random number at turn 0 and apply the result, then I want to draw another random number each time the character has played, should I use Pre-End or Post-End Action? I'm never too use what's the difference.

Also how can I call a common event in Pre or Post-End Action?
should I use Pre-End or Post-End Action? I'm never too use what's the difference.
post is for after theyve acted

Also how can I call a common event in Pre or Post-End Action?
you can use $gameTemp.reserveCommonEvent(x) to play CE #x

Original thread: https://forums.rpgmakerweb.com/threads/indicate-with-an-icon-when-a-character-benefits-from-an-extra-action.168466/