Basics states bug ..

Hey everyone, I'm having trouble with basic states like "Protect" and "TP Boost". They just don't seem to work, no matter what I try. I'm using the Vizustella demo project but I've also tested it in a vanilla project and it's the same. I can share some screenshots if needed. I haven't modified the default skills, but I did create some custom ones. Neither seems to be working.
Welcome!

I can share some screenshots if needed.
Yes, that would be needed. No one here knows what your "Protect" and "TP Boost" states are supposed to do, and we certainly can't say what you might be doing wrong without seeing them.

Provide screenshots of the states and the skills that apply them.
I assume by "Protect" You mean the Final Fantasy Version of Protect? Where it reduces physical damage?

As Turan stated it's hard to tell without seeing how you got this skill set up.
Thank you! My bad, since I'm using the basic states, I assumed it might be a known issue.
The two states in question: one for protecting an ally during an attack, and the other for reducing TP consumption.

1722348009781.png

1722348056954.png


The relevant skills, although I believe the issue lies elsewhere since the characters are acquiring the states in-game.
1722348097204.png

1722348112128.png

If you want, i can put RM in english for the screenshots.


I assume by "Protect" You mean the Final Fantasy Version of Protect? Where it reduces physical damage?

As Turan stated it's hard to tell without seeing how you got this skill set up.
Not that one. The one I'm talking about is also in the FF games I've played, it allows a character to take hits instead of another. (Using the 'replace' function in the state's special flags.)
Soo I'm just guess working now since I can't read French, if you can, post them in English so more people can help.

So for the cover skill. Does it have on the traits, Special Flag, Substitute for it and the skill targets 1 Ally?

Sorry it's kinda hard to tell when it's in french.

As for the TP Boost, do you want like a increases per TP when party members take damage?

I think the one you got is TP Regen which means it will add TP over time rather then on hit or being hit.
Thanks for quick answer. I've changed RM to English and I'll try to explain things better.

1722349580883.png

1722349593642.png

I just realized while writing that you're probably right... I think it's a translation error in RPG Maker, so this option actually increases TP regeneration?
1722349913755.png

Isn't there a way to reduce TP costs similarly to how this option reduces MP costs?

Edit:
1722350577068.png

In french, the two options are the same ...

For my other "problem"
1722350100807.png

I think there's also a lack of clarity in RPG Maker. This option "subtitute" is supposed to activate when an ally with less HP takes damage, but it only triggers above a certain threshold? (For example, if the ally has less than 25% HP)
Ah na, I can read it now, yeah I was looking at a different page, there's 2, TP Charge rate and TP Regen,

but yeah TP Charge rate should increases the amount of TP your characters earn when they use a skill or get hit.

buuuut you set the TP Charge rate to *50 which means only 50% of what the actor would have received.

to make it a increases it needs to be above 100.

So for example just to make it clearer.

If your actor takes damage and gain 10 TP

TP Charge rate at

*50 would give the actor 5 TP

*100 would give the actor 10TP

*200 Would give the actor 20TP

*150 would give the actor 15TP

As for the substitute then yeah I think if only their low on HP, not 100% sure as I don't use it.
I just realized while writing that you're probably right... I think it's a translation error in RPG Maker, so this option actually increases TP regeneration?
It affects TP gain - as @Martin_Arcainess pointed out, your math is incorrect. Multiplying something by 50% will always make it smaller, not increase it.

There is no built-in trait to affect the TP cost of skills, but you could do it with a plugin like VisuStella Skills and States.

The one I'm talking about is also in the FF games I've played, it allows a character to take hits instead of another.
I think there's also a lack of clarity in RPG Maker. This option "subtitute" is supposed to activate when an ally with less HP takes damage, but it only triggers above a certain threshold?
It actually works exactly the same as it does in Final Fantasy games - you have a chance to substitute when the actor being targeted is at critical health. (that's 25% of their max health, you'll see them crouching instead of standing)
Ah na, I can read it now, yeah I was looking at a different page, there's 2, TP Charge rate and TP Regen,

but yeah TP Charge rate should increases the amount of TP your characters earn when they use a skill or get hit.

buuuut you set the TP Charge rate to *50 which means only 50% of what the actor would have received.

to make it a increases it needs to be above 100.

So for example just to make it clearer.

If your actor takes damage and gain 10 TP

TP Charge rate at

*50 would give the actor 5 TP

*100 would give the actor 10TP

*200 Would give the actor 20TP

*150 would give the actor 15TP

As for the substitute then yeah I think if only their low on HP, not 100% sure as I don't use it.
Thank you. What misled me was the French translation which clearly states 'TP cost rate'. (I've added a screenshot to my previous message.) That's why I set it to 50%; I wanted skills to cost 50% of their base 'price'. I'm disappointed with the lack of control over TP in the base version of RPG Maker.

It affects TP gain - as @Martin_Arcainess pointed out, your math is incorrect. Multiplying something by 50% will always make it smaller, not increase it.

There is no built-in trait to affect the TP cost of skills, but you could do it with a plugin like VisuStella Skills and States.



It actually works exactly the same as it does in Final Fantasy games - you have a chance to substitute when the actor being targeted is at critical health. (that's 25% of their max health, you'll see them crouching instead of standing)
I know that below 100%, the result will be negative. I explained my reasoning earlier. I'm using the basic Visustella plugins and I'll look into it further. Could you provide me with some guidance ?

Sorry for bothering you with this non existent-problems, guys
I'm using the basic Visustella plugins and I'll look into it further. Could you provide me with some guidance ?
Sure. If you pull up the instructions for Skills and States, there's a section in the Contents for Cost Notetags.


So instead of specifying a TP cost in the skill's entry in the database, you'd put it here. You can do something like:
Code:
<JS TP Cost>
cost = user.isStateAffected(36) ? 15 : 30;
</JS TP Cost>

I'm using the state ID 36 because that's what you have in your screenshot for TP Boost. So this skill would normally cost 30 TP, but if they have that state it's halved to 15.

You would need to copy that into each skill that costs TP, there isn't a way to put it on the state and make it apply to all skills.
Sure. If you pull up the instructions for Skills and States, there's a section in the Contents for Cost Notetags.


So instead of specifying a TP cost in the skill's entry in the database, you'd put it here. You can do something like:
Code:
<JS TP Cost>
cost = user.isStateAffected(36) ? 15 : 30;
</JS TP Cost>

I'm using the state ID 36 because that's what you have in your screenshot for TP Boost. So this skill would normally cost 30 TP, but if they have that state it's halved to 15.

You would need to copy that into each skill that costs TP, there isn't a way to put it on the state and make it apply to all skills.
Perfect ! Thanks a lot, your help me ! I've been racking my brain over this since yesterday.

Original thread: https://forums.rpgmakerweb.com/threads/basics-states-bug.170740/