bug修复

This commit is contained in:
xiekaidong 2023-09-19 14:29:54 +08:00
parent c03e46432f
commit 62d5aa7da7
2 changed files with 4 additions and 1 deletions

View File

@ -37,7 +37,7 @@ function ActPvpData:ctor()
self.dailyRewards = {}
self.gotRankRewards = false
self.exp = 0
self.level = 0
self.level = 1
self.collected = {}
end

View File

@ -167,6 +167,9 @@ function ItemData:addItem(data, itemGetType)
elseif data.id == GConst.ItemConst.ITEM_ID_RUNES then
if data.count > 0 then
ModuleManager.TaskManager:addTaskProgress(GConst.TaskConst.TASK_TYPE.X_RUNES_GETED_MATERIALS, data.count)
BIReport:postItemGet(data.count, data.id, itemGetType)
else
BIReport:postItemUse(data.count, data.id, itemGetType)
end
else
if data.count < 0 then