//:://///////////////////////////////////////////// //:: Name Rak disguise //:: FileName race_rkdisguise //:: Copyright (c) 2001 Bioware Corp. //::////////////////////////////////////////////// /* */ //::////////////////////////////////////////////// //:: Created By: Shane Hennessy //:: Created On: //::////////////////////////////////////////////// // disguise for rak #include "prc_alterations" #include "pnp_shft_poly" void main() { StoreAppearance(OBJECT_SELF); int nCurForm = GetAppearanceType(OBJECT_SELF); int nPCForm = GetTrueForm(OBJECT_SELF); // Switch to lich if (nPCForm == nCurForm) { effect eFx = EffectVisualEffect(VFX_IMP_MAGICAL_VISION); ApplyEffectToObject(DURATION_TYPE_INSTANT,eFx,OBJECT_SELF); //SetCreatureAppearanceType(OBJECT_SELF, APPEARANCE_TYPE_HUMAN_NPC_FEMALE_12); //any of the normal races will do DoDisguise(Random(7)); } else // Switch to PC { effect eFx = EffectVisualEffect(VFX_IMP_MAGICAL_VISION); ApplyEffectToObject(DURATION_TYPE_INSTANT,eFx,OBJECT_SELF); //re-use unshifter code from shifter instead //this will also remove complexities with lich/shifter characters SetShiftTrueForm(OBJECT_SELF); //SetCreatureAppearanceType(OBJECT_SELF,nPCForm); } }