MZ Triggering a skill upon death, but not every kind of death

I have an enemy that has two skills:

Spirit Absorb: The enemy applies the Dead state to itself and calls a common event.
Geo Pulse: An attack that triggers upon the enemy's death.

The only way I know how to trigger Geo Pulse is with the VisuStella Auto Skill Triggers plugin. But this causes Geo Pulse to trigger no matter how the enemy dies, including when it sacrifices itself with Spirit Absorb. I don't want that to happen; I want it to only trigger when the enemy is dealt lethal damage. How might this be accomplished? I'm guessing it will involve scripting, and I don't have the necessary JS knowledge to do that myself.
Put a resource requirement on Geo Pulse, like do you even use enemy tp? You can give it a cost of 1 tp and then on Spirit Absorb you can put a skill notetag:
<JS Pre-Start Action>
user.gainTp(-100);
</JS Pre-Start Action>

EDIT: Or enemy mp (I forgot the base enemy skills actually use tp instead of mp)
That is smart. I actually did something like that with an earlier enemy (my enemies don't even use MP, let alone TP) but I hadn't thought to do it in a notetag. Thanks!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/triggering-a-skill-upon-death-but-not-every-kind-of-death.179357/