PoA_PRC8/_module/nss/darktrigger2a.nss

15 lines
268 B
Plaintext
Raw Normal View History

2022-10-07 14:20:31 -04:00
void main()
{
object oCreature = GetEnteringObject();
//Make sure the opener is a PC
if (GetIsObjectValid(oCreature) == TRUE && GetIsPC(oCreature) == TRUE)
{
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectDarkness(), oCreature, 90.0f);
}
}