Fixed success chance calculation

The "success" integer used to be determined by "chance_of_success - rng(1, 100)", but now it is determined by "chance_of_success - rng(0, 99)". This is because the previous method gave a 1% chance of failure when it should be 0%, and 1% when it should be 0%.