MV Substitute Extend Issue

I am using SubstituteExtend.js, found here.

This gives me control over how "substitute" works, where an actor will jump in front of another ally and take the hit as a substitute.

The problem: The substitute can block a status effect attack, such as sleep, but they also take damage sometimes from it. I have no idea why that would deal damage.

It also looks like the substitute often takes two hits when blocking an attack.

More info

I made a guardian state (and I made a skill using YEP auto passive states) for the person who will be a substitute and put these tags in the notebox:

<SE_TargetRestriction: 2> <SE_SubjectHPRate:40> <SE_TargetHPRate:80>

Target restriction makes it so they only protect those with the tag 2.

Subject HP rate says that the substitute needs 40% or more HP to act as a substitute.

Target HP rate says that the ally to protect needs 80% HP or less.

I made a state for the back row using YEP's Row Formation plugin and put the following note tags in the note box for the state:

<SE_SubstituteTarget:2>

This is what "target restriction" needed for the substitute state seen above.

Again, the plugin seems to work great for the most part. It is just this strange issue of taking damage from a state that doesn't seem to make any sense.

An unsatisfying yet semi-helpful translation of the plugin can be found here.
Have you looked at this as an alternate solution? It's pay-what-you-want, in English, and allows you to specify skills to be ignored by substitute.


I know this is not strictly helping with your question, but I don't get into plugins without (English) documentation, so it's something I can contribute to your problem.
Have you looked at this as an alternate solution? It's pay-what-you-want, in English, and allows you to specify skills to be ignored by substitute.


I know this is not strictly helping with your question, but I don't get into plugins without (English) documentation, so it's something I can contribute to your problem.
That one doesn't actually show the substitution happen, which is important to me.

I think I can exclude skills using <SE_SubstituteInvalid> in the skill note box.

Original thread: https://forums.rpgmakerweb.com/threads/substitute-extend-issue.150886/