i'm probably a bit late, but i've been through the exact same issue in the past, and i remember searching around and eventually finding out about this:
<Custom Confirm Effect>
var elements = this.getItemElements(); //Get all elements from the current action
var fireId = 4; //Change this to your Fire Element ID in your database. By default, it is 2
if (elements.contains(fireId)){ //Check if current action contains Fire Element
var rate = 0.25; //Define the bonus damage rate (0.25 means 25%)
value += Math.ceil(value * rate);} //Increase damage dealt. "value" is the amount of damage dealt by your skill.
</Custom Confirm Effect>
if you use this note tag in a state you can actually circumvent this (change your fireid value for the element you're trying to boost). IIRC you need Yanfly's Buff and States Core for it to work.
In my game i'm using a system where when you exploit an enemy's weakness you temporarily become stronger, and i can confirm that this method doesn't treat neutral affinities as weakness, but it still increases the damage.