mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-17 10:27:16 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
24
trunk/newspellbook/inv_enervshdwc.nss
Normal file
24
trunk/newspellbook/inv_enervshdwc.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: AoE: On Exit
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
|
||||
*/
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "inv_inc_invfunc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oCaster = GetAreaOfEffectCreator();
|
||||
object oArea = GetArea(oCaster);
|
||||
|
||||
if(GetIsObjectValid(oArea)
|
||||
&& GetIsDay()
|
||||
&& GetIsAreaAboveGround(oArea) == AREA_ABOVEGROUND
|
||||
&& !GetIsAreaInterior(oArea)
|
||||
)
|
||||
PRCRemoveSpellEffects(INVOKE_ENERVATING_SHADOW, oCaster, oCaster);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user