Wondering if it's possible to do something like this with the damage formula:
10 (fire) damage + 20 (ice) damage + 30 (physical) damage.
If the target has no elemental resistances to anything, the target would receive 60 damage.
If the target has 100% ice resistance, the target would receive 40 damage ( 10 fire + 30 physical).
If the target has 50% ice resistance, the target would receive 50 damage (10 fire + 10 ice (halved) + 30 physical).
Basically, the damage formula would contain different damage totals that individually factored in a target's elemental resistance. Could this be done, and if so how?
10 (fire) damage + 20 (ice) damage + 30 (physical) damage.
If the target has no elemental resistances to anything, the target would receive 60 damage.
If the target has 100% ice resistance, the target would receive 40 damage ( 10 fire + 30 physical).
If the target has 50% ice resistance, the target would receive 50 damage (10 fire + 10 ice (halved) + 30 physical).
Basically, the damage formula would contain different damage totals that individually factored in a target's elemental resistance. Could this be done, and if so how?