Help With Alternating a Script

Hey! I've been trying for a while to change this MOG Character Effects script and I've got to make some changes, but never the one I intended. If you're not familiar with this script, it basically gives an event or player some kind of effect (as if it were breathing, as if it were sometimes invisible simulating a ghost...).

The things is I love how the breathe effect looks on my main character, but it does it way too fast! I'd like to reduce the speed to at least half, even more if possible. I've figured it has something to do with the random value it gives the effect, which changes by +1 each frame, but the times I tried to mess with it, it just ended in my character breathing once and then bugging.

I'm pretty new to scripting as you can tell, but I promise I usually try AND work my way around, even though this is probably pretty simple too 😅

Any help is appreciated.

MOG's free script:
Moved to: RGSSx Script Support
Looking at the code I would say it should be a simple change. We just tell it to count up in a slower number.
Try this
add in a new script slot below the original untouched script and see how it performs.
Ruby:
class Game_CharacterBase
  #--------------------------------------------------------------------------
  # ● Check New Effect
  #--------------------------------------------------------------------------
  def update_breath_effect
    @effects[1] += 1
    case @effects[1]
    when 0..150
      @zoom_y += 0.001
      if @zoom_y > 1.15
        @zoom_y = 1.15
        @effects[1] = 151
      end
    when 150..300
      @zoom_y -= 0.001
      if @zoom_y < 1.0
        @zoom_y = 1.0
        @effects[1] = 301
      end
    else
      @zoom_x = 1
      @zoom_y = 1
      @effects[1] = 0
    end
  end
end

Original thread: https://forums.rpgmakerweb.com/threads/help-with-alternating-a-script.155614/