【战斗】修复技能单回合限制会导致战斗卡死的问题

gaoxin 2020-11-24 19:18:59 +08:00
parent e3429b5547
commit d8be2456ea
2 changed files with 1 additions and 1 deletions

View File

@ -1478,7 +1478,6 @@ local passivityList = {
[78] = function(role, args)
local pro = args[1]
local f1 = args[2]
LogBattle("开始治疗")
--这里加一个延时,防止执行时显示层还没有初始化,从而没有表现
BattleLogic.WaitForTrigger(0.05, function()
local val = floor(BattleUtil.FP_Mul(f1, role:GetRoleData(BattlePropList[pro])))

View File

@ -13,6 +13,7 @@ this.IsSkilling = false
this.MaxSkillCount = 20 -- 单个回合内最多释放20次技能
-- 初始化
function this.Init()
this.CurSkillCount = 0
this.Clear()
end