X2 inc spellhook
From NWN Lexicon
Contents |
[edit] x2_inc_spellhook
Library file that acts as a hub for all code that is hooked into the nwn spellscripts.<br /><br /> If you want to implement material components into spells or add restrictions to certain spells, this is the place to do it.<br /><br /> NOTE: This file includes x3_inc_horse.
[edit] Constants
Name | Value | Brief Description |
---|---|---|
X2_EVENT_CONCENTRATION_BROKEN | 12400 |
[edit] 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. |
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. |
Sequencer item property handling. | |
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. | |
Runs a custom spellhook script if defined. | |
X3ShapeShiftSpell | Internal function. Returns TRUE if the spell that is cast is a shape shifting spell. |
Use Magic Device check. |
[edit] See Also
events: | |
includes: |
author: Mistress, contributor: ShaDoOoW