Battledale_PRC8/_module/nss/i420_helcat_deth.nss

21 lines
589 B
Plaintext
Raw Permalink Normal View History

///////////////////////////////////////////////////////////////////
#include "jw_exp_giver"
void DeathEffect(object oTarget)
{
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_FNF_SUMMON_UNDEAD),oTarget);
}
void main()
{
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_IMP_NEGATIVE_ENERGY),OBJECT_SELF);
DelayCommand(0.75,ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_IMP_PULSE_NEGATIVE),OBJECT_SELF));
DelayCommand(1.6,DeathEffect(OBJECT_SELF));
givexp(OBJECT_SELF,GetLastKiller());
ExecuteScript("prc_npc_death", OBJECT_SELF);
}