Difference between revisions of "Aggressiveness"

From Cantr II Wiki
Jump to: navigation, search
 
m
Line 3: Line 3:
 
A random percentage is drawn from a normal distribution with a mean of "Aggressiveness / 10" and a standard deviation of +/- 0.3%
 
A random percentage is drawn from a normal distribution with a mean of "Aggressiveness / 10" and a standard deviation of +/- 0.3%
 
This is then divided by 4 and if it exceeds a random value drawn from a uniform 0 to 100 scale then the animal attacks.
 
This is then divided by 4 and if it exceeds a random value drawn from a uniform 0 to 100 scale then the animal attacks.
 +
 +
Note that an aggressiveness of 0 does not mean the animal never attacks, it just makes it very improbable.

Revision as of 15:58, 10 April 2006

Aggressiveness determines how likely an animal is to attack.

A random percentage is drawn from a normal distribution with a mean of "Aggressiveness / 10" and a standard deviation of +/- 0.3% This is then divided by 4 and if it exceeds a random value drawn from a uniform 0 to 100 scale then the animal attacks.

Note that an aggressiveness of 0 does not mean the animal never attacks, it just makes it very improbable.