PRC8/trunk/scripts/test_new_poly.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

18 lines
313 B
Plaintext

#include "prc_alterations"
#include "inc_prc_poly"
void main()
{
object oPC = OBJECT_SELF;
if (GetIsPC(oPC))
{
if (PRC_Polymorph_Check(oPC))
{
PRC_UnPolymorph(oPC);
}
else
{
PRC_Polymorph_ResRef(oPC, "nw_demon", TRUE);
}
}
}