Finished PRC8 integration. Moved creature abilities to top hak. Setup tooling. Created release archive
21 lines
589 B
Plaintext
21 lines
589 B
Plaintext
///////////////////////////////////////////////////////////////////
|
|
#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);
|
|
}
|