Has anyone started to address the challenge of specifying card versions?
Submitted 3 years, 9 months ago by
meisterz39
Now that a card reference in Hearthstone could reference a Core Set version or non-Core Set version (e.g. Drain Soul in KotFT deals 2 damage, while it deals 3 damage in the Gryphon Core Set, Sprint has different costs between Gryphon Core Set and Basic), the site will need to support specifying a version of the card when linking to the card in forums, decks, etc.
Leave a Comment
You must be signed in to leave a comment. Sign in here.
Now that a card reference in Hearthstone could reference a Core Set version or non-Core Set version (e.g. Drain Soul in KotFT deals 2 damage, while it deals 3 damage in the Gryphon Core Set, Sprint has different costs between Gryphon Core Set and Basic), the site will need to support specifying a version of the card when linking to the card in forums, decks, etc.
The trick that always works is using card IDs instead of names, but that does require searching for the said IDs beforehand e.g. 2704 for old Drain Soul (which will be buffed to be the same than the core card) and 11445 for the new Drain Soul.
Additionally, when using [card]-tags, you can add set="Core 2021" within the first parentheses to get the core version by using the card name, e.g. [card set="Core 2021"]Drain Soul[/card] without the bolding should give you Drain Soul.
We haven't got the new Classic-format cards in db yet but I'd imagine we'll have a similar solution for them too. Up to Flux if he wants to add new buttons for the text editor for either/both.
Yeah, this is a fun problem to figure out a good solution for. The editor is already packed full of nonsense!
We are likely to put in place a logic change so that the bbcode will prefer the core set over others so we ensure we have the correct card icons showing up. that will make it much easier for people to easily use bbcode with simple card names; That's a start.
Founder, Out of Games
Follow me on Twitch and Twitter.
If you are planning on playing WoW on US realms, consider using my recruit link =)
That's really cool - I had no idea that "set" attribute existed. Thanks for the help!