Implementing Skill

I'd like some help with implementing a skill - when used, it would allow the character to completely negate the effects of the next attack that targets them. However, I would like it to only be usable once per encounter.

My thinking was that the skill would add a State to that character, but I'm not sure how exactly to translate my desired effects into RMMV terms. Is this a matter if increasing Evasion, or adding a bunch of Ex-Parameters to the state?

The other way I thought I could do this is making a switch that would reset at the end of battle, but I'm not sure if those can be integrated with the combat system without plugins.

Thanks!
I'd like some help with implementing a skill - when used, it would allow the character to completely negate the effects of the next attack that targets them. However, I would like it to only be usable once per encounter.

My thinking was that the skill would add a State to that character, but I'm not sure how exactly to translate my desired effects into RMMV terms. Is this a matter if increasing Evasion, or adding a bunch of Ex-Parameters to the state?

The other way I thought I could do this is making a switch that would reset at the end of battle, but I'm not sure if those can be integrated with the combat system without plugins.

Thanks!
I think you could use Yanfly's Cooldown plugin if you're using MV to get the effect of once per battle.
I'd like some help with implementing a skill - when used, it would allow the character to completely negate the effects of the next attack that targets them. However, I would like it to only be usable once per encounter.

My thinking was that the skill would add a State to that character, but I'm not sure how exactly to translate my desired effects into RMMV terms. Is this a matter if increasing Evasion, or adding a bunch of Ex-Parameters to the state?

The other way I thought I could do this is making a switch that would reset at the end of battle, but I'm not sure if those can be integrated with the combat system without plugins.

Thanks!
No plugin solution:

1. Upon using the skill give the user a state with +999% Evasion and make sure there are no "Certain Hit" type skills. Also unlearn the skill.
2. At the end of battle, set a flag.
3. Make a common event with that flag as execution condition. Relearn the skill and set the flag to false.

Alternatively, you could also make a special skill type just for that one skill and then also add a state until end of battle that seals that skill type.
@Solovei I moved your post (and @Silenity's & @auradev's answers) to its own thread in MV Support, since you're asking more about how to actually implement, instead of just discussing the idea.

Original thread: https://forums.rpgmakerweb.com/threads/implementing-skill.137138/