Spell Num Targets

When we need to know the number of targets a spell can affect, we call scripts by the name “SpellNumTargets”. If the scripts return any non-empty value then that value is used as the spell's number of targets. Otherwise we use the defaultvalue. The value can be any integer or fractional value such as “12” or “3.25”.

Hook Parameters

Context