small change
This commit is contained in:
@@ -253,13 +253,14 @@ function Aux.AuctionFrameAuctions_OnEvent(...)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function Aux.on_auction_house_show()
|
function Aux.on_auction_house_show()
|
||||||
if not UnitFactionGroup('npc') then
|
|
||||||
Aux.neutral = true
|
|
||||||
end
|
|
||||||
AuxFrame:Show()
|
AuxFrame:Show()
|
||||||
Aux.tab_group:set_tab(1)
|
Aux.tab_group:set_tab(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function Aux.neutral_faction()
|
||||||
|
return not UnitFactionGroup('npc')
|
||||||
|
end
|
||||||
|
|
||||||
function Aux.on_auction_house_closed()
|
function Aux.on_auction_house_closed()
|
||||||
Aux.post.stop()
|
Aux.post.stop()
|
||||||
Aux.stack.stop()
|
Aux.stack.stop()
|
||||||
|
|||||||
+1
-1
@@ -615,7 +615,7 @@ function private.update_item_configuration()
|
|||||||
private.stack_count_slider.editbox:SetNumber(private.stack_count_slider:GetValue())
|
private.stack_count_slider.editbox:SetNumber(private.stack_count_slider:GetValue())
|
||||||
|
|
||||||
do
|
do
|
||||||
local deposit_factor = Aux.neutral and 0.25 or 0.05
|
local deposit_factor = Aux.neutral_faction() and 0.25 or 0.05
|
||||||
local stack_size = private.stack_size_slider:GetValue()
|
local stack_size = private.stack_size_slider:GetValue()
|
||||||
local stack_count
|
local stack_count
|
||||||
stack_count = private.stack_count_slider:GetValue()
|
stack_count = private.stack_count_slider:GetValue()
|
||||||
|
|||||||
Reference in New Issue
Block a user