Type of target.last_damage must be int for Counter to work.