NWNDS/nwnds_module/ka_isdraqoman.nss
Jaysyn904 de24f81734 Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
2021-07-12 21:24:46 -04:00

28 lines
731 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName ka_isdraqoman.nss
/*
Detects is the PC is a Draqoman by class & the
presence of a Draqoman Amulet.
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Kiriani Agriviar
//:: Created On:
//:://////////////////////////////////////////////
int StartingConditional()
{
object oPC = GetPCSpeaker();
if ((GetLevelByClass(CLASS_TYPE_BARD, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_ASSASSIN, oPC)==0))
return FALSE;
if (GetAlignmentGoodEvil(oPC) == ALIGNMENT_GOOD) return FALSE;
if (GetItemPossessedBy(oPC, "fac_itpnck_draqo") == OBJECT_INVALID) return FALSE;
return TRUE;
}