【战斗】==========被动344添加空判断

dev_chengFeng
wangzhenxing 2021-10-16 18:12:56 +08:00
parent 267598d53b
commit 23ed8a7a2b
1 changed files with 3 additions and 1 deletions

View File

@ -8169,7 +8169,9 @@ local passivityList = {
if not buff or buff.caster~=role or buff.type~=BuffName.Control then
return
end
buff.target:AddBuff(Buff.Create(role, BuffName.PropertyChange, round, BattlePropList[pro],v1, ct))
if buff.target then
buff.target:AddBuff(Buff.Create(role, BuffName.PropertyChange, round, BattlePropList[pro],v1, ct))
end
end
local OnSkillCast=function(skill)