Quote:
. So, for it to select the last items on the list, it must first fail to select any previous items on the list.
|
well thats at least unnessesary complicated.
i was writing a simple RND function for one of my quests it worked like this:
table:
1-50 A
51-65 B
66-90 C
91-100 D
-select a number 1 to 100
-check the number vs the limit boundaries:
if x<50 then A
if x>50 and x<66 then B
if x>65 and x<91 then C
if x>90 and x<101 then D
i think this is simple and reliable enough