Drops=list(/obj/item/armor/Super_good_armor=1)
If so, please tell =)
ID:163925
Jul 27 2007, 3:08 pm
|
|
is it possible to make a slimmer than 1/100 chance of a monster dropping an item?
Drops=list(/obj/item/armor/Super_good_armor=1) If so, please tell =) |
In response to Volte
|
|
Volte wrote:
I don't believe that the prob() procedure supports decimals It does, actually. :P |
In response to Foomer
|
|
Foomer wrote:
Volte wrote: Does it? Last I checked, anything below 1 would be about as consistent as 1. Good to know, then! Thanks. |
That way if you do something like...
if(myProb(90))
It will still work more or less like the original prob() procedure. However, you could also expand it to account for extremely slim chances.
If someone else knows a better way to do this, feel free to contribute!