Complex Variable and Parameter Formula

● ARCHIVED · READ-ONLY
Started by HoneyShot 2 posts View original ↗
  1. Basically I want to know how I can go about doing certain conditional branches with complex checks. I know that I can have it check certain parameters of actors (such as checking the current agility stat) but is there a way for it to check a complex mixture of stats. So for instance a conditional branch that passes if the (Varaible #4 + Agility - luck) equal to or less than to what is needed?
  2. If there is an easy way to get the stats, you can combine them into a conditional branch.

    $game_variables[4] + $game_actors[id].agi - $game_actors[id].lukwould give you that particular test.
    See the Script box in the Conditional Branch dialogue? Use that, and copy and paste the above code in there. Replace id with the id of the actor you're interested in (don't use leading zeros).


    Check this thread for the exact script to use for different purposes - post 2 contains the information above, under Control Variables.