Skip to main content

Module spell_targets

Module spell_targets 

Source
Expand description

Composition of implicit selectors into explicit and required cast-target masks.

Structsยง

LocationState ๐Ÿ”’
SpellTargetMasks
Explicit and required target masks calculated from effect selectors and restrictions.

Constantsยง

DO_NOT_FAIL_IF_NO_TARGET_MASK ๐Ÿ”’
DO_NOT_FAIL_IF_NO_TARGET_WORD ๐Ÿ”’
TRAJECTORY_TARGET ๐Ÿ”’

Functionsยง

authored_masks ๐Ÿ”’
checked_unit_mask ๐Ÿ”’
effect_target_mask ๐Ÿ”’
explicit_object_mask ๐Ÿ”’
missing_effect_mask ๐Ÿ”’
object_mask ๐Ÿ”’
record_provided_location ๐Ÿ”’
reference_mask ๐Ÿ”’
remove_provided_objects ๐Ÿ”’
selector_mask ๐Ÿ”’
selector_object_mask ๐Ÿ”’
spell_target_masks
Calculate Trinity-style explicit and required masks from effect A/B selectors and authored flags.
strip_unreachable_fallbacks ๐Ÿ”’
trajectory_mask ๐Ÿ”’