unit self-damage mechanics
Units generally cannot damage themselves due to a 'noselfdamage' tag, but nukes are an exception and can damage their own launcher.
- Most units cannot damage themselves, indicated by a 'noselfdamage=true' tag in their unit definition, although it's a per-unit tag and not universally applied to all damage-dealing units.
- Nukes (specifically 'arm nuke') do not have the 'noselfdamage' tag, meaning a nuke can damage its own launcher upon detonation.
- Some units like Martyr or (potentially old) Liche might seem to damage themselves but actually spawn a new unit or projectile that then harms the parent unit.
- All buildings are considered units in the game, which is relevant when discussing self-damage mechanics.


