44 lines
1.7 KiB
Plaintext
44 lines
1.7 KiB
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.3
|
|
|
|
For download info, please visit:
|
|
http://www.lilacsoul.revility.com */
|
|
#include "prc_class_const"
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
int iSpellcaster = GetLevelByClass(CLASS_TYPE_ARCHIVIST, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_BEGUILER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_BLIGHTER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_CLERIC, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_DREAD_NECROMANCER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_DRUID, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_FAVOURED_SOUL, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_HEALER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_OCULAR, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_SHADOWCASTER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_SHAMAN, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_SORCERER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_SUBLIME_CHORD, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_UR_PRIEST, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_WARLOCK, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_WARMAGE, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_WIZARD, oPC);
|
|
|
|
if (GetItemPossessedBy(oPC, "RykarianMagickGuildChain") != OBJECT_INVALID) return FALSE;
|
|
if (GetItemPossessedBy(oPC, "RykarianMagickGuildCharm") != OBJECT_INVALID) return FALSE;
|
|
if (GetItemPossessedBy(oPC, "RykarianMagickGuildPendant") != OBJECT_INVALID) return FALSE;
|
|
if (GetItemPossessedBy(oPC, "RykarianMagickGuildAmulet") != OBJECT_INVALID) return FALSE;
|
|
|
|
/* if ((GetLevelByClass(CLASS_TYPE_DRUID, oPC)==0))
|
|
if ((GetLevelByClass(CLASS_TYPE_CLERIC, oPC)==0))
|
|
if ((GetLevelByClass(CLASS_TYPE_SORCERER, oPC)==0))
|
|
if ((GetLevelByClass(CLASS_TYPE_WIZARD, oPC)==0))
|
|
if ((GetLevelByClass(CLASS_TYPE_BARD, oPC)==0)) */
|
|
if(iSpellcaster == 0)
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
} |