GITLAB
wasteland
/
server
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Issues
0
Merge Requests
0
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
58ded685a9b5d715d30db1ad753ef36b75e3b099
Authored by
zhanghualin
2022-03-31 12:35:59 +0800
1 parent
f6322b6d
修改判断火花是否为空
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/HeroAction.lua
Inline
Side-by-side
src/actions/HeroAction.lua
Wrap text
Show/Hide comments
View file @
58ded68
...
...
@@ -1468,7 +1468,7 @@ function _M.trainStartRpc(agent, data)
1468
1468
1469
1469
-- 大于等于7的时候需要装备火花才能升
1470
1470
if curLevel >= 7 then
1471
- if
#sparkInfo
== 0 then
1471
+ if
next(sparkInfo)
== 0 then
1472
1472
return 6
1473
1473
end
1474
1474
local ok = false
...
...