PoA_PRC8/_module/nss/cursetrigger.nss
Jaysyn904 8d97886c3f Changed folder name.
Changed folder name.
2022-10-07 21:08:37 -04:00

15 lines
353 B
Plaintext

void main()
{
object oCreature = GetEnteringObject();
//Make sure the opener is a PC
if (GetIsObjectValid(oCreature) == TRUE && GetIsPC(oCreature) == TRUE)
{
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectCurse(), oCreature, 90.0f);
SendMessageToPC(oCreature, "The very air you breath in these catacombs is cursed.");
}
}