Rune_PRC8/_module/nss/vtw_hasarcanelvl.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

45 lines
1.7 KiB
Plaintext

/* Script generated by
Lilac Soul's NWN Script Generator, v. 2.0
For download info, please visit:
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
#include "prc_inc_spells"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int iAllArcane = GetLevelByClass(CLASS_TYPE_WIZARD, oPC)
+ GetLevelByClass(CLASS_TYPE_SORCERER, oPC)
+ GetLevelByClass(CLASS_TYPE_BARD, oPC)
+ GetLevelByClass(CLASS_TYPE_DRAGONFIRE_ADEPT, oPC)
+ GetLevelByClass(CLASS_TYPE_DRAGON_SHAMAN, oPC)
+ GetLevelByClass(CLASS_TYPE_DREAD_NECROMANCER, oPC)
+ GetLevelByClass(CLASS_TYPE_BEGUILER, oPC)
+ GetLevelByClass(CLASS_TYPE_SHADOWCASTER, oPC)
+ GetLevelByClass(CLASS_TYPE_WARMAGE, oPC)
+ GetLevelByClass(CLASS_TYPE_ASSASSIN, oPC)
+ GetLevelByClass(CLASS_TYPE_CELEBRANT_SHARESS, oPC)
+ GetLevelByClass(CLASS_TYPE_CULTIST_SHATTERED_PEAK, oPC)
+ GetLevelByClass(CLASS_TYPE_DUSKBLADE, oPC)
+ GetLevelByClass(CLASS_TYPE_HARPER, oPC)
+ GetLevelByClass(CLASS_TYPE_HEXBLADE, oPC)
+ GetLevelByClass(CLASS_TYPE_KNIGHT_WEAVE, oPC)
+ GetLevelByClass(CLASS_TYPE_SHADOWLORD, oPC)
+ GetLevelByClass(CLASS_TYPE_SUBLIME_CHORD, oPC)
+ GetLevelByClass(CLASS_TYPE_SUEL_ARCHANAMACH, oPC)
+ GetLevelByClass(CLASS_TYPE_WARLOCK, oPC);
if(iAllArcane == 0)
return FALSE;
/* if ((GetLevelByClass(CLASS_TYPE_BARD, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_SORCERER, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_WIZARD, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_ARCANE_ARCHER, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_HARPER, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_DRAGONDISCIPLE, oPC)==0)) */
return TRUE;
}