Intermittent Multi-Attack?

● ARCHIVED · READ-ONLY
Started by garland81 7 posts View original ↗
  1. 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.
  2. 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>
  3. Nice.
  4. Yeah but I cant naturally inject it on a level up. Dont know the code for a custom passive state or common event.