The easiest idea is to limit the maximum gold percentage, that is, "900% gold loot" would be the maximum percentage, after that it would not have any more effect, with this we avoid overvaluation of weapons with 200%+ with excessively large costs and excessive loot when an imbalance occurs