PWE_PRC8/_module/nss/fear_zone.nss

15 lines
366 B
Plaintext
Raw Permalink Normal View History

2025-04-03 10:29:41 -04:00
//standard percept with added auto charm
#include "NW_I0_GENERIC"
#include "NW_I0_SPELLS"
void main()
{
effect MyEffect;
MyEffect = EffectFrightened();
object oTarget = GetEnteringObject();
if (WillSave(oTarget,15,SAVING_THROW_TYPE_MIND_SPELLS)==0)
{
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, MyEffect, oTarget,60.0);
}
}