how can i make it so that instead of taking higest def it adds it together for example:
shield= 2% resistant against physical dmg
armor= 4% resistant against physical dmg
instead of just using the armor for having higest %
it will add it up
2+4=6 so the char will have 6% dmg agaisnt physical atks
shield= 2% resistant against physical dmg
armor= 4% resistant against physical dmg
instead of just using the armor for having higest %
it will add it up
2+4=6 so the char will have 6% dmg agaisnt physical atks