Berserk and regen status issues

Manusaurus

Villager
Member
Joined
Nov 11, 2018
Messages
5
Reaction score
0
First Language
Spanish
Primarily Uses
RMVXA
Note: I am using RMVXA and Yanfly's Ace Battle Engine script

Hello there. I have a problem with a couple status effects and how they interact with each other.

I have a skill that provides all battlers with regen.

I have another skill that provides a single player with berserk. I have enough problems with this one only. I would like this berserk mode to last only 5 turns or so, but if I do so, I can still enter commands for that player, even with the restriction to 'only attack an enemy' turned on. However, if the removal condition is 'end of the battle' it works just fine; you cannot enter commands, player only attacks and its attack is 150% the normal. Is there a conflict between the Ace Battle Engine and this status?

The other issue is that the regen skill does not affect the player under berserk, but it will work fine if the player does not have that status.

Could you help me with this? Thank you in advance.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,377
Reaction score
8,536
First Language
English
Primarily Uses
RMMV

I've moved this thread to Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,431
Reaction score
7,712
First Language
German
Primarily Uses
RMMV
Please show us screenshots of both states as you have them.
 

Manusaurus

Villager
Member
Joined
Nov 11, 2018
Messages
5
Reaction score
0
First Language
Spanish
Primarily Uses
RMVXA
Berserk one (Locura) wears off as soon as it is applied if I keep the restriction at the end of the turn.
Not sure if the issue is 5-5 (having the same number of turns). I simply wanted it to wear off exactly 5 turns after being applied.
And regen (Revitalia) has no effect when the player is under berserk (Locura).

If I put the restriction 'end of the battle', then berserk lasts and works as intended, but regen will not be applied to the player under berserk status.
 

Attachments

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,599
Reaction score
6,552
First Language
Indonesian
Primarily Uses
RMVXA
Remove by restriction means, if you have buff state and you've been stunned, the buff state will be removed.
I think it also applies with a lower restriction like "auto attack an enemy".
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,431
Reaction score
7,712
First Language
German
Primarily Uses
RMMV
1) all conditions are OR-linked, so as said above "remove by restriction" means that the state is automatically removed as soon as the actor is somehow restricted. So yes, of course the regen doesn't work if the player is under a restriction when you set that condition.

2) just an info about timing:
the current turn counts as the first turn for state duration even if the state is applied late in the turn, the next turn is the second turn of the duration.
That is intentional to allow several affects, but the developer needs to keep this in mind when timing the duration
 

Manusaurus

Villager
Member
Joined
Nov 11, 2018
Messages
5
Reaction score
0
First Language
Spanish
Primarily Uses
RMVXA
I understand it now and everything is working fine. Thank you both, and thank you Andar for the additional piece of information in 2). This thread can be closed.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,038
Messages
1,018,467
Members
137,821
Latest member
Capterson
Top