【战斗】91 被动修改
parent
6c8a011528
commit
8a87f0a8a2
|
@ -1536,8 +1536,8 @@ local passivityList = {
|
||||||
[91] = function(role, args)
|
[91] = function(role, args)
|
||||||
local f1 = args[1]
|
local f1 = args[1]
|
||||||
local ct = args[2]
|
local ct = args[2]
|
||||||
local passivityDamaging = function(func, caster, damage)
|
local passivityDamaging = function(func, caster, damage,skill, dotType, bCrit)
|
||||||
if func then
|
if func and skill and (skill.type == BattleSkillType.Special or skill.type == BattleSkillType.Extra) then
|
||||||
local dd = BattleUtil.CountValue(damage, f1, ct) - damage
|
local dd = BattleUtil.CountValue(damage, f1, ct) - damage
|
||||||
func(-floor(BattleUtil.ErrorCorrection(dd)))
|
func(-floor(BattleUtil.ErrorCorrection(dd)))
|
||||||
end
|
end
|
||||||
|
@ -5399,7 +5399,6 @@ local passivityList = {
|
||||||
local onSkillEnd = function(skill)
|
local onSkillEnd = function(skill)
|
||||||
if skill and skill.owner==skiller then
|
if skill and skill.owner==skiller then
|
||||||
--if curBuff then
|
--if curBuff then
|
||||||
LogError("清除buff")
|
|
||||||
-- BattleLogic.BuffMgr:ClearBuff(role, function (buff)
|
-- BattleLogic.BuffMgr:ClearBuff(role, function (buff)
|
||||||
-- return buff==curBuff
|
-- return buff==curBuff
|
||||||
-- end)
|
-- end)
|
||||||
|
|
Loading…
Reference in New Issue