/tg/ Station 13 - Modules - TypesVar Details - Proc Details

pointed

Pointed spells

These spells override the caster's click, allowing them to cast the spell on whatever is clicked on.

To add effects on cast, override "cast(atom/cast_on)". The cast_on atom is the person who was clicked on.

Vars

active_msgMessage showing to the spell owner upon activating pointed spell.
aim_assistVariable dictating if the spell will use turf based aim assist
cast_rangeThe casting range of our spell
deactive_msgMessage showing to the spell owner upon deactivating pointed spell.

Procs

on_activationCalled when the spell is activated / the click ability is set to our spell
on_deactivationCalled when the spell is deactivated / the click ability is unset from our spell

Var Details

active_msg

Message showing to the spell owner upon activating pointed spell.

aim_assist

Variable dictating if the spell will use turf based aim assist

cast_range

The casting range of our spell

deactive_msg

Message showing to the spell owner upon deactivating pointed spell.

Proc Details

on_activation

Called when the spell is activated / the click ability is set to our spell

on_deactivation

Called when the spell is deactivated / the click ability is unset from our spell