Can the hit rate be based on a variable?

Discussion in 'RGSS3 Script Requests' started by TheObermotz1, Aug 12, 2017.

  1. TheObermotz1

    TheObermotz1 Veteran Veteran

    Messages:
    34
    Likes Received:
    17
    First Language:
    German
    Update: While it might not be possible to edit the hit rate formula, so it can include a variable, what you CAN do is create an common event, put in the value your variable holds and increase or decrease the evasion rate of the characters.



    Is there a way to include variables in the hit rate formula (so the hit rate can change during battle, if one variable changes)?

    My goal is to include a variable during battles (which are fought with long range weapons), that determines the distance between player and enemy. The higher the distance, the lower the chance for a hit.
     
    Last edited: Aug 13, 2017
    #1
  2. bgillisp

    bgillisp Global Moderators Global Mod

    Messages:
    10,864
    Likes Received:
    10,493
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMVXA
    Not without a script I'm afraid, as the to hit system is hard coded and has to be overwritten.

    I've moved this thread to Moving to Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.

     
    #2

Share This Page