lower deposit fee by 40%, should be more accurate according to nelethor
This commit is contained in:
@@ -365,6 +365,7 @@ function update_item_configuration()
|
||||
local duration_factor = UIDropDownMenu_GetSelectedValue(duration_dropdown) / 120
|
||||
local stack_size, stack_count = selected_item.max_charges and 1 or stack_size_slider:GetValue(), stack_count_slider:GetValue()
|
||||
local amount = floor(selected_item.unit_vendor_price * deposit_factor * stack_size) * stack_count * duration_factor
|
||||
amount = floor(amount * 0.6) --according to nelethor this should be more accurate, would like to get accurate fee eventually
|
||||
deposit:SetText('Deposit: ' .. money.to_string(amount, nil, nil, aux.color.text.enabled))
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user