Aggressiveness
From Cantr II Wiki
Revision as of 17:01, 10 September 2006 by Chris Johnson (talk | contribs)
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.