08-12-2004, 12:40 AM
just because the odds of finding a rare enemy are 1/512 now it doesn't mean that every 512th rappy is a rare one.
in order to pick if an enemy is rare there would still be some sort of randomizing program involved. every randomizer needs to use time, it may not use beat time, it could actually use the gaming console's time clock to pick a random number, but it still needs to use time. i don't know what the program would be like, but in C it would be something like:
int randomhigh=512, randomlow=1;
int randomizer(int high, int low), displayrarebadguy(), displayregularbadguy();
if(randomizer(randomhigh, randomlow)==1) displayrarebadguy();
else displayregularbadguy();
and in the randomizer program is would use some of the functions in the "time.h" header file to obtain the beat time or actual time and make it a number from 1 to 512
for every 512th enemy being rare it would be like:
int badguycount;
int displayrarebadguy(), displayregularbadguy();
if(badguycount==512) displayrarebadguy();
else{ displayregularbadguy(); badguycount++;}
and for both of these, the second part of the program would happen each time you enter a room
in order to pick if an enemy is rare there would still be some sort of randomizing program involved. every randomizer needs to use time, it may not use beat time, it could actually use the gaming console's time clock to pick a random number, but it still needs to use time. i don't know what the program would be like, but in C it would be something like:
int randomhigh=512, randomlow=1;
int randomizer(int high, int low), displayrarebadguy(), displayregularbadguy();
if(randomizer(randomhigh, randomlow)==1) displayrarebadguy();
else displayregularbadguy();
and in the randomizer program is would use some of the functions in the "time.h" header file to obtain the beat time or actual time and make it a number from 1 to 512
for every 512th enemy being rare it would be like:
int badguycount;
int displayrarebadguy(), displayregularbadguy();
if(badguycount==512) displayrarebadguy();
else{ displayregularbadguy(); badguycount++;}
and for both of these, the second part of the program would happen each time you enter a room
Too legit to quit.

