Difference between revisions of "Aggressiveness"
From Cantr II Wiki
m (Fixed link to forum post) |
|||
Line 8: | Line 8: | ||
Animals with an aggressiveness of zero never attack. | Animals with an aggressiveness of zero never attack. | ||
− | From a forum post by [[User:Chris Johnson|Chris Johnson]] ([http://forum.cantr.org/viewtopic.php?p=191601# | + | From a forum post by [[User:Chris Johnson|Chris Johnson]] ([http://forum.cantr.org/viewtopic.php?p=191601#p191601]): |
: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. |
Revision as of 10:22, 14 June 2010
Interwiki |
---|
български • Deutsch • English • Español • Esperanto • Français • Italiano • Lietuvių • Lojban • Nederlands • Polska • Português • Русский • Suomi • Svenska • Türkçe • 中文 |
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.