Commit 760ed66055680f1f1c758222e331a0bb39d5a732
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 | 210 | self:checkDinerTask(DinerTask.SellDish, expediteCount, sell.dish) |
211 | 211 | self:checkDinerTask(DinerTask.SellDishType, expediteCount, math.ceil(sell.dish / 100)) |
212 | 212 | self:checkDinerTask(DinerTask.SellDishRare, expediteCount, dishData.rarity) |
213 | + self.owner:checkTaskEnter("FoodSell", {count = expediteCount}) | |
213 | 214 | end |
214 | 215 | return { |
215 | 216 | expediteCount = expediteCount, | ... | ... |
src/models/RoleTask.lua
... | ... | @@ -321,6 +321,7 @@ function RoleTask.bind(Role) |
321 | 321 | local achiveStatus = self:getProperty("achiveT") |
322 | 322 | |
323 | 323 | local IsFindMax = { |
324 | + [1] = true, | |
324 | 325 | [4] = true, |
325 | 326 | [6] = true, |
326 | 327 | [7] = true, |
... | ... | @@ -426,6 +427,7 @@ function RoleTask.bind(Role) |
426 | 427 | if next(change) then |
427 | 428 | self:changeUpdates(change, notNotify) |
428 | 429 | end |
430 | + | |
429 | 431 | end |
430 | 432 | end |
431 | 433 | ... | ... |