/datum/action/cooldown/spell/charged/beam
Channelled spells that pick a random target from nearby atoms to cast a spell on. Commonly used for beams, hence the name, but nothing's stopping projectiles or whatever from working.
If no targets are nearby, cancels the spell and refunds the cooldown.
Vars | |
initial_target | Who's our initial beam target? Set in before cast, used in cast. |
---|---|
max_beam_bounces | The maximum number of bounces the beam will go before stopping. |
target_radius | The radius around the caster to find a target. |
Var Details
initial_target
Who's our initial beam target? Set in before cast, used in cast.
max_beam_bounces
The maximum number of bounces the beam will go before stopping.
target_radius
The radius around the caster to find a target.