Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
//::///////////////////////////////////////////////
//:: 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);
}
}