PRC8_fork/nwn/nwnprc/trunk/scripts/pnp_lich_isdemi.nss

25 lines
738 B
Plaintext
Raw Permalink Normal View History

//::///////////////////////////////////////////////
//:: 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;
}