Home
last modified time | relevance | path

Searched refs:entityCON (Results 1 – 1 of 1) sorted by relevance

/dports/games/barony/Barony-3.3.7/src/
H A Dentity.cpp16544 const Sint32 entityCON = this->getStats()->CON; in SetEntityOnFire() local
16547 if ( entityCON <= 1 ) in SetEntityOnFire()
16553 if ( entityCON <= 4 ) in SetEntityOnFire()
16557 …else if ( entityCON >= MAX_CON_FOR_STOP_FIRE ) // If the Entity has MAX_CON_FOR_STOP_FIRE (25) or … in SetEntityOnFire()
16563 this->chanceToPutOutFire -= static_cast<Sint32>(floor(entityCON * 0.2)); in SetEntityOnFire()
16567 if ( entityCON >= MAX_CON_FOR_FIRE_TIME ) in SetEntityOnFire()
16573 this->char_fire -= static_cast<Sint32>(floor((entityCON * 0.5) * TICKS_TO_PROCESS_FIRE)); in SetEntityOnFire()