X2RunUserDefinedSpellScript()
Runs a custom spellhook script if defined.
int X2RunUserDefinedSpellScript( );
Description
This is just subroutine function for X2PreSpellCastCode.
It runs a custom spellhook script, if defined, and then returns a value depending on that script.
Remarks
To define custom spellhook script, use either SetModuleOverrideSpellscript in OnModuleLoad event, or go to module properties, and put there string variable X2_S_UD_SPELLSCRIPT manually.
Requirements
#include "x2_inc_spellhook"
Version
???
See Also
functions: | X2PreSpellCastCode |
categories: | Spell Functions |
author: ShaDoOoW, editor: Mistress, Kookoo