Allow to customize the defense of the hero. Fix #428.