Hello again! I'm attempting to construct a simple turn based rpg that involves an agility stat.
Monsters and the player can have an agility of between 1-65. That inherent agility is added with a random number between 1-35. Then the higher number gets to act first such as attack or run away. I'm not a math guru so I did something pretty simple.
I've been able to determine the higher number as long as it is only two numbers using a function I've seen in the wiki.
something like if (PlayerAgi >= MonsterAgi) >><stuff>
I don't know how to get the highest number when there are 3 or more agility stats being compared though.
I've been able to generate the random numbers and everything so far, but I don't know how to give twine more than two numbers.
What if its:
PartyMember1/PartyMember2/Monster1/Monster2 and each one has a different value. How do I calculate the order? Do I need to just use a page worth of 1-to-1 comparisons or is there a simpler short hand way? This is SugarCane 1.42.