haunt_object 
Makes objects be haunted and then throws them at conscious people to do damage, spooky!
Vars | |
attack_timers | A list of all attack timers started by this spell being cast |
---|---|
haunt_time | Self explanatory |
max_targets | The maximum number of objects to haunt |
Procs | |
attack | Handles finding a valid target and throwing us at it. |
make_spooky | Handles making an object haunted and setting it up to attack. |
set_outline | Sets the glow on the haunted object, scales up based on throwforce. |
stop_timers | Stop all attack timers cast by the previous spell use. |
Var Details
attack_timers 
A list of all attack timers started by this spell being cast
haunt_time 
Self explanatory
max_targets 
The maximum number of objects to haunt
Proc Details
attack
Handles finding a valid target and throwing us at it.
make_spooky
Handles making an object haunted and setting it up to attack.
set_outline
Sets the glow on the haunted object, scales up based on throwforce.
stop_timers
Stop all attack timers cast by the previous spell use.