29 lines
914 B
Plaintext
29 lines
914 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Name Lich
|
|
//:: FileName pnp_lich_craft
|
|
//:: Copyright (c) 2001 Bioware Corp.
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Shane Hennessy
|
|
//:: Created On:
|
|
//:://////////////////////////////////////////////
|
|
// summons the lich's creation device to allow
|
|
// the PC to advance their lich powers.
|
|
|
|
|
|
|
|
void main()
|
|
{
|
|
// effects
|
|
effect eGatefx = EffectVisualEffect(VFX_FNF_SUMMON_GATE);
|
|
effect eSumfx = EffectVisualEffect(VFX_FNF_UNDEAD_DRAGON);
|
|
object oCraft = CreateObject(OBJECT_TYPE_PLACEABLE,"lichcrafting",GetSpellTargetLocation());
|
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT,eGatefx,GetSpellTargetLocation(),5.0);
|
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT,eSumfx,GetSpellTargetLocation());
|
|
|
|
DelayCommand(60.0f, DestroyObject(oCraft));
|
|
}
|