Gen 1: Refactor damage formula
Refactored damage formula, now following cartridge step by step.