Skill success rate variable

Discussion in 'RPG Maker MV' started by kranasAngel, Oct 29, 2015.

  1. kranasAngel

    kranasAngel Wanderer Veteran

    Messages:
    122
    Likes Received:
    41
    First Language:
    English
    Primarily Uses:
    RMMV
    I was wondering if you could set the success rate of a skill equal to a variable rather than a number.
     
    #1
    Volimance likes this.
  2. SgtBusCake

    SgtBusCake Villager Member

    Messages:
    15
    Likes Received:
    7
    Location:
    East Coast
    First Language:
    English
    I think if I'm understanding the question correctly, the answer is yes.

    One blanket example I can think of is an Execute attack. If the enemy is below a certain amount of health, instant death. Else, Execute deals normal damage.

    (b.hp <= b.mhp * 0.25) ? b.addState(1) : a.atk * 4 - b.def * 2

    This one does not have a random element to it, but you may be able to find some ideas in the RMMV Damage thread.
     
    #2
  3. kranasAngel

    kranasAngel Wanderer Veteran

    Messages:
    122
    Likes Received:
    41
    First Language:
    English
    Primarily Uses:
    RMMV
    No I meant this: 

    http://imgur.com/BO0yaYA

    The skills actual accuracy chance. I was wondering if this could be changed.
     
    #3

Share This Page