- Joined
- May 22, 2007
- Messages
- 30
I want to make a chance system for my game for a job in it (Mining).
Is there any way to make a chance system where there's a ##%/100% chance of getting something? (Ex- 47%/100%, 1%/100%,etc)
I want it to be able to randomly choose an item but have some items rarer than others, such as a regular crystal being easier to find than a diamond, for example. I think I've got the system of using the mining pick right (Unit uses an item, Conditions are that item being manipulated is a Mining Pick and in the Mining Area) but now I just need the actions for the chance system. And I have no idea how to use JASS eaither so don't recomend JASS triggers to me .
Thanks in advance
Is there any way to make a chance system where there's a ##%/100% chance of getting something? (Ex- 47%/100%, 1%/100%,etc)
I want it to be able to randomly choose an item but have some items rarer than others, such as a regular crystal being easier to find than a diamond, for example. I think I've got the system of using the mining pick right (Unit uses an item, Conditions are that item being manipulated is a Mining Pick and in the Mining Area) but now I just need the actions for the chance system. And I have no idea how to use JASS eaither so don't recomend JASS triggers to me .
Thanks in advance