byond - Modules - TypesVar Details - Proc Details

stun_mitigation

Vars

activeWhether the component is currently active
coverPercentage chance to mitigate a hardstun
shield_flagsAny special behavior flags
slot_flagsThe slots in which the parent can be in for the component to apply

Procs

activate_with_userActually activates the mitigation effect
deactivate_with_userActually deactivates the mitigation effect
on_attack_stun_mitigationattempts to convert incoming hard stuns to soft stuns
shield_affect_userHandles the shield setting up for a user, and activating if applicable
shield_detach_from_userHandles removing the mitigation from a user
shield_droppedSignal handler for dropping the shield
shield_equippedSignal handler for equipping the shield to a slot
toggle_shieldToggles the mitigation on or off when already equipped

Var Details

active

Whether the component is currently active

cover

Percentage chance to mitigate a hardstun

shield_flags

Any special behavior flags

slot_flags

The slots in which the parent can be in for the component to apply

Proc Details

activate_with_user

Actually activates the mitigation effect

deactivate_with_user

Actually deactivates the mitigation effect

on_attack_stun_mitigation

attempts to convert incoming hard stuns to soft stuns

shield_affect_user

Handles the shield setting up for a user, and activating if applicable

shield_detach_from_user

Handles removing the mitigation from a user

shield_dropped

Signal handler for dropping the shield

shield_equipped

Signal handler for equipping the shield to a slot

toggle_shield

Toggles the mitigation on or off when already equipped