Normal Attack element is wrong

Hello. I encountered a really weird bug - for some reason, State's Attack Element priority is considered lower, than one from Actor/Class/Weapons. So, if I have Attack Element specified in any of those - State's Attack Element is ignored.

Funny thing - it's ok in a new project. But somehow wrong in mine. It's not plugin problem since I removed them all.

There, I made a test project where I shown the problem. Made it by clearing mine. Maybe it's some saving bug since when I tried to clear it first it somehow fixed itself. But I recopied DB once again and cleared it more accurately - and the problem remained. Though, I don't know what was the reason.

https://www.dropbox.com/s/8o3ndawyc5uvfrm/BugTest.rar?dl=0
Can you explain what your expected result is, and what the actual result is?


Normal attack element only considers the one that inflicts the most damage.


In the case of a tie it would just pick one of them in some order.
I expected that state will replace attack element completely.

So, you say it check both elements and select most damaging one? Well, that's somehow weird... it may be useful for some cases, but is there a way to change behaviour to "override" one?
The rules for skill elements are


1. If it's not "normal" element, it will use whatever the skill's element is


2. If it's normal, it will grab ALL "attack element" traits and pick the one that does the most damage


Unfortunately, you would need a plugin for that.
I see. Well, at least I know it's not a bug and I can find a way around if I know how it works. Thanks for your help.

Original thread: https://forums.rpgmakerweb.com/threads/normal-attack-element-is-wrong.51809/