Hello,
I would liked to understand how refining works in the game, the closest method i found is this:
https://github.com/exmex/4s/blob/a36a5785cc20da19cd460afa92a3f96e18ecd026/TServer/TMapSvr/TItem.cpp#L648C1-L681C2
TMAGIC isn't defined anywhere same with MakeItemMagicValue.