I really, really want this skill to be a reality. There was one guy who apparently had this figured out, but has since been inactive, so I can't exactly walk up to them.
Now the good news is that Yanfly did make a Tips and Tricks video about the Aura of Sacrifice. This is everything I want in the ability, save for a few things, namely:
The ability to check if the user is above critical HP (the user will only cover if they're not critical)The ability to check if the user is under certain states (realistically, the user can't cover for allies while frozen or otherwise unable to act freely)The user moving in the way of the incoming attack.
I'm gonna ask for a mod to close this thread, as I figured out a solution to this concern myself, albeit not how I want to implement it, but I can adjust accordingly.
How I did it is with YEP is through the Auto Passive States and Passive Conditional States plugins.
Create your passive skill that will give the actor the "Cover" state.
Add the <Passive State: x> to that skill's notes. X is your actual "Cover" state.
On the "Cover" state, add the "Substitute" Flag as a trait.
Paste the following in the notes. X is whatever state you want to prevent the ally from blocking for allies. Repeat as necessary:
Code:
<Passive Condition: HP Above 24%>
<Passive Condition Cases>
Not State X
</Passive Condition Cases>
How this works is that the built-in Substitute flag will automatically block attacks on allies who are in critical health. This will be the case for as long as the actor has HP to expend. The Passive Conditions make sure that the actor is not under critical health themselves (24% of your Max HP is already critical) and is not under a state that stops them from realistically blocking attack for allies.
This has one weakness, and that it blocks ALL attacks. I don't mind it blocking magic, but it blocks AOE attacks as well, causing double damage to the "covering" actor if it's already a target of the attack.
Perhaps someone may find use, or have a better solution. For now, I'll go with this.