RoT2_PRC8/_module/nss/cs_invul_toggle.nss
Jaysyn904 499aba4eb3 Initial upload
Initial upload
2023-09-25 18:13:22 -04:00

9 lines
225 B
Plaintext

void main()
{
object oActivator = GetItemActivator();
int iImmortal = GetImmortal(oActivator);
if (iImmortal == TRUE) { SetImmortal(oActivator, FALSE); }
else { SetImmortal(oActivator, TRUE); }
}