Re: [FT] SMLs, Type 3 & Tactics
From: "Andrew & Alex" <Al.Bri@x...>
Date: Tue, 12 Jan 1999 10:53:30 +1300
Subject: Re: [FT] SMLs, Type 3 & Tactics
Stephen wrote:
>>Dead Meat vs the 6 thrust equivalent with 4000 or so Type 1s. But
>>rolling 4000 dice would be tedious at best :)
>use Qbasic:
>randomize timer
>for a= 1 to 4000
> b=int(rnd*6)+1
> if b=4 or b=5 then c=c+1
> if b=6 then c=c+2
>next a
>print c
>
>use that program, all 4k dice are rolled.
You forgot the rerolls if "6" is rolled on the dice!
In Java/JavaScript pseudocode:
int iDie = 0;
int iDamage = 0;
int iD6 = 0;
int iDice = 4000;
while (iDie < iDice) {
iD6 = Math.floor (Math.random () * 6) + 1;
switch (iD6) {
4,5:
iDamage +=1;
break;
6:
iDamage += 2;
iDice++; // Allow for reroll.
break;
}
iDie++; // Next dice.
}
Alternatively, you can just assume that 2,000 rolls have no effect,
1,333.3
rolls give a damage value of 1,333.3, and that 666.6 rolls give a damage
value of 1,333.3. That gives a total damage of 2,666.6 before rerolls.
If
the target survives!!, there's the 666.6 rerolls, giving an extra 444
damage
and 111 rerolls. That should be enough damage! :-)
Andrew Martin
-------------
ICQ #:26227169
Shared email: Al.Bri@xtra.co.nz
Web Site: http://members.xoom.com/AndrewMartin/
Blind See-Saw Site: http://members.xoom.com/AndrewMartin/SEE-SAW/
Dirtside II Site: http://members.xoom.com/AndrewMartin/DSII/
Dirtside II FAQ: http://members.xoom.com/AndrewMartin/DSII/FAQ/
GZG E-Mail FAQ:
http://members.xoom.com/AndrewMartin/DSII/FAQ/Ettiquette.html
FUDGE GM Site: http://members.xoom.com/AndrewMartin/FUDGE/
Usagi Yoyimbo Site: http://members.xoom.com/AndrewMartin/UY/