TrinityCore/TrinityCore — comment on commit b268b51d0ef991b73c140a680aebca582fc10e00
File: src/server/game/Entities/Unit/Unit.h line 1511
By bytewarrior:

Shouldn't this be just value = hard_cap?
This way, once you are beyond the hard cap, the shield block value will drop back to (soft_cap + hard_cap) / 2, which is less then the hard cap.