Moves that causes effects lasting for several turns

Hello,
How do you make moves which's effects last several turns? For example, you use a 'Drizzle' move. It causes a light rain that lasts, lets say, 3 turns. During each of these turns, it has 10% to cure your 'burn' effect. You cant use the move again when its effects are still visible. After 3 turns the drizzle stops and so does the 0,1 chance to cure negative effect.
Like in Pokemon, when you use Sunny Day it buffs fire attacks for 5 turns and then wears off and the buff's gone. I'd like to make a similar move, but I don't know how. Do I need plugin for that?
Thank you for help in advance.
In general I would solve that problem via an 'invisible' state. So the skill 'Drizzle' will apply a state 'Drizzle' to all battlers. That state doesn't have an icon so it doesn't get displayed and takes care of the actual effect. In principle you don't need a plugin for that. However the specific effects you want to make may require plugins.
For the chance to cure a state every turn I personally would probably use a custom regen Tag from Yanfly's Damage over time plugin. For the buff to attacks for a specific element I would use the amplify tag from Yanfly's element core.

Note however that this approach will only work if you don't have any enemies appearing halfway through a battle. If that is the case I would try to solve this via troop events. For the drizzle example I would make a variable 'Drizzle' and initialize it as -1 at the start of each combat. The 'Drizzle' skill would set this variable to 0. Then I would run a troop event every turn that does the drizzle effect each turn if the 'Drizzle' variable is greater to or equal 0 and increase that variables value by 1. If it is equal to or greater than 3, then reset it back to -1.
You can either manually copy and paste this event to every one of your troops, or you can use some form of base troop event plugin.

To actually show different weather in combat you will also need a plugin. I don't believe the engine can handle this per default.
Oh, okay, thank you very much!

Original thread: https://forums.rpgmakerweb.com/threads/moves-that-causes-effects-lasting-for-several-turns.143268/