Initial Upload
Initial Upload
This commit is contained in:
16
_module/nss/yin_death.nss
Normal file
16
_module/nss/yin_death.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "nw_i0_generic"
|
||||
//Put this OnDeath
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastKiller();
|
||||
location lTarget = GetLocation(oPC);
|
||||
|
||||
object oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "yang", lTarget);
|
||||
|
||||
SetIsTemporaryEnemy(oPC, oSpawn);
|
||||
AssignCommand(oSpawn, ActionAttack(oPC));
|
||||
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
||||
|
||||
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_WAIL_O_BANSHEES),lTarget);
|
||||
}
|
Reference in New Issue
Block a user