Updated Release Archive

Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
This commit is contained in:
Jaysyn904
2023-08-22 10:00:21 -04:00
parent 3acda03f30
commit 5914ed2ab5
22853 changed files with 57524 additions and 47307 deletions

View File

@@ -0,0 +1,36 @@
/*:://////////////////////////////////////////////
//:: Spell Name Imprisonment : On Enter
//:: Spell FileName PHS_S_ImprisonA
//:://////////////////////////////////////////////
//:: Spell Effects Applied / Notes
//:://////////////////////////////////////////////
Set plot flag, set to uncommandable, if not a DM.
//:://////////////////////////////////////////////
//:: Created By: Jasperre
//::////////////////////////////////////////////*/
#include "PHS_INC_SPELLS"
void main()
{
// Set plot flag on the enterer (if not a DM)
object oEnterer = GetEnteringObject();
// Make sure has spell effect as else it is probably bad AI and a familiar.
if(!GetIsDM(oEnterer) && GetHasSpellEffect(PHS_SPELL_IMPRISONMENT, oEnterer))
{
// We set them to uncommandable.
SetCommandable(FALSE, oEnterer);
// Set plot flag to true, to stop any damage
SetPlotFlag(oEnterer, TRUE);
if(GetIsPC(oEnterer))
{
// Death screen for players
DelayCommand(3.0, PopUpDeathGUIPanel(oEnterer, FALSE , TRUE, 0, "You have been imprisoned on a deserted plane, and can only be freed by Freedom"));
}
}
else if(GetIsDM(oEnterer))
{
PHS_RemoveSpellEffectsFromTarget(PHS_SPELL_IMPRISONMENT, oEnterer);
}
}