Skip to content
New issue

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

Minion cards currently categorized as Player Cards #216

Open
Haze01Smash opened this issue Nov 22, 2023 · 2 comments
Open

Minion cards currently categorized as Player Cards #216

Haze01Smash opened this issue Nov 22, 2023 · 2 comments

Comments

@Haze01Smash
Copy link

Haze01Smash commented Nov 22, 2023

A search for t:minion and decks=player currently has 8 results.

@mmougy
Copy link

mmougy commented Mar 18, 2024

It seems all "campaign" card are referenced as player cards:

image

image

@mmougy
Copy link

mmougy commented Nov 26, 2024

In marvelsdb-json-data, by design, a card can have the property :
"faction_code": "campaign" or "faction_code": "encounter"
but not both.

so the following code means campaign cards are considered as player cards

if ($decks == "encounter"){
$include_encounter = "encounter";
}
if ($decks == "player"){
$include_encounter = false;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants