Normal Attack Element = Fire Issue

Hey everyone,

I'm sure it's a simple fix, but I can't seem to figure out why Normal Attack Element skills are dealing additional damage to monsters that are weak against Fire, when I'm not using any traits or weapons or items that are imbuing these normal skills with that specific fire element. These skills only deal extra damage to enemies who are weak against Fire (not any other element or trait or parameter), and this is when the skill element is selected as Normal Attack (turning it to None removes this issue, but then those skills could never be imbued with a different element based on a weapon/item, and I would like these skills to be Normal Attack so that eventually equipping weapons/items of certain elements can imbue those attacks correctly). This issue also occurs with my regular default Attack, which has a Normal Attack element.

No classes or actors have any fire-related Traits.
Even starting a New Game without any weapons or items, the issue still persists.
Even removing / turning off all plugins, the issue still persists.
Even trying out the battles in the Battle Test (without even turning on the game), the issue still persists.

Any ideas what it could be, that the Normal Attack Element is read as Fire Element? Thanks!

Edit: Here is a video outlining my issue, which may be a problem with the database / data folder, but we haven't yet found the error causing the issue.
What plugins are you using? Please show a screenshot of one or two of these skills.
Hey Shaz! I turned all my plugins off and the issue still occurs, but on the off-chance that there's some insight to be found there, I have included an image of all the plugins I'm using 🙂

I have also attached 3 of these Normal Attack Element skills that somehow deal bonus damage when a monster is weak against Fire or deal less damage when the monster is resistant to fire (the Element Rate Fire * 200% trait of that monster is activated, as is any other % I adjust it to... so if I make the monster resistant to Fire, say at 50% or 25% rate, the Normal Attack adjusts accordingly). Thanks!
I know you said it happens on a new save with no equipment on the actors at all, so that probably means you don't have an attack element trait on your equipment, but that doesn't necessarily mean you don't have one on the class or actor.

fire element.png


I'd suggest making sure you don't have an attack element set by mistake on your actor or class. Or a passive state set that does the same thing, although you said it still happened when you had no plugins enabled, so that's probably not it.
Wow, that's a lot of plugins. I would be almost certain that your Yanfly plugins are not in the right order.

If you create a brand new project without any plugins, can you reproduce this behaviour?
I know you said it happens on a new save with no equipment on the actors at all, so that probably means you don't have an attack element trait on your equipment, but that doesn't necessarily mean you don't have one on the class or actor.

View attachment 172996

I'd suggest making sure you don't have an attack element set by mistake on your actor or class. Or a passive state set that does the same thing, although you said it still happened when you had no plugins enabled, so that's probably not it.

I appreciate the recommendations! My only traits on the actors/classes are to add Skill Type (Magic) so that certain skills can be used, Hit Rate 95% for the base chance of a successful hit, and Equip Armor/Weapon types (which are not being utilized when the battler is "naked", although these types are things like Swords and Amulets, which don't have anything specific/unique to Fire). No traits that single out the Fire element, such as Attack Element.

I have attached an example of an actor (with their current class). All four of my battlers have this identical Normal Attack = Fire issue, regardless of the actor/class.
Wow, that's a lot of plugins. I would be almost certain that your Yanfly plugins are not in the right order.

If you create a brand new project without any plugins, can you reproduce this behaviour?

Having the Core Engine first, then the rest of the Core plugins, then the standard set of plugins, and finally the X plugins (all alphabetized) seem to work just fine, as far as I know 🙂 At least, I think I've followed all the individual instructions for each plugin, whenever it says that a different plugin must come before/after another one! Although I'm not sure if it's relevant to this specific problem, as all the plugins being turned off doesn't affect the issue. I'll work on starting up a brand new project right now, to see if the Normal Attack Element = Fire Element issue still persists!
have you try turning off all plugin and then start new game... (if you turn off the plugin but load a savefile there's a possibility of lingering problem caused by previous ON plugin)...

second... does this happen on new blank vanilla project (without any plugins)... copy your actors, skills, etc... if yes then the plugin is not a problem...

we need to narrow down the problem first before trying to fix it. hope this help.
I just created a brand new game project from scratch (none of my actors, classes, enemies, skills, etc.), and it does *not* have this issue, so the issue is definitely not with the original RMMV engine. It's not a default setting, and I figured it wouldn't be.

When I go back to my main game project (the one that has this issue) and turn off all plugins and start a New Game, the problem is still there (as well as when I simply try Troops -> Battle Test). Continuing a current save file additionally has this issue, although the issue still occurs with a New Game or Battle Test.

I'll work on a video clip or two of this issue, which might help elucidate the problem!

Edit: I even turned off the Community_Basic plugin and the problem still occurred lol.
Can you copy your data folder from your "problem" project into the new project that you created? Then try again. If it happens, it means it's something in your database somewhere - actors, equipment, skills, enemies, states ...

Still don't do anything with plugins on the new project.
Can you copy your data folder from your "problem" project into the new project that you created? Then try again. If it happens, it means it's something in your database somewhere - actors, equipment, skills, enemies, states ...

Still don't do anything with plugins on the new project.

I will try that next with a new/clean project! I have made a short video clip showing the issue... all I did is use my basic Attack (Normal Attack Element), and I end up doing about 8x the damage when I change the Fire Rate of the enemy to 800%. (This is in my main game project, not a new/clean project.)
Video of the issue:
Okay I just copied my data folder from my main game/project to a completely new/clean project, as Shaz suggested, and was able to replicate the Normal Attack = Fire issue, which I assume means that the problem is within my data folder / database. (No plugins, etc.)

Edit: I tried changing the Element of the attack to something other than Normal Attack or Fire, to see if the issue always happens no matter what, and it doesn't. When I switch the attacks' Element to Ice or Thunder or Water or None, for example, the attacks aren't misinterpreted as Fire. Fire is interpreted correctly as Fire, and Normal Attack is misinterpreted as Fire, which is the issue, and that's it. (And neither Normal Attack nor any other Element is misinterpreted as a different Element in battles... it's only one misinterpretation, and that's Normal Attack -> Fire.)
Okay I just copied my data folder from my main game/project to a completely new/clean project, as Shaz suggested, and was able to replicate the Normal Attack = Fire issue, which I assume means that the problem is within my data folder / database. (No plugins, etc.)

Edit: I tried changing the Element of the attack to something other than Normal Attack or Fire, to see if the issue always happens no matter what, and it doesn't. When I switch the attacks' Element to Ice or Thunder or Water or None, for example, the attacks aren't misinterpreted as Fire. Fire is interpreted correctly as Fire, and Normal Attack is misinterpreted as Fire, which is the issue, and that's it. (And neither Normal Attack nor any other Element is misinterpreted as a different Element in battles... it's only one misinterpretation, and that's Normal Attack -> Fire.)


Is Downpour applying a state that gives the actors Attack Element: Fire?
Is Downpour applying a state that gives the actors Attack Element: Fire?

Nope. The issue occurs for all enemies that have an adjusted Fire Element Rate, regardless of their skills/attacks (and the enemies don't even need to attack at all for them to receive adjusted Normal Attack Element damage based on their Fire Element rate). I've tested it out with a bunch of different enemies, toggling on/off a Fire Element rate. The issue is consistent in that respect.
@DarkPlasmaBall Do you have equipment (unequipped, just existing in your database) that adds the Fire Element to your characters' attacks?

If so, go to your game folder > data > and open Actors.json

From here, take a look at the line of text that says, "equips":[]

Is there anything in the array that shouldn't be there? The game has a bug where the Actor.json file is not properly updated sometimes and old/inexplicable equipment lingers when it shouldn't.

I had a similar situation where one of my actors was immune to the Thunder element but not obvious reason why. This was the reason.
@DarkPlasmaBall Do you have equipment (unequipped, just existing in your database) that adds the Fire Element to your characters' attacks?

If so, go to your game folder > data > and open Actors.json

From here, take a look at the line of text that says, "equips":[]

Is there anything in the array that shouldn't be there? The game has a bug where the Actor.json file is not properly updated sometimes and old/inexplicable equipment lingers when it shouldn't.

I had a similar situation where one of my actors was immune to the Thunder element but not obvious reason why. This was the reason.

Hm, interesting. I opened up that file using Notepad, and the array says "equips":[0,0,0,0,0] , which I don't think is significant.
Everything else seems to look normal, although I did notice this in the same row for my one actor: "traits":[{"code":22,"dataId":0,"value":1},{"code":51,"dataId":1,"value":1}]
However, I just confirmed that those two code values are referring to the two traits I have activated, hit rate and equip weapon. When I delete those two traits, I have what looks (to me, at least) like standard code for my actor Sprig:
{"id":1,"battlerName":"Actor1_1","characterIndex":0,"characterName":"Actor1","classId":1,"equips":[0,0,0,0,0],"faceIndex":0,"faceName":"Actor1","traits":[],"initialLevel":1,"maxLevel":10,"name":"Sprig","nickname":"","note":"","profile":""},


I think I just made more progress in possibly identifying the location of the issue, although I'm not sure how to fix it:

The issue happens only when I'm not holding a weapon at all. When I equip an actual weapon, the problem is gone. Not equipping a weapon (in both battle tests and in-game) is apparently defaulted to a Fire element, rather than a Normal Attack element setting or a None element setting.

I'm not sure why, but I think it might be because every new/unused weapon slot in the database has an automatic Fire Attack Element (see attached image), so I'm guessing if you don't pick a specific weapon to wield (which has different traits/settings, including *the removal of the default Fire Element*), the game just picks an empty no-weapon slot, all of which have the Fire Element. I do recall needing to remove the default Fire Element trait from every new weapon slot, when I created new weapons for my game.

I'm pretty sure this was already in the game engine - I certainly didn't make every single unused weapon slot have a Fire Attack Element, and every time I increase the maximum number of weapons in the database, the new slots automatically populate with the Fire Attack Element.

I don't know how to fix it though... I manually changed every empty slot so that no more Fire Attack Element options were in the weapons list (which didn't solve the problem), and then I even reduced the entire weapons list to only 5 non-fire weapons and removed all other slots (this didn't solve the problem either). The equipped weapons don't have any fire traits, and the issue is gone as long as I equip one of these weapons, but as soon as I unequip a weapon, my standard attacks become fire-based. In other words, removing my weapon deals more damage to monsters weak against fire, than actually using a weapon that deals more base damage but isn't fire-imbued.
The default weapon attack element is always Element ID 1. Sounds like your Fire element is ID 1.
The default weapon type is always Element ID 1. Sounds like your Fire element is ID 1.

Ah, interesting. I see that my database's Type Element starts with 01 Fire. Changing that to 01 Physical, I see that new weapon slots offer a default Attack Element Physical instead of Attack Element Fire. Also, things seem to be properly influenced by the Normal Attack Element option in Skills, and the issue of Normal Attack = Fire is gone! It looks like I'll need to go back through my skills, weapons, enemies, etc. and adjust every single element now (since all the elements, including Fire, have been shifted), but this appears to have solved my problem! Thank you!
Thank you everyone for all your help and suggestions! My issue is fixed 🙂

Moderators can close this thread now, if they'd like!
Having the Core Engine first, then the rest of the Core plugins, then the standard set of plugins, and finally the X plugins (all alphabetized) seem to work just fine, as far as I know
unfortunately that is NOT the correct order - and the problems of having yanfly's plugins in wrong order are not limited to error messages, they also include strange behivor where parts of the engine do not work as assumed.

please go to yanfly's list of plugins. THAT is the only correct order, top to bottom. It even says so in the description on top of that list.

and yes, all extensions have to be directly below the core plugin they are extending, and in exactly the order given on that list.

Original thread: https://forums.rpgmakerweb.com/threads/normal-attack-element-fire-issue.131488/