How to make a successful defend prevent status effects? [Galv's Timed Button Attacks]

Discussion in 'RGSSx Script Support' started by Benja, Sep 10, 2017.

  1. Benja

    Benja Lead Developer Veteran

    Messages:
    131
    Likes Received:
    28
    First Language:
    English
    Primarily Uses:
    RMVXA
    Hiya guys.

    I'm having a bit of trouble with a feature I want implemented. I'm using Galv's Timed Button Attacks in my battle system, and I wanted to implement a feature where a successful defend from an attack that would give you a status effect will prevent it from being inflicted on the actor.

    I tried doing it with my very limited understanding of RGSS3, but to no avail :c

    any help is welcomed!

    Script
     
    #1
  2. Roninator2

    Roninator2 Gamer Veteran

    Messages:
    1,365
    Likes Received:
    269
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMVXA
    Have you tried putting
    <btnrstates x,x,x> # Remove states with id x when timing is hit
    on the skill or actor?

    It may not be what you need, but it was an option in the script.
     
    #2
  3. Benja

    Benja Lead Developer Veteran

    Messages:
    131
    Likes Received:
    28
    First Language:
    English
    Primarily Uses:
    RMVXA
    Sadly, that didn't work :\. It adds the state anyways.
     
    #3
  4. Benja

    Benja Lead Developer Veteran

    Messages:
    131
    Likes Received:
    28
    First Language:
    English
    Primarily Uses:
    RMVXA
    Bump?
     
    #4
  5. Benja

    Benja Lead Developer Veteran

    Messages:
    131
    Likes Received:
    28
    First Language:
    English
    Primarily Uses:
    RMVXA
    ...Bump?
     
    #5

Share This Page