Anything careless enough to attack a spiny creature in melee will take damage from the defender's spines. Ranged or reaching attacks ignore this counterattack, as do spells. Spines may only hurt a monster once per round.
Each time anything attacks a spiny monster in melee, there is a one in three chance that the attacker will take damage. This damage ignores EV, but is reduced by AC. Spiny enemies are also immune to constriction both from the melee attacks of nagas and octopodes and the zombie hands of Borgnjor's Vile Clutch.
Briar patches deal 5d4 damage, which is the default behavior. Cactus giants instead deal 5d8 damage with their spines.
You can acquire the spiny trait yourself by gaining the demonspawn spiny mutation. Spiny players have a one in two chance to hurt attackers, dealing damage based on mutation rank and experience level:
Minimum damage: mutation_rank Maximum damage: (2 * XL / 3) + 3 * mutation_rank
As with monster spines, this ignores EV.
- In 0.28, cactus giants were introduced, which deal more damage with their spines.
- Prior to 0.27, mutation rank had minimal influence on the player damage formula.
- Prior to 0.26, you could naturally find mobile spiny enemies in the Dungeon: porcupines, torturous demonspawns, and hell sentinels had them.
- Prior to 0.19, the player version did damage based only on the mutation rank.
- ↑ fight.cc:1245 (0.29.0)