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, EffectCurse(), oCreature, 90.0f);
|
2025-05-05 21:05:20 -04:00
|
|
|
SendMessageToPC(oCreature, "The very air you breathe in these catacombs is cursed.");
|
2022-10-07 14:20:31 -04:00
|
|
|
}
|
|
|
|
}
|