Shots, damage and collisions
How much a shot takes, the gun that heats up and ramming.

Shots
- Shot power goes from 0.1 to 3:
this.fire(power). - A shot takes 4 × the power in health, plus 2 × whatever is above 1.
- A hit gives the shooter back the shot’s energy.
- Stronger shots are slower and heat the gun more. While the gun is hot (
me.gunHeatabove 0), the robot doesn’t shoot. - The weapon changes all this: the railgun shoots faster and harder, the shotgun fires three projectiles in a fan, the minigun barely heats up. See Weapons.
Punches and ramming
punch()punches whoever is right next to you. Treads and a torso with steel fists hit harder.- Colliding with another robot takes 0.6 health from both (with the default robot).
Special attack
The special attack deals area damage around the robot and can be used once, when health drops to 30% or less (state.me.specialReady).
Defenses
- Damage ignored (
armor): the share of shot damage the plating ignores. - Shield: absorbs damage before health and recharges after a while without being hit.
- Reactive plates: send part of the damage back to the shooter.