Under my State, I selected the Trait->Attack Element->Fire
I assumed this would make anyone affected by the State attack with Fire type damage. But I tested it against an Enemy that is immune to Fire and the damage still went through.
Can anyone tell me what I am doing wrong?
Thank you in advance,
GEA
Is your enemy set up so that the elemental rate of Fire is set to 0, if not then they'll still take damage from Fire elemental attacks.
First thing I thought of too. Had double checked that before posting. Fire Rate is set to 0%
But thank you for the idea, Zarsla.
The problem might be that your character has multiple attack elements. If that is the case, only the most effective one is considered in the damage calculation (so if you have a character with a fiery sword that deals physical/burn damage they can hit enemies that are vulnerable to either element effectively with it).
I don't think there is an easy non-plugin-solution to this (though such a plugin would probably be easy to write if you can specify which elements should when take precedence).
Maybe you could also use your attacks damage formulas to account for that state:
( original formula ) * (a.isStateAffected( state-ID ) ? b.elementRate( element-ID ) : 1)
This would multiply your skills damage with the targets element rate if the state is active on the attacker.
Ok, thank you for identifying the problem. I will play test some and see if I can find a soft solution.