86 return ( 1 -
Math.
Pow( 1 - userprob, ( 1 / 1200 ) ) );
EStatLevels GetPotencyEx(PlayerBase player)
float GetDieOffSpeedEx(PlayerBase player)
float CalculateAutoinfectProbability(float userprob)
float m_TransferabilityAirOut
void AgentBase()
how fast the agent dies off when not potent enough to grow(per sec)
float GetDigestibilityEx(PlayerBase player)
float GetTransferabilityOut()
float GetTransferabilityAirOut()
float m_DieOffSpeed
grow when player's immune system is at this level or lower
float m_AutoinfectProbability
number of agents injected during the autoinfection
bool CanAutoinfectPlayer(PlayerBase player)
float m_TransferabilityIn
how fast the agent grows when potent enough to grow
EStatLevels m_Potency
[0..1], 0 means antibiotics have full effect, 1 means no effect
float GetInvasibilityEx(PlayerBase player)
bool GrowDuringMedicalDrugsAttack(EMedicalDrugsType drugType, PlayerBase player)
should this agent grow based on invasibility even during usage of specific medical drugs attack
float GetAntiboticsResistance()
int m_MaxCount
multiplier for agents digested in the player stomach from an infected item(agents_transfered = digest...
float GetAntibioticsResistanceEx(PlayerBase player)
float m_Digestibility
from the player
float m_TransferabilityOut
to the player
float GetTransferabilityIn()
float m_AntibioticsResistance
transferibility airborne out
bool AutoinfectCheck(float deltaT, PlayerBase player)
bool GrowDuringAntibioticsAttack(PlayerBase player)
should this agent grow based on invasibility even during antibiotics attack
void MessageReceiverBase()
static float RandomFloat01()
Returns a random float number between and min [inclusive] and max [inclusive].
static proto float Pow(float v, float power)
Return power of v ^ power.