UIBattleDeploy: 属性显示BUG

This commit is contained in:
fatiao 2025-04-20 10:46:50 +08:00
parent 0a4576d8fa
commit 43231f3952

View File

@ -62,7 +62,7 @@ function UIBattleDeployCtr:SendAttrChange(heroId)
end
local isNotAddAttr = true
for k, v in pairs(lastBaseAttrs) do
if k >= Enum.HeroAttrType.Life and k <= Enum.HeroAttrType.CastAcceleration and CommonUtil.ToNumber(v) > 1 then
if k >= Enum.HeroAttrType.STR and k <= Enum.HeroAttrType.LUK and CommonUtil.ToNumber(v) > 1 then
isNotAddAttr = false
end
end