Attacks Never Seem to Hit

So, I've seen this question a few times before when trying to search for the answer, but I haven't been able to get it to work like others seem to have. Currently, I have an issue where I have made a custom class, but for whatever reason, it's never actually able to attack the enemy. I've cross-referenced the class with the other default classes, and I've even upped the hit-rate percentage change from 95% to 100% and even to 1000%to see if that'd fix it, but it still doesn't work. For further context, here's the Hero Class compared to the custom one I made. I'm aware that the growths might be a bit odd for what's probably standard, but I'm currently just experimenting with the balancing on that front.

Hero:
1687762519632.png

Custom Class:
1687762416394.png


In addtion to the class issue, I've also checked the weapon itself, which also is unable to properly hit. Trying out the custom class itself, it's unable to hit with either the custom weapon or a sword, and then the hero class can hit with the sword, but not the custom weapon, so both seem to have an issue even though the weapon, much like the class, has the exact same paramaters as the sword.
Sword:
1687763151371.png

Custom Weapon:
1687763128524.png



I'm currently unsure why none of the attacks seem to work or ever seem to hit, so if anyone has any advice on what I need to try and fix so the class can work properly, I'd greatly appreciate that. I've tried looking at other posts that have had this as a topic, but they never seemed to have the same issues that I'm having, as most of the time they were like "My thing isn't working,"

"Did you try having the parameters set to actually hit the enemies?"

"Wow! That fixed it!"

But yeah, any help will be much appreciated.
So, I've seen this question a few times before when trying to search for the answer, but I haven't been able to get it to work like others seem to have. Currently, I have an issue where I have made a custom class, but for whatever reason, it's never actually able to attack the enemy. I've cross-referenced the class with the other default classes, and I've even upped the hit-rate percentage change from 95% to 100% and even to 1000%to see if that'd fix it, but it still doesn't work. For further context, here's the Hero Class compared to the custom one I made. I'm aware that the growths might be a bit odd for what's probably standard, but I'm currently just experimenting with the balancing on that front.

Hero:
View attachment 266962
Custom Class:
View attachment 266961

In addtion to the class issue, I've also checked the weapon itself, which also is unable to properly hit. Trying out the custom class itself, it's unable to hit with either the custom weapon or a sword, and then the hero class can hit with the sword, but not the custom weapon, so both seem to have an issue even though the weapon, much like the class, has the exact same paramaters as the sword.
Sword:
View attachment 266964
Custom Weapon:
View attachment 266963



I'm currently unsure why none of the attacks seem to work or ever seem to hit, so if anyone has any advice on what I need to try and fix so the class can work properly, I'd greatly appreciate that. I've tried looking at other posts that have had this as a topic, but they never seemed to have the same issues that I'm having, as most of the time they were like "My thing isn't working,"

"Did you try having the parameters set to actually hit the enemies?"

"Wow! That fixed it!"

But yeah, any help will be much appreciated.

Do you have access to the Yanfly suite of plugins? Because the Hit Accuracy plugin can allow you to use your own formulas for making sure attacks land, as opposed to the extremely jank default RPG Maker accuracy formulas.
are you attacking with the default attack? (usually skill ID 1)
if it's being overrode somewhere, it might also have it's own accuracy calculation.
A shot in the dark would be check your damage formulas. If you typo that stuff or the enemy just has more defense that your attack is capable of dealing dmg you'll end up not hitting too.
@SGHarlekin that's +0, not *0. Hit rate should be what the actor says (if anything), and what the attack says (usually 100%)
please show us a screenshot of your attack skill in the database as well as one example for an enemy to compare values.
Sorry I haven't gotten back to any of y'all yet, I've had a busy day today.

So, to answer some of what I've seen, first off, I am using the normal RPGMaker formula and not the Yanfly formula. Second, the enemies themselves I've been using as testing fodder are bats, aka the enemy that comes pre-set on the software.

Here is a screenshot of the basic attack
1687831618534.png


And here is the basic bat enemy I've been testing stuff on.
1687831670124.png


I have made special skills and such (which also have a tendacy to never hit), but right now I feel like if I can deal with the basic attacks not hitting, then I can deal with everything else not hitting afterwards.
In that case (because nothing looks wrong so far) we need to get more details on what actually happens during battle.

1) are you testing with battletest, using an old save in playtest or using a new game in playtest?
If possible, use a new game in playtest, just make an event with battleprocessing on the starting map to test. That is because both battletest and loading a savefile can cause problems with testing.

2) what is the exact message on using the skill?
getting 0 damjage is different from getting a miss, and there are a few other possibilities

3) please give a screenshot of your plugin manager with the entire list of plugins and their order, to check for possible interfertence and incompatibilities.

4) in the editor, go to the menu game - open folder.
in the folder that then opens, is there a folder www?
hopefully not but that would be theproblem if you made the mistake of deploying into your project directory.
Okay, so now during my testing, some odd things are happening.

To be clear about the first two questions, for the first, what I was specifically using was the troops tab and testing battle in that, as that, was what I found to be the quickest way to test if a character could hit something or not. Second, the exact message was not 0, but miss.

Now for the odd stuff.

So I closed my program for a bit to check some other stuff, and when I reopened it, for some reason in the tests, all of a sudden my character was hitting stuff. Apparently, the apply button wasn't working properly when it came to the accuracy stuff, but once I closed the program and reopened it, it started working again?

Now there's a different yet similar issue. If I set the character's accuracy to the base 95%, repeatedly they always miss, and never seem to hit the target. If I set it to 150% or even 1000%, it now always hits, but now it always ends up being a critical hit rather then a regular hit. So like, I can sorta hit stuff now, but I don't exactly think having every attack being a critical hit is exactly good for game balance. So I guess now the main thing is, trying to fix the 95% accuracy so it's actually 95% accurate instead of a 100% miss rate.

For Plugins, this is my current list:
1687833745853.png


I feel like if any of them would affect the game in a major way, it'd probably be buffstatescore or something, but I'm not fully sure.

Now, for further context, the launcher I'm using for the game is steam. Using Steam's "Browse Local Files," I was able to go directly to the game folder, and I'm not seeing anything in that folder that says "www" in it. I also checked the folder for the game itself, and in that folder, there's no www folder in sight.
Ever READ the plugin descriptions?
Even in that screenshot the skill cooldown plugin tells you that it REQUIRES the skill core, that is nowehre in your list.

And the order of the yanfly plugins is also mportant, so when you add the missing plugins you should make sure that every plugin is exactly in the order of yanfly's main list
I also checked the folder for the game itself, and in that folder, there's no www folder in sight.
of course not - I mentioned that it would be wrong to have that folder there.
the www folder is deployment only, and it should never be anywhere else - because it damages your project folder if you deploy into it instead of an output folder.

Using Steam's "Browse Local Files," I was able to go directly to the game folder,

THat is the WRONG way
The EDITOR-Option Game - Open Folder should always bring you to the correct folder
If you need the steam browser then most likely your project is stored wrong!!!
Your Project MUST NEVER BE in the STEAM Folder at all!!!

Please give us the full folderpath where you stored your project so we can check and help you repair it.
Okay, first off, I would like to say this is my first time doing anything like this. I'm not exactly skilled at using RPG Maker, or knowledgable about all of this. I apologize if my lack of knowledge is upsetting or frustrating, but it's still something I'm new at and something I'd like to learn.

The reason I checked the Steam folder specifically was to check if the launcher itself was okay. The way I get to the game itself is going to "This PC -> Documents -> Games -> APS (the name of my game)." If the main issue is that I need to make sure that the Yanfly stuff is in the correct order, I can make sure to do that in my own time if that's the main issue, and I thank y'all for your help in all this.

I'm still very new to using all these Plugins for making games, so I don't know all the rules and such when it comes to them, so I appreciate all the help I get.
Okay, first off, I would like to say this is my first time doing anything like this. I'm not exactly skilled at using RPG Maker, or knowledgable about all of this. I apologize if my lack of knowledge is upsetting or frustrating, but it's still something I'm new at and something I'd like to learn.
No need to apologize. It's just Andar. He's very helpful, but often lacks personable skills in his responses. It's not you, it's everyone. As hard as it is, ignore the "words" and just read the advice (at least when it comes to Andar)

From my own experience, the plugin order rarely fixes problems. To be clear: Plugin order can cause problems, so it's best to order the plug-ins as expected anyways. But, it's rare for it to actually cause problems. For most of my game's development I had my Yanfly plug-ins sorted first with all the core files at top, then the rest of the plug-ins were sorted alphabetically except for the "extention" plugins which were put last. It was much easier to find the plugins I needed to modify with it this way and it caused no problems. The only reason why my plugins are as they are now (in order as specified by Yanfly) is because I didn't want to get a tongue lashing from Andar.

Now, with that said, do take some time to read over the help sections of each plugin and make sure that you have all necessary dependancies installed. The core plugins are typically pretty important stuff and can cause problems without them.

Best of luck, I hope you get it fixed. Don't let Andar get under your skin. He's a helpful dude, just...blunt.
Just in case you're missing the key point over the additional comments I added:

You are missing a plugin (skill core) that is required by one of the plugins (skill cooldown) you have, as that plugin tells you in the very first sentence of its description.

Which is with 99% probability the reason why all skills have problems, because the plugins you have are trying to redirect to the missing plugins, causing their functions to have problems even if a specific skill does not use cooldown.
Apparently, the apply button wasn't working properly when it came to the accuracy stuff, but once I closed the program and reopened it, it started working again?
For future reference: Plugin Manager data (i.e. imported plugin names, load order, on/off status, and parameter values) only get applied when you save your project. I'm guessing you only saved your project when the editor asked "save changes before closing?", so it looked like closing the editor fixed the problem.

As others have mentioned, plugin order and prerequisites are important. Yanfly's recommended load order can be found here:
Based on your screenshot, try ordering your Yanfly plugins like this?
  • YEP_CoreEngine
  • YEP_X_CoreUpdatesOpt
  • YEP_MessageCore (suggested for quest journal)
  • YEP_BuffsStatesCore
  • YEP_LevelUpGrowthEffects
  • YEP_SkillCore (required for skill cooldowns)
  • YEP_X_SkillCooldowns
  • YEP_EquipCore
  • YEP_WeaponAnimation
  • YEP_QuestJournal
You can click+drag in the Plugin Manager list to rearrange the load order: plugins will load from top to bottom. For plugins without any specific statement of load order, I'd generally put big plugins with lots of features near the top, and small, specific plugins near the bottom.

(The "-----" plugins are optional, they're only for dividing up the plugin list in the editor.)

Now there's a different yet similar issue. If I set the character's accuracy to the base 95%, repeatedly they always miss, and never seem to hit the target. If I set it to 150% or even 1000%, it now always hits, but now it always ends up being a critical hit rather then a regular hit.
I notice you have a plugin at the bottom of the list named agility_modifier that "changes action crit/eva formulae". That one sounds suspicious given your description! 👋

When something is reproducibly going wrong, the first step should be to turn off all plugins you are using (if any), save your project to apply Plugin Manager changes, then test again. If the problem doesn't reoccur with plugins turned off, then you can be pretty sure it's a plugin issue.

Original thread: https://forums.rpgmakerweb.com/threads/attacks-never-seem-to-hit.158704/