PRC8_fork/nwn/trunk/scripts/pnp_shft_true.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

28 lines
814 B
Plaintext

//:://////////////////////////////////////////////
//:: Shifter - return to true form
//:: pnp_shft_true
//:://////////////////////////////////////////////
/** @file
Undoes any shifting that the character may
have undergone. Also removes any polymorph
effects.
@author Shane Hennessy
@date Modified - 2006.10.08 - rewritten by Ornedan
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
#include "prc_inc_shifting"
void main()
{
object oPC = OBJECT_SELF;
// Attempt to unshift and if it fails, inform the user with a message so they don't wonder whether something is happening or not
if(UnShift(oPC, TRUE) == UNSHIFT_FAIL)
FloatingTextStrRefOnCreature(16828383, oPC, FALSE); // "Failed to return to true form!"
}