53 {
55 return;
56
58
61 {
64
66
67 float growDelta;
68
69 if (agentPotency <= immunityLevel)
70 {
72 if (temporaryResistance > 1.0)
73 continue;
74
76 continue;
77
79 continue
80
82 growDelta = invasibility * deltaT;
83 }
84 else
85 {
87 growDelta = -dieOffSpeed * deltaT;
88 }
89
91 float newCount = oldCount + growDelta;
92 newCount = Math.Clamp(newCount, 0, maxCount);
93
96 }
97 }
bool IsPluginManagerExists()
PluginTransmissionAgents m_PluginTransmissionAgents
ref map< int, float > m_VirusPool
float GetTemporaryResistance(int agentId)
void SetAgentCount(int agent_id, float count)