refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-02 14:29:13 +02:00
parent 54a2846f62
commit 2624fba4a2
8 changed files with 35 additions and 80 deletions
-4
View File
@@ -406,10 +406,6 @@ function private.on_auction_house_closed()
AuxFrame:Hide()
end
function public.round(v)
return floor(v + 0.5)
end
function public.min_bid_increment(current_bid)
return max(1, floor(current_bid / 100) * 5)
end