Add MP damage effect (SOLVED)

Discussion in 'RGSS3 Script Requests' started by Argami, Apr 5, 2019.

Thread Status:
Not open for further replies.
  1. Argami

    Argami Veteran Veteran

    Messages:
    130
    Likes Received:
    9
    First Language:
    Spanish
    Hello! I want to know if its possible to add an effect in battle when you receive MP damage.
    For example I found that line in Game_Actor wich I think it's the effects that occurs when you receive HP damage:
    Code:
      def perform_damage_effect
        $game_troop.screen.start_shake(5, 5, 10)
        @sprite_effect_type = :blink
        Sound.play_actor_damage
      end
    But I don't know how to apply a similar effect when you recive MP damage.

    Thanks in advance!
     
    #1
  2. ZirconStorms

    ZirconStorms VX & VX Ace Scripts Veteran

    Messages:
    315
    Likes Received:
    103
    First Language:
    English
    Primarily Uses:
    RMVXA
    I can try to work on it.
    Do you want it to just be the same type of effect as with the HP damage?

    Edit: already done lol, just waiting to see if you want different effects.
     
    #2
  3. Argami

    Argami Veteran Veteran

    Messages:
    130
    Likes Received:
    9
    First Language:
    Spanish
    Oh! Thank you @tv.ghost ! The same effect its ok! Maybe if I can only change the sound effect to be diferent from the HP damage. But it’s not strictly necessary, the same effect its awesome too.
    Thanks in advance!
     
    #3
    ZirconStorms likes this.
  4. ZirconStorms

    ZirconStorms VX & VX Ace Scripts Veteran

    Messages:
    315
    Likes Received:
    103
    First Language:
    English
    Primarily Uses:
    RMVXA
    Last edited: Aug 3, 2019
    #4
    Argami likes this.
  5. Argami

    Argami Veteran Veteran

    Messages:
    130
    Likes Received:
    9
    First Language:
    Spanish
    Thank you @tv.ghost this works perfectly! It’s amazing! Thank you very much! :)

    This post can be closed due to being solved
     
    #5
  6. slimmmeiske2

    slimmmeiske2 Little Red Riding Hood Moderator

    Messages:
    5,323
    Likes Received:
    3,959
    Location:
    Belgium
    First Language:
    Dutch
    Primarily Uses:
    RMXP

    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

     
    #6
  7. Kes

    Kes Global Moderators Global Mod

    Messages:
    20,405
    Likes Received:
    10,415
    First Language:
    English
    Primarily Uses:
    RMVXA

    This thread is being opened so that code can be updated.


    @tv.ghost When you have finished, please report this post and ask for the thread to be closed again.

    EDIT

    Closing once more.

     
    #7
Thread Status:
Not open for further replies.

Share This Page