X2UseMagicDeviceCheck

From NWN Lexicon


Contents

[edit] X2UseMagicDeviceCheck()

Use Magic Device check.

[edit] 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.



[edit] 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.


[edit] Requirements

#include " x2_inc_spellhook "


[edit] Version

???

[edit] See Also

functions: 

X2PreSpellCastCode



author: ShaDoOoW, editor: Mistress, Kookoo

Personal tools
Categories