Aggressiveness

From Cantr II Wiki
Revision as of 15:48, 25 July 2006 by Sho (talk | contribs)

Jump to: navigation, search

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.

Animals with an aggressiveness of zero never attack.

From a forum post by Chris Johnson ([1]):

Each animal has a chance to attack 4 times a day - The chance of attack every time is its (aggressiveness /40) as a percentage.
Each animal which attacks selects a person at random in their current location (or in close proximity if they are travelling) and attacks that person.
This means that one person could be attacked several times in one day.