Commit c23734ee6234a3605ab369ed9d7bc4285e2d1d8f
1 parent
f0aff632
引导用到的剧情的奖励可以直接领
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/RoleAction.lua
... | ... | @@ -679,7 +679,7 @@ function _M.storyBookRewardRpc(agent, data) |
679 | 679 | if status == -1 then return end |
680 | 680 | |
681 | 681 | if not status or status ~= 1 then |
682 | - if storyBookData.unlockType == 1 and role:getProperty("hangInfo").carbonId == tonumber(storyBookData.unlockData) then -- 挂机剧情正在挂机也可以领奖 | |
682 | + if storyBookData.unlockType == 1 and (role:getProperty("hangInfo").carbonId == tonumber(storyBookData.unlockData) or storyId == 1 or storyId == 2) then -- 挂机剧情正在挂机也可以领奖 | |
683 | 683 | else |
684 | 684 | return |
685 | 685 | end | ... | ... |
-
mentioned in commit 52f8c5f05d0a531232a7dd7887becd2a77986aa1
-
mentioned in commit ba6d85edc65900830c7e168102d70671881b5808