Characters only gain experience if they remain alive throughout the battle.