Fear Factor

From ECO - English Wiki

To Be Fixed up:

How Does Fear Factor work?

Range = Square of the predators (Players) detection range (reduced by taking predatory instincts) Distance = Square of the distance between predator (Player) and the prey (animal).

if the Distance is less than the Range * prey's (animals) FearFactor then put the animal on alert,

How alert the prey (animal) is to this predator (player) is calculated by

Alertness increases each tick by ((Range - Distance) / Range) * 50 (default alertness to predators, may be hard coded currently);

if Alertness gets above 100 the animal will flee