Update:
I think I might be alright with shadow strike now - I'd still like a DoT that scales off of the person using it, but I've currently got it so that I have a flat base damage + %missing hp true damage. I'd like to make the %missing hp damage into physical damage but I'm using CharacterHeal() to do it, and have no idea how I'd change that.
As for Coup De Grace, I've found OnSkillCast(). I'm trying to use it so that I can specify a skill in skillData.txt that you can't learn, but I would call UseSkill() if the target of CoupDeGrace meets the weak/stunned/etc. conditions. This would let me effectively check for conditions before casting a skill on the target that scales off my character as I want it to, letting the regular skill handling code handle it. The problem I've got there is that I can't figure out how to find out who the target of the skill is in an OnSkillCast() block. I've tried using the LookAtChar variable in basechar, thinking it might reflect who the script holder is looking at during an attack, but even after commenting out the line that resets it to null I got nothing. I tried using skilltargetchar_$1 from skill_basechar, injecting Target_Fatality at the end but it seems that variable is only used and generated when ai is controlling a character.
Is there any way I might be able to figure out who I'm targetting in the same function block of OnSkillCast()?
SideNotes:
Using a status as a flag, and using CharacterGetStatusSource() has seemed to never work with a CONSUME, not even pull a wrong character; just always returns null. I'm confident there'd be some pretty silly bugs if I tried using one of the existing statuses to do it (add and immediately remove to find who I casted on - oops, I grabbed the other guy with "Mark of Death" and then removed the status for him).
OnCriticalHit is pretty nice - and I appreciate the suggestion, but I realised trying to use it that backstabs in and of themselves don't actually count as crits (for the buildup approach I considered), and there's nothing like it for backstabs.