Added a Damage Test Command and refactored if statements in onHit