mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-17 00:07:15 -05:00
Further file organization
Further file organization
This commit is contained in:
15
nwn/nwnprc/trunk/scripts/prc_scry_end.nss
Normal file
15
nwn/nwnprc/trunk/scripts/prc_scry_end.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
// Written by Stratovarius
|
||||
// Ends scrying.
|
||||
|
||||
#include "prc_inc_scry"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
object oCopy = GetLocalObject(oPC, COPY_LOCAL_NAME);
|
||||
// Cancel out if the PC isn't scrying.
|
||||
if (!GetIsScrying(oPC)) return;
|
||||
FloatingTextStringOnCreature("Ending All Scrying Spells", oPC, FALSE);
|
||||
if (DEBUG) DoDebug("prc_scry_end: End Scry SpellId: " + IntToString(GetLocalInt(oPC, "ScrySpellId")));
|
||||
DoScryEnd(oPC, oCopy);
|
||||
}
|
||||
Reference in New Issue
Block a user