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

health_scaling_effects

Enrage buffs component

Scales some statistics of a living mob (speed or attack power or such) based on how hurt it is.

Vars

additional_status_callbackA callback which is sent the mob's current ratio between the max and min values, for updating mob-specific effects
max_health_attack_modifier_lowerModification to apply to the lower bound of your attack while your health is at or above the max threshold
max_health_attack_modifier_upperModification to apply to the upper bound of your attack while your health is at or above the max threshold
max_health_slowdownModification to movement speed to apply while your health is at or above the max threshold
max_health_thresholdHealth percentage (between 0 and 1) at which you are considered to get the full "max" effect
min_health_attack_modifier_lowerModification to apply to the lower bound of your attack while your health is at or above the min threshold
min_health_attack_modifier_upperModification to apply to the upper bound of your attack while your health is at or above the min threshold
min_health_slowdownModification to movement speed to apply while your health is at or above the min threshold
min_health_thresholdHealth percentage (between 0 and 1) at which you are considered to get the full "min" effect

Procs

on_health_changedCalled when mob health changes, recalculates the ratio between maximum and minimum
update_statsUpdate statistics based on provided interpolator between maximum and minimum values

Var Details

additional_status_callback

A callback which is sent the mob's current ratio between the max and min values, for updating mob-specific effects

max_health_attack_modifier_lower

Modification to apply to the lower bound of your attack while your health is at or above the max threshold

max_health_attack_modifier_upper

Modification to apply to the upper bound of your attack while your health is at or above the max threshold

max_health_slowdown

Modification to movement speed to apply while your health is at or above the max threshold

max_health_threshold

Health percentage (between 0 and 1) at which you are considered to get the full "max" effect

min_health_attack_modifier_lower

Modification to apply to the lower bound of your attack while your health is at or above the min threshold

min_health_attack_modifier_upper

Modification to apply to the upper bound of your attack while your health is at or above the min threshold

min_health_slowdown

Modification to movement speed to apply while your health is at or above the min threshold

min_health_threshold

Health percentage (between 0 and 1) at which you are considered to get the full "min" effect

Proc Details

on_health_changed

Called when mob health changes, recalculates the ratio between maximum and minimum

update_stats

Update statistics based on provided interpolator between maximum and minimum values