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.
This commit is contained in:
43
nwn/trunk/racescripts/race_rkdisguise.nss
Normal file
43
nwn/trunk/racescripts/race_rkdisguise.nss
Normal 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);
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user