So I am trying to get a state to do damage at the beginning of the turn. i try to make common events.
How to get state doing damage
RPG Maker MZ SupportShouldn't need common events for that.
Param > Ex-Parameter > HP Regeneration, set the value to a negative value.
Param > Ex-Parameter > HP Regeneration, set the value to a negative value.
Just to add onto what Amaranth said, take a look at the Poison state that's set up by default in new projects.
Note that this does not quite do what you said with damaging at the beginning of the turn. The regeneration phase occurs after a battler takes their action.
However, you can't do what you're suggesting using common events. You could do it with troop events, but unless there's a very specific reason you need it to happen at the beginning of the turn instead of the end, that's overly complicated for this purpose (you'd have to make a troop event that checks each battler individually).
Note that this does not quite do what you said with damaging at the beginning of the turn. The regeneration phase occurs after a battler takes their action.
However, you can't do what you're suggesting using common events. You could do it with troop events, but unless there's a very specific reason you need it to happen at the beginning of the turn instead of the end, that's overly complicated for this purpose (you'd have to make a troop event that checks each battler individually).
Original thread: https://forums.rpgmakerweb.com/threads/how-to-get-state-doing-damage.149706/