MV Question about an interaction between Yanfly's Skill Core & Buffs/States Core

Hi again! So quick Question,
I'm using Buffs and States Core to create an ability that Marks a target, the mark detonates the next time the target takes damage by activating a second skill
I'm using Skills Core to create a passive effect for my character where every time she sees an enemy die she casts a skill that restores MP
However, when the Detonation of the Mark kills the enemy the Passive effect does not activate properly
While I can leave it at "Detonation Damage does not proc the passive" I feel that's just poor game design and discourages the player from using the Mark ability

This is the code for each ability

Passive Effect: (On each of the character's damaging abilities)

<Post-Damage Eval> if (target.hp <= 0) { $gameParty.members()[0].forceAction(15, -2); BattleManager.forceAction($gameParty.members()[0]); } </Post-Damage Eval>

Mark Code: (On the "Marked" Status Effect)

<Custom Remove Effect> var subject = $gameParty.members()[0]; subject.forceAction(12, 0); BattleManager.forceAction(subject); this.setWaitMode('action'); </Custom Remove Effect>

If someone knows what's going wrong here it'd really make my day! JavaScript and I aren't the greatest of friends after all...
Ok! I found a solution
Since I could not make pipeline like

Skill -> Status + Damage = new skill -> passive Skill

I made it go instead Skill -> Status + Damage = new skill -> Mp Gain Script (Equal to passive)

Original thread: https://forums.rpgmakerweb.com/threads/question-about-an-interaction-between-yanflys-skill-core-buffs-states-core.152751/