Grasscutter icon indicating copy to clipboard operation
Grasscutter copied to clipboard

[Bug] Wish primogems convert

Open ultard opened this issue 1 year ago • 3 comments

Did you look for other closed issues that have the same problem?

yes

Describe the bug

Modal covert menu dont show up when i try to get wishes. Console nothing shows

Which branch did you use?

Grasscutter version: 1.7.3 Git Hash: 564b60902

Screenshots

https://github.com/Grasscutters/Grasscutter/assets/63789651/f4403a14-80c0-4c63-a26a-35b41264e861

Additional context

ultard avatar Dec 02 '23 12:12 ultard

Do you have the fates defined in your Shop.json?

ShadowfeindX avatar Dec 02 '23 15:12 ShadowfeindX

Do you have the fates defined in your Shop.json?

I don't know, I have default values.

image

ultard avatar Dec 02 '23 15:12 ultard

You should add this to your shop.json if you want to buy fates with primogems as normal

{
    "shopId": 1001,
    "items": [
        {
          "goodsId": 102001,
          "goodsItem": {
            "id": 223,
            "count": 1
          },
          "costItemList": [],
          "minLevel": 4,
          "maxLevel": 99,
          "hcoin": 160,
          "secondarySheetId": 1,
          "refreshType": "SHOP_REFRESH_MONTHLY",
          "shopRefreshParam": 1
        },
        {
          "goodsId": 102002,
          "goodsItem": {
            "id": 224,
            "count": 1
          },
          "costItemList": [],
          "minLevel": 4,
          "maxLevel": 99,
          "hcoin": 160,
          "secondarySheetId": 1,
          "refreshType": "SHOP_REFRESH_MONTHLY",
          "shopRefreshParam": 1
        }
    ]
}

If you want a more fully featured shop experience for most of the in-game shops, I would recommend replacing the contents of your Shop.json with the ShopGoodsExcelConfigData.json from the grasscutter resources folder. You can see more about that in this issue here -> #2383

ShadowfeindX avatar Dec 02 '23 17:12 ShadowfeindX