PRC8_fork/nwn/trunk/scripts/pnp_lich_isdemi.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

25 lines
738 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName pnp_lich_isdemi
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 1/24/2004 9:30:45 AM
//:://////////////////////////////////////////////
#include "prc_alterations"
#include "inc_epicspells"
// Determines if the the lich is able to start the process of becoming a demilich
int StartingConditional()
{
// Restrict based on the player's class
int iPassed = FALSE;
if((GetLevelByClass(CLASS_TYPE_LICH, GetPCSpeaker()) >= 4) &&
GetIsEpicSpellcaster(GetPCSpeaker())) // if is an epic caster, meets prereq
iPassed = TRUE;
return iPassed;
}