what better way to make a "monster" or "chest" drop a random item?
I'm doing this:
monster HP <= 0
monster set Drop int(random(1,10))
monster destroy
------- monster Drop <= 4
monster spawn coin
------- monster Drop >= 5
------- monster Drop <= 7
monster spawn key
------- monster Drop >= 5
------------ monster spawn red potion
But I'm not finding it effective. Anyone have a hint?
Tnks