x2_inc_spellhook
Library file that acts as a hub for all code that is hooked into the nwn spellscripts.If you want to implement material components into spells or add restrictions to certain spells, this is the place to do it.
NOTE: This file includes x2_inc_craft and x3_inc_horse.
Constants
Name | Value | Brief Description |
---|---|---|
X2_EVENT_CONCENTRATION_BROKEN | 12400 |
Functions
Name | Brief Description |
---|---|
X2BreakConcentrationSpells | Internal function. Concentration system for Black Blade of Disaster spell. If the mage tries to cast any kind of spell, the blade is signaled an event to die. |
X2CastOnItemWasAllowed | This function return TRUE if the last casted spell can be cast to any item. |
X2DoBreakConcentrationCheck | Internal function. |
X2GetBreakConcentrationCondition | Internal function. Being hit by any kind of negative effect affecting the caster's ability to concentrate will cause a break condition for concentration spells. |
X2GetSpellCastOnSequencerItem | Sequencer item property handling. |
X2PreSpellCastCode | This function hooks all default spell scripts and is used for procedures related to all spells or for block the spell code to be executed. |
X2RunUserDefinedSpellScript | Runs a custom spellhook script if defined. |
X3ShapeShiftSpell | Internal function. Returns TRUE if the spell that is cast is a shape shifting spell. |
X2UseMagicDeviceCheck | Use Magic Device check. |
See Also
categories: | Spells Functions | Spell Casting Effects Functions |
events: | OnSpellCastAt Event |
includes: | nw_i0_spells | x0_i0_spells | x2_i0_spells |
author: Mistress, contributor: ShaDoOoW