From b9bd5cb6189a894a670c0307680eed7f5cc6e4ea Mon Sep 17 00:00:00 2001 From: zhouahaihai Date: Fri, 30 Nov 2018 14:52:16 +0800 Subject: [PATCH] 天赋阶段 bug --- src/actions/HeroAction.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/HeroAction.lua b/src/actions/HeroAction.lua index 23389ba..7cc2829 100644 --- a/src/actions/HeroAction.lua +++ b/src/actions/HeroAction.lua @@ -118,7 +118,7 @@ function _M.talentRpc(agent, data) end end if max then - talent = talent:incrv(0, 1) + talent = talent:setv(0, curStage + 1) for i = 1, 4 do talent = talent:setv(i, 0) end -- libgit2 0.21.2