targeted

A spell targeting system which is able to select 1 to many targets in range/view of the caster. Has a random mode, distance from user based mode or a user input mode.
Vars | |
can_hit_target_more_than_once | Only important if max_targets > 1, affects if the spell can be cast multiple times at one person from one cast |
---|---|
random_target | Chooses random viable target instead of asking the caster |
target_priority | Who to target when too many targets are found. Only matters when max_targets = 1 |
Var Details
can_hit_target_more_than_once

Only important if max_targets > 1, affects if the spell can be cast multiple times at one person from one cast
random_target

Chooses random viable target instead of asking the caster
target_priority

Who to target when too many targets are found. Only matters when max_targets = 1