SetByCallerMagnitude for CheckCost function

How can I override the CheckCost function in GameplayAbility and make AssignSetByCallerMagnitude for CostGameplayEffect in it?

Hey Imperitum,

have you ever found an elegant solution to this?

Edit: Oh well, seconds after writing this I found something that seems to work.
I overrode the CheckCost function of the GameplayAbility like you did, but added a line. (Marked in blue)
Note that the cost value is negative.

I have no idea if this is in any way a bad way to do this or if this will break things down the road, but it works for me in standalone and client PIE mode.