From d904b7fd344e33716d4741de7657bb10d0338039 Mon Sep 17 00:00:00 2001 From: gaofengduan Date: Wed, 19 Jun 2019 18:41:09 +0800 Subject: [PATCH] fix car talent --- src/actions/DinerAction.lua | 4 ++-- src/csvdata | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/actions/DinerAction.lua b/src/actions/DinerAction.lua index 1efe492..21c32cd 100644 --- a/src/actions/DinerAction.lua +++ b/src/actions/DinerAction.lua @@ -310,8 +310,8 @@ function _M.talentUpRpc( agent, data ) end -- 正在冒险不能升级营养剂天赋 - if talentData.effect:split2()[1] == 2 then - if next(role.advTeam) then return 8 end + if talentData.effect:toArray(true,"=")[1] == 2 then + if next(role:getProperty("advTeam")) then return 8 end end role:costItems(cost) diff --git a/src/csvdata b/src/csvdata index 48bcf09..1807df3 160000 --- a/src/csvdata +++ b/src/csvdata @@ -1 +1 @@ -Subproject commit 48bcf09fd9d9b66f7c7f06553f3b3a49d723364e +Subproject commit 1807df3783895d92aa5b85851aef9c5f222187cb -- libgit2 0.21.2