Intermittent Multi-Attack?

Hi. One of the newer folk here. I've been searching around for a script or method that does this;

Round 1: Single Attack
Round 2: Double Attack
Round 3: Single Attack
Round 4: Double Attack

I was wondering how this could be done.
Good place to start: http://yanfly.moe/2015/10/19/yep-16-battle-a-i-core/
Figured it out with yanfly's.

Attack 0001: formula: if (a.isStateAffected(390)) a.removeState(390); a.atk - b.atk; a.addState(389)
Attack 0004: formula: if (a.isStateAffected(389)) a.removeState(389); a.atk*0.75 - b.atk; a.addState(390)

State 389: <Replace Attack: 0004>
<Replace Attack: Twin Attack>
State 390: <Replace Attack: 0001>
<Replace Attack: Attack>
Nice.
Yeah but I cant naturally inject it on a level up. Dont know the code for a custom passive state or common event.
https://galvs-scripts.com/2017/01/05/mv-dynamic-traits/

Need this?
https://forums.rpgmakerweb.com/index.php?threads/chance-to-multiple-hit.60787/

Seems better.

Original thread: https://forums.rpgmakerweb.com/threads/intermittent-multi-attack.102333/