Further file organization
Further file organization
This commit is contained in:
16
nwn/nwnprc/trunk/newspellbook/moi_ncr_clean.nss
Normal file
16
nwn/nwnprc/trunk/newspellbook/moi_ncr_clean.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
/*Essentia Trap cleanup
|
||||
|
||||
Called from prc_npc_death to get around delay commands not working there
|
||||
*/
|
||||
|
||||
#include "moi_inc_moifunc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oNecro = OBJECT_SELF;
|
||||
int nEssentia = GetLocalInt(oNecro, "EssentiaTrapClean");
|
||||
//SendMessageToPC(GetFirstPC(),"NecroClean is "+GetName(oNecro));
|
||||
|
||||
DelayCommand(6.0, SetTemporaryEssentia(oNecro, nEssentia * -1));
|
||||
DelayCommand(6.0, DeleteLocalInt(oNecro, "EssentiaTrapClean"));
|
||||
}
|
Reference in New Issue
Block a user