YEP CTB battle system and guarding bug

Indinera

Indie Dev
Veteran
Joined
Mar 13, 2012
Messages
1,869
Reaction score
776
First Language
French
I've noticed that when a character guards, they will stop guarding:
a) if another character plays just after
b) after taking 1 (and only 1) hit from the enemy
I personally find that pretty stupid. A character IMO should keep guarding until they play again. Also, guarding doesn't seem to reduce the damage at all, like it's not even implemented.
So I was wondering if I'm doing something wrong with this plugin and in case I'm not, is there a way to edit it so that guard lasts for a "full turn"?

EDIT: if that helps, I've also noticed adding the Guard feature (same category as "substitute", "autoplay" etc), then the character will guard... all the time... which is just as equally buggy IMO.
That said, the enemy damage IS reduced, this time.
 
Last edited:

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
354
Reaction score
139
First Language
english
Primarily Uses
RMMV
guard command just applies state 2. if u changed state 2 in any way that is changing what guard is doing. and the guard special flag uses a default formula to calculate damage reduction.
something like dmg / (2*guard effect rate) so by default guard lasts 1 turn and halves damage
so make sure your state 2 has guard special flag, 1 turn duration, and isnt removed by damage
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
12,955
Reaction score
13,314
First Language
English
Primarily Uses
RMVXA
You'll have to check the state duration. CTB uses a tick based system so the state needs to last enough ticks for it to do what you want.

Also sadly CTB by Yanfly is no longer supported, so that could be some of the issue here as well.
 

Indinera

Indie Dev
Veteran
Joined
Mar 13, 2012
Messages
1,869
Reaction score
776
First Language
French
Thank you, it's clearer now. It does need a bit of re-adjusting then.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Playtesting for Battle Castle is done, demo time for me was roughly 6 hours and 20 minutes. I'm going to pass it on to a few friends first, and after getting some feedback will be posting an official topic.
There's another Humble Bundle available now for RPG developer assets, this time focused somewhat more towards pixel art style games.
Ive got a long lost half uncle. Thats real cool.
I forget what is bumping rule in this forum. Is anyone know? Thank you.
BCj
Ew, why does my blogpost on the rpgmaker.net site look like a garbled mess? Are html codes disabled or something?

Forum statistics

Threads
97,904
Messages
947,755
Members
129,146
Latest member
Watts03
Top