Hitting Enemy 0

When I try to test battle, my character hits the enemy 0. I'm confused why this is happening.
Screenshot 2024-01-05 152322.png

My attack is 8.
Enemy.png

Enemy defense is 8.
EnemySkill.png

By my calculation, the formula (a.atk * 4 - b.def * 2) should be 8 * 4 - 8 * 2 which is 32 - 16 which is 16. But I'm hitting 0, even when there's no weapon equipped. What am I doing wrong? Many thanks.
Do you have any plugins?
Yes. Sorry, I should have mentioned that, I just assumed it was some oversight on my part and wasn't plugin related. Here's the list:

Plugins.png

If you think it's plugin related then I will disable them 1 by 1 until I find the culprit.

Edit: I disabled all plugins and I am still hitting 0.
Did you make sure to give your character a HIT attribute in the database?
A screenshot of the Actor page would help with this as well.


(Also, are those YEP plugins in proper order? I dont know these things off the top of my head, but kind of looks like things are kind of jammed in there randomly)
The TP cost of 20 for the default attack also seems strange. What happens if you do not have 20 TP?
Edit: I disabled all plugins and I am still hitting 0.
Just making sure, you did save your project after disabling the plugins, yes?

Did you make sure to give your character a HIT attribute in the database?
they did say that 0s were popping up, so the hit was connecting. Missing doesnt sound like the culprit

The TP cost of 20 for the default attack also seems strange. What happens if you do not have 20 TP?
the same as any other skill most likely. it gets greyed out and you cannot select it.
they did say that 0s were popping up, so the hit was connecting. Missing doesnt sound like the culprit
Covering all bases is better than assuming anything. Check every detail and find the issue. ;P
Try it in regular game, not battle test. Battle test has many irregularities that can cause odd phantom issues to appear. Specifically, not every plugin loads into play for battle test, for one.

If it works in regular play test, I'd say its fine and its just a battle test quirk.
Did you make sure to give your character a HIT attribute in the database?
A screenshot of the Actor page would help with this as well.


(Also, are those YEP plugins in proper order? I dont know these things off the top of my head, but kind of looks like things are kind of jammed in there randomly)

Character.png

All plugins are currently disabled, I'm still hitting 0 :/
Try it in regular game, not battle test. Battle test has many irregularities that can cause odd phantom issues to appear. Specifically, not every plugin loads into play for battle test, for one.

If it works in regular play test, I'd say its fine and its just a battle test quirk.

Issue doesn't appear in game, I hit 17. However, I would still like to fix it as it's very inconvenient to have to jump into gameplay to test every fight. Interesting that it works in game though.
Issue doesn't appear in game, I hit 17. However, I would still like to fix it as it's very inconvenient to have to jump into gameplay to test every fight. Interesting that it works in game though.
If it's different in battle test than in your playtest, then either you don't have the same equipment/level/parameters in play, or it's a plugin issue.

As @Robro33 said above, any time you modify plugins (including turning them off) you need to save your project before the changes will apply.

If you can't figure it out, it's not terribly difficult to place events at the beginning of your game to take you into battle with whatever setups you want. And, as @bgillisp said, that might be best practice for you anyway given how many plugins you have.
If it's different in battle test than in your playtest, then either you don't have the same equipment/level/parameters in play, or it's a plugin issue.

As @Robro33 said above, any time you modify plugins (including turning them off) you need to save your project before the changes will apply.

If you can't figure it out, it's not terribly difficult to place events at the beginning of your game to take you into battle with whatever setups you want. And, as @bgillisp said, that might be best practice for you anyway given how many plugins you have.
Yes, I saved. Plugins are definitely disabled. It should be the same stats, as both are using an initialised character without a weapon. Unless someone can see the cause of the issue from the information provided, I guess I will place an event to load me to appropriate battles at the start of the game. Thank you for your help.
Yeah if it is doing 17 in battle in game then its just the fact that battle test is kinda bugged. I honestly never use it and just test in game.

There really is no way to fix this I'm afraid.

Original thread: https://forums.rpgmakerweb.com/threads/hitting-enemy-0.164489/