# Re: Smashes (was: Another combat factor)

Bron Campbell Nelson (bron@bronze.mti.sgi.com)
Wed, 21 Sep 94 11:07:23 -0700

Now that I understand what Carl is saying, I like the idea. Since
there seems to be some confusion, let me re-state what I think Carl
is saying (Carl, please confirm/deny that this is what you really mean!)

Through some process, you select an attacker and a defender. Let
us suppose the attack factor is 5 and the defense factor is 3.
Now you compute 2 numbers: first, the chance of hitting the defender:
this is 5/(5+3) = 5/8 = 0.625. Second, compute the chance of hitting
a target with 10 times the given defense value: this is 5/(5+10*3) =
5/35 = 0.143. Now, generate a random number between 0 and 1. If
the number is less than the first value, then you scored a hit.
If the number is less than the second value, then not only did you
score a hit, but you get to attack again immediately. This process
repeats: you can attack again and again as long as you get a good
enough random number.

Note that "10 times defense" is somewhat arbitrary, this can be adjusted
to be "5 times", or whatever seems appropriate.

This is nice in that creatures with high attack values will probably get
multiple hits against low valued opponents, but since the requirement
for getting the extra attack is fairly stringent, it doesn't get out of
hand (except possibly for something like dragons vs. peasants, but then
isn't that what you want anyway?).

```--
Bron Campbell Nelson      bron@sgi.com  or possibly  uunet!sgi.com!bron
These statements are my own, not those of Silicon Graphics.
```

Main Index  |  Olympia  |  Arena  |  PBM FAQ  |  Links