- New: % damage dealt by resist added.
- Some code refactoring.