/datum/component/cleave_attack

Vars | |
arc_size | Size of the attack arc in degrees |
---|---|
cleave_effect | Which effect should this use |
cleave_end_callback | Callback when the cleave attack is finished |
no_multi_hit | Whether this item is disallowed from hitting more than one target |
requires_wielded | Make this TRUE for two-handed weapons like axes |
swing_speed_mod | How much slower is it to swing |
Procs | |
hit_atoms_on_turf | Hits all possible atoms on a turf, returns TRUE if the swing should end early |
set_cleave_effect | Sets the cleave effect to the specified effect, or based on arc size if one wasn't specified. |
Var Details
arc_size

Size of the attack arc in degrees
cleave_effect

Which effect should this use
cleave_end_callback

Callback when the cleave attack is finished
no_multi_hit

Whether this item is disallowed from hitting more than one target
requires_wielded

Make this TRUE for two-handed weapons like axes
swing_speed_mod

How much slower is it to swing
Proc Details
hit_atoms_on_turf
Hits all possible atoms on a turf, returns TRUE if the swing should end early
set_cleave_effect
Sets the cleave effect to the specified effect, or based on arc size if one wasn't specified.