diff --git a/src/actions/HeroAction.lua b/src/actions/HeroAction.lua index 0af8cd1..033c25a 100644 --- a/src/actions/HeroAction.lua +++ b/src/actions/HeroAction.lua @@ -153,7 +153,8 @@ function _M.wakeRpc(agent, data) end if curLevel >= 4 then --自动觉醒技能 - hero:increGeniusTree() + local new = hero:increGeniusTree() + hero:updateProperty({field = "genius", value = new}) end hero:mylog({desc = "wake", int1 = hero:getProperty("wakeL")}) -- libgit2 0.21.2