If an enemy has an attack element other than physical/normal attack and the victim is guarding. Wouldn't the damage be reduced? I was just hit by an earth enemy on my earth based character in guard and the damage did 126. When not in guard, it hit for 125. I checked the state and the features are as they should be:
Features special flag guard
and a counter rate of 10%
Check your guard state. It needs to have a "guard" feature otherwise guarding does nothing.
As for your question, yes, the guard damage modifier is applied regardless of the skill's element (or anything for that matter)
You can have them earth-based, but you also need to make sure that they are more resistant to earth-based attacks and more susceptible to, say, water-based attacks. Change the "Elemental Rate" of the actor or class. Like, Earth would be 50% or less, depending on what you want and Water would be 150% or less or greater depending on what you want. THAT'S how they actually get damage reduction with same-element attacks.
Normal Attack state basically means it will look for any feature effects of your equipped weapons and use those instead. That's completely a different thing. Same with the element Normal Attack, refers to elements of the equipped weapons.
Hmm, I want to compare how guard works in the problem game by checking the script editor and comparing that to a new project.
Even though I don't believe I have actually touched it, I still want to see what's up because, the couterattack chance works with my guard. So I know that it is going through.
The icon works so the state is definitely being applied but no damage is being reduced. Where would I go to see guard?
Edit:
My mistake, I see what went wrong. When I put up guard, I set a restriction for cannot move. Doing this canceled out the special flag even though the other effects in the state still remained. I did this because I had my guard functioning for two turns. I wanted it as two turns to avoid a player or enemy using guard when going last in a round only to have it immediately go away, making it useless when going second. But I also wanted to avoid players simultaneously being able to move while using defend. I'll just edit guard in a different way and not use the special flag since it wont allow me to have both at once. Not a problem.
But lesson learned:
When using a special flag for guard, restriction must be none.