Commit 7228c195fe7917ae8ffe46f46a479e0180a615d5
1 parent
ceec6779
商城 购买
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
src/actions/StoreAction.lua
... | ... | @@ -211,6 +211,7 @@ function _M.dailyBuyRpc(agent , data) |
211 | 211 | gift[itemId] = count_ * count |
212 | 212 | end |
213 | 213 | local reward = role:award(gift, {log = {desc = "dailyShop", int1 = id, int2 = count}}) |
214 | + role:checkTaskEnter("ShopAll", {count = count}) | |
214 | 215 | |
215 | 216 | role:log("role_action", {desc = "dailyShop", int1 = id, int2 = count}) |
216 | 217 | ... | ... |
src/models/RoleTask.lua
... | ... | @@ -132,7 +132,7 @@ local CommonListener = { |
132 | 132 | [TaskType.GetFriendP] = {{22, f("count")}}, |
133 | 133 | [TaskType.BonusPass] = {{23}}, |
134 | 134 | [TaskType.AdvStartSelf] = {{24}}, |
135 | - [TaskType.ShopAll] = {{25}}, | |
135 | + [TaskType.ShopAll] = {{25, f("count")}}, | |
136 | 136 | [TaskType.RuneUp] = {{26}}, |
137 | 137 | [TaskType.OpenBox] = {{27, 1, f("id")}}, |
138 | 138 | [TaskType.AdvDraw] = {{28, f("count"), f("ptype")}}, | ... | ... |