Aschbourne_PRC8/_module/nss/q4_d2_s_spell_ma.nss

31 lines
804 B
Plaintext
Raw Permalink Normal View History

2024-06-14 10:48:20 -04:00
//::///////////////////////////////////////////////
//:: Copyright (c) 2003 Bioware Corp.
//:://////////////////////////////////////////////
/*
Check to see if the PC has SPELL_SPELL_MANTLE
memorized...
*/
//:://////////////////////////////////////////////
//:: Created By: Brent
//:: Created On: June 2003
//:://////////////////////////////////////////////
int StartingConditional()
{
if(GetLocalInt(GetArea(OBJECT_SELF), "STORED_SPELL" + IntToString(SPELL_GREATER_SPELL_MANTLE)) == 1)
return FALSE;
if (GetHasSpell(
SPELL_GREATER_SPELL_MANTLE
, GetPCSpeaker()) > 0)
{
return TRUE;
}
object oScroll = GetItemPossessedBy(GetPCSpeaker(), "NW_IT_SPARSCR912");
if(oScroll != OBJECT_INVALID)
{
return TRUE;
}
return FALSE;
}