if you have 8 or 9 possibilities to choose from, and only 1 of them would be lucky, then there should be about 12% chance to luck an item.
yes but how do i programm it in as3?
You said you had a mathematical question, so you received a mathematical answer. Lets supposed you didn't have to program it, but just wanted someone to have a 12% chance of picking a winner out of a hat. What would you do? Convert that into a program after you figure it out.