Module commit

Module commit.
This commit is contained in:
Jaysyn904
2024-06-14 10:48:20 -04:00
parent 079830314c
commit f5ffe7d0b9
11110 changed files with 4747686 additions and 0 deletions

View File

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