You gain or lose honor based on the value of troops lost on either side. If you raid an enemy city that has no defenses, no one dies and you won't gain any.