[战斗]======仙音环绕修改

dev_chengFeng
wangzhenxing 2021-12-03 18:19:29 +08:00
parent b9763ad25e
commit 40e639098b
2 changed files with 7 additions and 3 deletions

View File

@ -10059,7 +10059,7 @@ local passivityList = {
return return
end end
local ishave=BattleLogic.BuffMgr:HasBuff(defRole,t1,function(buff) local ishave=BattleLogic.BuffMgr:HasBuff(defRole,t1,function(buff)
if t1==BuffName.SigilSign then if buff.Type==BuffName.SigilSign then
return true return true
end end
end) end)

View File

@ -9,8 +9,12 @@ end
local onRageChange=function(caster,target,func,type,value) local onRageChange=function(caster,target,func,type,value)
local buff=Buff.Create(caster,BuffName.Control,1,7) -- local buff=Buff.Create(caster,BuffName.Control,1,7)
target:AddBuff(buff) -- target:AddBuff(buff)
if type==CountTypeName.Sub and target.camp~=caster.camp then
BattleUtil.RandomControl(0.5,7,caster,target,1)
end
end end
local onSkillCast=function(skill) local onSkillCast=function(skill)