19 lines
357 B
Plaintext
19 lines
357 B
Plaintext
void main()
|
|
{
|
|
|
|
if(GetLocalInt(OBJECT_SELF, "DEATH") == 1)
|
|
|
|
{
|
|
|
|
object oStupid = GetLastDamager(OBJECT_SELF);
|
|
|
|
effect eStupid = EffectDeath();
|
|
effect eVisual = EffectVisualEffect(VFX_FNF_PWKILL);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, eStupid, oStupid);
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVisual, oStupid);
|
|
|
|
}
|
|
|
|
}
|