15 lines
403 B
Plaintext
15 lines
403 B
Plaintext
|
void main()
|
||
|
{
|
||
|
if (GetTag(GetItemActivated()) == "wings")
|
||
|
{
|
||
|
object oPC = GetItemActivator();
|
||
|
int nRealMe = GetAppearanceType(oPC);
|
||
|
string sRealApp= "realApp";
|
||
|
location lTarget = GetLocation(oPC);
|
||
|
SetLocalInt(oPC, sRealApp, nRealMe + 1);
|
||
|
|
||
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMONDRAGON),lTarget);
|
||
|
SetCreatureAppearanceType(oPC,425);
|
||
|
}
|
||
|
}
|