HoS_PRC8/_mod/_module/nss/oe_novermundead.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

18 lines
526 B
Plaintext

// No Vermin or Undead allowed
void main()
{
object oE=GetEnteringObject();
object oN1=GetNearestObjectByTag("Elrendil");
object oN2=GetNearestObjectByTag("Mebrith");
object oN3=GetNearestObjectByTag("Laric");
object oN4=GetNearestObjectByTag("Brina");
int nType=GetRacialType(oE);
if (nType==RACIAL_TYPE_VERMIN||nType==RACIAL_TYPE_UNDEAD)
{
SetIsTemporaryEnemy(oE,oN1);
SetIsTemporaryEnemy(oE,oN2);
SetIsTemporaryEnemy(oE,oN3);
SetIsTemporaryEnemy(oE,oN4);
}
}