Commit 69d686f84cbeda4cf67515292a4be75fb04e7623
1 parent
35305a02
暂时取消营养剂天赋升级限制
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
src/actions/DinerAction.lua
... | ... | @@ -310,9 +310,9 @@ function _M.talentUpRpc( agent, data ) |
310 | 310 | end |
311 | 311 | |
312 | 312 | -- 正在冒险不能升级营养剂天赋 |
313 | - if talentData.effect:toArray(true,"=")[1] == 2 then | |
314 | - if next(role:getProperty("advTeam")) then return 8 end | |
315 | - end | |
313 | + -- if talentData.effect:toArray(true,"=")[1] == 2 then | |
314 | + -- if next(role:getProperty("advTeam")) then return 8 end | |
315 | + -- end | |
316 | 316 | |
317 | 317 | role:costItems(cost) |
318 | 318 | role.dinerData:updateProperty({field = "dishTree", value = dishTree:setv(dish, dishLevel + 1)}) | ... | ... |