Commit 06056f64542961f37db6c710bd69275ad1391785

Authored by 熊润斐
2 parents 9ffa5949 c23734ee

Merge branch 'bugfix' into tr/publish

* bugfix:
  引导用到的剧情的奖励可以直接领
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
... ...