X2UseMagicDeviceCheck()
Use Magic Device check.
int X2UseMagicDeviceCheck( );
Description
Returns TRUE if the spell is allowed to be cast, either because the character is allowed to cast it or they have won the required Use Magic Device check.
Remarks
This function is very simple, it just calls script x2_pc_umdcheck and returns value depending on that script.
x2_pc_umdcheck script handles Use Magic Device (UMD), especially spellscrolls.
Requirements
#include "x2_inc_spellhook"
Version
???
See Also
functions: | X2PreSpellCastCode |
categories: | Talents/Skills/Feats Functions |
author: ShaDoOoW, editor: Mistress, Kookoo