We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
download should be "orig" quality card when the card type equals "BATTLEGROUND_TRINKET".
like this:
https://art.hearthstonejson.com/v1/orig/BG30_MagicItem_843t.png
the trinkets card information like this:
{ "artist": "Gabriel Lopes", "cardClass": "NEUTRAL", "cost": 2, "dbfId": 111448, "id": "BG30_MagicItem_847", ["mechanics"](https://api.hearthstonejson.com/v1/latest/enUS/cards.json): [ "TRIGGER_VISUAL" ], "name": "Goblin Wallet", "set": "BATTLEGROUNDS", "spellSchool": "LESSER_TRINKET", "text": "At the end of each turn, increase your maximum Gold by 1.", "type": "BATTLEGROUND_TRINKET" }
see more trinket cards from https://api.hearthstonejson.com/v1/latest/enUS/cards.json
in my plugin:
Database.GetCardFromDbfId(111448, false)
current assetsDownloader's link like this:
https://art.hearthstonejson.com/v1/256x/BG30_MagicItem_843t.png
The 256x quality for the trinkets cannot be found actually.
256x
Source code of HDT:
AssetDownloaders.cardImageDownloader = new AssetDownloader<Card, BitmapImage>(Path.Combine(Config.AppDataPath, "Images", "CardImages"), (Func<Card, string>) (card => "https://art.hearthstonejson.com/v1/" + (card.BaconCard ? "bgs" : "render") + "/latest/" + Helper.GetCardLanguage() + "/" + (Config.Instance.HighResolutionCardImages ? "512x" : "256x") + "/" + card.Id + (card.BaconTriple ? "_triple" : "") + ".png"), (Func<Card, string>) (card => card.Id + (card.BaconTriple ? "_triple" : "") + ".png"), new Func<byte[], BitmapImage>(Helper.BitmapImageFromBytes), new long?(200L), "pack://application:,,,/Resources/faceless_manipulator.png");
log:
2:19:38|Error|AssetDownloader.DownloadFileAsync >> Failed to download BG30_MagicItem_423.png: NotFound
var cardFromDbfId = Database.GetCardFromDbfId(cardDbfId, false); var CardImage = new CardImage(); Database.GetCardFromDbfId(111448, false); CardImage.SetCardIdFromCard(cardFromDbfId);
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
Expected Behavior
download should be "orig" quality card when the card type equals "BATTLEGROUND_TRINKET".
like this:
https://art.hearthstonejson.com/v1/orig/BG30_MagicItem_843t.png
the trinkets card information like this:
in my plugin:
Actual Behavior
current assetsDownloader's link like this:
https://art.hearthstonejson.com/v1/256x/BG30_MagicItem_843t.png
The
256x
quality for the trinkets cannot be found actually.Source code of HDT:
log:
Steps to reproduce behavior
Log/Screenshots
No response
The text was updated successfully, but these errors were encountered: