Commit 7104d350f90f22da908b997d22a25d043d21c7b2
1 parent
3aa11fb9
购买体力 计数
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/actions/AdvAction.lua
| ... | ... | @@ -197,6 +197,7 @@ function _M.buyAdvCountRpc(agent , data) |
| 197 | 197 | if not role:checkItemEnough(cost) then return end |
| 198 | 198 | role:costItems(cost) |
| 199 | 199 | role.dailyData:updateProperty({field = "advC", delta = -count}) |
| 200 | + role.dailyData:updateProperty({field = "advBC", delta = count}) | |
| 200 | 201 | |
| 201 | 202 | SendPacket(actionCodes.Adv_buyAdvCountRpc, '') |
| 202 | 203 | return true | ... | ... |