Commit d904b7fd344e33716d4741de7657bb10d0338039

Authored by gaofengduan
1 parent dbd0ca58

fix car talent

Showing 2 changed files with 3 additions and 3 deletions   Show diff stats
src/actions/DinerAction.lua
@@ -310,8 +310,8 @@ function _M.talentUpRpc( agent, data ) @@ -310,8 +310,8 @@ function _M.talentUpRpc( agent, data )
310 end 310 end
311 311
312 -- 正在冒险不能升级营养剂天赋 312 -- 正在冒险不能升级营养剂天赋
313 - if talentData.effect:split2()[1] == 2 then  
314 - if next(role.advTeam) then return 8 end 313 + if talentData.effect:toArray(true,"=")[1] == 2 then
  314 + if next(role:getProperty("advTeam")) then return 8 end
315 end 315 end
316 316
317 role:costItems(cost) 317 role:costItems(cost)
1 -Subproject commit 48bcf09fd9d9b66f7c7f06553f3b3a49d723364e 1 +Subproject commit 1807df3783895d92aa5b85851aef9c5f222187cb