I have it working correctly. I gave the npc 10hp, had the client damage it for 9hp, and then had the npc finish itself off. With spell-id 0 there are no cast/land messages. Since the npc gets the kill shot, there is no message to the client.
The result is a lootable corpse. With a suitably long decay time, and a timer to reset the decay, the corpse can stay in zone for as long as needed. When I'm done with it I reset the decay time to 1 and it poofs.
Note: I was unable to use Depop or DepopCorpse to remove the corpse. I'm not sure what was going on here. But resetting the decay time gets the job done.
|