AbstractAgent
AbstractAgent
Base for all game agents. Implements the health-as-hit-chance mechanic:
chanceToHit is a baseline %; weapons add their damage value. If the
resulting roll succeeds the agent is destroyed (returns 0).
INDESTRUCTIBLE agents have chanceToHit = -500 (virtually impossible to kill).