![]() |
|
|
#5 | |
|
Архивный участник
Join Date: Oct 2006
Posts: 112
|
Quote:
Ситуация такая (речь о additional_make_multi_list): P1=30, P2=50 (в сумме не 100%). Первый вариант: Code:
x:=rand(100); if x < P1 then summon(I1) else if x<P1+P2 then summon(I2) else exit; Code:
x:=rand(100); if x < P1 then summon(I1) else summon(I2); |
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|