Commit cbc30891bc4887d444852cc8e6ed5c71a08c15d5
1 parent
4b3327eb
所有的觉醒任务bug,参数应该是觉醒后的值
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/HeroAction.lua
@@ -131,7 +131,7 @@ function _M.wakeRpc(agent, data) | @@ -131,7 +131,7 @@ function _M.wakeRpc(agent, data) | ||
131 | local oldBattleV = hero:getProperty("battleV") | 131 | local oldBattleV = hero:getProperty("battleV") |
132 | hero:updateProperty({field = "wakeL", delta = 1}) | 132 | hero:updateProperty({field = "wakeL", delta = 1}) |
133 | 133 | ||
134 | - role:checkTaskEnter("Wake", {heroType = typ, wakeL = curLevel}) | 134 | + role:checkTaskEnter("Wake", {heroType = typ, wakeL = curLevel + 1}) |
135 | if curLevel == 3 then -- 解锁cg | 135 | if curLevel == 3 then -- 解锁cg |
136 | role:checkTaskEnter("WakeCG", {heroType = typ}) | 136 | role:checkTaskEnter("WakeCG", {heroType = typ}) |
137 | end | 137 | end |