CONTENT CONTRACT · VERSION 1
EnemyThreat
Target scores combine recent damage, hit taunts and distance; memory decays linearly.
Signature
{ hit_bonus: Count, memory_ticks: PositiveTicks, proximity: Count, switch_margin: Count }Fields
| Name | Type | Meaning |
|---|---|---|
hit_bonus | Count | Threat added by every damaging hit, in addition to damage dealt. Range: 0…2147483647; Unit: count |
memory_ticks | PositiveTicks | Ticks until remembered threat decays to zero. Range: 1…2147483647; Unit: tick |
proximity | Count | Threat of a nearby target, divided by one plus distance in metres. Range: 0…2147483647; Unit: count |
switch_margin | Count | Score advantage needed to replace a living target. Range: 0…2147483647; Unit: count |