Currently in my game I've changed (via formulas) the way defense (and mdef too) works - each point in DEF is 0.1% of damage reduction (ie. 200 DEF = incoming damage is reduced by 20%). Now I wanted to add a bit more depth into battle and add three damage types - slashing (swords), thrusting (spears) and striking (maces). And it's fairly simple, I've created separate elements, applied them to corresponding weapons, and altered Element Rates for enemies. But I want to change how they work. As an example:
Enemy has following stats:
Player attacks with Slash weapon with 130 Attack. Deals 84 damage (130 - 20% reduction).
Changing to Strike damage, the same actor now deals 144 damage.
I don't know the correct maths for increase, but it seems that attack is first reduced by Defense (to 84) and then multiplied by Element Rate (170% = ~143).
Is there any way to change how that works, and apply the Element Rate to DEF (or MDEF in case of magical attacks)? Basically:
Player attacks with Strike weapon, with same 130 Attack. Now he should deal 122 damage (130 - (30% of 20% reduction = 6%)).
TLDR: Can i change Weapon Rate from increasing Attack to decreasing Defense?
Enemy has following stats:
Now, having 170% at Strike Element Rate should increase the attack with Strike weapon by 70%. Let's assume I'm fighting with player that has a total of 130 Attack:
Player attacks with Slash weapon with 130 Attack. Deals 84 damage (130 - 20% reduction).
Changing to Strike damage, the same actor now deals 144 damage.
I don't know the correct maths for increase, but it seems that attack is first reduced by Defense (to 84) and then multiplied by Element Rate (170% = ~143).
Is there any way to change how that works, and apply the Element Rate to DEF (or MDEF in case of magical attacks)? Basically:
Player attacks with Strike weapon, with same 130 Attack. Now he should deal 122 damage (130 - (30% of 20% reduction = 6%)).
TLDR: Can i change Weapon Rate from increasing Attack to decreasing Defense?