瀏覽代碼

修改道具添加bug

lzx 2 天之前
父節點
當前提交
260c618dfc
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();