1、修复单个回合技能上限数值会在后端累加,当一场战斗结束此数值刚好达到上限时,下一场战斗毕定卡死的问题
dev_chengFeng
gaoxin 2020-11-23 10:08:36 +08:00
parent ddb5f1b299
commit 5e4f1a5165
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ function this.Init()
end
function this.CheckMaxCount()
-- 清除数量限制
this.CurSkillCount = 0
if not this.CurSkillCount then
this.CurSkillCount = 0
end