modified conditional in Bot.getDefenseScore()