Temporal stat add and restart function

Hi again.
How can i do a temporal stat increase to a unit, i mean.
*Starts the chapter
*Cutscene
*Gives a boost of 2 str (for example).
→ In status screen displayed like +2 on strenght.
→ The chapter is over… so the stat boost it’s removed.
Something like the rally effect skills.
For example i used “Add unit status by increase value event” but the effect it’s permanent :frowning:

So about the restart function. I have an issue here. how it works?.
If i set an event that increases the exp of some unit and save on prep screen, for example Unit it’s on level 3 and then gets 100 exp and gets a level up then i restart the chapter, the unit it’s now on level 4 and the event repeats again. So this it’s an exploit that i want to remove.
And i cannot move the event of giving exp after the prep screen, because i need to check the unit that receives the exp the condition “UnitUndeployedLastChapter”.

Stat buffs aren’t easy. You could use Kirito’s tonics if you know EA well enough.

Have your exp event set a flag & only occur if said flag is off.

1 Like

Have your exp event set a flag & only occur if said flag is off.

Yup, i’ve done, but aparently the flag value it’s not saved at all upon restart

Stat buffs aren’t easy. You could use Kirito’s tonics if you know EA well enough.

Probably this is what i need to do, but i don’t know how to use EA eventing.

Have you tried a global flag?

1 Like

My bad. I did a couple of things and actually use a global variable and now works fine. Ty for that awesome idea :grinning_face_with_smiling_eyes: