hi guys, i'm wondering how to calculate a probability and make the program respond to the result.
for example, in this little text RPG i want the drop rate of certain items to differ after the player has killed an enemy, or the accuracy rate to change based on the "accucary" level or whatnot.
i can't seem to find the answer anywhere, any ideas? thanks in advance.