add code for elemental resist integration into battle stats