Status Effect that gives you an additional action every other turn.

Similar to how Action Times+ at 100% gives you a second action in a single turn, but instead of having it every single turn, I'd want it to give you a second action every other turn.

On another note, would it also be possible to change the interval of this? Say for example, be able to change it from every other turn to once every 3rd turn?
Here, I changed a snippet from Another Fen
Ruby:
# Remove action by Another Fen
# Mod by Roninator2 - add action
# add <action times bonus: 15> to a state note box
# to make the battler inflicted with state have 1 more actions
# the variable 15 is used here
# variable is set to 3, then every third turn will give a bonus action

class RPG::State
  def action_times_bonus
    @action_times_bonus ||= note[/<action times bonus: (.*?)>/i] ? $1.to_i : 0
  end
end

class Game_Battler
  alias_method :make_action_times_without_action_times_bonus, :make_action_times
  def make_action_times
    result = make_action_times_without_action_times_bonus
    result = @states.reduce(result) { |r, o|
    st = $data_states[o]
    var = $game_variables[st.action_times_bonus] == 0 ? 10000 : $game_variables[st.action_times_bonus]
    r + 1 if ($game_troop.turn_count + 1) % var == 0
    }
    return [result.to_i, 1].max
  end
end

Add note tag to state <action times bonus: variable>
set the value for the variable.
During battle when the number of turns divides evenly by the variable then it will add 1 action.

This might be better coded, but this worked in my test.
I'm gonna try this sometime this week and see if it works. Thanks in advance.

Here, I changed a snippet from Another Fen

Out of curiosity, is there any chance you could link me the original script?
Out of curiosity, is there any chance you could link me the original script?

Original thread: https://forums.rpgmakerweb.com/threads/status-effect-that-gives-you-an-additional-action-every-other-turn.172866/