Difference between revisions of "Aggressiveness"

From Cantr II Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 +
{{InterwikiLink:Aggressiveness}}
 +
 
Aggressiveness determines how likely an animal is to attack.
 
Aggressiveness determines how likely an animal is to attack.
  
Line 6: 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://www.cantr.net/forum/viewtopic.php?p=191601#191601]):
+
From a forum post by [[User:Chris Johnson|Chris Johnson]] ([http://forum.cantr.org/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.
 +
 +
[[Category: Game mechanics]]

Revision as of 18:42, 12 May 2010

Interwiki

българскиDeutschEnglishEspañolEsperantoFrançaisItalianoLietuviųLojbanNederlandsPolskaPortuguêsРусскийSuomiSvenskaTü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.