[战斗]===========被动371 368修改
parent
4cb826b9e5
commit
51dfdede03
|
|
@ -8830,7 +8830,7 @@ local passivityList = {
|
||||||
|
|
||||||
local onRoleTreat=function(target,realTreat,treat)
|
local onRoleTreat=function(target,realTreat,treat)
|
||||||
local hp=treat- realTreat
|
local hp=treat- realTreat
|
||||||
if hp>0 and realTreat>0 then
|
if hp>0 then
|
||||||
addHp=addHp+hp*count
|
addHp=addHp+hp*count
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
@ -8946,7 +8946,7 @@ local passivityList = {
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if skill.type~= BattleSkillType.Special or skill.type~= BattleSkillType.Extra then
|
if skill.type~= BattleSkillType.Special and skill.type~= BattleSkillType.Extra then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
local arr=skill:GetDirectTargetsNoExile()
|
local arr=skill:GetDirectTargetsNoExile()
|
||||||
|
|
|
||||||
|
|
@ -106,6 +106,14 @@ function BuffCtrl:AddBuffEffect(buffName, isTrigger, offset)
|
||||||
local sortingOrder
|
local sortingOrder
|
||||||
if self.owner.camp == 0 then
|
if self.owner.camp == 0 then
|
||||||
sortingOrder = self.owner.GameObject:GetComponent("Canvas").sortingOrder
|
sortingOrder = self.owner.GameObject:GetComponent("Canvas").sortingOrder
|
||||||
|
--混乱特效因为贴图不显示特殊处理
|
||||||
|
if buffName=="TongYong_Effect_buff_hunluan_1" then
|
||||||
|
sortingOrder=sortingOrder+1
|
||||||
|
end
|
||||||
|
end
|
||||||
|
--混乱特效因为贴图不显示特殊处理
|
||||||
|
if sortingOrder==nil and buffName=="TongYong_Effect_buff_hunluan_1" then
|
||||||
|
sortingOrder=BattleManager.GetBattleSorting()+1
|
||||||
end
|
end
|
||||||
local node = BattleManager.LoadAsset(buffName, sortingOrder)
|
local node = BattleManager.LoadAsset(buffName, sortingOrder)
|
||||||
-- node.transform:SetParent(self.RootPanel.transform)
|
-- node.transform:SetParent(self.RootPanel.transform)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue