FANDOM


SG_I0_Spells is the master include file for the Grimoire. It includes most of the other Grimoire include files to ease creation of spell scripts. Any newly created spell script that includes this file automatically includes all the files included in the list below. It also contains functions to implement certain spell effects that are called from the spellhook script, or functions that require functions in multiple include files. It does not directly define any constants.

Includes Edit

Standard

  • X2_I0_Spells
  • X2_Inc_Spellhook
  • X0_I0_Position

Grimoire

Functions Edit

int DoSpellTurning (object oCaster, object oTarget,
int iMetamagic, int iSpellID,
int iSpellLevel) This function implements the spell turning abilities of the minor spell turning and spell turning spells.


void DoSimbulSynostodweomer (object oCaster, object oTarget,
int iMetamagic, int iSpellID,
int iSpellClass) This function does the checks and healing capability of Simbul's synostodweomer.


int SGGetPoisonType (int iCasterLevel, object oCaster=OBJECT_SELF) This function handles some common functionality of the various bolt/cone scripts for monster abilities.


int SGGetDiseaseType (int iCasterLevel, object oCaster=OBJECT_SELF) This function handles some common functionality of the various bolt/cone scripts for monster abilities.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.