So, I'm not the most knowledgeable in coding. I know a little bit, but not a whole lot. I downloaded a plugin off of an old forum because it looked like just what I needed to incorporate a system I've been building into my RPG Maker MV games. Since the author said it was free to be used and modified, I thought it would be as simple as modifying it, replacing the formula with my own, and going on... But I'm having some serious trouble.
My formula is the highlighted bit in the image.
I'm using smaller numbers in this game, so the player Agility I currently have set to 18, and the enemies all have 10 Agility. I thought that by doing the math, the player should always hit the foes in the test battle, and the player should have a 20% chance to dodge the enemy attacks... The problem is the player is always dodging. Which shouldn't be the case if it's 20% which makes me think I'm doing something wrong, or messed something up... I've been at a loss for hours and don't know what to do.
I apologize if the answer is incredibly simple...
My formula is the highlighted bit in the image.
I'm using smaller numbers in this game, so the player Agility I currently have set to 18, and the enemies all have 10 Agility. I thought that by doing the math, the player should always hit the foes in the test battle, and the player should have a 20% chance to dodge the enemy attacks... The problem is the player is always dodging. Which shouldn't be the case if it's 20% which makes me think I'm doing something wrong, or messed something up... I've been at a loss for hours and don't know what to do.
I apologize if the answer is incredibly simple...