Skip to content

five-on-it / packages/ai/src/police-lockdown / coolingOf

Function: coolingOf() ​

coolingOf(ai, w, inSafehouse): Cooling

Defined in: packages/ai/src/police-lockdown.ts:599

How a player's stars cool this tick (see the module documentation): held inside a sealed ring; twice as fast once broken out of a ring; three times as fast unseen in a safe house (police-extraction.ts' inSafehouse); never below the first row of the ladder that only an extraction ends, at that row or above.

Parameters ​

ai ​

AiWorld

w ​

Wanted

inSafehouse ​

boolean

Returns ​

Cooling