Help with Guard usage while using Yanfly CTB and Visual State FX plugins

Zakarijah

I love making maps!
Veteran
Joined
Aug 18, 2019
Messages
121
Reaction score
16
First Language
English
Primarily Uses
RMMV
I'm currently using Yanfly's CTB Battle plugin and was wondering if since the character's turn runs out as soon as they're done, does guard actually have any effect during battle, after that one turn? I currently use it restore HP/TP a little when used but would also like it to have it's desired 'guard' effect until said character's next turn comes up.

I'm also asking because I went through the two-minute 'trouble' (lolz) of creating a custom animation using Yanfly's Visual State FX and as it is, the animation only plays for the 7 frames and disappears but I'd like it to also continue until the character's next turn...
 

Oddball

Veteran
Veteran
Joined
Sep 4, 2014
Messages
1,923
Reaction score
534
First Language
English
Primarily Uses
N/A
Just have it add the gaurd state. You might also need to make the action end 2 instead of 1. I know that's how i have to work it with victor sants ATB. It counts the turn you use it as an action end, so all my states that use action end remove need to have 1 more than the intended
 

Zakarijah

I love making maps!
Veteran
Joined
Aug 18, 2019
Messages
121
Reaction score
16
First Language
English
Primarily Uses
RMMV
Right but that would only work in a 1v1 fight where both parties are roughly the same speed. The effect would still wear off after anyone’s next turn and not last until user’s next turn, unfortunately.
 

Zakarijah

I love making maps!
Veteran
Joined
Aug 18, 2019
Messages
121
Reaction score
16
First Language
English
Primarily Uses
RMMV
I saw that If im using Yanfly Skill Core, I can use this notetag in the items:
<After Eval>
if(user.isStateAffected(guard)){user.removeState(guard);}
</After Eval>

but I’m unsure where exactly to put this?
 

JosephSeraph

White Mage
Restaff
Joined
Mar 7, 2014
Messages
1,186
Reaction score
1,444
First Language
Portuguese
So, when setting a state's duration you can toggle between a duration in turns, calculated by battle ticks, or battler actions. (It should be right above the field where you enter the turn number)

That'll allow it to last for exactly two actions (using guard and the next one.)

Alternatively you could add a <custom turn start> effect that removes guard as soon as the actors turn is up. Mechanically similar but more elegant as the actor won't have the guard state while using their next action (and it won't show up in the status)

It also prevents guard from sticking another turn if you skip the turn (as a skipped turn doesn't count as an action)
 

Oddball

Veteran
Veteran
Joined
Sep 4, 2014
Messages
1,923
Reaction score
534
First Language
English
Primarily Uses
N/A
It works for multipule party members in victor sant atb
 

Zakarijah

I love making maps!
Veteran
Joined
Aug 18, 2019
Messages
121
Reaction score
16
First Language
English
Primarily Uses
RMMV
So I did JUST figure it out, and all I had to do was stitch it from ‘turn end’ to ‘action end’ and now it lasts until the next action the user takes.

thanks for your help though, guys!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,050
Members
137,571
Latest member
grr
Top