[战斗]======御甲叠加逻辑修改

dev_chengFeng
wangzhenxing 2022-01-07 14:19:24 +08:00
parent 62f7222e1b
commit ac0718f8b8
1 changed files with 3 additions and 1 deletions

View File

@ -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)