主城货币显示
This commit is contained in:
parent
80f6d6d76d
commit
b18187a937
@ -37,8 +37,9 @@ function MainCityUI:getCurrencyParams()
|
|||||||
table.remove(self.currencyParams.itemIds)
|
table.remove(self.currencyParams.itemIds)
|
||||||
end
|
end
|
||||||
if self.selectedIndex == GConst.MainCityConst.BOTTOM_PAGE.MAIN then
|
if self.selectedIndex == GConst.MainCityConst.BOTTOM_PAGE.MAIN then
|
||||||
self.currencyParams.itemIds[1] = GConst.ItemConst.ITEM_ID_VIT
|
self.currencyParams.itemIds[1] = GConst.ItemConst.ITEM_ID_GOLD
|
||||||
self.currencyParams.itemIds[2] = GConst.ItemConst.ITEM_ID_GOLD
|
self.currencyParams.itemIds[2] = GConst.ItemConst.ITEM_ID_GEM
|
||||||
|
self.currencyParams.itemIds[3] = GConst.ItemConst.ITEM_ID_VIT
|
||||||
elseif self.selectedIndex == GConst.MainCityConst.BOTTOM_PAGE.HERO then
|
elseif self.selectedIndex == GConst.MainCityConst.BOTTOM_PAGE.HERO then
|
||||||
self.currencyParams.itemIds[1] = GConst.ItemConst.ITEM_ID_VIT
|
self.currencyParams.itemIds[1] = GConst.ItemConst.ITEM_ID_VIT
|
||||||
self.currencyParams.itemIds[2] = GConst.ItemConst.ITEM_ID_GOLD
|
self.currencyParams.itemIds[2] = GConst.ItemConst.ITEM_ID_GOLD
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user