Certain events changes stats for character ?

What I'm trying to do is make 2 events that can change the character's stats.
One of them should trigger when it is "night time" in the game (in this case, the character's stats increase).
When it's "day time" in the game, the stats go back to normal.
The other one happens when the character is alone in a battle, it causes their stats to decrease.
Is there a way I can configure this ? 😐
Do you have an event that switches between daytime and nighttime? Like checking for the current time, and if XY, it switches the "day" on and off.
That would be the right spot to apply your stat changes.

I can't give much help with the standard battle system, as I don't use it.
No not yet, I should start with that right ?
Yes. Depending on how you want daytime to progress, you'll set up either an internal timer or you add time when specific actions are performed.

Whenever the time changes, you'll check if it reached like 10pm or 6am or whenever your day or night will start. And at that spot, you'll also alter the stats of your character.
Okay, thank you !! 😤
instead of direct stat changes by event commands, you should consider using states.

you basically create a state "night" that contains all the changes to stats you want to apply during the night, and then apply or remove the state based on time or whatever.
Thank you !! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/certain-events-changes-stats-for-character.175271/