Browse Source

修改道具添加bug

lzx 2 ngày trước cách đây
mục cha
commit
260c618dfc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Assets/Scripts/GameLogic/Bag/BagController.cs

+ 1 - 1
Assets/Scripts/GameLogic/Bag/BagController.cs

@@ -229,7 +229,7 @@ namespace GameLogic.Bag
                     return true;
                 }
             }
-            else if (item.config.itemTag == 2)
+            else if (item.config.associateID == 13)
             {
                 PlayerManager.Instance.myHero.heroData.exp += count;
                 AccountFileInfo.Instance.SavePlayerData();