PRC8_fork/nwn/trunk/scripts/test_new_poly.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -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);
}
}
}