Yanfly's weapon unleash plugin has a feature that lets you replace the guard of a character to be a custom skill you created. Anything you can create, you can assign as a guard command. You can even create different guards depending on the actor's HP level.
So a heal ability at below 50% for example. You can make the ability you're describing and give it to your characters.
Really makes guard a lot better.
Simply have the guard skill (skill #2) apply a state that increases defense (or whatever you want) to the skill user.
Then set all data like you want it, for example have the state last one turn and give the skill a high speed if you want the effects to apply to the entire current turn.
Absolutely no need for a script or Plugin for that.
Right. All you got to do is make Skill #2 whatever you want guard to be. For example I edited it to give a small HP Regen, a boost to counterattack, and I also tweaked the formula so the amount of damage you block goes up as your DEF goes up (that last part requires a script or a plug-in, but the first two do not).
By default, Guard will make the damage you take equal to normal damage / (guard rate + 1) if I recall right. So a guard rate of 100% cuts the damage in half, a guard rate of 200% cuts it to a third, and so on. So you can also tweak the guard rate to make it block more damage if you feel 50% damage isn't good enough.
In my case, I made Guard (Skill 2) recover 5 MP every time it is used, along with the defensive boost.
It's not useless. I use the Guard skill to make characters earn TP. It's a win-win: guarding and earning TP. 🙂
As well as a small percentage HP recovery, I also give a small counter-attack possibility to guarding, so I don't view it as useless. Both done without using any script/plugin.
This skill is as versatile as you want to make it.
You all guys... I apologize for not having specified, but the GUARD command is useless for the effect that I want to make, as I wrote on the first post. I quote:
"I'd like a GUARD command that keeps the user on guard (so with temporary augmented defense) forever until his/her next turn. Even if an enemy attacks him/her (unless it kills, in that case the guard would be obviously disabled)."
I see some of you maybe haven't read it or understood it, I apologize for that maybe it wasn't so clear.
Anyways I'm gonna try the Weapon Unleash plugin by Yan and see if something changes. Anything else that I see here works as I want, I'm sorry. I'll let you know asap. And thanks for your answers ^^
Doesn't the guard command do that by default?: keep any characters in guard mode till the next turn? I am sure it does that, but I will test it in a bit.
Edit: Yes, the characters stay in guard mode till the next turn, even when hit consecutively by all enemies.
Ok then I apologize again, I omitted another important particular: I am using Yanfly's CTB that maybe alters a bit how turns work.. maybe that's why the default Guard doesn't work as intended! What do you think?
That is a HUGE detail, as CTB alters how turns for states work. You have to set that in the settings via the tick settings, and a TON of math to get it to work right. And as I understand it, there is no way to make it so that a state lasts until your turn every time, as turns are not defined the same way in CTB.
In fact, it was due to issues like this that Yanfly discontinued the CTB script. You might never be able to get it to work as you want, and may have to either remove the CTB script, or live with it being a little different.
The only battle system Yanfly has is STB now that is supported. The others (ATB and CTB )were discontinued about version 1.2 of MV or so. I thought I heard Victor Saint was making a CTB system though, but you'll need to switch a lot of your battle plug-ins to Victor Saint's versions for it to work well.
I have been trying to resolve the ctb and guard issue. What I ended up doing is simply making guard state have no auto removal timing with remove on damage, and with yanfly's action sequences i have basic attacks and each skills start off with "remove state 2: user." It is a little tedious to insert that into every skill but it behaves closer to how it should now.
I'd like to find a way to cause item usage to remove it but I haven't figured that out yet. Setting it to remove on damage at least gives it a high chance to be removed before too long.
Necro-post notice: Raven Burns