Commit f6a9215f8e8028af2bd2416be3ae803ddd5ee298
1 parent
53e8037e
觉醒 误删了 任务
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/actions/HeroAction.lua
@@ -89,6 +89,7 @@ function _M.wakeRpc(agent, data) | @@ -89,6 +89,7 @@ function _M.wakeRpc(agent, data) | ||
89 | hero:updateProperty({field = "wakeL", delta = 1}) | 89 | hero:updateProperty({field = "wakeL", delta = 1}) |
90 | 90 | ||
91 | local curLevel = hero:getProperty("wakeL") | 91 | local curLevel = hero:getProperty("wakeL") |
92 | + role:checkTaskEnter("Wake", {heroType = typ, wakeL = curLevel}) | ||
92 | if curLevel == 4 then -- 解锁cg | 93 | if curLevel == 4 then -- 解锁cg |
93 | role:checkTaskEnter("WakeCG", {heroType = typ}) | 94 | role:checkTaskEnter("WakeCG", {heroType = typ}) |
94 | end | 95 | end |