shield

Vars | |
active | Is the shield currently active |
---|---|
affected | Shielded mob |
cover | Percentage damage The shield intercepts. |
intercept_damage_cb | Callback to block damage entirely |
layer | Shield priority layer |
shield_flags | Behavior flags |
slot_flags | What slots the parent item provides its shield effects in |
transfer_damage_cb | Callback to transfer damage to the shield |
Procs | |
activate_with_user | Activates shield effects |
deactivate_with_user | Deactivates shield effects |
get_shield_status_modifier | Calculates a modifier to the shield coverage based on user or parent conditions |
item_intercept_attack | Damage intercept calculation |
item_pure_block_chance | Block chance calculation |
on_attack_cb_shields_call | Signal handler for incoming damage, directs to the right callback proc |
setup_callbacks | Sets up the correct callbacks based on flagged behavior |
shield_affect_user | Toggles shield effects for the user |
shield_detach_from_user | Detaches shield from the user |
shield_dropped | Handles unequipping the shield |
shield_equipped | Handles equipping the shield |
toggle_shield | Toggles the mitigation on or off when already equipped |
transfer_damage_to_parent | Applies damage to parent item |
Var Details
active

Is the shield currently active
affected

Shielded mob
cover

Percentage damage The shield intercepts.
intercept_damage_cb

Callback to block damage entirely
layer

Shield priority layer
shield_flags

Behavior flags
slot_flags

What slots the parent item provides its shield effects in
transfer_damage_cb

Callback to transfer damage to the shield
Proc Details
activate_with_user
Activates shield effects
deactivate_with_user
Deactivates shield effects
get_shield_status_modifier
Calculates a modifier to the shield coverage based on user or parent conditions
item_intercept_attack
Damage intercept calculation
item_pure_block_chance
Block chance calculation
on_attack_cb_shields_call
Signal handler for incoming damage, directs to the right callback proc
setup_callbacks
Sets up the correct callbacks based on flagged behavior
shield_affect_user
Toggles shield effects for the user
shield_detach_from_user
Detaches shield from the user
shield_dropped
Handles unequipping the shield
shield_equipped
Handles equipping the shield
toggle_shield
Toggles the mitigation on or off when already equipped
transfer_damage_to_parent
Applies damage to parent item