After a series of victories, it could be set to "maximum X 2" to avoid looking like cheating.
Because the Dwarf only restores up to the maximum, the Elf could restore beyond the maximum, but with conditions.
And although these are variations on a theme, it's unlikely you can avoid them.
Auto-translated