[战斗]======御甲叠加逻辑修改
parent
62f7222e1b
commit
ac0718f8b8
|
@ -1307,7 +1307,9 @@ function BattleUtil.AddBlood(target,value)
|
|||
if target.bloodShield then
|
||||
target.bloodShield:AddValue(value)
|
||||
else
|
||||
target:AddBuff(Buff.Create(target, BuffName.Blood,0,value))
|
||||
local buff=Buff.Create(target, BuffName.Blood,0,value)
|
||||
target:AddBuff(buff)
|
||||
target.bloodShield=buff
|
||||
end
|
||||
else
|
||||
target.Event:DispatchEvent(BattleEventName.ShowHintText, BattleArtFontType.Blood)
|
||||
|
|
Loading…
Reference in New Issue