Solved) Is it possible to make this state?

Hello!
I'm making a special boss.
This boss transforms periodically and has a special STATE whenever he transforms.

First of all, there are a total of three types of attacks currently used in my game: NORMAL ATTACK, SKILL, and SPECIAL ATTACK.

Among these three types of attacks, that boss wants to give a STATE that completely invalidates SPECIAL ATTACK's attack.
Is this possible?

I'm using a lot of Yanfly's plugins.

If this is impossible, other ways are fine.

For SPECIAL ATTACK, most attacks use TP.
Therefore, it is okay to set the STATE in the direction of invalidating the attack using TP.
Oh, of course, what I want is to invalidate SPECAIL ATTACK's attack itself, but it's when it's impossible.

Will it be possible?

Since I wrote using a translator, it may be difficult to understand in reading, so if you tell me, I'll try to explain it as much as possible.
You could probably do this using the formula for the spells/attacks/abilities, but it would be kind of annoying because you would need to add it to every item in the skills database.

add something along the lines of this to the formula box
if b.state(normal attack state ID) { damage = 0 } else {damage = formula} return damage

this would check when using the skill it is attached to if the target has the state for blocking normal attacks, and if so, return 0 damage for the hit every time. If the target does not have that, then it should proceed as a normal casting/use of the ability.

Its been so long since I used the normal formula box in RPG Maker though I'm not even sure if that's the proper setup for making it work anymore or not.
You could probably do this using the formula for the spells/attacks/abilities, but it would be kind of annoying because you would need to add it to every item in the skills database.

add something along the lines of this to the formula box
if b.state(normal attack state ID) { damage = 0 } else {damage = formula} return damage

this would check when using the skill it is attached to if the target has the state for blocking normal attacks, and if so, return 0 damage for the hit every time. If the target does not have that, then it should proceed as a normal casting/use of the ability.

Its been so long since I used the normal formula box in RPG Maker though I'm not even sure if that's the proper setup for making it work anymore or not.

Oh, I understood what it meant.
A certain skill already has a state in which the damage to the boss increases by assigning a state called boss.

However, this method seems difficult.
The number of skills used in the game I'm making is already over 600.
It will be difficult to modify one by one because there are so many.
That sounds like a disturbing number of skills. 😛

Regardless, how you do this depends on your skill setup - do you mean that normal, skill and special are what you choose from when you click Skill Type for the dropdown?

If so, the state is easy to set up.
Code:
<Custom React Effect>
if ($dataSkills[this._item._itemId].stypeId==X)
    value=0;
</Custom React Effect>
where X is the number of your Special skills in the Types tab of your database.
q15555.png


The image must be definitely faster than the explanation.
It refers to that marked in red.

oh

<Custom React Effect>
if ($dataSkills[this._item._itemId].stypeId==X)
value=0;
</Custom React Effect>

this?

Oh, I'll test it now.
Does the number start at 0? or 1?
Does the number start at 0? or 1?
Per my instructions, it is the number that you see listed in the Types tab of your database.
Per my instructions, it is the number that you see listed in the Types tab of your database.
Oh it work!

really thx!!!
Moved to: Plugin Support

Thread closed

Instead of changing the thread title to "solved", please just report your post and let us know, and we'll close it.

Original thread: https://forums.rpgmakerweb.com/threads/solved-is-it-possible-to-make-this-state.141652/