aura
Procs | |
aura_check_bullet | Called when the associated mob is impacted by a projectile. |
---|---|
aura_check_life | Called during the associated mob's life checks. |
aura_check_thrown | Called when the associated mob is hit by a thrown atom. |
aura_check_weapon | Called when the associated mob is attacked with a weapon. |
Proc Details
aura_check_bullet
Called when the associated mob is impacted by a projectile.
Called by /mob/living/proc/aura_check()
when type
== AURA_TYPE_BULLET
.
Parameters:
proj
- The impacting projectiledef_zone
- Body part target zone that was impacted
Returns bitfield (Any of AURA_*
). See code\__defines\mobs.dm
.
aura_check_life
Called during the associated mob's life checks.
Called by /mob/living/proc/aura_check()
when type
== AURA_TYPE_LIFE
.
Returns bitfield (Any of AURA_*
). See code\__defines\mobs.dm
.
aura_check_thrown
Called when the associated mob is hit by a thrown atom.
Called by /mob/living/proc/aura_check()
when type
== AURA_TYPE_THROWN
.
Parameters:
thrown_atom
- The atom impacting the mob.thrown_datum
- The thrownthing datum associated with the thrown atom.
Returns bitfield (Any of AURA_*
). See code\__defines\mobs.dm
.
aura_check_weapon
Called when the associated mob is attacked with a weapon.
Called by /mob/living/proc/aura_check()
when type
== AURA_TYPE_WEAPON
.
Parameters:
weapon
- Item used to attack the mob.attacker
- The attacking mob.click_params
- List of click parameters.
Returns bitfield (Any of AURA_*
). See code\__defines\mobs.dm
.