parent
5e4f1a5165
commit
34ae0ed497
|
@ -1479,7 +1479,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])))
|
||||
|
@ -5042,7 +5041,7 @@ local passivityList = {
|
|||
role.Event:AddEvent(BattleEventName.RoleHit, onHit)
|
||||
end,
|
||||
|
||||
-- 击杀目标后对敌方血量百分比最低两<EFBFBD><EFBFBD><EFBFBD>角色造成[a]%[b]伤害 重写170 一次技能只触发一次被动
|
||||
-- 击杀目标后对敌方血量百分比最低两名角色造成[a]%[b]伤害 重写170 一次技能只触发一次被动
|
||||
-- a[float]b[伤害类型]
|
||||
[253] = function(role, args)
|
||||
local f1 = args[1]
|
||||
|
@ -5427,7 +5426,6 @@ local passivityList = {
|
|||
local sta3=args[3]
|
||||
local skiller=nil
|
||||
local immune = function(buff)
|
||||
LogError(buff.damageType)
|
||||
return buff.type == BuffName.DOT and (buff.damageType==sta2 or buff.damageType==sta3)
|
||||
end
|
||||
local curBuff=nil
|
||||
|
|
|
@ -13,12 +13,11 @@ this.IsSkilling = false
|
|||
this.MaxSkillCount = 20 -- 单个回合内最多释放20次技能
|
||||
-- 初始化
|
||||
function this.Init()
|
||||
this.CurSkillCount = 0
|
||||
this.Clear()
|
||||
end
|
||||
|
||||
function this.CheckMaxCount()
|
||||
-- 清除数量限制
|
||||
this.CurSkillCount = 0
|
||||
if not this.CurSkillCount then
|
||||
this.CurSkillCount = 0
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue