提示
This commit is contained in:
parent
3d60bcfbf6
commit
17074b8359
@ -202,6 +202,11 @@ function DungeonRuneManager:reqBuySliverWing(count)
|
|||||||
if not count then
|
if not count then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
local runeData = DataManager.DungeonData:getDungeonDataByType(ModuleManager.MODULE_KEY.RUNES_OPEN)
|
||||||
|
local cost = runeData:getBuySliverCost()
|
||||||
|
if not GFunc.checkCost(cost.id, cost.num * count, true) then
|
||||||
|
return
|
||||||
|
end
|
||||||
self:sendMessage(ProtoMsgType.FromMsgEnum.ChapterRuneBuySliverReq, {buy_count = count}, {}, self.rspBuySliverWing, BIReport.ITEM_GET_TYPE.DUNGEON_RUNE_BUY_WING)
|
self:sendMessage(ProtoMsgType.FromMsgEnum.ChapterRuneBuySliverReq, {buy_count = count}, {}, self.rspBuySliverWing, BIReport.ITEM_GET_TYPE.DUNGEON_RUNE_BUY_WING)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user