Fix missing types on cards #86

Closed
opened 2023-04-30 16:26:56 +00:00 by LunarTides · 0 comments
LunarTides commented 2023-04-30 16:26:56 +00:00 (Migrated from github.com)

Some cards bps are missing type

  • Lunar Eclipse

Code that finds every card without a type:

let cards = game.functions.getCards(false);

cards.forEach(c => {
    if (c.name.includes("Test") || c.type) return;

    console.log(`${c.name}; doesn't have a type!`.red);
});

game.input();
Some cards `bp`s are missing `type` - [x] Lunar Eclipse Code that finds every card without a type: ```js let cards = game.functions.getCards(false); cards.forEach(c => { if (c.name.includes("Test") || c.type) return; console.log(`${c.name}; doesn't have a type!`.red); }); game.input(); ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
LunarTides/Hearthstone.js#86
No description provided.