Berserk and regen status issues

● ARCHIVED · READ-ONLY
Started by Manusaurus 7 posts View original ↗
  1. 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.
  2. I've moved this thread to Script Support. Thank you.

  3. Please show us screenshots of both states as you have them.
  4. 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.
  5. 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".
  6. 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
  7. 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.