refactor a hero attacker