im using RMXP, and i need a little help setting up an event that checks if you have X item (such as pickaxe), if so then you have X% chance of getting an ore.
i really dont want a whole bunch of features, and i only have like 6 or so mining spots, so i thought it would be easier to use events than scripts.
im guessing i would use variables? so i would do "random variable: 1-100," and "if variable: <11," then you recieve 1 ore, and "if variable >10" then you get nothing? that would be if you had a 10% chance. correct? sorry, im just staring to learn variables and branches. :\
if you could help me out i would be eternally grateful...
PS. is there anyway to add a timer so that you cant mine again for X amount of time? just wondering, i dont have to have it.
i really dont want a whole bunch of features, and i only have like 6 or so mining spots, so i thought it would be easier to use events than scripts.
im guessing i would use variables? so i would do "random variable: 1-100," and "if variable: <11," then you recieve 1 ore, and "if variable >10" then you get nothing? that would be if you had a 10% chance. correct? sorry, im just staring to learn variables and branches. :\
if you could help me out i would be eternally grateful...
PS. is there anyway to add a timer so that you cant mine again for X amount of time? just wondering, i dont have to have it.