/tg/ Station 13 - Modules - TypesVar Details - Proc Details

revenge_ability

Automatically triggers a linked ability at a target who attacks us. The ability might not necessarily be on our mob. Make sure that /datum/element/relay_attackers is also present or you'll never receive the triggering signal.

Vars

abilityThe ability to use when we are attacked
max_rangeTrigger only if target is at least this close
min_rangeTrigger only if target is at least this far away
target_selfTarget the ability at ourself instead of at the offender
targetingOptional datum for validating targets

Procs

ability_destroyedFor whatever reason we lost our linked ability so we can drop this behaviour
on_attackedIf we were attacked, get revenge

Var Details

ability

The ability to use when we are attacked

max_range

Trigger only if target is at least this close

min_range

Trigger only if target is at least this far away

target_self

Target the ability at ourself instead of at the offender

targeting

Optional datum for validating targets

Proc Details

ability_destroyed

For whatever reason we lost our linked ability so we can drop this behaviour

on_attacked

If we were attacked, get revenge