code/__DEFINES/combat/attack_types.dm ![code/__DEFINES/combat/attack_types.dm0](git.png)
ATTACK_TYPE_MELEE | Attack was melee, whether or not armed. |
---|---|
ATTACK_TYPE_PROJECTILE | Attack was with a gun or something that should count as a gun (but not if a gun shouldn't count for a gun, crazy right?) |
ATTACK_TYPE_UNARMED | Attack was unarmed.. this usually means hand to hand combat. |
ATTACK_TYPE_THROWN | Attack was a thrown atom hitting the victim. |
ATTACK_TYPE_TACKLE | Attack was a bodyslam/leap/tackle. See: Xenomorph leap tackles. |
ATTACK_TYPE_PARRY_COUNTERATTACK | Attack was from a parry counterattack. Do not attempt to parry-this! |
Define Details
ATTACK_TYPE_MELEE ![code/__DEFINES/combat/attack_types.dm 3](git.png)
Attack was melee, whether or not armed.
ATTACK_TYPE_PARRY_COUNTERATTACK ![code/__DEFINES/combat/attack_types.dm 13](git.png)
Attack was from a parry counterattack. Do not attempt to parry-this!
ATTACK_TYPE_PROJECTILE ![code/__DEFINES/combat/attack_types.dm 5](git.png)
Attack was with a gun or something that should count as a gun (but not if a gun shouldn't count for a gun, crazy right?)
ATTACK_TYPE_TACKLE ![code/__DEFINES/combat/attack_types.dm 11](git.png)
Attack was a bodyslam/leap/tackle. See: Xenomorph leap tackles.
ATTACK_TYPE_THROWN ![code/__DEFINES/combat/attack_types.dm 9](git.png)
Attack was a thrown atom hitting the victim.
ATTACK_TYPE_UNARMED ![code/__DEFINES/combat/attack_types.dm 7](git.png)
Attack was unarmed.. this usually means hand to hand combat.