Commit 760ed66055680f1f1c758222e331a0bb39d5a732

Authored by zhouhaihai
1 parent f6a9215f

任务成就 增加

Showing 2 changed files with 3 additions and 0 deletions   Show diff stats
src/models/Diner.lua
@@ -210,6 +210,7 @@ function Diner:expediteSell(slot) @@ -210,6 +210,7 @@ function Diner:expediteSell(slot)
210 self:checkDinerTask(DinerTask.SellDish, expediteCount, sell.dish) 210 self:checkDinerTask(DinerTask.SellDish, expediteCount, sell.dish)
211 self:checkDinerTask(DinerTask.SellDishType, expediteCount, math.ceil(sell.dish / 100)) 211 self:checkDinerTask(DinerTask.SellDishType, expediteCount, math.ceil(sell.dish / 100))
212 self:checkDinerTask(DinerTask.SellDishRare, expediteCount, dishData.rarity) 212 self:checkDinerTask(DinerTask.SellDishRare, expediteCount, dishData.rarity)
  213 + self.owner:checkTaskEnter("FoodSell", {count = expediteCount})
213 end 214 end
214 return { 215 return {
215 expediteCount = expediteCount, 216 expediteCount = expediteCount,
src/models/RoleTask.lua
@@ -321,6 +321,7 @@ function RoleTask.bind(Role) @@ -321,6 +321,7 @@ function RoleTask.bind(Role)
321 local achiveStatus = self:getProperty("achiveT") 321 local achiveStatus = self:getProperty("achiveT")
322 322
323 local IsFindMax = { 323 local IsFindMax = {
  324 + [1] = true,
324 [4] = true, 325 [4] = true,
325 [6] = true, 326 [6] = true,
326 [7] = true, 327 [7] = true,
@@ -426,6 +427,7 @@ function RoleTask.bind(Role) @@ -426,6 +427,7 @@ function RoleTask.bind(Role)
426 if next(change) then 427 if next(change) then
427 self:changeUpdates(change, notNotify) 428 self:changeUpdates(change, notNotify)
428 end 429 end
  430 +
429 end 431 end
430 end 432 end
431 433