Poison

Discussion in 'RPG Maker MV' started by Indsh, Dec 6, 2016.

  1. Indsh

    Indsh Veteran Veteran

    Messages:
    208
    Likes Received:
    64
    Location:
    Bristol
    First Language:
    English
    Primarily Uses:
    N/A
    Very simple but I can't seem to do it.


    I want to change it so when you walk whilst poisoned it flash's green instead of red, also would mind changing how many steps till the effect takes place.


    Hoping I'm being loose and the answer is obvious.
     
    #1
  2. sieben43

    sieben43 Veteran Veteran

    Messages:
    66
    Likes Received:
    11
    First Language:
    German, English
    Primarily Uses:
    RMMV
    The amount of steps is defined in the database for the state itself, press F9, go to states and change it from there.


    For a different color for flashing,you will have to open rpg_objects.js in the 'js' folder of your game folder, navigate to line 888, at least for me, don't know about any changes for different versions, but you can also search the file for the line itself which looks like this:


    this.startFlash([255, 0, 0, 128], 8);




    Now change the line to this:


    this.startFlash([0, 255, 0, 128], 8);





    save, and that should be it.
     
    Last edited by a moderator: Dec 6, 2016
    #2
    Indsh likes this.
  3. Indsh

    Indsh Veteran Veteran

    Messages:
    208
    Likes Received:
    64
    Location:
    Bristol
    First Language:
    English
    Primarily Uses:
    N/A
    Thanks! got that flash working perfect but I can't find how to change the steps, I can only see how to change the effect (damages percentage) not the rate it happens.
     
    #3
  4. thalesgal

    thalesgal Veteran Veteran

    Messages:
    133
    Likes Received:
    19
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Hello Indsh!


    I found the line to change the steps!


    Open the rpg_objects, then ctrl + F, and write stepsForTurn and search.


    The number 20 below is the number of steps to do damage to the player. Just change it to the number you like.


    Sorry for english mistakes haha.
     
    #4

Share This Page