mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2026-01-11 23:46:28 -05:00
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:
24
nwn/trunk/epicspellscripts/at_contrez_reset.nss
Normal file
24
nwn/trunk/epicspellscripts/at_contrez_reset.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
//:://////////////////////////////////////////////
|
||||
//:: FileName: "at_contrez_reset"
|
||||
/* Purpose: Dispels any active Contingent Resurrections cast by oPC.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Boneshank
|
||||
//:: Last Updated On:
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "inc_epicspells"
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
int nSlotsUsed = GetLocalInt(oPC, "nContingentRez");
|
||||
|
||||
// Restore all used slots
|
||||
while(nSlotsUsed-- > 0)
|
||||
RestoreSpellSlotForCaster(oPC);
|
||||
|
||||
SetLocalInt(oPC, "nContingentRez", 0);
|
||||
}
|
||||
Reference in New Issue
Block a user