I'm trying out Yanfly's Absorb Ailments skill, and I think I messed something up. The skill's animation works, but its effect doesn't despite that I did exactly how it was in the video.
Skill Help...
● ARCHIVED · READ-ONLY
-
-
I've moved this thread to Plugin Support. Thank you.
-
Oh.. I'm sorry about that. Thank you.
-
No worries.
-
Could be bad plugin order or a typo somewhere in your text.
-
I doubt about the plugin order. I've made sure that I've arranged them according to Yanfly's. And as for the typo, I don't know since all I did was copy/paste. .
-
Do you have both Yanfly Battle Engine and Yanfly Skill Core plugins? They need to be above the absorb ailments as well.
Also, if you can take a screenshot both of the code you have in the skill as well as the skill itself, it would help a lot with figuring out the problem.
As part of the skill as well, what states do you want to be absorbed? (State ID) -
@Elliot404
Please show us screenshots of what you have in your game, then we can look where you might have done something wrong.
Just because you believe that you've done everything like in the video does not mean that you really have - in fact if you've done everything correctly it would work. And there are dozens of cases where people followed a videotutorial in the wrong way.
For example there is a scripting video where the difference between () and [] is not visible in the video and the user used the wrong one, having the bug only solved after showing us screenshots from his project and insisting that everything was done correctly like the video before that. -
-
Also in the second picture it shows the text for absorbed states. What states are you trying to make this skill absorb? Currently it will only absorb states with the ID's of 21 through 40. Do you know all of the ID's of the states you want to absorb?
Specifically, this is the text for the state ID's that you want the skill to absorb (they're red in Yanfly's text)
absorbedStates.push(21, 22, 23, 24, 25, 26, 27, 28, 29, 30);
absorbedStates.push(31, 32, 33, 34, 35, 36, 37, 38, 39, 40);
So what you can do is change these numbers to the appropriate state ID. If you want any other work double checked, it would be helpful if you can copy and paste the exact (or take a picture) of the info text in the skill itself, as well as taking a screenshot of the state screen showing the IDs, and listing the IDs you want included for this skill. It will only then affect the specific states listed in red above. Let me know if that makes sense or not. -
Wait. . I have to add the stats removal in effect panel?
-
In the skill, you have to specify exactly what states it will absorb.
-
I'm sorry. . I don't understand how or where to specify the states. . should I add stat removal in the effect. or add number in formula?
-
no.
you need to go to your database and see what states you have defined.
Then you need to decide which of those states you want to be affected by this skill. "state" is the official name for the "ailments" that this skill is supposed to absorb, so you need to decide which of your states/ailments are supposed to be affected and removed by this skill.
Make that decision as a list of numbers - the IDs of those states that need to be removed by the skill.
and then you need to go to the skill notebox, to the line mentioned above, and replace the numbers there with the numbers you've decided on in your list.
Or in short:
Your mistake was to copy the notetag from yanfly without changes, when you are required to change it instead to fit to your game.
That is something a lot of new users don't understand when they first try to use plugins or scripts: a lot of plugins need to be configured and changed to fit your game, they cannot simply be copied and ignored. -
@Andar
Okay. I am somewhat getting what you mean but, I still can't figure how to make the states to get affect by the absorb skill.
I'm sorry about that. -
then tell us the numbers of the states you want to be affected by this skill
-
Just 4 states: Poison, Silence, Paralyze, and Blind.
-
I didn't ask for their names, I asked for their ID numbers as you can read them off your database.
The names are useless for programming and Plugins. -
Oh, my bad.
If the ID numbers are the priority, then it'd be 50, 60, 65, and 95.
or 0004, 0005, 0006, 0011
unless I missed something, sorry. -
the ID numbers are the numbers before the name, but without leading zeroes, so 4,5,6,11
So in your skill notetag you have to delete the two lines
absorbedStates.push(21, 22, 23, 24, 25, 26, 27, 28, 29, 30);
absorbedStates.push(31, 32, 33, 34, 35, 36, 37, 38, 39, 40);
and replace them with
absorbedStates.push(4,5,6,11);
(exactly as you were ordered to do so in yanflys instructions)