Bot.getAttackScore() rewritten