I'm trying to do a dice type system
Set var 1 to attacker's stat
Set var 2 to a random roll of 20
Set var 3 to defender's defense stat
Add var 1 to var 2
If var 3 is less than var 2, calculate damage
I am using RPGMaker MZ and Visustella plugins, if that helps. Been trying at this all day, and no success getting the game to recognize the variables.
Set var 1 to attacker's stat
Set var 2 to a random roll of 20
Set var 3 to defender's defense stat
Add var 1 to var 2
If var 3 is less than var 2, calculate damage
I am using RPGMaker MZ and Visustella plugins, if that helps. Been trying at this all day, and no success getting the game to recognize the variables.