lzx 1 deň pred
rodič
commit
409d02d4dc

+ 5 - 4
Assets/Scripts/GameLogic/Player/PlayerManager.cs

@@ -116,9 +116,10 @@ public class PlayerManager : Singleton<PlayerManager>
         switch (guajibuff.paraValue)
         {
             case 1:
-                levelBl = daoyouguajiResourcLevel.para1;
-                bl = (int)(guajibuff.GivingRate * levelBl * daoyouLevelupConfig.guajiGrowup * 0.01f * 0.001f);
+                levelBl = daoyouguajiResourcLevel.para2;
+                bl = (int)(guajibuff.GivingRate * levelBl * daoyouLevelupConfig.guajiGrowup * 0.01f * 0.01f);
                 return bl;
+    
                 break;
             case 2:
                 levelBl = daoyouguajiResourcLevel.para2;
@@ -136,8 +137,8 @@ public class PlayerManager : Singleton<PlayerManager>
                 return bl;
                 break;
             case 5:
-                levelBl = daoyouguajiResourcLevel.para4;
-                bl = (int)(guajibuff.GivingRate * levelBl * daoyouLevelupConfig.guajiGrowup * 0.01f * 0.01f);
+                levelBl = daoyouguajiResourcLevel.para1;
+                bl = (int)(guajibuff.GivingRate * levelBl * daoyouLevelupConfig.guajiGrowup * 0.01f * 0.001f);
                 return bl;
                 break;
             default: