Bladeren bron

修改bug

lzx 5 dagen geleden
bovenliggende
commit
7e830b8a0a
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      Assets/Scripts/GameLogic/Hero/FaBaoInfo.cs

+ 1 - 1
Assets/Scripts/GameLogic/Hero/FaBaoInfo.cs

@@ -64,7 +64,7 @@ namespace GameLogic.Hero
             //计算加得属性
             for (var i = 0; i < FabaoConfig.ShuxingIDs?.Length; i++)
             {
-                long attribute = GetAttriBute(FabaoConfig.ShuxingIDs[i]);
+                float attribute = GetAttriBute(FabaoConfig.ShuxingIDs[i]);
                 long value = (long)(attribute * FabaoConfig.ShuxingPara[0] * 0.01f);
                 attriButedIC.Add(FabaoConfig.ShuxingIDs[i], value);
             }