Thread
:
[help]i_restoration_random
View Single Post
26.05.2007, 21:15
#
4
Corund
Архивный участник
Join Date: Dec 2006
Posts: 60
попробую объяснить алгоритм так:
x:=rand(100);
if x < P1 then summon
else if x < P1+P2 then summon
else if x < P1+P2+P3 then summon
else if x < P1+P2+P3+P4 then summon
ну и так далее
Corund
View Public Profile
Find More Posts by Corund