Commit 54fdf82194bdefe493722e5d15cd935becf6daf0

Authored by chenyueqi
1 parent 0c6b1a62

觉醒任务参数应该是觉醒后的值

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/HeroAction.lua
@@ -147,7 +147,7 @@ function _M.wakeRpc(agent, data) @@ -147,7 +147,7 @@ function _M.wakeRpc(agent, data)
147 local oldBattleV = hero:getProperty("battleV") 147 local oldBattleV = hero:getProperty("battleV")
148 hero:updateProperty({field = "wakeL", delta = 1}) 148 hero:updateProperty({field = "wakeL", delta = 1})
149 149
150 - role:checkTaskEnter("Wake", {heroType = typ, wakeL = curLevel}) 150 + role:checkTaskEnter("Wake", {heroType = typ, wakeL = curLevel + 1})
151 if curLevel == 3 then -- 解锁cg 151 if curLevel == 3 then -- 解锁cg
152 role:checkTaskEnter("WakeCG", {heroType = typ}) 152 role:checkTaskEnter("WakeCG", {heroType = typ})
153 end 153 end