Shop refund resets gealth to level it was at when shop page was opened
I've noticed that occasionally when I refund an item (like a potion or a ward) I take a ton of damage. You can see the same bug happen to Trick2g at 1:30 in the video I linked where he refunds a potion and takes 300ish damage. After some testing in custom games, I think I have a way to consistently reproduce the bug:
1 Take in a lot of damage in a custom game, down to something like 10% of max. 2 While casting the recall, open the shop and try to buy an item continuously while recalling. Any item works. 3 Once you are back at the pool, let yourself regen. 4 Stay in the pool and return/refund the item you just bought while watching your health. 5 See tons of damage from refunding the item.
It's not usually a game breaking bug, but it forces me to sit in the fountain an extra 5ish seconds so I can regen health that I already regenerated, and those seconds can make a big difference when trying to get back to lane.