Difference between revisions of "Aggressiveness"

From Cantr II Wiki
Jump to: navigation, search
m
Line 6: Line 6:
 
Animals with an aggressiveness of zero never attack.
 
Animals with an aggressiveness of zero never attack.
  
From a forum post by Chris Johnson ([http://www.cantr.net/forum/viewtopic.php?p=191601#191601]):
+
From a forum post by [[User:Chris Johnson|Chris Johnson]] ([http://www.cantr.net/forum/viewtopic.php?p=191601#191601]):
 
: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 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.
 
: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.
 
:This means that one person could be attacked several times in one day.

Revision as of 17:01, 10 September 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.

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.