2025/11/30 Update

Updated module to NWN:EE v37-17
Updated NWNxEE libraries to latest.
Associated new PRC8 module script for the GUI event.
Deleted old prc_2da_cache creature from top hak as it's now unneeded.
Full compile.
This commit is contained in:
Jaysyn904
2025-11-30 22:04:26 -05:00
parent 243ed8a652
commit 8ca4aed814
1252 changed files with 19391 additions and 19766 deletions

View File

@@ -292,16 +292,16 @@ int NWNX_Object_GetIsDestroyable(object oObject);
/// @brief Checks for specific spell immunity. Should only be called in spellscripts
/// @param oDefender The object defending against the spell.
/// @param oCaster The object casting the spell.
/// @param nSpellId The casted spell id. Default value is -1, which corrresponds to the normal game behaviour.
/// @param nSpellId The casted spell id. Default value is -1, which corresponds to the normal game behaviour.
/// @return -1 if defender has no immunity, 2 if the defender is immune
int NWNX_Object_DoSpellImmunity(object oDefender, object oCaster, int nSpellId=-1);
/// @brief Checks for spell school/level immunities and mantles. Should only be called in spellscripts
/// @param oDefender The object defending against the spell.
/// @param oCaster The object casting the spell.
/// @param nSpellId The casted spell id. Default value is -1, which corrresponds to the normal game behaviour.
/// @param nSpellLevel The level of the casted spell. Default value is -1, which corrresponds to the normal game behaviour.
/// @param nSpellSchool The school of the casted spell (SPELL_SCHOOL_* constant). Default value is -1, which corrresponds to the normal game behaviour.
/// @param nSpellId The casted spell id. Default value is -1, which corresponds to the normal game behaviour.
/// @param nSpellLevel The level of the casted spell. Default value is -1, which corresponds to the normal game behaviour.
/// @param nSpellSchool The school of the casted spell (SPELL_SCHOOL_* constant). Default value is -1, which corresponds to the normal game behaviour.
/// @return -1 defender no immunity. 2 if immune. 3 if immune, but the immunity has a limit (example: mantles)
int NWNX_Object_DoSpellLevelAbsorption(object oDefender, object oCaster, int nSpellId=-1, int nSpellLevel=-1, int nSpellSchool=-1);