Aschbourne_PRC8/_module/q4_d2_s_ethereal.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

31 lines
796 B
Plaintext

//::///////////////////////////////////////////////
//:: Copyright (c) 2003 Bioware Corp.
//:://////////////////////////////////////////////
/*
Check to see if the PC has SPELL_ETHEREALNESS
memorized...
*/
//:://////////////////////////////////////////////
//:: Created By: Brent
//:: Created On: June 2003
//:://////////////////////////////////////////////
int StartingConditional()
{
if(GetLocalInt(GetArea(OBJECT_SELF), "STORED_SPELL" + IntToString(SPELL_ETHEREALNESS)) == 1)
return FALSE;
if (GetHasSpell(
SPELL_ETHEREALNESS
, GetPCSpeaker()) > 0)
{
return TRUE;
}
object oScroll = GetItemPossessedBy(GetPCSpeaker(), "X2_IT_SPDVSCR606");
if(oScroll != OBJECT_INVALID)
{
return TRUE;
}
return FALSE;
}