/tg/ Station 13 - Modules - TypesVar Details

on_hit_effect

On Hit Effect Component!

Component for other elements/components to rely on for on-hit effects without duplicating the on-hit code. See Lifesteal, or bane for examples.

THIS COULD EASILY SUPPORT COMPONENT_DUPE_ALLOWED but the getcomponent makes it throw errors. if you can figure that out feel free to readd the dupe types

Vars

extra_check_callbackcallback optionally used for more checks
on_hit_callbackcallback used by other components to apply effects
thrown_effectoptionally should we also apply the effect if thrown at something?

Var Details

extra_check_callback

callback optionally used for more checks

on_hit_callback

callback used by other components to apply effects

thrown_effect

optionally should we also apply the effect if thrown at something?