From 3c70f643f29771cacd10e7f0daf239dac348c969 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 21:43:59 -0500 Subject: [PATCH 1/6] [duel-cards] Card profiles: classify, derive, effects, rules text from real data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit shared/duel/classify.ts: Q-id anchors -> P31 label regex (^human$) -> P279 -> categories -> description -> Doctrine. shared/duel/derive.ts: pure derive(chain, profile) -> DuelCard: fame cost 1-6, P+T budget per cost, DUEL_DESIGN §4 keywords (<=2, Figures only, taxed), Portals, Connected keys and tiers, flavour. shared/duel/effects.ts + text.ts: T1-T12 templates as EffectSpec data, MTG-register rules text. shared/duel/sample.ts + docs/game/duel-card-sample.json: 236-card DuelCard fixture. Co-Authored-By: Claude Opus 5.5 --- docs/game/duel-card-sample.json | 10419 ++++++++++++++++++++++++++++++ scripts/duel-card-sample.ts | 32 + shared/duel/classify.ts | 125 + shared/duel/derive.ts | 317 + shared/duel/effects.ts | 109 + shared/duel/sample.ts | 38 + shared/duel/text.ts | 135 + tests/duel-cards-derive.test.ts | 205 + 8 files changed, 11380 insertions(+) create mode 100644 docs/game/duel-card-sample.json create mode 100644 scripts/duel-card-sample.ts create mode 100644 shared/duel/classify.ts create mode 100644 shared/duel/derive.ts create mode 100644 shared/duel/effects.ts create mode 100644 shared/duel/sample.ts create mode 100644 shared/duel/text.ts create mode 100644 tests/duel-cards-derive.test.ts diff --git a/docs/game/duel-card-sample.json b/docs/game/duel-card-sample.json new file mode 100644 index 0000000..480513b --- /dev/null +++ b/docs/game/duel-card-sample.json @@ -0,0 +1,10419 @@ +{ + "source": "docs/game/card-sample.json", + "deriveVersion": "duel-derive-1", + "count": 236, + "cards": [ + { + "cardId": "0000000000000000000000000000000000000000000000000000000000851c64", + "pageId": 8723556, + "revisionId": 1358732737, + "title": "Salahuddin of Aceh", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 4, + "power": 4, + "toughness": 3, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "Sultan of Aceh (1530–1537/9)", + "connect": { + "countries": [ + "Indonesia" + ], + "centuries": [ + 16 + ], + "links": [], + "p31": [], + "qid": "Q4264920", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 62, + "pctDepth": 48, + "pctReach": 63, + "fame": 58, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000a4cc4d", + "pageId": 10800205, + "revisionId": 1376918522, + "title": "St. Georgen am Längsee", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Municipality in Carinthia, Austria", + "connect": { + "countries": [ + "Austria" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1802801", + "Q667509" + ], + "qid": "Q664135", + "cites": [] + }, + "rarity": "Legendary", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 35, + "pctDepth": 43, + "pctReach": 93, + "fame": 57, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001849df5", + "pageId": 25468405, + "revisionId": 1378546622, + "title": "Maracás", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Municipality of Bahia, Brazil", + "connect": { + "countries": [ + "Brazil" + ], + "centuries": [], + "links": [], + "p31": [ + "Q3184121" + ], + "qid": "Q1795100", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 42, + "pctDepth": 43, + "pctReach": 91, + "fame": 59, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000018a8b89", + "pageId": 25856905, + "revisionId": 1367363150, + "title": "Dichromorpha viridis", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 3, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of grasshopper", + "connect": { + "countries": [], + "centuries": [ + 19 + ], + "links": [], + "p31": [], + "qid": "Q5272562", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 58, + "pctDepth": 3, + "pctReach": 53, + "fame": 38, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002309e43", + "pageId": 36740675, + "revisionId": 1372732350, + "title": "The Best of Men", + "type": "Institution", + "subtype": "work", + "portal": "Arts", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1 + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + } + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "2012 British television film", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q506240" + ], + "qid": "Q7717125", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 80, + "pctDepth": 48, + "pctReach": 53, + "fame": 60, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000279b34c", + "pageId": 41530188, + "revisionId": 1383948367, + "title": "Hervé Fischer", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 2, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "", + "connect": { + "countries": [ + "France" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q3134490", + "cites": [] + }, + "rarity": "Legendary", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 35, + "pctDepth": 68, + "pctReach": 63, + "fame": 55, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000027beec0", + "pageId": 41676480, + "revisionId": 1187069209, + "title": "Mary Sophie Young", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 2, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "American botanist (c.1872–1919)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q16043849", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 11, + "pctDepth": 38, + "pctReach": 47, + "fame": 32, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000039663ae", + "pageId": 60187566, + "revisionId": 1353977816, + "title": "Oncopagurus", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 5, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Genus of crustaceans", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q4471563", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 11, + "pctReach": 63, + "fame": 39, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000404da56", + "pageId": 67426902, + "revisionId": 1355258366, + "title": "April 2021 nor'easter", + "type": "Event", + "subtype": "disaster", + "portal": "Earth", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "damageEach", + "target": "each", + "amount": 1 + } + ], + "rulesText": "Deal 1 damage to each Figure and each Location.", + "flavor": "Slow-moving nor'easter in April 2021", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q2001587" + ], + "qid": "Q106542029", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 52, + "pctDepth": 89, + "pctReach": 8, + "fame": 50, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000007f1bfc", + "pageId": 8330236, + "revisionId": 1383654640, + "title": "Hiroshima Electric Railway", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 2 + } + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Japanese transportation company", + "connect": { + "countries": [ + "Japan" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q85907346" + ], + "qid": "Q16595959", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 86, + "pctDepth": 64, + "pctReach": 82, + "fame": 77, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000f14093", + "pageId": 15810707, + "revisionId": 1381828954, + "title": "Charmont-en-Beauce", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Commune in Centre-Val de Loire, France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q484170" + ], + "qid": "Q667131", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 17, + "pctDepth": 7, + "pctReach": 94, + "fame": 39, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000f2623f", + "pageId": 15884863, + "revisionId": 1358001871, + "title": "Freshwater River", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "River on Stewart Island / Rakiura, New Zealand", + "connect": { + "countries": [ + "New Zealand" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4022" + ], + "qid": "Q5503122", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 24, + "pctDepth": 33, + "pctReach": 58, + "fame": 38, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000011e7dea", + "pageId": 18775530, + "revisionId": 1378518207, + "title": "Złaków Kościelny", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Village in Łódź Voivodeship, Poland", + "connect": { + "countries": [ + "Poland" + ], + "centuries": [], + "links": [], + "p31": [ + "Q3558970" + ], + "qid": "Q321622", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 4, + "pctDepth": 2, + "pctReach": 67, + "fame": 24, + "magnitude": 1 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000175fc6f", + "pageId": 24509551, + "revisionId": 1367096869, + "title": "Village (Pennsylvania)", + "type": "Location", + "subtype": null, + "portal": "Society", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q16936588", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 38, + "pctDepth": 33, + "pctReach": 8, + "fame": 26, + "magnitude": 1 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000180a290", + "pageId": 25207440, + "revisionId": 1376759357, + "title": "Sainte-Félicité, Chaudière-Appalaches", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Municipality in Quebec, Canada", + "connect": { + "countries": [ + "Canada" + ], + "centuries": [], + "links": [], + "p31": [ + "Q27676428" + ], + "qid": "Q3464275", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 11, + "pctDepth": 38, + "pctReach": 67, + "fame": 39, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001c845f2", + "pageId": 29902322, + "revisionId": 1325745411, + "title": "Llanveynoe", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Village in Herefordshire, England", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1115575", + "Q532" + ], + "qid": "Q6661845", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 31, + "pctDepth": 33, + "pctReach": 67, + "fame": 44, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003f6d6d1", + "pageId": 66508497, + "revisionId": 1323515500, + "title": "Amanita mairei", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 3, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of fungus", + "connect": { + "countries": [], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q15651951", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 0, + "pctReach": 71, + "fame": 38, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004cd4092", + "pageId": 80560274, + "revisionId": 1351705367, + "title": "1912 Argentine Primera División final", + "type": "Event", + "subtype": "sport", + "portal": "Society", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "pump", + "target": "ownFigure", + "power": 1, + "toughness": 0, + "duration": "turn" + }, + { + "trigger": "onPlay", + "op": "fight", + "target": "opponentFigure" + } + ], + "rulesText": "Target Figure you control gets +1/+0 until end of turn, then it fights target Figure you don't control.", + "flavor": "Football match", + "connect": { + "countries": [ + "Argentina" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q12166442", + "Q1366722" + ], + "qid": "Q135493693", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 14, + "pctDepth": 73, + "pctReach": 8, + "fame": 32, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000071fcb", + "pageId": 466891, + "revisionId": 1386046344, + "title": "City of Wyndham", + "type": "Location", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Local government area in Victoria, Australia", + "connect": { + "countries": [ + "Australia" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q1426035" + ], + "qid": "Q1502429", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 86, + "pctDepth": 77, + "pctReach": 74, + "fame": 79, + "magnitude": 3 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000025711c", + "pageId": 2453788, + "revisionId": 1374732887, + "title": "Heart rot", + "type": "Doctrine", + "subtype": "pathology", + "portal": "Science", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "figure", + "power": -3, + "toughness": -3, + "duration": "permanent" + } + ], + "rulesText": "Attach to target Figure. It gets −3/−3.", + "flavor": "Fungal disease of trees", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q2662845" + ], + "qid": "Q5692479", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 83, + "pctDepth": 68, + "pctReach": 53, + "fame": 68, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000002ad3e8", + "pageId": 2806760, + "revisionId": 1385958400, + "title": "Jess Harnell", + "type": "Figure", + "subtype": null, + "portal": "Arts", + "cost": 6, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected", + "Featured" + ], + "effects": [], + "rulesText": "Protected, Featured.", + "flavor": "American voice actor and singer (born 1963)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q258503", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 99, + "pctDepth": 96, + "pctReach": 89, + "fame": 95, + "magnitude": 3 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000089b9d0", + "pageId": 9026000, + "revisionId": 1351068420, + "title": "Names of Poland", + "type": "Doctrine", + "subtype": "language", + "portal": "Neutral", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 3, + "toughness": 3, + "duration": "permanent" + }, + { + "trigger": "onCombatDamageToPlayer", + "op": "draw", + "target": "attached", + "amount": 1 + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3.\nWhenever it deals combat damage to a player, draw a card.", + "flavor": "", + "connect": { + "countries": [ + "Poland" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q6961536", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 89, + "pctDepth": 83, + "pctReach": 53, + "fame": 75, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000f09c8c", + "pageId": 15768716, + "revisionId": 1382030873, + "title": "Ungersheim", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Commune in Grand Est, France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q484170" + ], + "qid": "Q122940", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 42, + "pctDepth": 28, + "pctReach": 96, + "fame": 55, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000246d152", + "pageId": 38195538, + "revisionId": 1354427246, + "title": "Joe Gideon & the Shark", + "type": "Institution", + "subtype": "organisation", + "portal": "Arts", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + } + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "English blues/indie rock band", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [], + "links": [], + "p31": [ + "Q215380" + ], + "qid": "Q3012108", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 52, + "pctDepth": 17, + "pctReach": 23, + "fame": 31, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000025ed7ee", + "pageId": 39770094, + "revisionId": 1376919282, + "title": "2013–14 California Golden Bears men's basketball team", + "type": "Event", + "subtype": "sport", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "pump", + "target": "ownFigure", + "power": 2, + "toughness": 0, + "duration": "turn" + }, + { + "trigger": "onPlay", + "op": "fight", + "target": "opponentFigure" + } + ], + "rulesText": "Target Figure you control gets +2/+0 until end of turn, then it fights target Figure you don't control.", + "flavor": "American college basketball season", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q26894053" + ], + "qid": "Q16245089", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 24, + "pctDepth": 92, + "pctReach": 8, + "fame": 41, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002f85b42", + "pageId": 49830722, + "revisionId": 1116073630, + "title": "Dicroidium odontopteroides", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub", + "Local" + ], + "effects": [], + "rulesText": "Stub, Local.", + "flavor": "Species of ancient plant", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q25095289", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 11, + "pctReach": 8, + "fame": 20, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000031e1299", + "pageId": 52302489, + "revisionId": 1380325251, + "title": "Pathrail Mosque", + "type": "Location", + "subtype": null, + "portal": "Society", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Mosque in Faridpur, Bangladesh", + "connect": { + "countries": [ + "Bangladesh" + ], + "centuries": [ + 15 + ], + "links": [], + "p31": [ + "Q32815" + ], + "qid": "Q28173356", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 47, + "pctDepth": 54, + "pctReach": 47, + "fame": 49, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000001e346c", + "pageId": 1979500, + "revisionId": 1382599906, + "title": "Zbyszek Godlewski", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 5, + "power": 6, + "toughness": 3, + "territory": 0, + "keywords": [ + "Legacy", + "Translated" + ], + "effects": [], + "rulesText": "Legacy, Translated.", + "flavor": "Polish protester (1952–1970)", + "connect": { + "countries": [ + "Poland" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q3497070", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 77, + "pctDepth": 48, + "pctReach": 78, + "fame": 68, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000438c15", + "pageId": 4426773, + "revisionId": 1384528612, + "title": "Agda (programming language)", + "type": "Doctrine", + "subtype": "language", + "portal": "Science", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 3, + "toughness": 3, + "duration": "permanent" + }, + { + "trigger": "onCombatDamageToPlayer", + "op": "draw", + "target": "attached", + "amount": 1 + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3.\nWhenever it deals combat damage to a player, draw a card.", + "flavor": "Functional programming language", + "connect": { + "countries": [], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q11387554", + "Q28920201", + "Q341", + "Q3839507", + "Q56223375", + "Q9143" + ], + "qid": "Q20479", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 91, + "pctDepth": 77, + "pctReach": 78, + "fame": 82, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000475385", + "pageId": 4674437, + "revisionId": 1384106265, + "title": "Topusko", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Commune in Sisak-Moslavina County, Croatia", + "connect": { + "countries": [ + "Croatia" + ], + "centuries": [], + "links": [], + "p31": [ + "Q57058" + ], + "qid": "Q2457438", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 74, + "pctDepth": 77, + "pctReach": 90, + "fame": 80, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000004dc3c7", + "pageId": 5096391, + "revisionId": 1376332037, + "title": "Isabella of Aragon, Queen of Portugal", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 6, + "power": 6, + "toughness": 4, + "territory": 0, + "keywords": [ + "Featured", + "Legacy" + ], + "effects": [], + "rulesText": "Featured, Legacy.", + "flavor": "Queen of Portugal from 1497 to 1498", + "connect": { + "countries": [ + "France", + "Italy", + "Portugal", + "Spain", + "United Kingdom" + ], + "centuries": [ + 15 + ], + "links": [], + "p31": [], + "qid": "Q466305", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 97, + "pctDepth": 77, + "pctReach": 97, + "fame": 90, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000f2d966", + "pageId": 15915366, + "revisionId": 1381946137, + "title": "Montjavoult", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Commune in Hauts-de-France, France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q484170" + ], + "qid": "Q1336846", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 3, + "pctDepth": 4, + "pctReach": 95, + "fame": 34, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000f39622", + "pageId": 15963682, + "revisionId": 1384826851, + "title": "Viktor Genev", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 5, + "power": 4, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected", + "Translated" + ], + "effects": [], + "rulesText": "Protected, Translated.", + "flavor": "Bulgarian footballer", + "connect": { + "countries": [ + "Bulgaria", + "Israel", + "Kazakhstan", + "Romania", + "Russia", + "Ukraine", + "United Kingdom" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q2604995", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 52, + "pctDepth": 77, + "pctReach": 81, + "fame": 70, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001aba163", + "pageId": 28025187, + "revisionId": 1377386321, + "title": "Pühajõe", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Village in Estonia", + "connect": { + "countries": [ + "Estonia" + ], + "centuries": [], + "links": [], + "p31": [ + "Q51049922" + ], + "qid": "Q179358", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 11, + "pctDepth": 11, + "pctReach": 78, + "fame": 33, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002ed73e4", + "pageId": 49116132, + "revisionId": 1376271314, + "title": "Kalihati", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Town in Dhaka Division, Bangladesh", + "connect": { + "countries": [ + "Bangladesh" + ], + "centuries": [], + "links": [], + "p31": [ + "Q23759397", + "Q3957" + ], + "qid": "Q22348003", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 27, + "pctDepth": 38, + "pctReach": 47, + "fame": 37, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002f27561", + "pageId": 49444193, + "revisionId": 1371976132, + "title": "Miloje Vasić", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 5, + "power": 4, + "toughness": 5, + "territory": 0, + "keywords": [ + "Legacy", + "Translated" + ], + "effects": [], + "rulesText": "Legacy, Translated.", + "flavor": "Serbian archaeologist (1869–1956)", + "connect": { + "countries": [ + "Serbia" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q3314419", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 58, + "pctDepth": 89, + "pctReach": 78, + "fame": 75, + "magnitude": 3 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000001adbf", + "pageId": 110015, + "revisionId": 1377786275, + "title": "Haralson, Georgia", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Town in Georgia, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [ + "Q15127012", + "Q76514543" + ], + "qid": "Q2520618", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 62, + "pctDepth": 64, + "pctReach": 91, + "fame": 72, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000ab844d", + "pageId": 11240525, + "revisionId": 1382620781, + "title": "Joseph Ujlaki", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 5, + "toughness": 2, + "territory": 0, + "keywords": [ + "Legacy", + "Translated" + ], + "effects": [], + "rulesText": "Legacy, Translated.", + "flavor": "French-Hungarian footballer (1929-2006)", + "connect": { + "countries": [ + "France", + "Hungary" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q905343", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 64, + "pctDepth": 28, + "pctReach": 82, + "fame": 58, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000162de74", + "pageId": 23256692, + "revisionId": 1176682009, + "title": "Coelogyne trinervis", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 3, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of orchid", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q188238" + ], + "qid": "Q1601035", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 17, + "pctDepth": 4, + "pctReach": 67, + "fame": 29, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001d74bfb", + "pageId": 30886907, + "revisionId": 1367824379, + "title": "Pine River (Manistee River tributary)", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "River in Michigan, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4022" + ], + "qid": "Q7195337", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 54, + "pctDepth": 38, + "pctReach": 23, + "fame": 38, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003b4f3b0", + "pageId": 62190512, + "revisionId": 1377313379, + "title": "Nguyễn Văn Huy", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 3, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected", + "Stub" + ], + "effects": [], + "rulesText": "Protected, Stub.", + "flavor": "Vietnamese chess grandmaster (born 1985)", + "connect": { + "countries": [ + "Vietnam" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q20026028", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 47, + "pctDepth": 28, + "pctReach": 47, + "fame": 41, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003d6c241", + "pageId": 64406081, + "revisionId": 1280859035, + "title": "San Wai (San Tin)", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q532" + ], + "qid": "Q96739151", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 21, + "pctDepth": 48, + "pctReach": 23, + "fame": 31, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003e433c1", + "pageId": 65287105, + "revisionId": 1376673468, + "title": "Kishore Tirumala", + "type": "Figure", + "subtype": null, + "portal": "Arts", + "cost": 4, + "power": 4, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected", + "Featured" + ], + "effects": [], + "rulesText": "Protected, Featured.", + "flavor": "Indian film director", + "connect": { + "countries": [ + "India" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q93762585", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 91, + "pctDepth": 54, + "pctReach": 36, + "fame": 60, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004d8a703", + "pageId": 81307395, + "revisionId": 1378554406, + "title": "2025 Tehreek-e-Labbaik Pakistan protests", + "type": "Event", + "subtype": "conflict", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "damage", + "target": "figureOrLocation", + "amount": 4 + } + ], + "rulesText": "Deal 4 damage to target Figure or Location.", + "flavor": "Gaza war protests in Pakistan", + "connect": { + "countries": [ + "Israel", + "Pakistan" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q273120" + ], + "qid": "Q136649814", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 82, + "pctDepth": 86, + "pctReach": 23, + "fame": 64, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000000dc52e", + "pageId": 902446, + "revisionId": 1378970556, + "title": "Guidimaka region", + "type": "Location", + "subtype": null, + "portal": "Neutral", + "cost": 3, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Region of Mauritania", + "connect": { + "countries": [ + "Mauritania" + ], + "centuries": [], + "links": [], + "p31": [ + "Q846327" + ], + "qid": "Q768119", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 58, + "pctDepth": 77, + "pctReach": 94, + "fame": 76, + "magnitude": 3 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000014fa5c", + "pageId": 1374812, + "revisionId": 1381663979, + "title": "Tom Ewell", + "type": "Figure", + "subtype": null, + "portal": "Arts", + "cost": 6, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Featured", + "Legacy" + ], + "effects": [], + "rulesText": "Featured, Legacy.", + "flavor": "American actor (1909–1994)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q427388", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 94, + "pctDepth": 83, + "pctReach": 93, + "fame": 90, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000ea6920", + "pageId": 15362336, + "revisionId": 1351181171, + "title": "1954 Gold Coast general election", + "type": "Event", + "subtype": "election", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "createToken", + "amount": 2, + "token": { + "name": "Elected Member", + "power": 1, + "toughness": 1, + "portal": "Society" + } + } + ], + "rulesText": "Create two 1/1 Society Figure tokens named Elected Member.", + "flavor": "", + "connect": { + "countries": [ + "Ghana", + "United Kingdom" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q2618461" + ], + "qid": "Q2539674", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 66, + "pctDepth": 33, + "pctReach": 36, + "fame": 45, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000162a8e7", + "pageId": 23242983, + "revisionId": 1351414373, + "title": "Larry Weber", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 3, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "American entrepreneur", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q6491266", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 66, + "pctDepth": 73, + "pctReach": 36, + "fame": 58, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002f59319", + "pageId": 49648409, + "revisionId": 1344963259, + "title": "Ulla! min Ulla! Säj får jag dig bjuda", + "type": "Institution", + "subtype": "work", + "portal": "Arts", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1 + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + } + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "Song by the 18th century Swedish bard Carl Michael Bellman", + "connect": { + "countries": [ + "Sweden" + ], + "centuries": [ + 18 + ], + "links": [], + "p31": [ + "Q105543609" + ], + "qid": "Q19528685", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 27, + "pctDepth": 83, + "pctReach": 23, + "fame": 44, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000506ce99", + "pageId": 84332185, + "revisionId": 1378056768, + "title": "Oscar González Oro", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 3, + "power": 4, + "toughness": 1, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "Argentine journalist and radio host (1951–2026)", + "connect": { + "countries": [ + "Argentina" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q6053873", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 66, + "pctDepth": 28, + "pctReach": 23, + "fame": 39, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000246570", + "pageId": 2385264, + "revisionId": 1334637363, + "title": "Ofanto", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "River in Italy", + "connect": { + "countries": [ + "Italy" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4022" + ], + "qid": "Q841550", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 69, + "pctDepth": 43, + "pctReach": 91, + "fame": 68, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000751b4c", + "pageId": 7674700, + "revisionId": 1384061257, + "title": "Shipley Plateau", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Place in the Blue Mountains, Australia", + "connect": { + "countries": [ + "Australia", + "United Kingdom" + ], + "centuries": [], + "links": [], + "p31": [ + "Q75520" + ], + "qid": "Q7498025", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 17, + "pctDepth": 7, + "pctReach": 23, + "fame": 16, + "magnitude": 1 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000140afac", + "pageId": 21016492, + "revisionId": 1363646521, + "title": "Xiancantan", + "type": "Location", + "subtype": null, + "portal": "Science", + "cost": 2, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "", + "connect": { + "countries": [ + "China" + ], + "centuries": [ + 18 + ], + "links": [], + "p31": [ + "Q41176" + ], + "qid": "Q434483", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 50, + "pctDepth": 7, + "pctReach": 67, + "fame": 41, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003165b05", + "pageId": 51796741, + "revisionId": 1356084913, + "title": "Alex Piquero", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 3, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected", + "Stub" + ], + "effects": [], + "rulesText": "Protected, Stub.", + "flavor": "Cuban-American criminologist (born 1970)", + "connect": { + "countries": [ + "Cuba", + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q27058048", + "cites": [] + }, + "rarity": "Legendary", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 62, + "pctDepth": 59, + "pctReach": 8, + "fame": 43, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000183a95", + "pageId": 1587861, + "revisionId": 1382422731, + "title": "Vélez-Málaga", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Place in Málaga, Spain", + "connect": { + "countries": [ + "Spain" + ], + "centuries": [], + "links": [], + "p31": [ + "Q2074737" + ], + "qid": "Q492741", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 86, + "pctDepth": 92, + "pctReach": 98, + "fame": 92, + "magnitude": 3 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000041756b", + "pageId": 4289899, + "revisionId": 1384682008, + "title": "Anthodon (reptile)", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 5, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Translated" + ], + "effects": [], + "rulesText": "Translated.", + "flavor": "Extinct genus of reptiles", + "connect": { + "countries": [], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q47487597" + ], + "qid": "Q2505064", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 69, + "pctDepth": 64, + "pctReach": 80, + "fame": 71, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000010b1fc1", + "pageId": 17506241, + "revisionId": 1361257647, + "title": "Marion Thees", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 3, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected", + "Translated" + ], + "effects": [], + "rulesText": "Protected, Translated.", + "flavor": "German skeleton racer", + "connect": { + "countries": [ + "Germany" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q72724", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 38, + "pctDepth": 23, + "pctReach": 78, + "fame": 46, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000013be088", + "pageId": 20701320, + "revisionId": 1385997032, + "title": "Horse Feathers (band)", + "type": "Institution", + "subtype": "organisation", + "portal": "Arts", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 2 + } + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "American indie folk band", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q215380" + ], + "qid": "Q5905442", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 71, + "pctDepth": 54, + "pctReach": 36, + "fame": 54, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002d92236", + "pageId": 47784502, + "revisionId": 1375411209, + "title": "Christian Zübert", + "type": "Figure", + "subtype": null, + "portal": "Arts", + "cost": 4, + "power": 3, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "German film director and screenwriter (born 1973)", + "connect": { + "countries": [ + "Germany" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q1082448", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 47, + "pctDepth": 59, + "pctReach": 58, + "fame": 55, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003d70634", + "pageId": 64423476, + "revisionId": 1377264425, + "title": "2023 Seville municipal election", + "type": "Event", + "subtype": "election", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "createToken", + "amount": 2, + "token": { + "name": "Elected Member", + "power": 1, + "toughness": 1, + "portal": "Society" + } + } + ], + "rulesText": "Create two 1/1 Society Figure tokens named Elected Member.", + "flavor": "Election in the Spanish municipality of Seville", + "connect": { + "countries": [ + "Spain" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q152450" + ], + "qid": "Q97188845", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 52, + "pctDepth": 97, + "pctReach": 36, + "fame": 62, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000049c9880", + "pageId": 77371520, + "revisionId": 1372235441, + "title": "Coalición Vamos", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + } + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "Political party in Panama", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q7278" + ], + "qid": "Q127386808", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 85, + "pctDepth": 28, + "pctReach": 23, + "fame": 45, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000001c2f8", + "pageId": 115448, + "revisionId": 1374535006, + "title": "Mackville, Kentucky", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "City in Kentucky, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1093829" + ], + "qid": "Q2246158", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 50, + "pctDepth": 54, + "pctReach": 94, + "fame": 66, + "magnitude": 3 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000041fc69", + "pageId": 4324457, + "revisionId": 1372952688, + "title": "Juha Suoranta", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 2, + "toughness": 3, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Finnish social scientist", + "connect": { + "countries": [ + "Finland" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q6305056", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 35, + "pctDepth": 68, + "pctReach": 47, + "fame": 50, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000908a9f", + "pageId": 9472671, + "revisionId": 1280127322, + "title": "Fletcher (typeface)", + "type": "Institution", + "subtype": "work", + "portal": "Arts", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1 + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + } + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "Serif typeface", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q17451" + ], + "qid": "Q2539914", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 54, + "pctDepth": 2, + "pctReach": 23, + "fame": 26, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000befc0f", + "pageId": 12516367, + "revisionId": 1320927031, + "title": "Frogham, Kent", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Hamlet in Kent, England", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [], + "links": [], + "p31": [ + "Q5084" + ], + "qid": "Q5505274", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 21, + "pctDepth": 4, + "pctReach": 47, + "fame": 24, + "magnitude": 1 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000181aa81", + "pageId": 25275009, + "revisionId": 1381503728, + "title": "Amur Annexation", + "type": "Event", + "subtype": "conflict", + "portal": "History", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "damage", + "target": "figureOrLocation", + "amount": 4 + } + ], + "rulesText": "Deal 4 damage to target Figure or Location.", + "flavor": "Russian annexation of Outer Manchuria", + "connect": { + "countries": [ + "China", + "Russia" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q194465" + ], + "qid": "Q4379152", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 93, + "pctDepth": 81, + "pctReach": 74, + "fame": 83, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001fbc437", + "pageId": 33276983, + "revisionId": 1375320562, + "title": "Buky", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Rural locality in Cherkasy Oblast, Ukraine", + "connect": { + "countries": [ + "Ukraine" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4100864", + "Q486972" + ], + "qid": "Q2473493", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 38, + "pctDepth": 33, + "pctReach": 83, + "fame": 51, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000256bae2", + "pageId": 39238370, + "revisionId": 1330396969, + "title": "2013 San Jose State Spartans football team", + "type": "Event", + "subtype": "sport", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "pump", + "target": "ownFigure", + "power": 2, + "toughness": 0, + "duration": "turn" + }, + { + "trigger": "onPlay", + "op": "fight", + "target": "opponentFigure" + } + ], + "rulesText": "Target Figure you control gets +2/+0 until end of turn, then it fights target Figure you don't control.", + "flavor": "American college football season", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q26895936" + ], + "qid": "Q16972991", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 62, + "pctDepth": 83, + "pctReach": 8, + "fame": 51, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002c1eb97", + "pageId": 46263191, + "revisionId": 1384441370, + "title": "Max Touloute", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 2, + "toughness": 3, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Haitian footballer (born 1990)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q20641573", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 35, + "pctDepth": 68, + "pctReach": 36, + "fame": 46, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002fdc661", + "pageId": 50185825, + "revisionId": 1371365886, + "title": "Majid Qodiri", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 4, + "power": 2, + "toughness": 5, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "Uzbek literary scholar and educator (1886–1938)", + "connect": { + "countries": [], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q23823703", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 31, + "pctDepth": 64, + "pctReach": 63, + "fame": 53, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000321b424", + "pageId": 52540452, + "revisionId": 1381108921, + "title": "Olga Gorshenina", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 2, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected", + "Translated" + ], + "effects": [], + "rulesText": "Protected, Translated.", + "flavor": "Russian handball player", + "connect": { + "countries": [ + "Germany", + "Hungary", + "Romania", + "Russia" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q2019617", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 14, + "pctDepth": 17, + "pctReach": 78, + "fame": 36, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000043bf4f0", + "pageId": 71038192, + "revisionId": 1382877416, + "title": "1952 Avusrennen", + "type": "Event", + "subtype": "sport", + "portal": "Society", + "cost": 1, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "pump", + "target": "ownFigure", + "power": 1, + "toughness": 0, + "duration": "turn" + }, + { + "trigger": "onPlay", + "op": "fight", + "target": "opponentFigure" + } + ], + "rulesText": "Target Figure you control gets +1/+0 until end of turn, then it fights target Figure you don't control.", + "flavor": "Motor car race", + "connect": { + "countries": [ + "Germany" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q112838670", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 24, + "pctDepth": 38, + "pctReach": 8, + "fame": 23, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004d8d1a8", + "pageId": 81318312, + "revisionId": 1382049023, + "title": "Guido Iván Justo", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 4, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected", + "Featured" + ], + "effects": [], + "rulesText": "Protected, Featured.", + "flavor": "Argentine tennis player (born 1997)", + "connect": { + "countries": [ + "Argentina" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q138414200", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 85, + "pctDepth": 54, + "pctReach": 23, + "fame": 54, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000021dbee", + "pageId": 2218990, + "revisionId": 1386025479, + "title": "Deputy Prime Minister of Malaysia", + "type": "Institution", + "subtype": "other", + "portal": "Society", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 0, + "condition": { + "maxPower": 2 + } + } + ], + "rulesText": "Figures you control with power 2 or less get +1/+0.", + "flavor": "Political office in Malaysia", + "connect": { + "countries": [ + "Malaysia" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4164871" + ], + "qid": "Q5261073", + "cites": [] + }, + "rarity": "Legendary", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 89, + "pctDepth": 86, + "pctReach": 76, + "fame": 84, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000007e454c", + "pageId": 8275276, + "revisionId": 1350443233, + "title": "Thomas Wharton Jr.", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 5, + "power": 5, + "toughness": 4, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "American politician (1735–1778)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 18 + ], + "links": [], + "p31": [], + "qid": "Q883460", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 79, + "pctDepth": 73, + "pctReach": 36, + "fame": 63, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001462f3f", + "pageId": 21376831, + "revisionId": 1374494957, + "title": "Bez (Drôme)", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "River in France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4022" + ], + "qid": "Q1019347", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 17, + "pctDepth": 7, + "pctReach": 36, + "fame": 20, + "magnitude": 1 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000155d87e", + "pageId": 22403198, + "revisionId": 1375646501, + "title": "Cioc-Maidan", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Commune in Gagauzia, Moldova", + "connect": { + "countries": [ + "Moldova" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4229812", + "Q532" + ], + "qid": "Q2639022", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 35, + "pctDepth": 28, + "pctReach": 80, + "fame": 48, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000015797a4", + "pageId": 22517668, + "revisionId": 1244289559, + "title": "Kwong Wai Siew Peck San Theng", + "type": "Location", + "subtype": null, + "portal": "Science", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Columbarium in Singapore", + "connect": { + "countries": [ + "Singapore" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q6450554", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 74, + "pctDepth": 54, + "pctReach": 23, + "fame": 50, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002d51886", + "pageId": 47519878, + "revisionId": 1382761423, + "title": "Jeanne Madden", + "type": "Figure", + "subtype": null, + "portal": "Arts", + "cost": 2, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Legacy", + "Stub" + ], + "effects": [], + "rulesText": "Legacy, Stub.", + "flavor": "American singer and actress (1917–1989)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q20974011", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 21, + "pctDepth": 7, + "pctReach": 53, + "fame": 27, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002e752d2", + "pageId": 48714450, + "revisionId": 1383721847, + "title": "Payam Heydari", + "type": "Figure", + "subtype": null, + "portal": "Science", + "cost": 4, + "power": 3, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Iranian-American Professor", + "connect": { + "countries": [ + "Iran", + "United States" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q22097382", + "cites": [] + }, + "rarity": "Legendary", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 58, + "pctDepth": 73, + "pctReach": 36, + "fame": 56, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004b36e3e", + "pageId": 78868030, + "revisionId": 1327239041, + "title": "Mercenasco Castle", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Building in Mercenasco, Italy", + "connect": { + "countries": [ + "Italy" + ], + "centuries": [], + "links": [], + "p31": [ + "Q23413" + ], + "qid": "Q131729377", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 0, + "pctDepth": 17, + "pctReach": 36, + "fame": 18, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000050afd22", + "pageId": 84606242, + "revisionId": 1382829231, + "title": "Edward Ellsworth Underwood", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 2, + "toughness": 3, + "territory": 0, + "keywords": [ + "Legacy", + "Local" + ], + "effects": [], + "rulesText": "Legacy, Local.", + "flavor": "American physician (1864–1942)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q141822855", + "cites": [] + }, + "rarity": "Legendary", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 50, + "pctDepth": 59, + "pctReach": 8, + "fame": 39, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000000ef95c", + "pageId": 981340, + "revisionId": 1384823392, + "title": "Tatsunoko Production", + "type": "Institution", + "subtype": "organisation", + "portal": "Arts", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 2 + } + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Japanese animation studio", + "connect": { + "countries": [ + "Japan" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q1107679" + ], + "qid": "Q1323459", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 94, + "pctDepth": 98, + "pctReach": 86, + "fame": 93, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000001ed529", + "pageId": 2020649, + "revisionId": 1356568738, + "title": "Luxury box", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Society", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 3, + "toughness": 3, + "duration": "permanent" + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3.", + "flavor": "Class of seating in arena or stadium", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q852359", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "description", + "basis": { + "pctAttention": 87, + "pctDepth": 83, + "pctReach": 63, + "fame": 78, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000002d7151", + "pageId": 2978129, + "revisionId": 1354827085, + "title": "Saraca", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 4, + "power": 5, + "toughness": 3, + "territory": 0, + "keywords": [ + "Translated" + ], + "effects": [], + "rulesText": "Translated.", + "flavor": "Genus of legumes", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q2426272", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 58, + "pctDepth": 33, + "pctReach": 86, + "fame": 59, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000d65bfa", + "pageId": 14048250, + "revisionId": 1377607311, + "title": "Frontier, Saskatchewan", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Village in Saskatchewan, Canada", + "connect": { + "countries": [ + "Canada" + ], + "centuries": [], + "links": [], + "p31": [ + "Q6644778" + ], + "qid": "Q2003391", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 66, + "pctDepth": 77, + "pctReach": 47, + "fame": 63, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001d1c4f7", + "pageId": 30524663, + "revisionId": 1321144611, + "title": "Aichi AB-2", + "type": "Institution", + "subtype": "organisation", + "portal": "Science", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + } + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "Prototype reconnaissance floatplane", + "connect": { + "countries": [ + "Japan" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q15056995" + ], + "qid": "Q4696551", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 47, + "pctDepth": 43, + "pctReach": 47, + "fame": 46, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001d6c6e5", + "pageId": 30852837, + "revisionId": 1366643102, + "title": "Symphodus", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 4, + "power": 4, + "toughness": 4, + "territory": 0, + "keywords": [ + "Translated", + "Stub" + ], + "effects": [], + "rulesText": "Translated, Stub.", + "flavor": "Genus of fishes", + "connect": { + "countries": [ + "Spain" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q2019861", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 47, + "pctDepth": 48, + "pctReach": 89, + "fame": 61, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000028ca141", + "pageId": 42770753, + "revisionId": 1375492681, + "title": "Château de la Faye (Villexavier)", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Manor house in Charente-Maritime, France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q23413" + ], + "qid": "Q2971223", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 9, + "pctDepth": 7, + "pctReach": 23, + "fame": 13, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002e6632d", + "pageId": 48653101, + "revisionId": 1381828221, + "title": "Tornadoes of 1978", + "type": "Event", + "subtype": "disaster", + "portal": "Neutral", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "damageEach", + "target": "each", + "amount": 1 + } + ], + "rulesText": "Deal 1 damage to each Figure and each Location.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q18340514" + ], + "qid": "Q22093730", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 80, + "pctDepth": 81, + "pctReach": 8, + "fame": 56, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000034881ec", + "pageId": 55083500, + "revisionId": 1383844197, + "title": "United Kingdom House", + "type": "Location", + "subtype": null, + "portal": "Science", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Building on Oxford Street, London, England", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q41176" + ], + "qid": "Q26319049", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 54, + "pctDepth": 23, + "pctReach": 23, + "fame": 33, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000337786", + "pageId": 3372934, + "revisionId": 1364063954, + "title": "Hermes Ramírez", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 3, + "toughness": 4, + "territory": 0, + "keywords": [ + "Legacy", + "Translated" + ], + "effects": [], + "rulesText": "Legacy, Translated.", + "flavor": "Cuban sprinter (1948–2024)", + "connect": { + "countries": [ + "Cuba", + "United States" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q522855", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 59, + "pctReach": 81, + "fame": 61, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000007f4694", + "pageId": 8341140, + "revisionId": 1370304900, + "title": "Ceaușescu family", + "type": "Figure", + "subtype": null, + "portal": "Neutral", + "cost": 5, + "power": 5, + "toughness": 4, + "territory": 0, + "keywords": [ + "Featured" + ], + "effects": [], + "rulesText": "Featured.", + "flavor": "Family of Nicolae Ceaușescu", + "connect": { + "countries": [ + "Romania" + ], + "centuries": [], + "links": [], + "p31": [ + "Q8436" + ], + "qid": "Q5055770", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 92, + "pctDepth": 59, + "pctReach": 47, + "fame": 66, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000d29182", + "pageId": 13799810, + "revisionId": 1374230485, + "title": "Levophacetoperane", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Science", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 2, + "toughness": 2, + "duration": "permanent" + } + ], + "rulesText": "Attach to target Figure you control. It gets +2/+2.", + "flavor": "Stimulant drug", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q113145171" + ], + "qid": "Q6535818", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 64, + "pctDepth": 38, + "pctReach": 36, + "fame": 46, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000010eef0c", + "pageId": 17755916, + "revisionId": 1360992742, + "title": "Xiaoliang Sunney Xie", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 5, + "power": 4, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected", + "Well-sourced" + ], + "effects": [], + "rulesText": "Protected, Well-sourced.", + "flavor": "Chinese-American biochemist", + "connect": { + "countries": [ + "China", + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q906616", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 74, + "pctDepth": 93, + "pctReach": 58, + "fame": 75, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001225032", + "pageId": 19025970, + "revisionId": 1385734329, + "title": "Marina Kuzina", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 3, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected", + "Translated" + ], + "effects": [], + "rulesText": "Protected, Translated.", + "flavor": "Russian basketball player", + "connect": { + "countries": [ + "Russia" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q2704942", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 21, + "pctDepth": 11, + "pctReach": 86, + "fame": 39, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000016ff42e", + "pageId": 24114222, + "revisionId": 1317119586, + "title": "Rum cake", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 3, + "toughness": 3, + "duration": "permanent" + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3.", + "flavor": "Type of dessert", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q7379109", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 90, + "pctDepth": 38, + "pctReach": 71, + "fame": 66, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001e1e5e4", + "pageId": 31581668, + "revisionId": 1377811586, + "title": "Ian Potter Museum of Art", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Art museum in Parkville, Victoria", + "connect": { + "countries": [ + "Australia" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q207694" + ], + "qid": "Q5982619", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 62, + "pctDepth": 68, + "pctReach": 36, + "fame": 55, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001ff532a", + "pageId": 33510186, + "revisionId": 1371413731, + "title": "Piet Hesse", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 2, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "Dutch actor and comedian (1872–1936)", + "connect": { + "countries": [ + "Netherlands" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q2513810", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 17, + "pctDepth": 23, + "pctReach": 53, + "fame": 31, + "magnitude": 1 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000212369d", + "pageId": 34748061, + "revisionId": 1315380924, + "title": "Goneplax", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 1, + "toughness": 3, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Genus of crabs", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q5234395", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 4, + "pctDepth": 14, + "pctReach": 71, + "fame": 30, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002d706ce", + "pageId": 47646414, + "revisionId": 1384401817, + "title": "John Mellencamp Pavilion", + "type": "Location", + "subtype": null, + "portal": "Society", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "American athletics facility at Indiana University Bloomington", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q41176" + ], + "qid": "Q22097461", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 71, + "pctDepth": 33, + "pctReach": 8, + "fame": 37, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003853be9", + "pageId": 59063273, + "revisionId": 1385547666, + "title": "Nathan M. Johnson", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 5, + "power": 4, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected", + "Featured" + ], + "effects": [], + "rulesText": "Protected, Featured.", + "flavor": "American politician and composer (born 1968)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q58756295", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 98, + "pctDepth": 89, + "pctReach": 23, + "fame": 70, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003a79927", + "pageId": 61315367, + "revisionId": 1380314462, + "title": "Payson J. Treat", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 1, + "power": 1, + "toughness": 1, + "territory": 0, + "keywords": [ + "Legacy", + "Stub" + ], + "effects": [], + "rulesText": "Legacy, Stub.", + "flavor": "American Japanologist (1879–1972)", + "connect": { + "countries": [ + "Japan", + "United States" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q59628931", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 11, + "pctDepth": 38, + "pctReach": 8, + "fame": 19, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000179138", + "pageId": 1544504, + "revisionId": 1384187229, + "title": "Walter Rauschenbusch", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 6, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Featured", + "Legacy" + ], + "effects": [], + "rulesText": "Featured, Legacy.", + "flavor": "American theologian and Baptist pastor (1861-1918)", + "connect": { + "countries": [ + "Germany", + "United States" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q1345238", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 89, + "pctDepth": 90, + "pctReach": 86, + "fame": 88, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000002518b4", + "pageId": 2431156, + "revisionId": 1368504160, + "title": "Organization of the Luftwaffe (1933–1945)", + "type": "Institution", + "subtype": "organisation", + "portal": "Science", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 2 + } + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Structure of German air force", + "connect": { + "countries": [ + "Germany" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q15627509" + ], + "qid": "Q636182", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 89, + "pctDepth": 98, + "pctReach": 67, + "fame": 85, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000006af267", + "pageId": 7008871, + "revisionId": 1382159622, + "title": "Duke Blue Devils football", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 2 + } + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Football team of Duke University", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q17156793", + "Q18558301" + ], + "qid": "Q5312733", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 98, + "pctDepth": 98, + "pctReach": 36, + "fame": 77, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000a9306d", + "pageId": 11087981, + "revisionId": 1383233544, + "title": "SREBP cleavage-activating protein", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Science", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 2, + "toughness": 2, + "duration": "permanent" + } + ], + "rulesText": "Attach to target Figure you control. It gets +2/+2.", + "flavor": "Protein-coding gene in the species Homo sapiens", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q7187" + ], + "qid": "Q14913782", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 68, + "pctReach": 36, + "fame": 49, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000e463d7", + "pageId": 14967767, + "revisionId": 1346472302, + "title": "Everton, Nottinghamshire", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Village and civil parish in Nottinghamshire, England", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1115575", + "Q532" + ], + "qid": "Q5417389", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 50, + "pctDepth": 54, + "pctReach": 63, + "fame": 56, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001625b83", + "pageId": 23223171, + "revisionId": 1351215348, + "title": "Plectania", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 4, + "power": 3, + "toughness": 5, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Genus of fungi", + "connect": { + "countries": [], + "centuries": [ + 19 + ], + "links": [], + "p31": [], + "qid": "Q5235905", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 31, + "pctDepth": 54, + "pctReach": 67, + "fame": 51, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000229b4e9", + "pageId": 36287721, + "revisionId": 1364688814, + "title": "Magheracross", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Townland in County Fermanagh, Northern Ireland", + "connect": { + "countries": [ + "Ireland" + ], + "centuries": [], + "links": [], + "p31": [ + "Q2151232" + ], + "qid": "Q6730410", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 27, + "pctDepth": 59, + "pctReach": 8, + "fame": 31, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003256025", + "pageId": 52781093, + "revisionId": 1360733771, + "title": "SS Iberia (1873)", + "type": "Institution", + "subtype": "other", + "portal": "History", + "cost": 1, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 0, + "condition": { + "maxPower": 2 + } + } + ], + "rulesText": "Figures you control with power 2 or less get +1/+0.", + "flavor": "Steamship by John Elder", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q12859788" + ], + "qid": "Q28232395", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 27, + "pctDepth": 17, + "pctReach": 8, + "fame": 17, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000004cc4", + "pageId": 19652, + "revisionId": 1382146482, + "title": "Monoid", + "type": "Doctrine", + "subtype": "mathematics", + "portal": "Science", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 3, + "toughness": 3, + "duration": "permanent", + "grant": [ + "Well-sourced" + ] + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3 and has Well-sourced.", + "flavor": "Algebraic structure with an associative operation and an identity element", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q208237", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 97, + "pctDepth": 93, + "pctReach": 98, + "fame": 96, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000004bb672", + "pageId": 4961906, + "revisionId": 1343697567, + "title": "Chinese star maps", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Science", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 3, + "toughness": 3, + "duration": "permanent" + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3.", + "flavor": "Depictions of the positions of stars on the celestial sphere", + "connect": { + "countries": [ + "China" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q16241158", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 79, + "pctDepth": 90, + "pctReach": 36, + "fame": 68, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000008b571b", + "pageId": 9131803, + "revisionId": 1351670352, + "title": "Shooting at the 1912 Summer Olympics – Men's 30 metre rapid fire pistol", + "type": "Event", + "subtype": "other", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "draw", + "amount": 2 + } + ], + "rulesText": "Draw two cards.", + "flavor": "Olympic shooting event", + "connect": { + "countries": [], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q18536594" + ], + "qid": "Q7500632", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 31, + "pctDepth": 68, + "pctReach": 58, + "fame": 52, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000b8fc3c", + "pageId": 12123196, + "revisionId": 1362893730, + "title": "Phu Phra Bat Buabok Forest Park", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Forest park in Ban Phue District, Thailand", + "connect": { + "countries": [ + "Thailand" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q13020522" + ], + "qid": "Q250022", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 27, + "pctDepth": 17, + "pctReach": 36, + "fame": 27, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000e67fba", + "pageId": 15105978, + "revisionId": 1384889405, + "title": "Well", + "type": "Doctrine", + "subtype": "mathematics", + "portal": "Science", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 3, + "toughness": 3, + "duration": "permanent", + "grant": [ + "Well-sourced" + ] + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3 and has Well-sourced.", + "flavor": "Excavation or structure to provide access to groundwater", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q43483", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "description", + "basis": { + "pctAttention": 97, + "pctDepth": 95, + "pctReach": 99, + "fame": 97, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002e39459", + "pageId": 48469081, + "revisionId": 1373109716, + "title": "Dr. John L. Butler House", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Historic house in Arkansas, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q3947" + ], + "qid": "Q24041379", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 3, + "pctDepth": 14, + "pctReach": 8, + "fame": 8, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003f34d76", + "pageId": 66276726, + "revisionId": 1326195763, + "title": "Inaechelys", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Genus of reptiles", + "connect": { + "countries": [ + "Brazil" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q23038290" + ], + "qid": "Q26700596", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 27, + "pctDepth": 11, + "pctReach": 23, + "fame": 20, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004dba1f0", + "pageId": 81502704, + "revisionId": 1373685251, + "title": "Wenshet", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 3, + "power": 3, + "toughness": 3, + "territory": 0, + "keywords": [], + "effects": [], + "rulesText": "", + "flavor": "", + "connect": { + "countries": [ + "Egypt" + ], + "centuries": [ + 26 + ], + "links": [], + "p31": [], + "qid": "Q2559642", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 35, + "pctDepth": 48, + "pctReach": 53, + "fame": 45, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000020ac39", + "pageId": 2141241, + "revisionId": 1381701379, + "title": "Hvis lyset tar oss", + "type": "Institution", + "subtype": "work", + "portal": "Arts", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1 + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + } + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "1994 studio album by Burzum", + "connect": { + "countries": [ + "Norway" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q482994" + ], + "qid": "Q1129211", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 93, + "pctDepth": 48, + "pctReach": 90, + "fame": 77, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000003efcc4", + "pageId": 4127940, + "revisionId": 1376763672, + "title": "Lunugala", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Town in Uva Province, Sri Lanka", + "connect": { + "countries": [ + "Sri Lanka" + ], + "centuries": [], + "links": [], + "p31": [ + "Q486972" + ], + "qid": "Q6704475", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 54, + "pctDepth": 43, + "pctReach": 36, + "fame": 44, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000ec5681", + "pageId": 15488641, + "revisionId": 1384010653, + "title": "Dominique Rodgers-Cromartie", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 6, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected", + "Featured" + ], + "effects": [], + "rulesText": "Protected, Featured.", + "flavor": "American football player (born 1986)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q434024", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 94, + "pctDepth": 97, + "pctReach": 58, + "fame": 83, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001774450", + "pageId": 24593488, + "revisionId": 1379665199, + "title": "Žižki", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Place in Prekmurje, Slovenia", + "connect": { + "countries": [ + "Slovenia" + ], + "centuries": [], + "links": [], + "p31": [ + "Q486972" + ], + "qid": "Q280193", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 21, + "pctDepth": 38, + "pctReach": 84, + "fame": 48, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003115e59", + "pageId": 51469913, + "revisionId": 1364729120, + "title": "Beaconsfield Station Sheep Wash", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Historic site in Queensland, Australia", + "connect": { + "countries": [ + "Australia" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1081138" + ], + "qid": "Q28035337", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 9, + "pctDepth": 73, + "pctReach": 8, + "fame": 30, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000032f1880", + "pageId": 53418112, + "revisionId": 1383301063, + "title": "2012 United States presidential straw poll in Guam", + "type": "Event", + "subtype": "election", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "createToken", + "amount": 2, + "token": { + "name": "Elected Member", + "power": 1, + "toughness": 1, + "portal": "Society" + } + } + ], + "rulesText": "Create two 1/1 Society Figure tokens named Elected Member.", + "flavor": "", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q858439" + ], + "qid": "Q29097654", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 64, + "pctDepth": 59, + "pctReach": 8, + "fame": 44, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000033fcb23", + "pageId": 54512419, + "revisionId": 1282834290, + "title": "Elephant Square", + "type": "Location", + "subtype": null, + "portal": "Science", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q174782", + "Q1788454" + ], + "qid": "Q39046311", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 64, + "pctDepth": 17, + "pctReach": 23, + "fame": 35, + "magnitude": 1 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000387d360", + "pageId": 59233120, + "revisionId": 1316504057, + "title": "Maryland Independent", + "type": "Institution", + "subtype": "work", + "portal": "Neutral", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1 + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + } + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "Semi-weekly newspaper published in Waldorf, Maryland, US", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q11032" + ], + "qid": "Q55667255", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 31, + "pctDepth": 54, + "pctReach": 8, + "fame": 31, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004a88b48", + "pageId": 78154568, + "revisionId": 1384643280, + "title": "Lithodes mamillifer", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of king crab", + "connect": { + "countries": [ + "India" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q13768243", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 9, + "pctDepth": 4, + "pctReach": 23, + "fame": 12, + "magnitude": 1 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000002061e", + "pageId": 132638, + "revisionId": 1375881246, + "title": "Perry Township, Greene County, Pennsylvania", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Township in Pennsylvania, US", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q9035798" + ], + "qid": "Q5809786", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 42, + "pctDepth": 59, + "pctReach": 63, + "fame": 55, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000000d1815", + "pageId": 858133, + "revisionId": 1261572264, + "title": "Ashley (automobile)", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 2 + } + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "British manufacturers of car body shells & chassis for specials (1955-1962)", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q786820" + ], + "qid": "Q725930", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 66, + "pctDepth": 54, + "pctReach": 36, + "fame": 52, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000010c9c6d", + "pageId": 17603693, + "revisionId": 1339376467, + "title": "Bad Little Angel", + "type": "Institution", + "subtype": "work", + "portal": "Arts", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1 + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + } + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "1939 film by Wilhelm Thiele", + "connect": { + "countries": [ + "United Kingdom", + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q11424" + ], + "qid": "Q2483475", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 66, + "pctDepth": 23, + "pctReach": 36, + "fame": 42, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000015e910f", + "pageId": 22974735, + "revisionId": 1374856654, + "title": "Christianity in the 5th century", + "type": "Event", + "subtype": "other", + "portal": "Neutral", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "draw", + "amount": 3 + } + ], + "rulesText": "Draw three cards.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [ + 5 + ], + "links": [], + "p31": [ + "Q18340514" + ], + "qid": "Q5110603", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 79, + "pctDepth": 94, + "pctReach": 36, + "fame": 70, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000018c3734", + "pageId": 25966388, + "revisionId": 1329232874, + "title": "Phacelia quickii", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of plant", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q7179927", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 3, + "pctDepth": 11, + "pctReach": 47, + "fame": 20, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002217317", + "pageId": 35746583, + "revisionId": 1346095921, + "title": "Barbajada", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 2, + "toughness": 2, + "duration": "permanent" + } + ], + "rulesText": "Attach to target Figure you control. It gets +2/+2.", + "flavor": "Italian chocolate coffee drink", + "connect": { + "countries": [ + "Italy" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q3634571", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 74, + "pctDepth": 17, + "pctReach": 58, + "fame": 50, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000023d5c96", + "pageId": 37575830, + "revisionId": 1385253370, + "title": "Özkan Yıldırım", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 2, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "German footballer", + "connect": { + "countries": [ + "Germany", + "Turkey" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q1152151", + "cites": [] + }, + "rarity": "Legendary", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 24, + "pctDepth": 54, + "pctReach": 74, + "fame": 51, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003d66226", + "pageId": 64381478, + "revisionId": 1381097840, + "title": "Denis Zabolotin", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 1, + "power": 1, + "toughness": 1, + "territory": 0, + "keywords": [ + "Protected", + "Stub" + ], + "effects": [], + "rulesText": "Protected, Stub.", + "flavor": "Russian handball player", + "connect": { + "countries": [ + "Russia" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q96644151", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 21, + "pctDepth": 14, + "pctReach": 36, + "fame": 24, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003eadb6d", + "pageId": 65723245, + "revisionId": 1380335385, + "title": "Russell A. Sanborn", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 3, + "power": 2, + "toughness": 3, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "U.S. Marine major general", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q29852979", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 54, + "pctDepth": 73, + "pctReach": 23, + "fame": 50, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004e3418c", + "pageId": 82002316, + "revisionId": 1357961360, + "title": "Taupo Totara Timber Company", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + } + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "New Zealand timber and building supplies company", + "connect": { + "countries": [ + "New Zealand" + ], + "centuries": [], + "links": [], + "p31": [ + "Q783794" + ], + "qid": "Q138001385", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 90, + "pctReach": 8, + "fame": 47, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000129da3", + "pageId": 1220003, + "revisionId": 1381976644, + "title": "Robert Hawthorne", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 4, + "power": 3, + "toughness": 4, + "territory": 0, + "keywords": [ + "Legacy", + "Local" + ], + "effects": [], + "rulesText": "Legacy, Local.", + "flavor": "Recipient of the Victoria Cross", + "connect": { + "countries": [ + "India", + "Ireland", + "United Kingdom" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [], + "qid": "Q3681767", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 76, + "pctDepth": 77, + "pctReach": 8, + "fame": 54, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000134dd65", + "pageId": 20241765, + "revisionId": 1362148473, + "title": "Imre Szöllősi", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 1, + "toughness": 4, + "territory": 0, + "keywords": [ + "Legacy", + "Translated" + ], + "effects": [], + "rulesText": "Legacy, Translated.", + "flavor": "Hungarian canoeist (1941–2022)", + "connect": { + "countries": [ + "Hungary" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q6008352", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 11, + "pctDepth": 33, + "pctReach": 82, + "fame": 42, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000182777d", + "pageId": 25327485, + "revisionId": 1378155021, + "title": "Marc Fesneau", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 5, + "power": 5, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "French politician (born 1971)", + "connect": { + "countries": [ + "France" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q6755549", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 76, + "pctDepth": 68, + "pctReach": 63, + "fame": 69, + "magnitude": 3 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000279e59b", + "pageId": 41543067, + "revisionId": 1381927878, + "title": "Arms and the Girl", + "type": "Institution", + "subtype": "work", + "portal": "Arts", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1 + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + } + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "1917 American silent film", + "connect": { + "countries": [ + "Belgium", + "United Kingdom", + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q11424" + ], + "qid": "Q16248487", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 47, + "pctDepth": 43, + "pctReach": 53, + "fame": 48, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000027f963c", + "pageId": 41915964, + "revisionId": 1308018675, + "title": "Taylor County Historical Society", + "type": "Institution", + "subtype": "organisation", + "portal": "History", + "cost": 1, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + } + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "Non-profit organization in Florida, US", + "connect": { + "countries": [], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q5774403" + ], + "qid": "Q16966311", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 14, + "pctDepth": 23, + "pctReach": 8, + "fame": 15, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000028399d2", + "pageId": 42179026, + "revisionId": 1373475086, + "title": "Dojikko", + "type": "Figure", + "subtype": null, + "portal": "Arts", + "cost": 4, + "power": 6, + "toughness": 2, + "territory": 0, + "keywords": [ + "Translated", + "Stub" + ], + "effects": [], + "rulesText": "Translated, Stub.", + "flavor": "Extremely clumsy female character in anime and manga", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q636497" + ], + "qid": "Q164896", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 83, + "pctDepth": 23, + "pctReach": 80, + "fame": 62, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000033104b5", + "pageId": 53544117, + "revisionId": 1371197205, + "title": "Jünkerath station", + "type": "Location", + "subtype": null, + "portal": "Neutral", + "cost": 2, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Railway station in Jünkerath, Germany", + "connect": { + "countries": [ + "Germany" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q55488" + ], + "qid": "Q23924993", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 17, + "pctDepth": 77, + "pctReach": 23, + "fame": 39, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000391b393", + "pageId": 59880339, + "revisionId": 1382490836, + "title": "United Artists Releasing", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 2 + } + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Film distribution successor to United Artists", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q783794" + ], + "qid": "Q119348733", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 93, + "pctDepth": 92, + "pctReach": 47, + "fame": 77, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004a1ebca", + "pageId": 77720522, + "revisionId": 1380422871, + "title": "Hungarian Giant Pigeon", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 4, + "toughness": 2, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q15623573" + ], + "qid": "Q12815231", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 69, + "pctDepth": 33, + "pctReach": 47, + "fame": 50, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004da4001", + "pageId": 81412097, + "revisionId": 1380568254, + "title": "Iona Moir", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 5, + "power": 4, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "British track cyclist", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [], + "qid": "Q130078456", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 58, + "pctDepth": 64, + "pctReach": 67, + "fame": 63, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000005057304", + "pageId": 84243204, + "revisionId": 1375287029, + "title": "Figueiredo (Guimarães)", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Extinct parish in Guimarães, Portugal", + "connect": { + "countries": [ + "Portugal" + ], + "centuries": [], + "links": [], + "p31": [ + "Q56046844" + ], + "qid": "Q1023176", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 1, + "pctDepth": 33, + "pctReach": 78, + "fame": 37, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000000155c7", + "pageId": 87495, + "revisionId": 1375332586, + "title": "Kusilvak Census Area, Alaska", + "type": "Location", + "subtype": null, + "portal": "Neutral", + "cost": 3, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Census area in Alaska, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [ + "Q56064719" + ], + "qid": "Q379474", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 85, + "pctDepth": 86, + "pctReach": 93, + "fame": 88, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000365525", + "pageId": 3560741, + "revisionId": 1372647813, + "title": "Martin Taylor (businessman)", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 4, + "toughness": 3, + "territory": 0, + "keywords": [ + "Protected", + "Stub" + ], + "effects": [], + "rulesText": "Protected, Stub.", + "flavor": "British businessman (born 1952)", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q6776725", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 74, + "pctDepth": 48, + "pctReach": 47, + "fame": 56, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000051e94e", + "pageId": 5368142, + "revisionId": 1385081865, + "title": "Brass Mill Center", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Shopping mall in Connecticut, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q11315" + ], + "qid": "Q4957871", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 76, + "pctDepth": 59, + "pctReach": 8, + "fame": 48, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001e1c7a2", + "pageId": 31573922, + "revisionId": 1364585710, + "title": "Vincenza Sicari", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 2, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Italian long-distance runner (born 1979)", + "connect": { + "countries": [ + "Italy" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q2526833", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 21, + "pctDepth": 73, + "pctReach": 58, + "fame": 51, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000211993c", + "pageId": 34707772, + "revisionId": 1376437554, + "title": "Arnold I of Egmond", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 2, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Legacy", + "Stub" + ], + "effects": [], + "rulesText": "Legacy, Stub.", + "flavor": "", + "connect": { + "countries": [ + "Netherlands" + ], + "centuries": [ + 14, + 15 + ], + "links": [], + "p31": [], + "qid": "Q1920891", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 35, + "pctDepth": 23, + "pctReach": 53, + "fame": 37, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000031e8b4a", + "pageId": 52333386, + "revisionId": 1373477524, + "title": "Lewis and Elizabeth Bolton House", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Historic house in Missouri, United States", + "connect": { + "countries": [ + "Greece", + "United States" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q1307276" + ], + "qid": "Q28007838", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 24, + "pctDepth": 11, + "pctReach": 8, + "fame": 14, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000347e0d", + "pageId": 3440141, + "revisionId": 1384669473, + "title": "Belgium at the 1948 Summer Olympics", + "type": "Event", + "subtype": "other", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "draw", + "amount": 2 + } + ], + "rulesText": "Draw two cards.", + "flavor": "Sporting event delegation", + "connect": { + "countries": [ + "Belgium" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q26213387" + ], + "qid": "Q592430", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 24, + "pctDepth": 64, + "pctReach": 85, + "fame": 58, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000042c0a6", + "pageId": 4374694, + "revisionId": 1384632958, + "title": "National Register of Historic Places listings in Yates County, New York", + "type": "Doctrine", + "subtype": "mathematics", + "portal": "Earth", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 2, + "toughness": 2, + "duration": "permanent", + "grant": [ + "Well-sourced" + ] + } + ], + "rulesText": "Attach to target Figure you control. It gets +2/+2 and has Well-sourced.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q13406463" + ], + "qid": "Q6977936", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 31, + "pctDepth": 89, + "pctReach": 23, + "fame": 48, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000e62c56", + "pageId": 15084630, + "revisionId": 1340554441, + "title": "Uremic frost", + "type": "Doctrine", + "subtype": "pathology", + "portal": "Science", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "figure", + "power": -2, + "toughness": -2, + "duration": "permanent" + } + ], + "rulesText": "Attach to target Figure. It gets −2/−2.", + "flavor": "Crystallized urea deposits on skin", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q1441305" + ], + "qid": "Q18395101", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 86, + "pctDepth": 23, + "pctReach": 36, + "fame": 48, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000f4bc30", + "pageId": 16038960, + "revisionId": 1381994388, + "title": "La Chapelle-Palluau", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Commune in Pays de la Loire, France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q484170" + ], + "qid": "Q675088", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 0, + "pctDepth": 7, + "pctReach": 95, + "fame": 34, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001334c0c", + "pageId": 20139020, + "revisionId": 1307118821, + "title": "Samuel Yeatman", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 1, + "power": 1, + "toughness": 1, + "territory": 0, + "keywords": [ + "Legacy", + "Stub" + ], + "effects": [], + "rulesText": "Legacy, Stub.", + "flavor": "American baseball player (1839–1901)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q4911449", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 1, + "pctDepth": 14, + "pctReach": 23, + "fame": 13, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001b5f940", + "pageId": 28703040, + "revisionId": 1366016093, + "title": "Suðurey", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Island in Iceland", + "connect": { + "countries": [ + "Iceland" + ], + "centuries": [], + "links": [], + "p31": [ + "Q23442" + ], + "qid": "Q3115506", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 0, + "pctReach": 67, + "fame": 36, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002aa485f", + "pageId": 44714079, + "revisionId": 1364832308, + "title": "Île-de-France tramway Line 6", + "type": "Institution", + "subtype": "other", + "portal": "Neutral", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 0, + "condition": { + "maxPower": 2 + } + } + ], + "rulesText": "Figures you control with power 2 or less get +1/+0.", + "flavor": "Suburban tram line in Hauts-de-Seine and Yvelines, southwest of Paris", + "connect": { + "countries": [ + "France" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q15145593", + "Q385653" + ], + "qid": "Q3238993", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 69, + "pctDepth": 28, + "pctReach": 74, + "fame": 57, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000004d774c", + "pageId": 5076812, + "revisionId": 1373793952, + "title": "Free-Stater (Kansas)", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 2 + } + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Anti-Slavery organization", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [ + "Q15911314" + ], + "qid": "Q5499603", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 83, + "pctDepth": 48, + "pctReach": 23, + "fame": 51, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000008223bb", + "pageId": 8528827, + "revisionId": 1379603420, + "title": "Llandarcy Oil Refinery", + "type": "Location", + "subtype": null, + "portal": "Science", + "cost": 2, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Former oil refinery in Neath Port Talbot, Wales", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [ + "Q12353044" + ], + "qid": "Q27957412", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 71, + "pctDepth": 77, + "pctReach": 8, + "fame": 52, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000ea3205", + "pageId": 15348229, + "revisionId": 1367445085, + "title": "Diocese of Mindelo", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + } + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "Roman Catholic diocese in Cape Verde", + "connect": { + "countries": [], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q2665272", + "Q3146899" + ], + "qid": "Q872428", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 17, + "pctDepth": 17, + "pctReach": 81, + "fame": 38, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000edde01", + "pageId": 15588865, + "revisionId": 1381802984, + "title": "Bonnevaux-le-Prieuré", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Part of Ornans in Bourgogne-Franche-Comté, France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q21869758", + "Q484170" + ], + "qid": "Q837744", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 6, + "pctDepth": 4, + "pctReach": 91, + "fame": 34, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000010609ef", + "pageId": 17172975, + "revisionId": 1378041962, + "title": "Bukama", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Place in Haut-Lomami, Democratic Republic of the Congo", + "connect": { + "countries": [ + "Congo" + ], + "centuries": [], + "links": [], + "p31": [ + "Q515" + ], + "qid": "Q2915071", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 64, + "pctDepth": 54, + "pctReach": 84, + "fame": 67, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001639bbc", + "pageId": 23305148, + "revisionId": 1377045846, + "title": "Agios Isidoros, Cyprus", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Place in Paphos District, Cyprus", + "connect": { + "countries": [ + "Cyprus" + ], + "centuries": [], + "links": [], + "p31": [ + "Q29414133" + ], + "qid": "Q4831291", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 11, + "pctDepth": 28, + "pctReach": 74, + "fame": 38, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000025124c9", + "pageId": 38872265, + "revisionId": 1370478726, + "title": "Ethel Post-Parrish", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 2, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Legacy", + "Stub" + ], + "effects": [], + "rulesText": "Legacy, Stub.", + "flavor": "American Spiritualist medium (died 1960)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q15999505", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 47, + "pctDepth": 23, + "pctReach": 8, + "fame": 26, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003c6d80f", + "pageId": 63363087, + "revisionId": 1385804220, + "title": "Keyontae Johnson", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 6, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected", + "Featured" + ], + "effects": [], + "rulesText": "Protected, Featured.", + "flavor": "American basketball player (born 2000)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q88963854", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 90, + "pctDepth": 86, + "pctReach": 63, + "fame": 80, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004606820", + "pageId": 73426976, + "revisionId": 1379304890, + "title": "Viniče", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Village in Skopje, North Macedonia", + "connect": { + "countries": [ + "North Macedonia" + ], + "centuries": [], + "links": [], + "p31": [ + "Q532" + ], + "qid": "Q3560281", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 6, + "pctDepth": 43, + "pctReach": 53, + "fame": 34, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000000e1834", + "pageId": 923700, + "revisionId": 1382030380, + "title": "Sainte-Foy-lès-Lyon", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Commune in Auvergne-Rhône-Alpes, France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q484170" + ], + "qid": "Q387460", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 71, + "pctDepth": 38, + "pctReach": 97, + "fame": 69, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000003487d1", + "pageId": 3442641, + "revisionId": 1372311773, + "title": "Tidewater Provincial Park", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Provincial park in Ontario, Canada", + "connect": { + "countries": [ + "Canada" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q2006279" + ], + "qid": "Q7800881", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 42, + "pctDepth": 23, + "pctReach": 36, + "fame": 34, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000004563e8", + "pageId": 4547560, + "revisionId": 1333227991, + "title": "Tracheal collapse", + "type": "Doctrine", + "subtype": "pathology", + "portal": "Science", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "figure", + "power": -2, + "toughness": -2, + "duration": "permanent" + } + ], + "rulesText": "Attach to target Figure. It gets −2/−2.", + "flavor": "Flattening of the trachea in animals", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q140427225" + ], + "qid": "Q2447482", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 81, + "pctDepth": 38, + "pctReach": 53, + "fame": 57, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000d2549d", + "pageId": 13784221, + "revisionId": 1362220356, + "title": "Ellenborough Falls", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Waterfall on the Ellenborough River in New South Wales, Australia", + "connect": { + "countries": [ + "Australia", + "United Kingdom" + ], + "centuries": [], + "links": [], + "p31": [ + "Q34038" + ], + "qid": "Q3652636", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 64, + "pctDepth": 17, + "pctReach": 63, + "fame": 48, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001fe7b62", + "pageId": 33454946, + "revisionId": 1270324661, + "title": "Tydeus Painter", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Ancient Greek vase painter", + "connect": { + "countries": [ + "Greece" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1747829" + ], + "qid": "Q2462577", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 14, + "pctDepth": 7, + "pctReach": 47, + "fame": 23, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002b548f0", + "pageId": 45435120, + "revisionId": 1384697951, + "title": "Yemọja", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 6, + "power": 6, + "toughness": 5, + "territory": 0, + "keywords": [ + "Featured", + "Translated" + ], + "effects": [], + "rulesText": "Featured, Translated.", + "flavor": "Major water Orisha in the Yoruba religion", + "connect": { + "countries": [ + "Brazil" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1916821", + "Q290460", + "Q752920" + ], + "qid": "Q1477162", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 96, + "pctDepth": 86, + "pctReach": 89, + "fame": 90, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000047e7091", + "pageId": 75395217, + "revisionId": 1378415983, + "title": "Hetifah Sjaifudian", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 3, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Indonesian activist and politician", + "connect": { + "countries": [ + "Indonesia", + "Singapore" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q96988706", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 47, + "pctDepth": 77, + "pctReach": 36, + "fame": 53, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000002f764e", + "pageId": 3110478, + "revisionId": 1376600347, + "title": "Laukhella", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Village in Senja Municipality, Norway", + "connect": { + "countries": [ + "Norway" + ], + "centuries": [], + "links": [], + "p31": [ + "Q486972" + ], + "qid": "Q3218620", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 11, + "pctDepth": 23, + "pctReach": 53, + "fame": 29, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000768587", + "pageId": 7767431, + "revisionId": 1313900503, + "title": "Bufo stuarti", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of amphibian", + "connect": { + "countries": [ + "India" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q28032720", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 2, + "pctDepth": 0, + "pctReach": 74, + "fame": 25, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000e314ca", + "pageId": 14881994, + "revisionId": 1377922091, + "title": "OR56B4", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Science", + "cost": 1, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 1, + "toughness": 1, + "duration": "permanent" + } + ], + "rulesText": "Attach to target Figure you control. It gets +1/+1.", + "flavor": "Protein-coding gene in the species Homo sapiens", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q7187" + ], + "qid": "Q18053061", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 11, + "pctDepth": 7, + "pctReach": 58, + "fame": 25, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001e25f63", + "pageId": 31612771, + "revisionId": 1364804505, + "title": "David Cullinane", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 4, + "toughness": 3, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Irish politician (born 1974)", + "connect": { + "countries": [ + "Ireland" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q5232711", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 81, + "pctDepth": 68, + "pctReach": 36, + "fame": 62, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002004071", + "pageId": 33570929, + "revisionId": 1374508115, + "title": "Grumbach (Werra)", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "River in Thuringia, Germany", + "connect": { + "countries": [ + "Germany" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4022" + ], + "qid": "Q826448", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 2, + "pctDepth": 2, + "pctReach": 47, + "fame": 17, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002469bab", + "pageId": 38181803, + "revisionId": 1378220985, + "title": "Gábor Scheiring", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 3, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Hungarian economist and politician", + "connect": { + "countries": [ + "Hungary" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q5625769", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 38, + "pctReach": 47, + "fame": 42, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000030834b6", + "pageId": 50869430, + "revisionId": 1359436538, + "title": "Felt, Not Heard", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 1, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + } + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q1589009" + ], + "qid": "Q24885448", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 11, + "pctDepth": 17, + "pctReach": 8, + "fame": 12, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000036b0861", + "pageId": 57346145, + "revisionId": 1352289182, + "title": "Madura perfida", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of true bug", + "connect": { + "countries": [], + "centuries": [ + 19 + ], + "links": [], + "p31": [], + "qid": "Q10575176", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 1, + "pctDepth": 7, + "pctReach": 47, + "fame": 18, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000000c07c1", + "pageId": 788417, + "revisionId": 1385635902, + "title": "Efrat (Israeli settlement)", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 2 + } + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Israeli settlement in the West Bank", + "connect": { + "countries": [ + "Israel" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q1288520", + "Q582706", + "Q618123" + ], + "qid": "Q64053", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 89, + "pctDepth": 86, + "pctReach": 86, + "fame": 87, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000314a5b", + "pageId": 3230299, + "revisionId": 1368444919, + "title": "St. George's Island, Bermuda", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "One of the principal islands of Bermuda", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q23442" + ], + "qid": "Q1813379", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 76, + "pctDepth": 43, + "pctReach": 74, + "fame": 64, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000006ec6df", + "pageId": 7259871, + "revisionId": 1356897889, + "title": "National Association of Television Program Executives", + "type": "Institution", + "subtype": "organisation", + "portal": "Arts", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + } + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [ + "Q163740" + ], + "qid": "Q6970789", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 58, + "pctDepth": 48, + "pctReach": 36, + "fame": 47, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000021aa8db", + "pageId": 35301595, + "revisionId": 1357984673, + "title": "Schläfli double six", + "type": "Doctrine", + "subtype": "mathematics", + "portal": "Science", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 2, + "toughness": 2, + "duration": "permanent", + "grant": [ + "Well-sourced" + ] + } + ], + "rulesText": "Attach to target Figure you control. It gets +2/+2 and has Well-sourced.", + "flavor": "Arrangement of 30 points and 12 lines", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q24034552" + ], + "qid": "Q7431763", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 58, + "pctDepth": 54, + "pctReach": 36, + "fame": 49, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000234c209", + "pageId": 37011977, + "revisionId": 1339741732, + "title": "San Michele Arcangelo, Naples", + "type": "Location", + "subtype": null, + "portal": "Society", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Church in Naples, Italy", + "connect": { + "countries": [ + "Italy" + ], + "centuries": [ + 17 + ], + "links": [], + "p31": [ + "Q16970" + ], + "qid": "Q718623", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 14, + "pctDepth": 7, + "pctReach": 67, + "fame": 29, + "magnitude": 1 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000249a814", + "pageId": 38381588, + "revisionId": 1366241182, + "title": "A. R. Poduval", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 2, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Legacy", + "Local" + ], + "effects": [], + "rulesText": "Legacy, Local.", + "flavor": "Indian surgeon and artist", + "connect": { + "countries": [ + "Germany", + "India", + "United Kingdom" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q4648301", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 24, + "pctDepth": 59, + "pctReach": 8, + "fame": 30, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002c76795", + "pageId": 46622613, + "revisionId": 1378272694, + "title": "Sarah Hoffman", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 5, + "power": 5, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Canadian politician (born 1980)", + "connect": { + "countries": [ + "Canada" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q19862161", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 80, + "pctDepth": 73, + "pctReach": 36, + "fame": 63, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000048da231", + "pageId": 76390961, + "revisionId": 1385442003, + "title": "2024–2026 Cuban protests", + "type": "Event", + "subtype": "conflict", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "damage", + "target": "figureOrLocation", + "amount": 4 + } + ], + "rulesText": "Deal 4 damage to target Figure or Location.", + "flavor": "Protests against the Cuban government", + "connect": { + "countries": [ + "Cuba" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q273120" + ], + "qid": "Q125000393", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 82, + "pctDepth": 89, + "pctReach": 58, + "fame": 76, + "magnitude": 3 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000070b485", + "pageId": 7386245, + "revisionId": 1385017105, + "title": "The Leslie Uggams Show", + "type": "Institution", + "subtype": "work", + "portal": "Arts", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1 + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + } + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "1969 American TV series or program", + "connect": { + "countries": [ + "United Kingdom", + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q5398426" + ], + "qid": "Q7746967", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 69, + "pctDepth": 59, + "pctReach": 8, + "fame": 45, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000be57a1", + "pageId": 12474273, + "revisionId": 1380009301, + "title": "Iphis monarch", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 4, + "toughness": 2, + "territory": 0, + "keywords": [ + "Translated", + "Stub" + ], + "effects": [], + "rulesText": "Translated, Stub.", + "flavor": "Species of bird", + "connect": { + "countries": [ + "France" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q692954", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 47, + "pctDepth": 17, + "pctReach": 87, + "fame": 50, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001289a8f", + "pageId": 19438223, + "revisionId": 1366832481, + "title": "Friedrich Kasimir Medikus", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 3, + "power": 4, + "toughness": 1, + "territory": 0, + "keywords": [ + "Legacy", + "Translated" + ], + "effects": [], + "rulesText": "Legacy, Translated.", + "flavor": "German physician and botanist", + "connect": { + "countries": [ + "Germany" + ], + "centuries": [ + 18, + 19 + ], + "links": [], + "p31": [], + "qid": "Q77464", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 0, + "pctReach": 89, + "fame": 44, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002636619", + "pageId": 40068633, + "revisionId": 1362680935, + "title": "Wahconah Falls State Park", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Massachusetts state park", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q37998360" + ], + "qid": "Q14715969", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 27, + "pctDepth": 28, + "pctReach": 23, + "fame": 26, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004db234b", + "pageId": 81470283, + "revisionId": 1384453410, + "title": "Presidential Anti-Organized Crime Commission", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 2 + } + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Government agency in the Philippines", + "connect": { + "countries": [ + "Philippines" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q327333" + ], + "qid": "Q136773957", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 71, + "pctDepth": 92, + "pctReach": 8, + "fame": 57, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004f1c0b9", + "pageId": 82952377, + "revisionId": 1377598668, + "title": "Lichen community", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Earth", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 2, + "toughness": 2, + "duration": "permanent" + } + ], + "rulesText": "Attach to target Figure you control. It gets +2/+2.", + "flavor": "Recurring assemblage of lichen species and its classification in vegetation science", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q105442186", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 35, + "pctDepth": 95, + "pctReach": 8, + "fame": 46, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000017f942", + "pageId": 1571138, + "revisionId": 1367893707, + "title": "Ranks and insignia of the Nazi Party", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Society", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 3, + "toughness": 3, + "duration": "permanent" + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q13424724", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 96, + "pctDepth": 95, + "pctReach": 58, + "fame": 83, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001447617", + "pageId": 21263895, + "revisionId": 1377108521, + "title": "Przybędza", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Village in Silesian Voivodeship, Poland", + "connect": { + "countries": [ + "Poland" + ], + "centuries": [], + "links": [], + "p31": [ + "Q3558970" + ], + "qid": "Q7253590", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 2, + "pctDepth": 2, + "pctReach": 71, + "fame": 25, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001b2dc67", + "pageId": 28499047, + "revisionId": 1346615028, + "title": "Wu Songgao", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 2, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "", + "connect": { + "countries": [ + "China", + "Japan" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q5970557", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 31, + "pctDepth": 48, + "pctReach": 36, + "fame": 38, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001c3e576", + "pageId": 29615478, + "revisionId": 1359695857, + "title": "Rustan's", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 2 + } + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Philippine department store chain", + "connect": { + "countries": [ + "Philippines" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q4830453" + ], + "qid": "Q7382454", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 85, + "pctDepth": 83, + "pctReach": 23, + "fame": 64, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000025e3602", + "pageId": 39728642, + "revisionId": 1373482944, + "title": "Wilkeson Arch", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "United States historic place", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q2860026" + ], + "qid": "Q14713945", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 9, + "pctDepth": 28, + "pctReach": 8, + "fame": 15, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002b69213", + "pageId": 45519379, + "revisionId": 1290644518, + "title": "Maine State Route 144", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "State highway in Lincoln County, Maine, US", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q1788582" + ], + "qid": "Q19581200", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 6, + "pctDepth": 54, + "pctReach": 23, + "fame": 28, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003105e51", + "pageId": 51404369, + "revisionId": 1320623670, + "title": "Luis María Kreckler", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 2, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "", + "connect": { + "countries": [ + "Argentina", + "Brazil", + "China", + "Germany" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q5983869", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 35, + "pctDepth": 43, + "pctReach": 23, + "fame": 34, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000036c4579", + "pageId": 57427321, + "revisionId": 1372620649, + "title": "Corruption in Kazakhstan", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 3, + "toughness": 3, + "duration": "permanent" + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3.", + "flavor": "", + "connect": { + "countries": [ + "Kazakhstan" + ], + "centuries": [], + "links": [], + "p31": [ + "Q74817647" + ], + "qid": "Q12981954", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 71, + "pctDepth": 68, + "pctReach": 67, + "fame": 69, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003924b7e", + "pageId": 59919230, + "revisionId": 1365794761, + "title": "Trey Rhodes", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 2, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Protected", + "Stub" + ], + "effects": [], + "rulesText": "Protected, Stub.", + "flavor": "American politician", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q61685757", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 58, + "pctDepth": 14, + "pctReach": 8, + "fame": 27, + "magnitude": 1 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000508b134", + "pageId": 84455732, + "revisionId": 1379905236, + "title": "Streetsia challengeri", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 4, + "toughness": 2, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of marine amphipod", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q4471202", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 50, + "pctDepth": 23, + "pctReach": 53, + "fame": 42, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000000c16a", + "pageId": 49514, + "revisionId": 1372005331, + "title": "Henri Lebesgue", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 6, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Featured", + "Legacy" + ], + "effects": [], + "rulesText": "Featured, Legacy.", + "flavor": "French mathematician (1875–1941)", + "connect": { + "countries": [ + "France" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q206005", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 90, + "pctDepth": 86, + "pctReach": 97, + "fame": 91, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000e13cb0", + "pageId": 14761136, + "revisionId": 1383624184, + "title": "RBMX", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Science", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "power": 1, + "toughness": 1, + "duration": "permanent" + } + ], + "rulesText": "Attach to target Figure you control. It gets +1/+1.", + "flavor": "Protein-coding gene in humans", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q7187" + ], + "qid": "Q18038778", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 27, + "pctDepth": 64, + "pctReach": 23, + "fame": 38, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000044ec330", + "pageId": 72270640, + "revisionId": 1375465027, + "title": "Chaharbagh County", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "County in Alborz province, Iran", + "connect": { + "countries": [ + "Iran" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q137535" + ], + "qid": "Q107333581", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 38, + "pctDepth": 64, + "pctReach": 58, + "fame": 53, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000047b26e9", + "pageId": 75179753, + "revisionId": 1272327430, + "title": "2016 Queensland local elections", + "type": "Event", + "subtype": "election", + "portal": "Society", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "createToken", + "amount": 1, + "token": { + "name": "Elected Member", + "power": 1, + "toughness": 1, + "portal": "Society" + } + } + ], + "rulesText": "Create a 1/1 Society Figure token named Elected Member.", + "flavor": "", + "connect": { + "countries": [ + "Australia" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q15966540" + ], + "qid": "Q115228225", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 21, + "pctDepth": 48, + "pctReach": 8, + "fame": 26, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004bbd0ce", + "pageId": 79417550, + "revisionId": 1377659696, + "title": "Region Östergötland", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + } + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "Regional council of Östergötland County, Sweden", + "connect": { + "countries": [ + "Sweden" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1754161", + "Q65196511", + "Q85164347" + ], + "qid": "Q3231915", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 58, + "pctDepth": 38, + "pctReach": 47, + "fame": 48, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004fb7786", + "pageId": 83588998, + "revisionId": 1380888360, + "title": "Kamil Oniszczuk", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 3, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Polish mixed martial artist (born 1996)", + "connect": { + "countries": [ + "Brazil", + "Poland" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q97373278", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 54, + "pctDepth": 83, + "pctReach": 23, + "fame": 53, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000001f064", + "pageId": 127076, + "revisionId": 1384097001, + "title": "Hillburn, New York", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Village in New York, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [ + "Q55237813", + "Q751708" + ], + "qid": "Q3452966", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 71, + "pctDepth": 68, + "pctReach": 87, + "fame": 75, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000042d2a", + "pageId": 273706, + "revisionId": 1385350039, + "title": "Pallas's cat", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 6, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Featured", + "Multilingual" + ], + "effects": [], + "rulesText": "Featured, Multilingual.", + "flavor": "Species of small wild cat", + "connect": { + "countries": [], + "centuries": [ + 18 + ], + "links": [], + "p31": [], + "qid": "Q166794", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 99, + "pctDepth": 97, + "pctReach": 99, + "fame": 98, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001a702c7", + "pageId": 27722439, + "revisionId": 1368237133, + "title": "Cannon (band)", + "type": "Institution", + "subtype": "organisation", + "portal": "Arts", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + } + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "Scottish post-rock band", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [ + "Q215380" + ], + "qid": "Q5032746", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 58, + "pctDepth": 43, + "pctReach": 8, + "fame": 36, + "magnitude": 1 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000003c754", + "pageId": 247636, + "revisionId": 1380730000, + "title": "Canadian Grand Prix", + "type": "Event", + "subtype": "sport", + "portal": "Society", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "pump", + "target": "ownFigure", + "power": 3, + "toughness": 0, + "duration": "turn" + }, + { + "trigger": "onPlay", + "op": "fight", + "target": "opponentFigure" + } + ], + "rulesText": "Target Figure you control gets +3/+0 until end of turn, then it fights target Figure you don't control.", + "flavor": "Formula One Grand Prix", + "connect": { + "countries": [ + "Canada" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q108886259", + "Q18608583" + ], + "qid": "Q7965", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 96, + "pctDepth": 96, + "pctReach": 97, + "fame": 96, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000577b42", + "pageId": 5733186, + "revisionId": 1359130364, + "title": "1969 NFL Championship Game", + "type": "Event", + "subtype": "sport", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "pump", + "target": "ownFigure", + "power": 3, + "toughness": 0, + "duration": "turn" + }, + { + "trigger": "onPlay", + "op": "fight", + "target": "opponentFigure" + } + ], + "rulesText": "Target Figure you control gets +3/+0 until end of turn, then it fights target Figure you don't control.", + "flavor": "", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q27020041" + ], + "qid": "Q4573604", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 91, + "pctDepth": 81, + "pctReach": 36, + "fame": 69, + "magnitude": 3 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000197515f", + "pageId": 26693983, + "revisionId": 1379250957, + "title": "2008 World Sprint Speed Skating Championships", + "type": "Event", + "subtype": "sport", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "pump", + "target": "ownFigure", + "power": 2, + "toughness": 0, + "duration": "turn" + }, + { + "trigger": "onPlay", + "op": "fight", + "target": "opponentFigure" + } + ], + "rulesText": "Target Figure you control gets +2/+0 until end of turn, then it fights target Figure you don't control.", + "flavor": "International speed skating competition", + "connect": { + "countries": [ + "Netherlands" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q114609228" + ], + "qid": "Q1320203", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 6, + "pctDepth": 77, + "pctReach": 71, + "fame": 51, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001b85b73", + "pageId": 28859251, + "revisionId": 1379439420, + "title": "Kõruse-Metsaküla", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Village in Estonia", + "connect": { + "countries": [ + "Estonia" + ], + "centuries": [], + "links": [], + "p31": [ + "Q51049922" + ], + "qid": "Q3467661", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 6, + "pctDepth": 23, + "pctReach": 71, + "fame": 33, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001e7779d", + "pageId": 31946653, + "revisionId": 1321146397, + "title": "Cody Floatplane", + "type": "Institution", + "subtype": "other", + "portal": "Science", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 0, + "condition": { + "maxPower": 2 + } + } + ], + "rulesText": "Figures you control with power 2 or less get +1/+0.", + "flavor": "", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q5140425", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 52, + "pctDepth": 59, + "pctReach": 47, + "fame": 53, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002475ba8", + "pageId": 38230952, + "revisionId": 1383786404, + "title": "John Allen Midgett Jr.", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 3, + "power": 2, + "toughness": 3, + "territory": 0, + "keywords": [ + "Legacy", + "Local" + ], + "effects": [], + "rulesText": "Legacy, Local.", + "flavor": "United States Coast Guardsman", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q6218773", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 50, + "pctDepth": 59, + "pctReach": 8, + "fame": 39, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000026196e4", + "pageId": 39950052, + "revisionId": 1271494308, + "title": "Texas State Guard Commanding General's Individual Award", + "type": "Institution", + "subtype": "organisation", + "portal": "Neutral", + "cost": 1, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + } + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "Military decoration", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q618779" + ], + "qid": "Q17108726", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 6, + "pctDepth": 38, + "pctReach": 8, + "fame": 17, + "magnitude": 1 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000292a898", + "pageId": 43165848, + "revisionId": 1380318087, + "title": "John Kane (Medal of Honor)", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Local" + ], + "effects": [], + "rulesText": "Local.", + "flavor": "Union Army soldier", + "connect": { + "countries": [ + "Ireland", + "United States" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q17479265", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 21, + "pctDepth": 23, + "pctReach": 8, + "fame": 17, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000046d99b5", + "pageId": 74291637, + "revisionId": 1380094218, + "title": "Pullman porter affair", + "type": "Event", + "subtype": "other", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "draw", + "amount": 2 + } + ], + "rulesText": "Draw two cards.", + "flavor": "LGBT sex scandal in September 1940", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q2197458" + ], + "qid": "Q120123799", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 69, + "pctDepth": 73, + "pctReach": 8, + "fame": 50, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000ca0a2e", + "pageId": 13240878, + "revisionId": 1373484295, + "title": "Lower Shavertown Bridge", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "United States historic place", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q1825472", + "Q537127" + ], + "qid": "Q6693791", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 17, + "pctDepth": 17, + "pctReach": 8, + "fame": 14, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001283431", + "pageId": 19412017, + "revisionId": 1385718836, + "title": "Andouin Aubert", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 4, + "power": 2, + "toughness": 5, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "French jurist, bishop and Cardinal", + "connect": { + "countries": [ + "France" + ], + "centuries": [ + 14 + ], + "links": [], + "p31": [], + "qid": "Q1351294", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 38, + "pctDepth": 77, + "pctReach": 71, + "fame": 62, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000017a1788", + "pageId": 24778632, + "revisionId": 1373615936, + "title": "Storck Barracks", + "type": "Location", + "subtype": null, + "portal": "Neutral", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "US Army facility in Illesheim, Germany", + "connect": { + "countries": [ + "Germany", + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q245016" + ], + "qid": "Q108337154", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 76, + "pctDepth": 73, + "pctReach": 8, + "fame": 52, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000252776f", + "pageId": 38958959, + "revisionId": 1364996502, + "title": "Genoese Batteries", + "type": "Location", + "subtype": null, + "portal": "Science", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Artillery batteries in Gibraltar", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q56344492" + ], + "qid": "Q16838634", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 9, + "pctDepth": 28, + "pctReach": 8, + "fame": 15, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000028e29f5", + "pageId": 42871285, + "revisionId": 1371391529, + "title": "Yente Serdatzky", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 4, + "power": 2, + "toughness": 4, + "territory": 0, + "keywords": [ + "Legacy", + "Well-sourced" + ], + "effects": [], + "rulesText": "Legacy, Well-sourced.", + "flavor": "Russian-born American Yiddish-language writer (1877–1962)", + "connect": { + "countries": [ + "Russia", + "United States" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q17018388", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 89, + "pctReach": 23, + "fame": 51, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003bf2818", + "pageId": 62859288, + "revisionId": 1373475244, + "title": "Waterman Place-Kingsbury Place-Washington Terrace Historic District", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Historic district in Missouri, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [ + "Q15243209" + ], + "qid": "Q85814627", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 31, + "pctDepth": 38, + "pctReach": 8, + "fame": 26, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003f5c331", + "pageId": 66437937, + "revisionId": 1382576557, + "title": "2021 New Jersey General Assembly election", + "type": "Event", + "subtype": "election", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "createToken", + "amount": 3, + "token": { + "name": "Elected Member", + "power": 1, + "toughness": 1, + "portal": "Society" + } + } + ], + "rulesText": "Create three 1/1 Society Figure tokens named Elected Member.", + "flavor": "", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q2618461" + ], + "qid": "Q105319974", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 77, + "pctDepth": 99, + "pctReach": 23, + "fame": 66, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000020090", + "pageId": 131216, + "revisionId": 1378756902, + "title": "Madison Township, Armstrong County, Pennsylvania", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Township in Pennsylvania, US", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q9035798" + ], + "qid": "Q655024", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 35, + "pctDepth": 64, + "pctReach": 67, + "fame": 55, + "magnitude": 2 + } + } + ] +} diff --git a/scripts/duel-card-sample.ts b/scripts/duel-card-sample.ts new file mode 100644 index 0000000..31bc49c --- /dev/null +++ b/scripts/duel-card-sample.ts @@ -0,0 +1,32 @@ +/** + * Writes docs/game/duel-card-sample.json (card-sample.json → DuelCard[]) and prints the + * type / Portal / cost / keyword distributions. Offline. Usage: + * node --experimental-strip-types scripts/duel-card-sample.ts [--check] + * --check exits non-zero if the committed fixture is out of date. + */ +import { readFileSync, writeFileSync } from 'node:fs'; +import { deriveSample, type SampleCard } from '../shared/duel/sample.ts'; +import { DERIVE_VERSION } from '../shared/duel/derive.ts'; + +const root = new URL('../', import.meta.url); +const sample = JSON.parse(readFileSync(new URL('docs/game/card-sample.json', root), 'utf8')) as { cards: SampleCard[] }; +const cards = deriveSample(sample.cards); +const out = JSON.stringify({ source: 'docs/game/card-sample.json', deriveVersion: DERIVE_VERSION, count: cards.length, cards }, null, 1) + '\n'; +const path = new URL('docs/game/duel-card-sample.json', root); + +const tally = (f: (c: typeof cards[number]) => string | number) => { + const m = new Map(); + for (const c of cards) m.set(f(c), (m.get(f(c)) ?? 0) + 1); + return [...m].sort((a, b) => String(a[0]).localeCompare(String(b[0]), 'en', { numeric: true })) + .map(([k, v]) => `${k} ${v} (${(100 * v / cards.length).toFixed(1)}%)`).join(', '); +}; +console.log('type:', tally(c => c.type)); +console.log('typedBy:', tally(c => c.typedBy)); +console.log('portal:', tally(c => c.portal)); +console.log('cost:', tally(c => c.cost)); +console.log('subtype:', tally(c => `${c.type}/${c.subtype ?? '-'}`)); +console.log('keywords:', tally(c => c.keywords.join('+') || 'none')); + +if (process.argv.includes('--check')) { + if (readFileSync(path, 'utf8') !== out) { console.error('duel-card-sample.json is stale'); process.exit(1); } +} else writeFileSync(path, out); diff --git a/shared/duel/classify.ts b/shared/duel/classify.ts new file mode 100644 index 0000000..2f59bb7 --- /dev/null +++ b/shared/duel/classify.ts @@ -0,0 +1,125 @@ +/** + * Card type classification (BRIEF "Card types", data review §1, designer review §3.1). + * Pure and deterministic: everything comes from the frozen CardProfile, nothing is fetched here. + * Order: exact Q-id anchors on P31, then P279 anchors, then P31 label regex (rule order is the + * priority), then P279 label regex, then non-stub categories, then the description, then Doctrine. + * Owner: duel-cards. + */ + +export type CardType = 'Figure' | 'Location' | 'Event' | 'Institution' | 'Doctrine'; +export const CARD_TYPES: readonly CardType[] = ['Figure', 'Location', 'Event', 'Institution', 'Doctrine']; + +export interface WikidataClass { id: string; label: string } + +/** + * The off-chain card profile, frozen the first time a host sees the card (data §3) and logged + * with the match so replays and recaps stay deterministic. Only what derivation reads. + */ +export interface CardProfile { + wikidataId: string | null; + /** Wikipedia short description. */ + description: string | null; + /** Non-hidden category titles without the "Category:" prefix. */ + categories: readonly string[]; + /** P31 (instance of). */ + instanceOf: readonly WikidataClass[]; + /** P279 (subclass of) of the item itself, or the P31 classes' superclasses up to 4 hops, nearest first. */ + subclassOf?: readonly WikidataClass[]; + /** P17 / P27 country Q-ids (or labels when only text is known). */ + countries?: readonly string[]; + /** Years from P569/P570/P571/P580/P585 (negative = BCE). */ + years?: readonly number[]; + /** P570 (date of death) present. */ + died?: boolean; + /** ns0 outlinks as pageIds (data §4), for the Linked tier of Connected. */ + links?: readonly number[]; + /** Item Q-ids cited by the frozen claims (P17, P27, P131, P361, P106, …), for the Linked tier. */ + cites?: readonly string[]; + /** The live revision the profile was fetched from (data §3). */ + fetchedRevisionId?: number; +} + +export type ClassifySource = 'qid' | 'p279-qid' | 'p31' | 'p279' | 'category' | 'description' | 'fallback'; +export interface Classification { type: CardType; source: ClassifySource; matched: string } + +/** Exact anchors (designer §3.1 step 1, data §1 production table). Checked against P31, then P279. */ +export const QID_ANCHORS: Readonly> = { + Q5: 'Figure', Q95074: 'Figure', Q16521: 'Figure', Q23038290: 'Figure', Q8436: 'Figure', Q178885: 'Figure', + Q486972: 'Location', Q515: 'Location', Q532: 'Location', Q3957: 'Location', Q4022: 'Location', Q23397: 'Location', + Q8502: 'Location', Q23442: 'Location', Q41176: 'Location', + Q1656682: 'Event', Q40231: 'Event', Q178561: 'Event', Q198: 'Event', Q8065: 'Event', + Q43229: 'Institution', Q4830453: 'Institution', Q783794: 'Institution', Q7278: 'Institution', Q215380: 'Institution', + Q17537576: 'Institution', Q11424: 'Institution', Q482994: 'Institution', Q7366: 'Institution', Q571: 'Institution', + Q12136: 'Doctrine', Q151885: 'Doctrine', Q7187: 'Doctrine', Q9143: 'Doctrine', Q315: 'Doctrine', +}; + +type Rules = readonly (readonly [CardType, RegExp])[]; + +/** P31/P279 label rules (data §1 types.py, with `^human$` and the governing-body fix). Order is load-bearing. */ +export const LABEL_RULES: Rules = [ + ['Doctrine', /aspect of|aspect in|disease|clinical sign|list article|chemical entity/], + ['Event', new RegExp('election|protest|battle|war\\b|storm|nor.easter|cyclone|tornado|earthquake|disaster|event|match|final\\b|' + + 'season|championship|tournament|\\brace\\b|grand prix|scandal|annexation|treaty|incident|festival|referendum|' + + 'conference|ceremony|time period|delegation|spaceflight|siege|riot|massacre|flood|pandemic|epidemic|straw poll')], + ['Institution', /artificial satellite|space station|space telescope|spacecraft|space probe|diocese|ecclesiastical|council\b|governing body|stele/], + ['Location', new RegExp('planet|natural satellite|\\bstar\\b|galaxy|nebula|planetary system|astronomical object|rainforest|reef|' + + 'civili[sz]ation|empire|historical country|archaeological site|' + + 'human settlement|settlement|village|town|city|commune|municipal|parish|county|district|region|province|' + + 'township|hamlet|townland|census area|local government|community of|island|river|lake|mountain|plateau|' + + 'waterfall|valley|bay|peak|geographical feature|historic district|park|state park|square|road|highway|' + + 'building|castle|mosque|church|temple|cathedral|house|home|museum|station|bridge|monument|historic site|' + + 'military base|battery|refinery|shopping|stadium|arch|tower|fort|palace|columbari|freguesia|country\\b|sovereign state')], + ['Figure', /^human$|fictional character|stock character|person|deity|orisha|loa\b|taxon|species|genus|breed|^family$|organism/], + ['Institution', new RegExp('company|business|organi[sz]ation|association|society|party|agency|studio|band|musical group|team|club|' + + 'university|college|school|institute|manufacturer|newspaper|magazine|film|album|' + + 'song|single|musical work|composition|television|series|book|novel|video game|painting|award|position|' + + 'aircraft|ship|steamship|vehicle|automobile|tram|railway line|route|typeface|software|product|brand|artifact|artefact')], + ['Doctrine', new RegExp('concept|theory|theorem|mathematical|programming language|language|gene|protein|chemical|compound|' + + 'ideology|religion|discipline|field|cuisine|food|dish|drink|aspect|' + + 'particle|process|genre|form\\b|game\\b|branch of|class of|type of|tabular|structure')], +]; + +/** Category fallback (stub categories are skipped). */ +export const CATEGORY_RULES: Rules = [ + ['Figure', /\bbirth|\bdeaths\b|living people|people from|\bspecies\b|described in \d|\bgenera\b|deities|characters/], + ['Event', /\belections\b|protests|\bbattles\b|disasters|\braces\b|\bseasons\b|\bevents\b|scandals|annexations|competitions/], + ['Location', new RegExp('villages|communes|parishes|local government|populated places|geography|rivers|islands|buildings and structures|bridges|' + + 'stations|parks|districts|townships|cities and towns|historic places|freguesias')], + ['Institution', new RegExp('companies|organi[sz]ations|\\bfilms\\b|albums|songs|novels|newspapers|television series|musical groups|' + + 'aircraft|ships|typefaces|software|awards|teams|clubs|establishments')], + ['Doctrine', new RegExp('theory|structures$|algebra|terminology|cuisine|drinks|desserts|ecology|languages|diseases|conditions|' + + 'concepts|ranks|etymology|maps|atlases')], +]; + +/** Description fallback (present on ~90% of the sample). */ +export const DESCRIPTION_RULES: Rules = [ + ['Figure', /^(species|genus) of|\b(painter|politician|actor|actress|writer|player|singer|born|species|genus)\b/], + ['Event', /\b(race|election|battle|match|protest|storm|war|competition)\b/], + ['Location', /^(commune|village|town|municipality|river) in|\b(village|town|city|river|island|building|church|columbarium|station|park)\b/], + ['Institution', /\b(company|band|film|album|organi[sz]ation|team|aircraft|ship|newspaper)\b/], + ['Doctrine', /\b(concept|theory|structure|dessert|drink|dish|technique|class of)\b/], +]; + +function firstRule(rules: Rules, texts: readonly string[]): [CardType, string] | null { + for (const [type, rx] of rules) for (const text of texts) if (rx.test(text)) return [type, text]; + return null; +} + +export function classify(profile: Pick): Classification { + const p31 = profile.instanceOf ?? []; + const p279 = profile.subclassOf ?? []; + for (const c of p31) { const t = QID_ANCHORS[c.id]; if (t) return { type: t, source: 'qid', matched: c.id }; } + const p31Labels = p31.map(c => c.label.toLowerCase()); + let hit = firstRule(LABEL_RULES, p31Labels); + if (hit) return { type: hit[0], source: 'p31', matched: hit[1] }; + for (const c of p279) { const t = QID_ANCHORS[c.id]; if (t) return { type: t, source: 'p279-qid', matched: c.id }; } + hit = firstRule(LABEL_RULES, p279.map(c => c.label.toLowerCase())); + if (hit) return { type: hit[0], source: 'p279', matched: hit[1] }; + const cats = (profile.categories ?? []).map(c => c.toLowerCase()).filter(c => !c.includes('stubs')); + hit = firstRule(CATEGORY_RULES, cats); + if (hit) return { type: hit[0], source: 'category', matched: hit[1] }; + const desc = (profile.description ?? '').toLowerCase(); + hit = firstRule(DESCRIPTION_RULES, desc ? [desc] : []); + if (hit) return { type: hit[0], source: 'description', matched: hit[1] }; + return { type: 'Doctrine', source: 'fallback', matched: '' }; +} diff --git a/shared/duel/derive.ts b/shared/duel/derive.ts new file mode 100644 index 0000000..91f1bd2 --- /dev/null +++ b/shared/duel/derive.ts @@ -0,0 +1,317 @@ +/** + * Duel card derivation: an on-chain card plus its frozen off-chain profile becomes a DuelCard + * (BRIEF "Stats", "Keywords", "Factions", "Connected"; data review §2 and §4; designer review §3). + * Pure and deterministic: no fetches, no clocks, no randomness. Every number is data in DERIVE_RULES. + * Owner: duel-cards. + */ +import type { Article } from '../protocol.ts'; +import type { MintStatsSnapshot } from '../enrichment.ts'; +import { rarity as rarityOf } from '../protocol.ts'; +import { CARD_SAMPLE_PERCENTILES } from '../game/card-data.ts'; +import { percentile } from '../game/derive.ts'; +import { classify, type CardProfile, type CardType, type ClassifySource } from './classify.ts'; +import { effectsFor, subtypeFor, type EffectSpec } from './effects.ts'; +import { rulesTextFor } from './text.ts'; + +export type { CardProfile, CardType } from './classify.ts'; +export type { EffectSpec } from './effects.ts'; + +export const DERIVE_VERSION = 'duel-derive-1'; + +export type Portal = 'Arts' | 'Earth' | 'History' | 'Science' | 'Society' | 'Neutral'; +export const PORTALS: readonly Portal[] = ['Arts', 'Earth', 'History', 'Science', 'Society', 'Neutral']; +export type Keyword = 'Protected' | 'Featured' | 'Translated' | 'Legacy' | 'Stub' | 'Well-sourced' | 'Multilingual' | 'Local'; +export type Rarity = 'Common' | 'Rare' | 'Epic' | 'Legendary'; + +/** What derive() reads from the chain: a minted block's article and stats snapshot. */ +export interface CardOnChain { + tokenId: string; + article: Pick; + statsSnapshot: Pick; +} + +export interface ConnectKeys { + /** P17/P27 values, or normalised country names from text when Wikidata has none. */ + countries: string[]; + centuries: number[]; + /** Outlink pageIds. */ + links: number[]; + /** P31 Q-ids, excluding human and taxon (the Kin tier). */ + p31: string[]; + /** This card's Wikidata item, and the item Q-ids its claims cite (Linked tier). */ + qid: string | null; + cites: string[]; +} + +export interface DuelCard { + cardId: string; + pageId: number; + revisionId: number; + title: string; + type: CardType; + /** Template family within the type, e.g. 'conflict', 'election', 'organisation', 'pathology'. */ + subtype: string | null; + portal: Portal; + cost: number; + /** Figures: power/toughness. Locations: 0 / Garrison. Others: null. */ + power: number | null; + toughness: number | null; + /** Locations: Citations income ramp (the engine caps the total). */ + territory: number; + keywords: Keyword[]; + effects: EffectSpec[]; + rulesText: string; + flavor: string; + connect: ConnectKeys; + rarity: Rarity; + deriveVersion: string; + /** Why the card got its type (for audit and the card's info panel). */ + typedBy: ClassifySource; + /** The numbers behind cost and body, for the info panel and the simulator. */ + basis: { pctAttention: number | null; pctDepth: number; pctReach: number; fame: number; magnitude: number }; +} + +export interface DeriveRules { + percentiles: Record<'attention' | 'depth' | 'reach', readonly number[]>; + /** fame → cost 1..6: 1 + number of thresholds ≤ fame. */ + costThresholds: readonly number[]; + /** P+T budget by cost (index = cost). MTG vanilla curve. */ + bodyBudget: readonly number[]; + maxKeywords: number; + /** Keywords that cost 1 point of body (from the larger stat, min 1 each). */ + taxedKeywords: readonly Keyword[]; + keywordOrder: readonly Keyword[]; + featuredPct: number; + wellSourcedPct: number; + /** Translated: translatedPct ≤ pct_reach < multilingualPct. Multilingual: pct_reach ≥ multilingualPct. */ + translatedPct: number; + multilingualPct: number; + stubBytes: number; + /** Garrison toughness = 1 + floor(pct_depth / garrisonStep). */ + garrisonStep: number; +} + +export const DERIVE_RULES: DeriveRules = { + percentiles: CARD_SAMPLE_PERCENTILES, + costThresholds: [26, 39, 51, 63, 78], + bodyBudget: [0, 3, 4, 6, 8, 10, 12], + maxKeywords: 2, + taxedKeywords: ['Protected', 'Featured', 'Legacy', 'Multilingual', 'Well-sourced'], + keywordOrder: ['Protected', 'Featured', 'Legacy', 'Multilingual', 'Translated', 'Well-sourced', 'Stub', 'Local'], + featuredPct: 85, + wellSourcedPct: 85, + translatedPct: 75, + multilingualPct: 90, + stubBytes: 3000, + garrisonStep: 25, +}; + +// ---------------------------------------------------------------- Portals (designer §3.2) + +export const PORTAL_RULES: Readonly, RegExp>> = { + Arts: /\b(actor|actress|singer|musician|rapper|band|album|song|single|film|novel|novelist|writer|poet|painter|artist|composer|television|tv series|music|theatre|theater|dance|dancer|video game|studio|animation|anime|fiction|character|literature|book|magazine|typeface|sculpt\w*|architect\w*|comedian|opera|orchestra)\b/g, + Earth: /\b(species|genus|genera|taxon|plant|plants|animal|bird|birds|fish|insect|moth|beetle|grasshopper|orchid|river|rivers|lake|mountain|island|islands|village|villages|commune|communes|geography|forest|park|ecology|breed|weather|storm|nor.easter|cyclone|earthquake|climate|flora|fauna|populated places|municipality|municipalities|county|township|parish|reef|valley|locality|oblast|freguesia|hamlet)\b/g, + History: /(\b\d+(st|nd|rd|th)-century\b|\b\d+ deaths\b|\b(sultan\w*|empire|castle|castles|medieval|ancient|dynasty|war|battle|battles|monarch|monarchs|king|queen|historic|archaeolog\w*|former|disestablish\w*|colonial|kingdom|museum|nobility|pharaoh)\b)/g, + Science: /\b(mathemat\w*|algebra\w*|programming|software|gene|genes|protein|chemi\w*|disease|diseases|scientist|physic\w*|astronom\w*|biolog\w*|medic\w*|engineer\w*|computer|computing|theorem|planet|galaxy|spacecraft|satellite|aircraft|technology|clinical|structure|structures|category theory|syndrome|virus|bacteri\w*)\b/g, + Society: /\b(politic\w*|politician|election|elections|party|government|law|court|sport|sports|football|cricket|basketball|baseball|olympic\w*|team|club|league|church|religio\w*|diocese|mosque|temple|school|university|company|companies|business|corporation|protest|protests|scandal|corruption|people from|living people|police|crime|cuisine|association|council)\b/g, +}; +const PORTAL_TIE_ORDER: readonly Exclude[] = ['History', 'Science', 'Arts', 'Society', 'Earth']; +export const TYPE_DEFAULT_PORTAL: Readonly>> = { + Figure: 'Society', Location: 'Earth', Event: 'History', Institution: 'Arts', Doctrine: 'Science', +}; + +/** Count keyword hits over description + categories + P31 labels; ties go to the type default; no hits → Neutral. */ +export function portalFor(profile: CardProfile, type: CardType): Portal { + const text = [profile.description ?? '', ...profile.categories, ...profile.instanceOf.map(c => c.label)] + .join(' | ').toLowerCase(); + let best = 0; let tied: Exclude[] = []; + for (const portal of PORTAL_TIE_ORDER) { + const hits = text.match(PORTAL_RULES[portal])?.length ?? 0; + if (hits > best) { best = hits; tied = [portal]; } else if (hits === best && hits > 0) tied.push(portal); + } + if (best === 0) return 'Neutral'; + const fallback = TYPE_DEFAULT_PORTAL[type]; + return tied.includes(fallback) ? fallback : tied[0]; +} + +// ---------------------------------------------------------------- Connected keys (data §4) + +const COUNTRY_WORDS: readonly (readonly [RegExp, string])[] = ([ + ['United States|American', 'United States'], ['United Kingdom|British|England|English|Scotland|Scottish|Wales|Welsh', 'United Kingdom'], + ['France|French', 'France'], ['Germany|German', 'Germany'], ['Japan|Japanese', 'Japan'], ['China|Chinese', 'China'], + ['India|Indian', 'India'], ['Brazil|Brazilian', 'Brazil'], ['Poland|Polish', 'Poland'], ['Italy|Italian', 'Italy'], + ['Spain|Spanish', 'Spain'], ['Austria|Austrian', 'Austria'], ['Canada|Canadian', 'Canada'], ['Australia|Australian', 'Australia'], + ['Russia|Russian', 'Russia'], ['Mexico|Mexican', 'Mexico'], ['Iran|Iranian', 'Iran'], ['Pakistan|Pakistani', 'Pakistan'], + ['Bangladesh|Bangladeshi', 'Bangladesh'], ['Sweden|Swedish', 'Sweden'], ['Norway|Norwegian', 'Norway'], ['Estonia|Estonian', 'Estonia'], + ['Ukraine|Ukrainian', 'Ukraine'], ['Croatia|Croatian', 'Croatia'], ['Philippines|Filipino', 'Philippines'], ['Cuba|Cuban', 'Cuba'], + ['Israel|Israeli', 'Israel'], ['Portugal|Portuguese', 'Portugal'], ['Ireland|Irish', 'Ireland'], ['Kazakhstan|Kazakh', 'Kazakhstan'], + ['Malaysia|Malaysian', 'Malaysia'], ['Argentina|Argentine', 'Argentina'], ['Belgium|Belgian', 'Belgium'], ['Iceland|Icelandic', 'Iceland'], + ['Thailand|Thai', 'Thailand'], ['Singapore', 'Singapore'], ['Sri Lanka|Sri Lankan', 'Sri Lanka'], ['Slovenia|Slovene|Slovenian', 'Slovenia'], + ['Moldova', 'Moldova'], ['Cyprus|Cypriot', 'Cyprus'], ['North Macedonia|Macedonian', 'North Macedonia'], ['Mauritania', 'Mauritania'], + ['Congo', 'Congo'], ['New Zealand', 'New Zealand'], ['Korea|Korean', 'Korea'], ['Indonesia|Indonesian|Aceh', 'Indonesia'], + ['Czech', 'Czechia'], ['Netherlands|Dutch', 'Netherlands'], ['Greece|Greek', 'Greece'], ['Turkey|Turkish', 'Turkey'], + ['Egypt|Egyptian', 'Egypt'], ['Nigeria|Nigerian', 'Nigeria'], ['Kenya|Kenyan', 'Kenya'], ['Ghana|Gold Coast', 'Ghana'], + ['Finland|Finnish', 'Finland'], ['Denmark|Danish', 'Denmark'], ['Switzerland|Swiss', 'Switzerland'], ['Hungary|Hungarian', 'Hungary'], + ['Romania|Romanian', 'Romania'], ['Serbia|Serbian', 'Serbia'], ['Bulgaria|Bulgarian', 'Bulgaria'], ['Vietnam|Vietnamese', 'Vietnam'], + ['Sri Lanka', 'Sri Lanka'], ['Chile|Chilean', 'Chile'], ['Colombia|Colombian', 'Colombia'], ['Peru|Peruvian', 'Peru'], +] as const).map(([rx, name]) => [new RegExp(`\\b(${rx})\\b`), name] as const); + +const YEAR = /\b(1[0-9]{3}|20[0-2][0-9])\b/g; +const CENTURY = /\b(\d{1,2})(st|nd|rd|th)[- ]century\b/gi; + +export function connectKeysFor(title: string, profile: CardProfile): ConnectKeys { + const text = [profile.description ?? '', ...profile.categories].join(' | '); + const countries = profile.countries?.length + ? [...new Set(profile.countries)] + : [...new Set(COUNTRY_WORDS.filter(([rx]) => rx.test(text)).map(([, name]) => name))]; + const centuries = new Set(); + if (profile.years?.length) for (const y of profile.years) centuries.add(y > 0 ? Math.floor((y - 1) / 100) + 1 : -(Math.floor(-y / 100) + 1)); + else { + for (const m of `${title} | ${text}`.matchAll(YEAR)) centuries.add(Math.floor((Number(m[1]) - 1) / 100) + 1); + for (const m of text.matchAll(CENTURY)) centuries.add(Number(m[1])); + } + return { + countries: countries.sort(), + centuries: [...centuries].sort((a, b) => a - b), + links: [...new Set(profile.links ?? [])].sort((a, b) => a - b), + p31: [...new Set(profile.instanceOf.map(c => c.id).filter(id => id !== 'Q5' && id !== 'Q16521'))].sort(), + qid: profile.wikidataId, + cites: [...new Set(profile.cites ?? [])].sort(), + }; +} + +// ---------------------------------------------------------------- Flavour + +/** First sentence of the on-chain extract (BRIEF "Flavour text"); the description if there is no extract. */ +export function flavorFor(extract: string, description: string | null): string { + const text = extract.replace(/\s+/g, ' ').trim(); + if (!text) return (description ?? '').trim(); + // A sentence ends at . ! ? followed by a space and an uppercase letter or a quote, skipping + // common abbreviations and initials ("U.S.", "St.", "J. R. R.") so names are not cut. + const re = /[.!?](?=\s+["'“(\[]?[A-Z0-9])/g; + let m: RegExpExecArray | null; + while ((m = re.exec(text))) { + const before = text.slice(0, m.index); + const word = before.split(/\s/).pop() ?? ''; + if (/^([A-Z]|[A-Z][a-z]{0,2}|[A-Z]\.[A-Z]|U\.S|U\.K|c|ca|St|Dr|Mr|Mrs|Ms|Jr|Sr|No|vs|etc|Inc|Ltd|Co|Mt|Ft|Gen|Col|Lt|Sgt|Rev|Prof)$/.test(word.replace(/\.$/, ''))) continue; + return text.slice(0, m.index + 1); + } + return text; +} + +// ---------------------------------------------------------------- Stats and keywords (data §2, designer §3.3–3.4) + +export interface Percentiles { attention: number | null; depth: number; reach: number } + +export function percentilesFor(stats: MintStatsSnapshot['stats'], rules: DeriveRules = DERIVE_RULES): Percentiles { + return { + attention: stats.attention === null ? null : percentile(stats.attention, rules.percentiles.attention), + depth: percentile(stats.depth, rules.percentiles.depth), + reach: percentile(stats.reach, rules.percentiles.reach), + }; +} + +export function fameOf(p: Percentiles): number { + const values = [p.attention, p.depth, p.reach].filter((v): v is number => v !== null); + return Math.floor(values.reduce((a, b) => a + b, 0) / values.length + 0.5); +} + +export function costForFame(fame: number, rules: DeriveRules = DERIVE_RULES): number { + return 1 + rules.costThresholds.filter(t => t <= fame).length; +} + +/** Every keyword the data triggers, in priority order (before the cap). */ +export function triggeredKeywords(chain: CardOnChain, profile: CardProfile, p: Percentiles, rules: DeriveRules = DERIVE_RULES): Keyword[] { + const cats = profile.categories; + const on: Record = { + Protected: cats.includes('Living people'), + Featured: p.attention !== null && p.attention >= rules.featuredPct, + Legacy: profile.died === true || cats.some(c => /^\d+s? (BC )?deaths$/.test(c)), + 'Well-sourced': p.depth >= rules.wellSourcedPct, + // Two bands of the same reach axis: a card never has both (DUEL_DESIGN §4). + Multilingual: p.reach >= rules.multilingualPct, + Translated: p.reach >= rules.translatedPct && p.reach < rules.multilingualPct, + Stub: cats.some(c => c.toLowerCase().includes('stubs')) || chain.statsSnapshot.pageBytes < rules.stubBytes, + Local: chain.statsSnapshot.stats.reach === 0, + }; + return rules.keywordOrder.filter(k => on[k]); +} + +export interface Body { power: number; toughness: number; keywords: Keyword[] } + +/** + * Figure body (DUEL_DESIGN §3): take the first ≤2 triggered keywords in priority order, subtract 1 + * from the cost's P+T budget per taxed keyword, then split by attention vs depth, each stat ≥ 1. + * A taxed keyword that would leave less than 2 points is skipped for the next one. + */ +export function figureBody(cost: number, p: Percentiles, keywords: readonly Keyword[], rules: DeriveRules = DERIVE_RULES): Body { + let budget = rules.bodyBudget[cost]; + if (budget === undefined) throw new RangeError(`bodyBudget has no entry for cost ${cost}`); + const kept: Keyword[] = []; + for (const k of keywords) { + if (kept.length >= rules.maxKeywords) break; + if (rules.taxedKeywords.includes(k)) { + if (budget <= 2) continue; + budget--; + } + kept.push(k); + } + const a = p.attention ?? 50; + const power = Math.min(budget - 1, Math.max(1, Math.round(budget * a / Math.max(1, a + p.depth)))); + return { power, toughness: budget - power, keywords: kept }; +} + +// ---------------------------------------------------------------- derive + +export function derive(chain: CardOnChain, profile: CardProfile, rules: DeriveRules = DERIVE_RULES): DuelCard { + const { type, source } = classify(profile); + const p = percentilesFor(chain.statsSnapshot.stats, rules); + const fame = fameOf(p); + const baseCost = costForFame(fame, rules); + const magnitude = Math.ceil(baseCost / 2); + const portal = portalFor(profile, type); + const subtype = subtypeFor(type, profile); + let cost = baseCost, power: number | null = null, toughness: number | null = null, territory = 0; + let keywords: Keyword[] = []; + if (type === 'Figure') { + const body = figureBody(baseCost, p, triggeredKeywords(chain, profile, p, rules), rules); + ({ power, toughness, keywords } = body); + } else if (type === 'Location') { + cost = magnitude; + power = 0; + toughness = 1 + Math.floor(p.depth / rules.garrisonStep); + territory = 1; + } + const effects = effectsFor(type, subtype, baseCost); + const card: DuelCard = { + cardId: chain.tokenId, pageId: chain.article.pageId, revisionId: chain.article.revisionId, title: chain.article.title, + type, subtype, portal, cost, power, toughness, territory, keywords, effects, rulesText: '', + flavor: flavorFor(chain.article.extract, profile.description), + connect: connectKeysFor(chain.article.title, profile), + rarity: rarityOf(chain.tokenId), deriveVersion: DERIVE_VERSION, typedBy: source, + basis: { pctAttention: p.attention, pctDepth: p.depth, pctReach: p.reach, fame, magnitude }, + }; + card.rulesText = rulesTextFor(card); + return card; +} + +// ---------------------------------------------------------------- Connected (data §4) + +/** DUEL_DESIGN §6: Contemporary counts only between different types. */ +export type ConnectedTier = 'Linked' | 'Compatriot' | 'Contemporary' | 'Kin'; + +/** The strongest Connected tier between two cards, or null. Linked gives +2/+2, the others +1/+1 (BRIEF). */ +export function connectedTier(a: DuelCard, b: DuelCard, + tiers: readonly ConnectedTier[] = ['Linked', 'Compatriot', 'Contemporary', 'Kin']): ConnectedTier | null { + if (a.cardId === b.cardId) return null; + const meets = (x: readonly (string | number)[], y: readonly (string | number)[]) => x.some(v => y.includes(v)); + for (const tier of tiers) { + if (tier === 'Linked' && (a.connect.links.includes(b.pageId) || b.connect.links.includes(a.pageId) + || (b.connect.qid !== null && a.connect.cites.includes(b.connect.qid)) + || (a.connect.qid !== null && b.connect.cites.includes(a.connect.qid)))) return tier; + if (tier === 'Compatriot' && meets(a.connect.countries, b.connect.countries)) return tier; + if (tier === 'Contemporary' && a.type !== b.type && meets(a.connect.centuries, b.connect.centuries)) return tier; + if (tier === 'Kin' && meets(a.connect.p31, b.connect.p31)) return tier; + } + return null; +} diff --git a/shared/duel/effects.ts b/shared/duel/effects.ts new file mode 100644 index 0000000..2d7f555 --- /dev/null +++ b/shared/duel/effects.ts @@ -0,0 +1,109 @@ +/** + * Effect templates by type and subtype (designer review §3.5; DUEL_DESIGN.md wins where they differ). + * Effects are plain data for duel-core's interpreter. k = ceil(cost / 2), 1–3, from the derived (fame) cost. + * Owner: duel-cards. + */ +import type { CardProfile, CardType } from './classify.ts'; +import type { Keyword, Portal } from './derive.ts'; + +export type EffectTrigger = 'onPlay' | 'onEnter' | 'startOfTurn' | 'onDestroyed' | 'static' | 'onCombatDamageToPlayer'; +export type EffectOp = 'damage' | 'damageEach' | 'createToken' | 'pump' | 'fight' | 'draw' | 'attach' | 'gainLife'; +export type EffectTarget = 'figure' | 'figureOrLocation' | 'ownFigure' | 'opponentFigure' | 'each' | 'self' | 'attached' | 'ownFigures'; + +export interface EffectSpec { + trigger: EffectTrigger; + op: EffectOp; + target?: EffectTarget; + amount?: number; + power?: number; + toughness?: number; + duration?: 'turn' | 'permanent'; + token?: { name: string; power: number; toughness: number; portal: Portal }; + condition?: { maxPower?: number; samePortal?: boolean; connected?: boolean; maxTokens?: number; whileAttacking?: boolean }; + grant?: Keyword[]; +} + +type Subtypes = readonly (readonly [string, RegExp])[]; + +/** + * Subtype rules per type (DUEL_DESIGN §5), run over P31 labels, P279 labels, the description, then + * categories. First match in list order wins; no match is the type's default template. + * Additions beyond §5 (marked +): bands/associations count as organisations; 'flood' etc. as listed. + */ +export const SUBTYPE_RULES: Readonly> = { + Event: [ + ['conflict', /battle|war\b|siege|annexation|protest|riot|uprising|massacre|coup/], + ['disaster', /storm|nor.easter|cyclone|hurricane|earthquake|flood|tornado|wildfire|eruption|famine|epidemic/], + ['election', /election|referendum|straw poll/], + ['sport', /match|final\b|season|tournament|championship|grand prix|\brace\b/], + ], + Institution: [ + ['organisation', /company|organi[sz]ation|party|agency|studio|military|university|diocese|council|band\b|musical group|association|business|school|college|institute|manufacturer/], + ['work', /film|album|song|\bbook|novel|series|video game|painting|software|typeface|newspaper|magazine/], + ], + Doctrine: [ + ['pathology', /disease|clinical sign|pathogen|syndrome|disorder|toxin|poison/], + ['language', /language|software|programming/], + ['mathematics', /mathemat|theorem|algebra|geometr|polytope|polyhedron|equation|number theory|structure/], + ['ideology', /ideology|religion|belief|doctrine|philosophy|theology/], + ], + Figure: [], + Location: [], +}; + +/** Default template names, for the info panel (null subtype). */ +export const DEFAULT_SUBTYPE: Readonly> = { + Figure: null, Location: null, Event: 'other', Institution: 'other', Doctrine: 'adopt', +}; + +export function subtypeFor(type: CardType, profile: Pick): string | null { + const groups = [ + [...profile.instanceOf.map(c => c.label), ...(profile.subclassOf ?? []).map(c => c.label)], + [profile.description ?? ''], + [...(profile.categories ?? []).filter(c => !/stubs$/i.test(c))], + ].map(g => g.map(t => t.toLowerCase()).filter(Boolean)); + for (const texts of groups) for (const [name, rx] of SUBTYPE_RULES[type]) if (texts.some(t => rx.test(t))) return name; + return DEFAULT_SUBTYPE[type]; +} + +/** The effect list for a card (T1–T12). Figures and Locations have none beyond keywords and stats. */ +export function effectsFor(type: CardType, subtype: string | null, cost: number): EffectSpec[] { + const k = Math.ceil(cost / 2); + switch (type) { + case 'Event': + switch (subtype) { + case 'conflict': return [{ trigger: 'onPlay', op: 'damage', target: 'figureOrLocation', amount: k + 1 }]; + case 'disaster': return [{ trigger: 'onPlay', op: 'damageEach', target: 'each', amount: Math.max(1, k - 1) }]; + case 'election': return [{ trigger: 'onPlay', op: 'createToken', amount: k, + token: { name: 'Elected Member', power: 1, toughness: 1, portal: 'Society' } }]; + case 'sport': return [ + { trigger: 'onPlay', op: 'pump', target: 'ownFigure', power: k, toughness: 0, duration: 'turn' }, + { trigger: 'onPlay', op: 'fight', target: 'opponentFigure' }, + ]; + default: return [{ trigger: 'onPlay', op: 'draw', amount: k }]; + } + case 'Institution': + switch (subtype) { + case 'organisation': { + const token = { name: 'Staff Member', power: 1, toughness: 1, portal: 'Neutral' as const }; + return cost >= 4 + ? [{ trigger: 'startOfTurn', op: 'createToken', amount: 1, token, condition: { maxTokens: 2 } }] + : [{ trigger: 'onEnter', op: 'createToken', amount: 1, token }]; + } + case 'work': return [ + { trigger: 'onEnter', op: 'draw', amount: 1 }, + { trigger: 'static', op: 'pump', target: 'ownFigures', power: 1, toughness: 1, condition: { connected: true } }, + ]; + default: return [{ trigger: 'static', op: 'pump', target: 'ownFigures', power: 1, toughness: 0, condition: { maxPower: 2 } }]; + } + case 'Doctrine': { + if (subtype === 'pathology') return [{ trigger: 'onPlay', op: 'attach', target: 'figure', power: -k, toughness: -k, duration: 'permanent' }]; + const attach: EffectSpec = { trigger: 'onPlay', op: 'attach', target: 'ownFigure', power: k, toughness: k, duration: 'permanent' }; + if (subtype === 'mathematics') return [{ ...attach, grant: ['Well-sourced'] }]; + if (subtype === 'language') return [attach, { trigger: 'onCombatDamageToPlayer', op: 'draw', target: 'attached', amount: 1 }]; + if (subtype === 'ideology') return [attach, { trigger: 'static', op: 'pump', target: 'ownFigures', power: 1, toughness: 0, condition: { samePortal: true } }]; + return [attach]; + } + default: return []; + } +} diff --git a/shared/duel/sample.ts b/shared/duel/sample.ts new file mode 100644 index 0000000..05df0a9 --- /dev/null +++ b/shared/duel/sample.ts @@ -0,0 +1,38 @@ +/** + * Fixture: docs/game/card-sample.json (236 real random cards) → DuelCard[], for sim-balance, the UI + * and tests. The sample has no on-chain extract, so flavour falls back to the description, and its + * tokenIds are synthetic (the pageId as 64 hex digits). Owner: duel-cards. + */ +import type { CardProfile } from './classify.ts'; +import { derive, DERIVE_RULES, type CardOnChain, type DeriveRules, type DuelCard } from './derive.ts'; + +/** The fields of a card-sample.json card that derivation reads. */ +export interface SampleCard { + pageId: number; title: string; description: string | null; wikidataId: string | null; revisionId: number; + pageBytes: number; languageCount: number; categories: string[]; + stats: { attention: number | null; depth: number; reach: number }; + instanceOf: { id: string; label: string }[]; + extract?: string; +} + +export function sampleTokenId(pageId: number): string { + return pageId.toString(16).padStart(64, '0'); +} + +export function sampleInputs(card: SampleCard): { chain: CardOnChain; profile: CardProfile } { + return { + chain: { + tokenId: sampleTokenId(card.pageId), + article: { pageId: card.pageId, title: card.title, extract: card.extract ?? '', revisionId: card.revisionId }, + statsSnapshot: { pageBytes: card.pageBytes, languageCount: card.languageCount, stats: card.stats }, + }, + profile: { + wikidataId: card.wikidataId, description: card.description, categories: card.categories, + instanceOf: card.instanceOf, fetchedRevisionId: card.revisionId, + }, + }; +} + +export function deriveSample(cards: readonly SampleCard[], rules: DeriveRules = DERIVE_RULES): DuelCard[] { + return cards.map(card => { const { chain, profile } = sampleInputs(card); return derive(chain, profile, rules); }); +} diff --git a/shared/duel/text.ts b/shared/duel/text.ts new file mode 100644 index 0000000..e1af298 --- /dev/null +++ b/shared/duel/text.ts @@ -0,0 +1,135 @@ +/** + * Rules text in MTG's terse register (designer review §3.4–3.5, critic S7, BRIEF decision 5). + * Deterministic templates filled only with the card's own derived numbers and keyword names. + * No prose about the subject, no invented facts: flavour text is the article's own first sentence. + * Owner: duel-cards. + */ +import type { DuelCard, Keyword } from './derive.ts'; +import type { EffectSpec } from './effects.ts'; + +/** Reminder text per keyword (DUEL_DESIGN §4). */ +export const KEYWORD_REMINDER: Readonly> = { + Protected: 'Can\'t be the target of Events or Doctrines an opponent controls.', + Featured: 'Can\'t be blocked except by Featured, Translated or Multilingual Figures.', + Legacy: 'When this is destroyed, draw a card.', + Multilingual: 'Can block Featured Figures. Can\'t be blocked by Local Figures.', + Translated: 'Can block Featured Figures.', + 'Well-sourced': 'Prevent the first 1 damage that would be dealt to this each turn.', + Stub: 'At the start of your turn, put a +1/+1 counter on this, to a maximum of 2.', + Local: 'Gets +1/+1 while you control a Compatriot Location.', +}; + +const NUMBER_WORDS = ['zero', 'one', 'two', 'three', 'four', 'five', 'six']; +const word = (n: number) => NUMBER_WORDS[n] ?? String(n); +const signed = (n: number) => (n >= 0 ? `+${n}` : `−${-n}`); +const pt = (p = 0, t = 0) => `${signed(p)}/${signed(t)}`; + +const TARGET_NOUN: Readonly> = { + figure: 'target Figure', figureOrLocation: 'target Figure or Location', ownFigure: 'target Figure you control', + opponentFigure: 'target Figure you don\'t control', each: 'each Figure and each Location', self: 'this', + attached: 'enchanted Figure', ownFigures: 'Figures you control', +}; + +function keywordsAsText(keywords: readonly Keyword[]): string { + return keywords.join(', '); +} + +function staticText(e: EffectSpec): string { + const c = e.condition ?? {}; + let who = 'Figures you control'; + if (c.maxPower !== undefined) who = `Figures you control with power ${c.maxPower} or less`; + if (c.connected) who = 'Figures you control that are Connected to this'; + if (c.samePortal) who = 'Other Figures you control of its Portal'; + if (e.grant?.length && !e.power && !e.toughness) { + return `${who} have ${keywordsAsText(e.grant)}${c.whileAttacking ? ' while attacking' : ''}.`; + } + return `${who} get ${pt(e.power, e.toughness)}.`; +} + +function tokenText(e: EffectSpec): string { + const t = e.token!; + const n = e.amount ?? 1; + const portal = t.portal === 'Neutral' ? '' : `${t.portal} `; + const body = `${t.power}/${t.toughness} ${portal}Figure token${n === 1 ? '' : 's'} named ${t.name}`; + return n === 1 ? `create a ${body}` : `create ${word(n)} ${body}`; +} + +function actionText(e: EffectSpec): string { + switch (e.op) { + case 'damage': return `deal ${e.amount} damage to ${TARGET_NOUN[e.target ?? 'figure']}`; + case 'damageEach': return `deal ${e.amount} damage to each Figure and each Location`; + case 'createToken': return tokenText(e); + case 'pump': return `${TARGET_NOUN[e.target ?? 'figure']} gets ${pt(e.power, e.toughness)}${e.duration === 'turn' ? ' until end of turn' : ''}`; + case 'fight': return `it fights ${TARGET_NOUN[e.target ?? 'opponentFigure']}`; + case 'draw': return e.amount === 1 ? 'draw a card' : `draw ${word(e.amount ?? 1)} cards`; + case 'gainLife': return `you gain ${e.amount} Notability`; + case 'attach': return ''; + } +} + +const cap = (s: string) => s.charAt(0).toUpperCase() + s.slice(1); + +/** One sentence per effect, in effect order. */ +export function effectText(effects: readonly EffectSpec[]): string[] { + const lines: string[] = []; + for (let i = 0; i < effects.length; i++) { + const e = effects[i]; + if (e.op === 'attach') { + const grant = e.grant?.length ? ` and has ${keywordsAsText(e.grant)}` : ''; + lines.push(`Attach to ${e.target === 'figure' ? 'target Figure' : 'target Figure you control'}. It gets ${pt(e.power, e.toughness)}${grant}.`); + continue; + } + if (e.op === 'fight' && i > 0 && effects[i - 1].op === 'pump') { + lines[lines.length - 1] = lines[lines.length - 1].replace(/\.$/, `, then ${actionText(e)}.`); + continue; + } + switch (e.trigger) { + case 'static': lines.push(staticText(e)); break; + case 'onPlay': lines.push(`${cap(actionText(e))}.`); break; + case 'onEnter': lines.push(`When this enters, ${actionText(e)}.`); break; + case 'onDestroyed': lines.push(`When this is destroyed, ${actionText(e)}.`); break; + case 'startOfTurn': { + const max = e.condition?.maxTokens; + const cond = max !== undefined ? `, if you control fewer than ${max + 1} tokens` : ''; + lines.push(`At the start of your turn${cond}, ${actionText(e)}.`); + break; + } + case 'onCombatDamageToPlayer': + lines.push(`Whenever ${e.target === 'attached' ? 'it' : 'this'} deals combat damage to a player, ${actionText(e)}.`); + break; + } + } + return lines; +} + +/** The type line, e.g. "Figure — Society" or "Event — History". */ +export function typeLine(card: Pick): string { + return card.portal === 'Neutral' ? card.type : `${card.type} — ${card.portal}`; +} + +/** Full rules text: keyword line, Location lines, effect lines. Newline-separated. */ +export function rulesTextFor(card: Pick): string { + const lines: string[] = []; + if (card.keywords.length) lines.push(`${keywordsAsText(card.keywords)}.`); + if (card.type === 'Location') { + if (card.territory) lines.push('Territory.'); + lines.push(`Garrison 0/${card.toughness}.`); + } + lines.push(...effectText(card.effects)); + return lines.join('\n'); +} + +export const RULE_WORD_REMINDER: Readonly> = { + Territory: 'Your Citation maximum is 1 higher while you control this, to at most +2 from Territory.', + Garrison: 'This can block like a Figure with power 0. It can\'t attack.', +}; + +/** Rules text with reminder text for keywords and rule words, for the tap-to-expand view. */ +export function rulesTextWithReminders(card: Pick): string { + const lines = card.keywords.map(k => `${k}. (${KEYWORD_REMINDER[k]})`); + for (const line of rulesTextFor({ ...card, keywords: [] }).split('\n').filter(Boolean)) { + const word = line.match(/^(Territory|Garrison)\b/)?.[1] as keyof typeof RULE_WORD_REMINDER | undefined; + lines.push(word ? `${line} (${RULE_WORD_REMINDER[word]})` : line); + } + return lines.join('\n'); +} diff --git a/tests/duel-cards-derive.test.ts b/tests/duel-cards-derive.test.ts new file mode 100644 index 0000000..5f522ec --- /dev/null +++ b/tests/duel-cards-derive.test.ts @@ -0,0 +1,205 @@ +import test from 'node:test'; +import assert from 'node:assert/strict'; +import { readFileSync } from 'node:fs'; +import { classify } from '../shared/duel/classify.ts'; +import { + derive, connectedTier, figureBody, flavorFor, portalFor, DERIVE_RULES, DERIVE_VERSION, + type DuelCard, type CardProfile, +} from '../shared/duel/derive.ts'; +import { deriveSample, sampleInputs, type SampleCard } from '../shared/duel/sample.ts'; +import { rulesTextFor, rulesTextWithReminders, typeLine } from '../shared/duel/text.ts'; + +const root = new URL('../', import.meta.url); +const SAMPLE = (JSON.parse(readFileSync(new URL('docs/game/card-sample.json', root), 'utf8')) as { cards: SampleCard[] }).cards; +const FIXTURE = JSON.parse(readFileSync(new URL('docs/game/duel-card-sample.json', root), 'utf8')) as { deriveVersion: string; cards: DuelCard[] }; +const CARDS = deriveSample(SAMPLE); +const byTitle = (title: string) => { + const card = CARDS.find(c => c.title === title); + assert.ok(card, `missing sample card ${title}`); + return card; +}; +const profile = (overrides: Partial): CardProfile => + ({ wikidataId: null, description: null, categories: [], instanceOf: [], ...overrides }); + +test('every sample card gets a type, and nothing falls through to the Doctrine residual', () => { + assert.equal(CARDS.length, 236); + const fallback = CARDS.filter(c => c.typedBy === 'fallback'); + assert.deepEqual(fallback.map(c => c.title), []); + const share = (t: string) => CARDS.filter(c => c.type === t).length / CARDS.length; + // data §1 distribution, ±4 points + assert.ok(Math.abs(share('Figure') - 0.364) < 0.04); + assert.ok(Math.abs(share('Location') - 0.331) < 0.04); + assert.ok(share('Event') > 0.05 && share('Doctrine') > 0.05 && share('Institution') > 0.1); +}); + +test('"human settlement" villages are Locations, not Figures (the \\bhuman\\b bug)', () => { + for (const title of ['Buky', 'Lunugala', 'Žižki', 'Laukhella']) assert.equal(byTitle(title).type, 'Location', title); + assert.equal(classify(profile({ instanceOf: [{ id: 'Q999', label: 'human settlement' }] })).type, 'Location'); + assert.equal(classify(profile({ instanceOf: [{ id: 'Q999', label: 'human' }] })).type, 'Figure'); +}); + +test('rule order: elections beat "municipal", aspects beat "region", governing bodies are Institutions', () => { + assert.equal(byTitle('2023 Seville municipal election').type, 'Event'); + assert.equal(byTitle('Corruption in Kazakhstan').type, 'Doctrine'); + assert.equal(byTitle('Diocese of Mindelo').type, 'Institution'); + assert.equal(byTitle('Region Östergötland').type, 'Institution'); + assert.equal(byTitle('Lewis and Elizabeth Bolton House').type, 'Location'); +}); + +test('P279 anchors and labels classify items without P31; categories then description are fallbacks', () => { + assert.deepEqual(classify(profile({ subclassOf: [{ id: 'Q1', label: 'algebraic structure' }] })), + { type: 'Doctrine', source: 'p279', matched: 'algebraic structure' }); + assert.equal(classify(profile({ subclassOf: [{ id: 'Q43229', label: 'x' }] })).source, 'p279-qid'); + assert.equal(classify(profile({ categories: ['Villages in Somewhere', 'Somewhere geography stubs'] })).type, 'Location'); + assert.equal(classify(profile({ description: 'Species of beetle' })).type, 'Figure'); + assert.deepEqual(classify(profile({})), { type: 'Doctrine', source: 'fallback', matched: '' }); +}); + +test('derive is deterministic and the committed fixture is current', () => { + assert.deepEqual(deriveSample(SAMPLE), CARDS); + assert.equal(FIXTURE.deriveVersion, DERIVE_VERSION); + assert.deepEqual(FIXTURE.cards, CARDS, 'run: node --experimental-strip-types scripts/duel-card-sample.ts'); + const { chain, profile: p } = sampleInputs(SAMPLE[0]); + const frozen = structuredClone(p); + derive(chain, p); + assert.deepEqual(p, frozen, 'derive must not mutate the profile'); +}); + +test('costs, bodies and keyword caps stay in range', () => { + for (const c of CARDS) { + assert.ok(c.keywords.length <= 2, c.title); + if (c.type === 'Figure') { + assert.ok(c.cost >= 1 && c.cost <= 6, c.title); + const taxed = c.keywords.filter(k => DERIVE_RULES.taxedKeywords.includes(k)).length; + assert.ok(c.connect.qid === null || /^Q\d+$/.test(c.connect.qid)); + assert.equal(c.power! + c.toughness!, DERIVE_RULES.bodyBudget[c.cost] - taxed, c.title); + assert.ok(c.power! >= 1 && c.toughness! >= 1, c.title); + } else if (c.type === 'Location') { + assert.ok(c.cost >= 1 && c.cost <= 3, c.title); + assert.equal(c.power, 0); + assert.ok(c.toughness! >= 1 && c.toughness! <= 4); + assert.deepEqual(c.keywords, []); + } else { + assert.equal(c.power, null); + assert.ok(c.effects.length > 0, c.title); + } + } +}); + +test('no famous Figure is strictly better than another Figure of no lower cost with the same keywords (data §2)', () => { + const figures = CARDS.filter(c => c.type === 'Figure'); + const dominated: string[] = []; + for (const x of figures) for (const y of figures) { + if (x === y || x.keywords.join() !== y.keywords.join()) continue; + if (x.cost <= y.cost && x.power! >= y.power! && x.toughness! >= y.toughness! + && (x.cost < y.cost || x.power! > y.power! || x.toughness! > y.toughness!)) dominated.push(`${x.title} > ${y.title}`); + } + assert.deepEqual(dominated, []); + // Fame buys size, not efficiency: (P+T)/cost does not rise with cost. + const eff = (cost: number) => { const g = figures.filter(c => c.cost === cost); return g.reduce((s, c) => s + (c.power! + c.toughness!) / cost, 0) / g.length; }; + for (let cost = 2; cost <= 6; cost++) assert.ok(eff(cost) < eff(1) && eff(cost) <= 2, `cost ${cost}: ${eff(cost)}`); +}); + +test('figureBody: keyword tax comes off the budget first, then attention vs depth splits it', () => { + assert.deepEqual(figureBody(4, { attention: 90, depth: 10, reach: 0 }, []), { power: 7, toughness: 1, keywords: [] }); + assert.deepEqual(figureBody(4, { attention: 10, depth: 90, reach: 0 }, ['Featured']), { power: 1, toughness: 6, keywords: ['Featured'] }); + assert.deepEqual(figureBody(1, { attention: 50, depth: 50, reach: 0 }, ['Legacy', 'Stub', 'Local']), + { power: 1, toughness: 1, keywords: ['Legacy', 'Stub'] }); + assert.deepEqual(figureBody(1, { attention: 50, depth: 50, reach: 0 }, ['Protected', 'Legacy', 'Stub']), + { power: 1, toughness: 1, keywords: ['Protected', 'Stub'] }); + assert.deepEqual(figureBody(3, { attention: null, depth: 50, reach: 0 }, ['Translated', 'Stub', 'Local']), + { power: 3, toughness: 3, keywords: ['Translated', 'Stub'] }); +}); + +test('keyword bands: Multilingual and Translated never both; Figures only', () => { + for (const c of CARDS) { + assert.ok(!(c.keywords.includes('Multilingual') && c.keywords.includes('Translated')), c.title); + if (c.type !== 'Figure') assert.deepEqual(c.keywords, [], c.title); + } +}); + +test('DUEL_DESIGN §9 worked examples (golden)', () => { + const show = (title: string) => { + const c = byTitle(title); + const body = c.type === 'Figure' || c.type === 'Location' ? ` · ${c.power}/${c.toughness}` : ''; + return `${c.cost} · ${typeLine(c)}${body} · ${c.rulesText.replace(/\n/g, ' ')} · ${c.flavor}`; + }; + const golden: Record = { + 'Marc Fesneau': '5 · Figure — Society · 5/4 · Protected. · French politician (born 1971)', + 'Tom Ewell': '6 · Figure — Arts · 5/5 · Featured, Legacy. · American actor (1909–1994)', + 'Zbyszek Godlewski': '5 · Figure — History · 6/3 · Legacy, Translated. · Polish protester (1952–1970)', + "Pallas's cat": '6 · Figure — Earth · 5/5 · Featured, Multilingual. · Species of small wild cat', + 'Dichromorpha viridis': '2 · Figure — Earth · 3/1 · Stub. · Species of grasshopper', + Monoid: '6 · Doctrine — Science · Attach to target Figure you control. It gets +3/+3 and has Well-sourced. · ' + + 'Algebraic structure with an associative operation and an identity element', + 'Heart rot': '5 · Doctrine — Science · Attach to target Figure. It gets −3/−3. · Fungal disease of trees', + "April 2021 nor'easter": "3 · Event — Earth · Deal 1 damage to each Figure and each Location. · Slow-moving nor'easter in April 2021", + // §9 says History; the Portal score is Society (protest/riot categories outnumber "war"). + '2025 Tehreek-e-Labbaik Pakistan protests': '5 · Event — Society · Deal 4 damage to target Figure or Location. · Gaza war protests in Pakistan', + '1954 Gold Coast general election': '3 · Event — Society · Create two 1/1 Society Figure tokens named Elected Member. · ', + // §9 says History; "mosque" hits (P31, description, 2 categories) outscore 15th-century + Sultanate. + 'Pathrail Mosque': '2 · Location — Society · 0/3 · Territory. Garrison 0/3. · Mosque in Faridpur, Bangladesh', + 'Tatsunoko Production': '6 · Institution — Arts · At the start of your turn, if you control fewer than 3 tokens, ' + + 'create a 1/1 Figure token named Staff Member. · Japanese animation studio', + 'Agda (programming language)': '6 · Doctrine — Science · Attach to target Figure you control. It gets +3/+3. ' + + 'Whenever it deals combat damage to a player, draw a card. · Functional programming language', + }; + for (const [title, want] of Object.entries(golden)) assert.equal(show(title), want, title); + assert.equal(rulesTextWithReminders(byTitle('Tom Ewell')), + 'Featured. (Can\'t be blocked except by Featured, Translated or Multilingual Figures.)\nLegacy. (When this is destroyed, draw a card.)'); + assert.equal(rulesTextWithReminders(byTitle('Pathrail Mosque')), + 'Territory. (Your Citation maximum is 1 higher while you control this, to at most +2 from Territory.)\n' + + 'Garrison 0/3. (This can block like a Figure with power 0. It can\'t attack.)'); +}); + +test('rules text uses only card numbers and fixed words: no title, description or category text leaks in', () => { + for (const c of CARDS) { + const stripped = c.rulesText.replace(/Protected|Featured|Translated|Legacy|Stub|Well-sourced|Multilingual|Local/g, ''); + assert.ok(!stripped.includes(c.title), c.title); + assert.match(c.rulesText, /^[A-Za-z0-9 ,.;:'()+−/\n—-]*$/, c.title); + assert.equal(rulesTextFor(c), c.rulesText); + } +}); + +test('flavour is the first sentence of the extract, else the description', () => { + assert.equal(flavorFor('Tom Ewell (born Samuel Yewell Tompkins; April 29, 1909 – September 12, 1994) was an American actor. He won a Tony.', null), + 'Tom Ewell (born Samuel Yewell Tompkins; April 29, 1909 – September 12, 1994) was an American actor.'); + assert.equal(flavorFor('J. R. R. Tolkien was an English writer. He wrote.', null), 'J. R. R. Tolkien was an English writer.'); + assert.equal(flavorFor('The U.S. Route 66 is a road in the U.S. state of Arizona. More.', null), 'The U.S. Route 66 is a road in the U.S. state of Arizona.'); + assert.equal(flavorFor('No terminal punctuation', 'desc'), 'No terminal punctuation'); + assert.equal(flavorFor(' ', 'Species of grasshopper'), 'Species of grasshopper'); + assert.equal(byTitle('Dichromorpha viridis').flavor, 'Species of grasshopper'); +}); + +test('Portals: keyword hits decide, ties go to the type default, no hits is Neutral', () => { + assert.equal(portalFor(profile({ description: 'Sultan of Aceh', categories: ['16th-century monarchs in Asia'] }), 'Figure'), 'History'); + assert.equal(portalFor(profile({ description: 'mathematician and politician' }), 'Figure'), 'Society'); + assert.equal(portalFor(profile({ description: 'zzz' }), 'Figure'), 'Neutral'); + const portals = new Set(CARDS.map(c => c.portal)); + for (const p of ['Arts', 'Earth', 'History', 'Science', 'Society']) assert.ok(portals.has(p as DuelCard['portal']), p); +}); + +test('Connected: Linked beats Compatriot beats Contemporary beats Kin; a card is never connected to itself', () => { + const base = (id: string, pageId: number, connect: Partial, type: DuelCard['type'] = 'Event'): DuelCard => + ({ ...byTitle('Tom Ewell'), cardId: id, pageId, type, connect: { countries: [], centuries: [], links: [], p31: [], qid: null, cites: [], ...connect } }); + const a = base('a', 1, { links: [2], countries: ['France'], centuries: [20], p31: ['Q1'], qid: 'Q100' }, 'Figure'); + assert.equal(connectedTier(a, base('g', 7, { cites: ['Q100'] })), 'Linked'); + assert.equal(connectedTier(a, base('h', 8, { centuries: [20] }, 'Figure')), null, 'Contemporary needs different types'); + assert.equal(connectedTier(a, base('b', 2, { countries: ['France'] })), 'Linked'); + assert.equal(connectedTier(base('b', 2, { links: [1] }), a), 'Linked'); + assert.equal(connectedTier(a, base('c', 3, { countries: ['France'], centuries: [20] })), 'Compatriot'); + assert.equal(connectedTier(a, base('d', 4, { centuries: [20] })), 'Contemporary'); + assert.equal(connectedTier(a, base('e', 5, { p31: ['Q1'] })), 'Kin'); + assert.equal(connectedTier(a, base('f', 6, {})), null); + assert.equal(connectedTier(a, a), null); + assert.equal(connectedTier(a, base('c', 3, { centuries: [20] }), ['Linked', 'Compatriot']), null); +}); + +test('Connected fires in a plausible share of sample pairs (BRIEF target 15–30%, tuned in the sim)', () => { + let hits = 0, pairs = 0; + for (let i = 0; i < CARDS.length; i++) for (let j = i + 1; j < CARDS.length; j++) { + pairs++; if (connectedTier(CARDS[i], CARDS[j])) hits++; + } + const rate = hits / pairs; + assert.ok(rate > 0.1 && rate < 0.4, `rate ${rate}`); +}); -- 2.54.0 From a8468dd96c72bce9317c99d6f0365208e2766f2e Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 21:47:00 -0500 Subject: [PATCH 2/6] [duel-cards] profile.ts: build the frozen CardProfile from enrichment + wbgetentities (pure, no fetch) Co-Authored-By: Claude Opus 5.5 --- shared/duel/profile.ts | 114 +++++++++++++++++++++++++++++++ tests/duel-cards-profile.test.ts | 71 +++++++++++++++++++ 2 files changed, 185 insertions(+) create mode 100644 shared/duel/profile.ts create mode 100644 tests/duel-cards-profile.test.ts diff --git a/shared/duel/profile.ts b/shared/duel/profile.ts new file mode 100644 index 0000000..6b24c0f --- /dev/null +++ b/shared/duel/profile.ts @@ -0,0 +1,114 @@ +/** + * Building the frozen CardProfile (data review §3) from data the host already has or fetches once + * through the polite Wikimedia client. Pure: this file never fetches. The host: + * 1. takes the cached PageEnrichment (description, wikidataId, categories), + * 2. fetches the item once with wikidataEntityParams([qid, …]) (≤ 50 ids per request), + * 3. fetches the labels of the P31/P279 classes it doesn't know with wikidataLabelParams(ids), + * 4. optionally adds outlinks (prop=links, ns0) as pageIds, + * 5. calls profileFromSources() and stores the result per tokenId forever. + * Owner: duel-cards. + */ +import type { PageEnrichment } from '../enrichment.ts'; +import type { CardProfile, WikidataClass } from './classify.ts'; + +export const PROFILE_PROPERTIES = { + instanceOf: 'P31', subclassOf: 'P279', country: 'P17', citizenship: 'P27', + birth: 'P569', death: 'P570', inception: 'P571', start: 'P580', pointInTime: 'P585', +} as const; + +/** Properties whose item values count as "cited" for the Linked tier (DUEL_DESIGN §6). */ +export const CITE_PROPERTIES = ['P17', 'P27', 'P131', 'P361', 'P527', 'P463', 'P102', 'P108', 'P69', 'P19', 'P20', 'P710', 'P1344', 'P276'] as const; + +/** Action API parameters for wbgetentities (claims only, so the payload stays small). */ +export function wikidataEntityParams(qids: readonly string[]): Record { + if (qids.length < 1 || qids.length > 50) throw new RangeError('wbgetentities takes 1 to 50 ids'); + return { action: 'wbgetentities', ids: [...qids].sort().join('|'), props: 'claims', format: 'json', formatversion: '2' }; +} + +/** Action API parameters for class labels (English). */ +export function wikidataLabelParams(qids: readonly string[]): Record { + if (qids.length < 1 || qids.length > 50) throw new RangeError('wbgetentities takes 1 to 50 ids'); + return { action: 'wbgetentities', ids: [...qids].sort().join('|'), props: 'labels', languages: 'en', format: 'json', formatversion: '2' }; +} + +/** The slice of a wbgetentities entity this module reads. Unknown shapes are ignored, never thrown on. */ +export interface WikidataEntity { + id?: string; + claims?: Record; +} + +function claimValues(entity: WikidataEntity | null | undefined, property: string): unknown[] { + const statements = entity?.claims?.[property]; + if (!Array.isArray(statements)) return []; + return statements + .filter(s => s?.rank !== 'deprecated' && s?.mainsnak?.snaktype === 'value') + .map(s => s.mainsnak?.datavalue?.value) + .filter(v => v !== undefined); +} + +function itemIds(entity: WikidataEntity | null | undefined, property: string): string[] { + return claimValues(entity, property) + .map(v => (v && typeof v === 'object' && 'id' in v && typeof (v as { id: unknown }).id === 'string') ? (v as { id: string }).id : null) + .filter((id): id is string => id !== null && /^Q\d+$/.test(id)); +} + +/** Years from Wikidata time values ("+1909-04-29T00:00:00Z", "-0044-03-15T…"). */ +function years(entity: WikidataEntity | null | undefined, property: string): number[] { + return claimValues(entity, property) + .map(v => (v && typeof v === 'object' && 'time' in v) ? String((v as { time: unknown }).time) : '') + .map(t => /^([+-])0*(\d{1,6})-/.exec(t)) + .filter((m): m is RegExpExecArray => m !== null) + .map(m => (m[1] === '-' ? -1 : 1) * Number(m[2])) + .filter(y => y !== 0); +} + +/** Q-ids whose labels the host must look up to classify this entity. */ +export function classIdsOf(entity: WikidataEntity | null | undefined): string[] { + return [...new Set([...itemIds(entity, 'P31'), ...itemIds(entity, 'P279')])].sort(); +} + +export interface ProfileSources { + enrichment: Pick; + /** The card's own wbgetentities entity, or null when it has no item or the fetch is pending. */ + entity?: WikidataEntity | null; + /** English labels for class Q-ids; missing labels are kept as the bare Q-id. */ + labels?: Readonly>; + /** Superclass chain for the P31 classes (P279, up to 4 hops), nearest first, if the host resolved it. */ + superclasses?: readonly WikidataClass[]; + /** ns0 outlinks resolved to pageIds. */ + links?: readonly number[]; +} + +export function profileFromSources(src: ProfileSources): CardProfile { + const { enrichment, entity, labels = {} } = src; + const label = (id: string): WikidataClass => ({ id, label: labels[id] ?? id }); + const countries = [...new Set([...itemIds(entity, 'P17'), ...itemIds(entity, 'P27')])].sort(); + const yrs = [...new Set(['P569', 'P570', 'P571', 'P580', 'P585'].flatMap(p => years(entity, p)))].sort((a, b) => a - b); + const cites = [...new Set(CITE_PROPERTIES.flatMap(p => itemIds(entity, p)))].sort(); + const subclassOf = [...itemIds(entity, 'P279').map(label), ...(src.superclasses ?? [])]; + const profile: CardProfile = { + wikidataId: enrichment.wikidataId, + description: enrichment.description, + categories: [...enrichment.categories], + instanceOf: itemIds(entity, 'P31').map(label), + fetchedRevisionId: enrichment.revisionId, + }; + if (subclassOf.length) profile.subclassOf = subclassOf; + if (countries.length) profile.countries = countries; + if (yrs.length) profile.years = yrs; + if (claimValues(entity, 'P570').length) profile.died = true; + if (cites.length) profile.cites = cites; + if (src.links?.length) profile.links = [...new Set(src.links)].sort((a, b) => a - b); + return profile; +} + +/** A canonical JSON string of a profile, for storing, hashing and logging in the match record. */ +export function canonicalProfile(profile: CardProfile): string { + const sortKeys = (v: unknown): unknown => Array.isArray(v) ? v.map(sortKeys) + : v && typeof v === 'object' ? Object.fromEntries(Object.keys(v).sort().map(k => [k, sortKeys((v as Record)[k])])) + : v; + return JSON.stringify(sortKeys(profile)); +} diff --git a/tests/duel-cards-profile.test.ts b/tests/duel-cards-profile.test.ts new file mode 100644 index 0000000..9fc274e --- /dev/null +++ b/tests/duel-cards-profile.test.ts @@ -0,0 +1,71 @@ +import test from 'node:test'; +import assert from 'node:assert/strict'; +import { + canonicalProfile, classIdsOf, profileFromSources, wikidataEntityParams, wikidataLabelParams, type WikidataEntity, +} from '../shared/duel/profile.ts'; +import { classify } from '../shared/duel/classify.ts'; +import { derive } from '../shared/duel/derive.ts'; + +const item = (id: string) => ({ rank: 'normal', mainsnak: { snaktype: 'value', datavalue: { type: 'wikibase-entityid', value: { id } } } }); +const time = (t: string) => ({ rank: 'normal', mainsnak: { snaktype: 'value', datavalue: { type: 'time', value: { time: t } } } }); + +const EWELL: WikidataEntity = { + id: 'Q1351340', + claims: { + P31: [item('Q5')], + P27: [item('Q30')], + P569: [time('+1909-04-29T00:00:00Z')], + P570: [time('+1994-09-12T00:00:00Z')], + P19: [item('Q1018580')], + P106: [item('Q33999')], + P17: [{ rank: 'deprecated', mainsnak: { snaktype: 'value', datavalue: { value: { id: 'Q999' } } } }], + }, +}; +const ENRICH = { description: 'American actor (1909–1994)', wikidataId: 'Q1351340', categories: ['1994 deaths', 'American male actors'], revisionId: 42 }; + +test('profileFromSources reads P31, countries, years, death and cited items; ignores deprecated claims', () => { + const p = profileFromSources({ enrichment: ENRICH, entity: EWELL, labels: { Q5: 'human' }, links: [9, 3, 9] }); + assert.deepEqual(p, { + wikidataId: 'Q1351340', description: 'American actor (1909–1994)', categories: ['1994 deaths', 'American male actors'], + instanceOf: [{ id: 'Q5', label: 'human' }], fetchedRevisionId: 42, + countries: ['Q30'], years: [1909, 1994], died: true, cites: ['Q1018580', 'Q30'], links: [3, 9], + }); + assert.equal(classify(p).type, 'Figure'); +}); + +test('BCE years are negative; malformed and novalue claims are skipped without throwing', () => { + const entity: WikidataEntity = { claims: { + P571: [time('-0753-04-21T00:00:00Z'), { mainsnak: { snaktype: 'novalue' } }, { mainsnak: { snaktype: 'value', datavalue: { value: 'junk' } } }], + P31: [item('not-a-qid'), item('Q515')], + } }; + const p = profileFromSources({ enrichment: { ...ENRICH, categories: [] }, entity }); + assert.deepEqual(p.years, [-753]); + assert.deepEqual(p.instanceOf, [{ id: 'Q515', label: 'Q515' }]); + assert.equal(classify(p).type, 'Location', 'Q-id anchors classify even without labels'); + assert.equal(profileFromSources({ enrichment: ENRICH, entity: null }).instanceOf.length, 0); +}); + +test('without a Wikidata item the profile still classifies from categories and description', () => { + const p = profileFromSources({ enrichment: { description: 'Village in Poland', wikidataId: null, categories: ['Villages in Gmina X'], revisionId: 1 } }); + assert.equal(classify(p).type, 'Location'); +}); + +test('request parameters: claims-only entities, English labels, ≤ 50 sorted ids', () => { + assert.deepEqual(wikidataEntityParams(['Q5', 'Q1']), { action: 'wbgetentities', ids: 'Q1|Q5', props: 'claims', format: 'json', formatversion: '2' }); + assert.equal(wikidataLabelParams(['Q5']).props, 'labels'); + assert.throws(() => wikidataEntityParams([]), RangeError); + assert.throws(() => wikidataLabelParams(Array.from({ length: 51 }, (_, i) => `Q${i + 1}`)), RangeError); + assert.deepEqual(classIdsOf({ claims: { P31: [item('Q5')], P279: [item('Q2'), item('Q5')] } }), ['Q2', 'Q5']); +}); + +test('canonicalProfile is key-order independent, and the frozen profile derives the same card twice', () => { + const p = profileFromSources({ enrichment: ENRICH, entity: EWELL, labels: { Q5: 'human' } }); + const shuffled = Object.fromEntries(Object.entries(p).reverse()) as typeof p; + assert.equal(canonicalProfile(shuffled), canonicalProfile(p)); + const chain = { tokenId: 'ab'.repeat(32), article: { pageId: 1, title: 'Tom Ewell', extract: 'Tom Ewell was an American actor. More.', revisionId: 42 }, + statsSnapshot: { pageBytes: 9000, languageCount: 30, stats: { attention: 60, depth: 70, reach: 50 } } }; + const thawed = JSON.parse(canonicalProfile(p)); + assert.deepEqual(derive(chain, thawed), derive(chain, p)); + assert.equal(derive(chain, p).flavor, 'Tom Ewell was an American actor.'); + assert.ok(derive(chain, p).keywords.includes('Legacy')); +}); -- 2.54.0 From 57d2fc2fc7a473b85ddec073a47d9f2459b987ea Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 21:58:37 -0500 Subject: [PATCH 3/6] [duel-cards] Match duel-core's contract (#72): template ids, description, maxTokens = fewer than N Co-Authored-By: Claude Opus 5.5 --- docs/game/duel-card-sample.json | 934 +++++++++++++++++++++----------- shared/duel/derive.ts | 3 + shared/duel/effects.ts | 23 +- shared/duel/text.ts | 4 +- 4 files changed, 645 insertions(+), 319 deletions(-) diff --git a/docs/game/duel-card-sample.json b/docs/game/duel-card-sample.json index 480513b..ef983ed 100644 --- a/docs/game/duel-card-sample.json +++ b/docs/game/duel-card-sample.json @@ -42,7 +42,8 @@ "pctReach": 63, "fame": 58, "magnitude": 2 - } + }, + "description": "Sultan of Aceh (1530–1537/9)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000a4cc4d", @@ -82,7 +83,8 @@ "pctReach": 93, "fame": 57, "magnitude": 2 - } + }, + "description": "Municipality in Carinthia, Austria" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001849df5", @@ -121,7 +123,8 @@ "pctReach": 91, "fame": 59, "magnitude": 2 - } + }, + "description": "Municipality of Bahia, Brazil" }, { "cardId": "00000000000000000000000000000000000000000000000000000000018a8b89", @@ -160,7 +163,8 @@ "pctReach": 53, "fame": 38, "magnitude": 1 - } + }, + "description": "Species of grasshopper" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002309e43", @@ -179,7 +183,8 @@ { "trigger": "onEnter", "op": "draw", - "amount": 1 + "amount": 1, + "template": "T9" }, { "trigger": "static", @@ -189,7 +194,8 @@ "toughness": 1, "condition": { "connected": true - } + }, + "template": "T9" } ], "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", @@ -217,7 +223,8 @@ "pctReach": 53, "fame": 60, "magnitude": 2 - } + }, + "description": "2012 British television film" }, { "cardId": "000000000000000000000000000000000000000000000000000000000279b34c", @@ -300,7 +307,8 @@ "pctReach": 47, "fame": 32, "magnitude": 1 - } + }, + "description": "American botanist (c.1872–1919)" }, { "cardId": "00000000000000000000000000000000000000000000000000000000039663ae", @@ -337,7 +345,8 @@ "pctReach": 63, "fame": 39, "magnitude": 2 - } + }, + "description": "Genus of crustaceans" }, { "cardId": "000000000000000000000000000000000000000000000000000000000404da56", @@ -357,7 +366,8 @@ "trigger": "onPlay", "op": "damageEach", "target": "each", - "amount": 1 + "amount": 1, + "template": "T4" } ], "rulesText": "Deal 1 damage to each Figure and each Location.", @@ -385,7 +395,8 @@ "pctReach": 8, "fame": 50, "magnitude": 2 - } + }, + "description": "Slow-moving nor'easter in April 2021" }, { "cardId": "00000000000000000000000000000000000000000000000000000000007f1bfc", @@ -412,8 +423,9 @@ "portal": "Neutral" }, "condition": { - "maxTokens": 2 - } + "maxTokens": 3 + }, + "template": "T8" } ], "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", @@ -441,7 +453,8 @@ "pctReach": 82, "fame": 77, "magnitude": 3 - } + }, + "description": "Japanese transportation company" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000f14093", @@ -480,7 +493,8 @@ "pctReach": 94, "fame": 39, "magnitude": 2 - } + }, + "description": "Commune in Centre-Val de Loire, France" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000f2623f", @@ -519,7 +533,8 @@ "pctReach": 58, "fame": 38, "magnitude": 1 - } + }, + "description": "River on Stewart Island / Rakiura, New Zealand" }, { "cardId": "00000000000000000000000000000000000000000000000000000000011e7dea", @@ -558,7 +573,8 @@ "pctReach": 67, "fame": 24, "magnitude": 1 - } + }, + "description": "Village in Łódź Voivodeship, Poland" }, { "cardId": "000000000000000000000000000000000000000000000000000000000175fc6f", @@ -632,7 +648,8 @@ "pctReach": 67, "fame": 39, "magnitude": 2 - } + }, + "description": "Municipality in Quebec, Canada" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001c845f2", @@ -672,7 +689,8 @@ "pctReach": 67, "fame": 44, "magnitude": 2 - } + }, + "description": "Village in Herefordshire, England" }, { "cardId": "0000000000000000000000000000000000000000000000000000000003f6d6d1", @@ -711,7 +729,8 @@ "pctReach": 71, "fame": 38, "magnitude": 1 - } + }, + "description": "Species of fungus" }, { "cardId": "0000000000000000000000000000000000000000000000000000000004cd4092", @@ -733,12 +752,14 @@ "target": "ownFigure", "power": 1, "toughness": 0, - "duration": "turn" + "duration": "turn", + "template": "T6" }, { "trigger": "onPlay", "op": "fight", - "target": "opponentFigure" + "target": "opponentFigure", + "template": "T6" } ], "rulesText": "Target Figure you control gets +1/+0 until end of turn, then it fights target Figure you don't control.", @@ -767,7 +788,8 @@ "pctReach": 8, "fame": 32, "magnitude": 1 - } + }, + "description": "Football match" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000071fcb", @@ -808,7 +830,8 @@ "pctReach": 74, "fame": 79, "magnitude": 3 - } + }, + "description": "Local government area in Victoria, Australia" }, { "cardId": "000000000000000000000000000000000000000000000000000000000025711c", @@ -830,7 +853,8 @@ "target": "figure", "power": -3, "toughness": -3, - "duration": "permanent" + "duration": "permanent", + "template": "T12" } ], "rulesText": "Attach to target Figure. It gets −3/−3.", @@ -854,7 +878,8 @@ "pctReach": 53, "fame": 68, "magnitude": 3 - } + }, + "description": "Fungal disease of trees" }, { "cardId": "00000000000000000000000000000000000000000000000000000000002ad3e8", @@ -897,7 +922,8 @@ "pctReach": 89, "fame": 95, "magnitude": 3 - } + }, + "description": "American voice actor and singer (born 1963)" }, { "cardId": "000000000000000000000000000000000000000000000000000000000089b9d0", @@ -919,13 +945,15 @@ "target": "ownFigure", "power": 3, "toughness": 3, - "duration": "permanent" + "duration": "permanent", + "template": "T11" }, { "trigger": "onCombatDamageToPlayer", "op": "draw", "target": "attached", - "amount": 1 + "amount": 1, + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +3/+3.\nWhenever it deals combat damage to a player, draw a card.", @@ -988,7 +1016,8 @@ "pctReach": 96, "fame": 55, "magnitude": 2 - } + }, + "description": "Commune in Grand Est, France" }, { "cardId": "000000000000000000000000000000000000000000000000000000000246d152", @@ -1013,7 +1042,8 @@ "power": 1, "toughness": 1, "portal": "Neutral" - } + }, + "template": "T8" } ], "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", @@ -1039,7 +1069,8 @@ "pctReach": 23, "fame": 31, "magnitude": 1 - } + }, + "description": "English blues/indie rock band" }, { "cardId": "00000000000000000000000000000000000000000000000000000000025ed7ee", @@ -1061,12 +1092,14 @@ "target": "ownFigure", "power": 2, "toughness": 0, - "duration": "turn" + "duration": "turn", + "template": "T6" }, { "trigger": "onPlay", "op": "fight", - "target": "opponentFigure" + "target": "opponentFigure", + "template": "T6" } ], "rulesText": "Target Figure you control gets +2/+0 until end of turn, then it fights target Figure you don't control.", @@ -1094,7 +1127,8 @@ "pctReach": 8, "fame": 41, "magnitude": 2 - } + }, + "description": "American college basketball season" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002f85b42", @@ -1132,7 +1166,8 @@ "pctReach": 8, "fame": 20, "magnitude": 1 - } + }, + "description": "Species of ancient plant" }, { "cardId": "00000000000000000000000000000000000000000000000000000000031e1299", @@ -1173,7 +1208,8 @@ "pctReach": 47, "fame": 49, "magnitude": 2 - } + }, + "description": "Mosque in Faridpur, Bangladesh" }, { "cardId": "00000000000000000000000000000000000000000000000000000000001e346c", @@ -1215,7 +1251,8 @@ "pctReach": 78, "fame": 68, "magnitude": 3 - } + }, + "description": "Polish protester (1952–1970)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000438c15", @@ -1237,13 +1274,15 @@ "target": "ownFigure", "power": 3, "toughness": 3, - "duration": "permanent" + "duration": "permanent", + "template": "T11" }, { "trigger": "onCombatDamageToPlayer", "op": "draw", "target": "attached", - "amount": 1 + "amount": 1, + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +3/+3.\nWhenever it deals combat damage to a player, draw a card.", @@ -1274,7 +1313,8 @@ "pctReach": 78, "fame": 82, "magnitude": 3 - } + }, + "description": "Functional programming language" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000475385", @@ -1313,7 +1353,8 @@ "pctReach": 90, "fame": 80, "magnitude": 3 - } + }, + "description": "Commune in Sisak-Moslavina County, Croatia" }, { "cardId": "00000000000000000000000000000000000000000000000000000000004dc3c7", @@ -1359,7 +1400,8 @@ "pctReach": 97, "fame": 90, "magnitude": 3 - } + }, + "description": "Queen of Portugal from 1497 to 1498" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000f2d966", @@ -1398,7 +1440,8 @@ "pctReach": 95, "fame": 34, "magnitude": 1 - } + }, + "description": "Commune in Hauts-de-France, France" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000f39622", @@ -1447,7 +1490,8 @@ "pctReach": 81, "fame": 70, "magnitude": 3 - } + }, + "description": "Bulgarian footballer" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001aba163", @@ -1486,7 +1530,8 @@ "pctReach": 78, "fame": 33, "magnitude": 1 - } + }, + "description": "Village in Estonia" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002ed73e4", @@ -1526,7 +1571,8 @@ "pctReach": 47, "fame": 37, "magnitude": 1 - } + }, + "description": "Town in Dhaka Division, Bangladesh" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002f27561", @@ -1569,7 +1615,8 @@ "pctReach": 78, "fame": 75, "magnitude": 3 - } + }, + "description": "Serbian archaeologist (1869–1956)" }, { "cardId": "000000000000000000000000000000000000000000000000000000000001adbf", @@ -1609,7 +1656,8 @@ "pctReach": 91, "fame": 72, "magnitude": 3 - } + }, + "description": "Town in Georgia, United States" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000ab844d", @@ -1653,7 +1701,8 @@ "pctReach": 82, "fame": 58, "magnitude": 2 - } + }, + "description": "French-Hungarian footballer (1929-2006)" }, { "cardId": "000000000000000000000000000000000000000000000000000000000162de74", @@ -1692,7 +1741,8 @@ "pctReach": 67, "fame": 29, "magnitude": 1 - } + }, + "description": "Species of orchid" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001d74bfb", @@ -1731,7 +1781,8 @@ "pctReach": 23, "fame": 38, "magnitude": 1 - } + }, + "description": "River in Michigan, United States" }, { "cardId": "0000000000000000000000000000000000000000000000000000000003b4f3b0", @@ -1774,7 +1825,8 @@ "pctReach": 47, "fame": 41, "magnitude": 2 - } + }, + "description": "Vietnamese chess grandmaster (born 1985)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000003d6c241", @@ -1851,7 +1903,8 @@ "pctReach": 36, "fame": 60, "magnitude": 2 - } + }, + "description": "Indian film director" }, { "cardId": "0000000000000000000000000000000000000000000000000000000004d8a703", @@ -1871,7 +1924,8 @@ "trigger": "onPlay", "op": "damage", "target": "figureOrLocation", - "amount": 4 + "amount": 4, + "template": "T3" } ], "rulesText": "Deal 4 damage to target Figure or Location.", @@ -1900,7 +1954,8 @@ "pctReach": 23, "fame": 64, "magnitude": 3 - } + }, + "description": "Gaza war protests in Pakistan" }, { "cardId": "00000000000000000000000000000000000000000000000000000000000dc52e", @@ -1939,7 +1994,8 @@ "pctReach": 94, "fame": 76, "magnitude": 3 - } + }, + "description": "Region of Mauritania" }, { "cardId": "000000000000000000000000000000000000000000000000000000000014fa5c", @@ -1981,7 +2037,8 @@ "pctReach": 93, "fame": 90, "magnitude": 3 - } + }, + "description": "American actor (1909–1994)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000ea6920", @@ -2006,7 +2063,8 @@ "power": 1, "toughness": 1, "portal": "Society" - } + }, + "template": "T5" } ], "rulesText": "Create two 1/1 Society Figure tokens named Elected Member.", @@ -2076,7 +2134,8 @@ "pctReach": 36, "fame": 58, "magnitude": 2 - } + }, + "description": "American entrepreneur" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002f59319", @@ -2095,7 +2154,8 @@ { "trigger": "onEnter", "op": "draw", - "amount": 1 + "amount": 1, + "template": "T9" }, { "trigger": "static", @@ -2105,7 +2165,8 @@ "toughness": 1, "condition": { "connected": true - } + }, + "template": "T9" } ], "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", @@ -2133,7 +2194,8 @@ "pctReach": 23, "fame": 44, "magnitude": 2 - } + }, + "description": "Song by the 18th century Swedish bard Carl Michael Bellman" }, { "cardId": "000000000000000000000000000000000000000000000000000000000506ce99", @@ -2175,7 +2237,8 @@ "pctReach": 23, "fame": 39, "magnitude": 2 - } + }, + "description": "Argentine journalist and radio host (1951–2026)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000246570", @@ -2214,7 +2277,8 @@ "pctReach": 91, "fame": 68, "magnitude": 3 - } + }, + "description": "River in Italy" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000751b4c", @@ -2254,7 +2318,8 @@ "pctReach": 23, "fame": 16, "magnitude": 1 - } + }, + "description": "Place in the Blue Mountains, Australia" }, { "cardId": "000000000000000000000000000000000000000000000000000000000140afac", @@ -2338,7 +2403,8 @@ "pctReach": 8, "fame": 43, "magnitude": 2 - } + }, + "description": "Cuban-American criminologist (born 1970)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000183a95", @@ -2377,7 +2443,8 @@ "pctReach": 98, "fame": 92, "magnitude": 3 - } + }, + "description": "Place in Málaga, Spain" }, { "cardId": "000000000000000000000000000000000000000000000000000000000041756b", @@ -2418,7 +2485,8 @@ "pctReach": 80, "fame": 71, "magnitude": 3 - } + }, + "description": "Extinct genus of reptiles" }, { "cardId": "00000000000000000000000000000000000000000000000000000000010b1fc1", @@ -2461,7 +2529,8 @@ "pctReach": 78, "fame": 46, "magnitude": 2 - } + }, + "description": "German skeleton racer" }, { "cardId": "00000000000000000000000000000000000000000000000000000000013be088", @@ -2488,8 +2557,9 @@ "portal": "Neutral" }, "condition": { - "maxTokens": 2 - } + "maxTokens": 3 + }, + "template": "T8" } ], "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", @@ -2517,7 +2587,8 @@ "pctReach": 36, "fame": 54, "magnitude": 2 - } + }, + "description": "American indie folk band" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002d92236", @@ -2558,7 +2629,8 @@ "pctReach": 58, "fame": 55, "magnitude": 2 - } + }, + "description": "German film director and screenwriter (born 1973)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000003d70634", @@ -2583,7 +2655,8 @@ "power": 1, "toughness": 1, "portal": "Society" - } + }, + "template": "T5" } ], "rulesText": "Create two 1/1 Society Figure tokens named Elected Member.", @@ -2611,7 +2684,8 @@ "pctReach": 36, "fame": 62, "magnitude": 2 - } + }, + "description": "Election in the Spanish municipality of Seville" }, { "cardId": "00000000000000000000000000000000000000000000000000000000049c9880", @@ -2636,7 +2710,8 @@ "power": 1, "toughness": 1, "portal": "Neutral" - } + }, + "template": "T8" } ], "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", @@ -2660,7 +2735,8 @@ "pctReach": 23, "fame": 45, "magnitude": 2 - } + }, + "description": "Political party in Panama" }, { "cardId": "000000000000000000000000000000000000000000000000000000000001c2f8", @@ -2699,7 +2775,8 @@ "pctReach": 94, "fame": 66, "magnitude": 3 - } + }, + "description": "City in Kentucky, United States" }, { "cardId": "000000000000000000000000000000000000000000000000000000000041fc69", @@ -2740,7 +2817,8 @@ "pctReach": 47, "fame": 50, "magnitude": 2 - } + }, + "description": "Finnish social scientist" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000908a9f", @@ -2759,7 +2837,8 @@ { "trigger": "onEnter", "op": "draw", - "amount": 1 + "amount": 1, + "template": "T9" }, { "trigger": "static", @@ -2769,7 +2848,8 @@ "toughness": 1, "condition": { "connected": true - } + }, + "template": "T9" } ], "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", @@ -2793,7 +2873,8 @@ "pctReach": 23, "fame": 26, "magnitude": 1 - } + }, + "description": "Serif typeface" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000befc0f", @@ -2832,7 +2913,8 @@ "pctReach": 47, "fame": 24, "magnitude": 1 - } + }, + "description": "Hamlet in Kent, England" }, { "cardId": "000000000000000000000000000000000000000000000000000000000181aa81", @@ -2852,7 +2934,8 @@ "trigger": "onPlay", "op": "damage", "target": "figureOrLocation", - "amount": 4 + "amount": 4, + "template": "T3" } ], "rulesText": "Deal 4 damage to target Figure or Location.", @@ -2881,7 +2964,8 @@ "pctReach": 74, "fame": 83, "magnitude": 3 - } + }, + "description": "Russian annexation of Outer Manchuria" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001fbc437", @@ -2921,7 +3005,8 @@ "pctReach": 83, "fame": 51, "magnitude": 2 - } + }, + "description": "Rural locality in Cherkasy Oblast, Ukraine" }, { "cardId": "000000000000000000000000000000000000000000000000000000000256bae2", @@ -2943,12 +3028,14 @@ "target": "ownFigure", "power": 2, "toughness": 0, - "duration": "turn" + "duration": "turn", + "template": "T6" }, { "trigger": "onPlay", "op": "fight", - "target": "opponentFigure" + "target": "opponentFigure", + "template": "T6" } ], "rulesText": "Target Figure you control gets +2/+0 until end of turn, then it fights target Figure you don't control.", @@ -2976,7 +3063,8 @@ "pctReach": 8, "fame": 51, "magnitude": 2 - } + }, + "description": "American college football season" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002c1eb97", @@ -3018,7 +3106,8 @@ "pctReach": 36, "fame": 46, "magnitude": 2 - } + }, + "description": "Haitian footballer (born 1990)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002fdc661", @@ -3058,7 +3147,8 @@ "pctReach": 63, "fame": 53, "magnitude": 2 - } + }, + "description": "Uzbek literary scholar and educator (1886–1938)" }, { "cardId": "000000000000000000000000000000000000000000000000000000000321b424", @@ -3104,7 +3194,8 @@ "pctReach": 78, "fame": 36, "magnitude": 1 - } + }, + "description": "Russian handball player" }, { "cardId": "00000000000000000000000000000000000000000000000000000000043bf4f0", @@ -3126,12 +3217,14 @@ "target": "ownFigure", "power": 1, "toughness": 0, - "duration": "turn" + "duration": "turn", + "template": "T6" }, { "trigger": "onPlay", "op": "fight", - "target": "opponentFigure" + "target": "opponentFigure", + "template": "T6" } ], "rulesText": "Target Figure you control gets +1/+0 until end of turn, then it fights target Figure you don't control.", @@ -3157,7 +3250,8 @@ "pctReach": 8, "fame": 23, "magnitude": 1 - } + }, + "description": "Motor car race" }, { "cardId": "0000000000000000000000000000000000000000000000000000000004d8d1a8", @@ -3199,7 +3293,8 @@ "pctReach": 23, "fame": 54, "magnitude": 2 - } + }, + "description": "Argentine tennis player (born 1997)" }, { "cardId": "000000000000000000000000000000000000000000000000000000000021dbee", @@ -3223,7 +3318,8 @@ "toughness": 0, "condition": { "maxPower": 2 - } + }, + "template": "T10" } ], "rulesText": "Figures you control with power 2 or less get +1/+0.", @@ -3249,7 +3345,8 @@ "pctReach": 76, "fame": 84, "magnitude": 3 - } + }, + "description": "Political office in Malaysia" }, { "cardId": "00000000000000000000000000000000000000000000000000000000007e454c", @@ -3290,7 +3387,8 @@ "pctReach": 36, "fame": 63, "magnitude": 3 - } + }, + "description": "American politician (1735–1778)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001462f3f", @@ -3329,7 +3427,8 @@ "pctReach": 36, "fame": 20, "magnitude": 1 - } + }, + "description": "River in France" }, { "cardId": "000000000000000000000000000000000000000000000000000000000155d87e", @@ -3369,7 +3468,8 @@ "pctReach": 80, "fame": 48, "magnitude": 2 - } + }, + "description": "Commune in Gagauzia, Moldova" }, { "cardId": "00000000000000000000000000000000000000000000000000000000015797a4", @@ -3406,7 +3506,8 @@ "pctReach": 23, "fame": 50, "magnitude": 2 - } + }, + "description": "Columbarium in Singapore" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002d51886", @@ -3448,7 +3549,8 @@ "pctReach": 53, "fame": 27, "magnitude": 1 - } + }, + "description": "American singer and actress (1917–1989)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002e752d2", @@ -3488,7 +3590,8 @@ "pctReach": 36, "fame": 56, "magnitude": 2 - } + }, + "description": "Iranian-American Professor" }, { "cardId": "0000000000000000000000000000000000000000000000000000000004b36e3e", @@ -3527,7 +3630,8 @@ "pctReach": 36, "fame": 18, "magnitude": 1 - } + }, + "description": "Building in Mercenasco, Italy" }, { "cardId": "00000000000000000000000000000000000000000000000000000000050afd22", @@ -3570,7 +3674,8 @@ "pctReach": 8, "fame": 39, "magnitude": 2 - } + }, + "description": "American physician (1864–1942)" }, { "cardId": "00000000000000000000000000000000000000000000000000000000000ef95c", @@ -3597,8 +3702,9 @@ "portal": "Neutral" }, "condition": { - "maxTokens": 2 - } + "maxTokens": 3 + }, + "template": "T8" } ], "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", @@ -3626,7 +3732,8 @@ "pctReach": 86, "fame": 93, "magnitude": 3 - } + }, + "description": "Japanese animation studio" }, { "cardId": "00000000000000000000000000000000000000000000000000000000001ed529", @@ -3648,7 +3755,8 @@ "target": "ownFigure", "power": 3, "toughness": 3, - "duration": "permanent" + "duration": "permanent", + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +3/+3.", @@ -3670,7 +3778,8 @@ "pctReach": 63, "fame": 78, "magnitude": 3 - } + }, + "description": "Class of seating in arena or stadium" }, { "cardId": "00000000000000000000000000000000000000000000000000000000002d7151", @@ -3707,7 +3816,8 @@ "pctReach": 86, "fame": 59, "magnitude": 2 - } + }, + "description": "Genus of legumes" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000d65bfa", @@ -3746,7 +3856,8 @@ "pctReach": 47, "fame": 63, "magnitude": 3 - } + }, + "description": "Village in Saskatchewan, Canada" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001d1c4f7", @@ -3771,7 +3882,8 @@ "power": 1, "toughness": 1, "portal": "Neutral" - } + }, + "template": "T8" } ], "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", @@ -3799,7 +3911,8 @@ "pctReach": 47, "fame": 46, "magnitude": 2 - } + }, + "description": "Prototype reconnaissance floatplane" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001d6c6e5", @@ -3839,7 +3952,8 @@ "pctReach": 89, "fame": 61, "magnitude": 2 - } + }, + "description": "Genus of fishes" }, { "cardId": "00000000000000000000000000000000000000000000000000000000028ca141", @@ -3878,7 +3992,8 @@ "pctReach": 23, "fame": 13, "magnitude": 1 - } + }, + "description": "Manor house in Charente-Maritime, France" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002e6632d", @@ -3898,7 +4013,8 @@ "trigger": "onPlay", "op": "damageEach", "target": "each", - "amount": 1 + "amount": 1, + "template": "T4" } ], "rulesText": "Deal 1 damage to each Figure and each Location.", @@ -3965,7 +4081,8 @@ "pctReach": 23, "fame": 33, "magnitude": 1 - } + }, + "description": "Building on Oxford Street, London, England" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000337786", @@ -4009,7 +4126,8 @@ "pctReach": 81, "fame": 61, "magnitude": 2 - } + }, + "description": "Cuban sprinter (1948–2024)" }, { "cardId": "00000000000000000000000000000000000000000000000000000000007f4694", @@ -4050,7 +4168,8 @@ "pctReach": 47, "fame": 66, "magnitude": 3 - } + }, + "description": "Family of Nicolae Ceaușescu" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000d29182", @@ -4072,7 +4191,8 @@ "target": "ownFigure", "power": 2, "toughness": 2, - "duration": "permanent" + "duration": "permanent", + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +2/+2.", @@ -4096,7 +4216,8 @@ "pctReach": 36, "fame": 46, "magnitude": 2 - } + }, + "description": "Stimulant drug" }, { "cardId": "00000000000000000000000000000000000000000000000000000000010eef0c", @@ -4139,7 +4260,8 @@ "pctReach": 58, "fame": 75, "magnitude": 3 - } + }, + "description": "Chinese-American biochemist" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001225032", @@ -4182,7 +4304,8 @@ "pctReach": 86, "fame": 39, "magnitude": 2 - } + }, + "description": "Russian basketball player" }, { "cardId": "00000000000000000000000000000000000000000000000000000000016ff42e", @@ -4204,7 +4327,8 @@ "target": "ownFigure", "power": 3, "toughness": 3, - "duration": "permanent" + "duration": "permanent", + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +3/+3.", @@ -4226,7 +4350,8 @@ "pctReach": 71, "fame": 66, "magnitude": 3 - } + }, + "description": "Type of dessert" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001e1e5e4", @@ -4267,7 +4392,8 @@ "pctReach": 36, "fame": 55, "magnitude": 2 - } + }, + "description": "Art museum in Parkville, Victoria" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001ff532a", @@ -4309,7 +4435,8 @@ "pctReach": 53, "fame": 31, "magnitude": 1 - } + }, + "description": "Dutch actor and comedian (1872–1936)" }, { "cardId": "000000000000000000000000000000000000000000000000000000000212369d", @@ -4346,7 +4473,8 @@ "pctReach": 71, "fame": 30, "magnitude": 1 - } + }, + "description": "Genus of crabs" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002d706ce", @@ -4387,7 +4515,8 @@ "pctReach": 8, "fame": 37, "magnitude": 1 - } + }, + "description": "American athletics facility at Indiana University Bloomington" }, { "cardId": "0000000000000000000000000000000000000000000000000000000003853be9", @@ -4430,7 +4559,8 @@ "pctReach": 23, "fame": 70, "magnitude": 3 - } + }, + "description": "American politician and composer (born 1968)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000003a79927", @@ -4474,7 +4604,8 @@ "pctReach": 8, "fame": 19, "magnitude": 1 - } + }, + "description": "American Japanologist (1879–1972)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000179138", @@ -4518,7 +4649,8 @@ "pctReach": 86, "fame": 88, "magnitude": 3 - } + }, + "description": "American theologian and Baptist pastor (1861-1918)" }, { "cardId": "00000000000000000000000000000000000000000000000000000000002518b4", @@ -4545,8 +4677,9 @@ "portal": "Neutral" }, "condition": { - "maxTokens": 2 - } + "maxTokens": 3 + }, + "template": "T8" } ], "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", @@ -4574,7 +4707,8 @@ "pctReach": 67, "fame": 85, "magnitude": 3 - } + }, + "description": "Structure of German air force" }, { "cardId": "00000000000000000000000000000000000000000000000000000000006af267", @@ -4601,8 +4735,9 @@ "portal": "Neutral" }, "condition": { - "maxTokens": 2 - } + "maxTokens": 3 + }, + "template": "T8" } ], "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", @@ -4631,7 +4766,8 @@ "pctReach": 36, "fame": 77, "magnitude": 3 - } + }, + "description": "Football team of Duke University" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000a9306d", @@ -4653,7 +4789,8 @@ "target": "ownFigure", "power": 2, "toughness": 2, - "duration": "permanent" + "duration": "permanent", + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +2/+2.", @@ -4677,7 +4814,8 @@ "pctReach": 36, "fame": 49, "magnitude": 2 - } + }, + "description": "Protein-coding gene in the species Homo sapiens" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000e463d7", @@ -4717,7 +4855,8 @@ "pctReach": 63, "fame": 56, "magnitude": 2 - } + }, + "description": "Village and civil parish in Nottinghamshire, England" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001625b83", @@ -4756,7 +4895,8 @@ "pctReach": 67, "fame": 51, "magnitude": 2 - } + }, + "description": "Genus of fungi" }, { "cardId": "000000000000000000000000000000000000000000000000000000000229b4e9", @@ -4795,7 +4935,8 @@ "pctReach": 8, "fame": 31, "magnitude": 1 - } + }, + "description": "Townland in County Fermanagh, Northern Ireland" }, { "cardId": "0000000000000000000000000000000000000000000000000000000003256025", @@ -4819,7 +4960,8 @@ "toughness": 0, "condition": { "maxPower": 2 - } + }, + "template": "T10" } ], "rulesText": "Figures you control with power 2 or less get +1/+0.", @@ -4847,7 +4989,8 @@ "pctReach": 8, "fame": 17, "magnitude": 1 - } + }, + "description": "Steamship by John Elder" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000004cc4", @@ -4872,7 +5015,8 @@ "duration": "permanent", "grant": [ "Well-sourced" - ] + ], + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +3/+3 and has Well-sourced.", @@ -4894,7 +5038,8 @@ "pctReach": 98, "fame": 96, "magnitude": 3 - } + }, + "description": "Algebraic structure with an associative operation and an identity element" }, { "cardId": "00000000000000000000000000000000000000000000000000000000004bb672", @@ -4916,7 +5061,8 @@ "target": "ownFigure", "power": 3, "toughness": 3, - "duration": "permanent" + "duration": "permanent", + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +3/+3.", @@ -4940,7 +5086,8 @@ "pctReach": 36, "fame": 68, "magnitude": 3 - } + }, + "description": "Depictions of the positions of stars on the celestial sphere" }, { "cardId": "00000000000000000000000000000000000000000000000000000000008b571b", @@ -4959,7 +5106,8 @@ { "trigger": "onPlay", "op": "draw", - "amount": 2 + "amount": 2, + "template": "T7" } ], "rulesText": "Draw two cards.", @@ -4985,7 +5133,8 @@ "pctReach": 58, "fame": 52, "magnitude": 2 - } + }, + "description": "Olympic shooting event" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000b8fc3c", @@ -5026,7 +5175,8 @@ "pctReach": 36, "fame": 27, "magnitude": 1 - } + }, + "description": "Forest park in Ban Phue District, Thailand" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000e67fba", @@ -5051,7 +5201,8 @@ "duration": "permanent", "grant": [ "Well-sourced" - ] + ], + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +3/+3 and has Well-sourced.", @@ -5073,7 +5224,8 @@ "pctReach": 99, "fame": 97, "magnitude": 3 - } + }, + "description": "Excavation or structure to provide access to groundwater" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002e39459", @@ -5114,7 +5266,8 @@ "pctReach": 8, "fame": 8, "magnitude": 1 - } + }, + "description": "Historic house in Arkansas, United States" }, { "cardId": "0000000000000000000000000000000000000000000000000000000003f34d76", @@ -5157,7 +5310,8 @@ "pctReach": 23, "fame": 20, "magnitude": 1 - } + }, + "description": "Genus of reptiles" }, { "cardId": "0000000000000000000000000000000000000000000000000000000004dba1f0", @@ -5215,7 +5369,8 @@ { "trigger": "onEnter", "op": "draw", - "amount": 1 + "amount": 1, + "template": "T9" }, { "trigger": "static", @@ -5225,7 +5380,8 @@ "toughness": 1, "condition": { "connected": true - } + }, + "template": "T9" } ], "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", @@ -5253,7 +5409,8 @@ "pctReach": 90, "fame": 77, "magnitude": 3 - } + }, + "description": "1994 studio album by Burzum" }, { "cardId": "00000000000000000000000000000000000000000000000000000000003efcc4", @@ -5292,7 +5449,8 @@ "pctReach": 36, "fame": 44, "magnitude": 2 - } + }, + "description": "Town in Uva Province, Sri Lanka" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000ec5681", @@ -5334,7 +5492,8 @@ "pctReach": 58, "fame": 83, "magnitude": 3 - } + }, + "description": "American football player (born 1986)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001774450", @@ -5373,7 +5532,8 @@ "pctReach": 84, "fame": 48, "magnitude": 2 - } + }, + "description": "Place in Prekmurje, Slovenia" }, { "cardId": "0000000000000000000000000000000000000000000000000000000003115e59", @@ -5412,7 +5572,8 @@ "pctReach": 8, "fame": 30, "magnitude": 1 - } + }, + "description": "Historic site in Queensland, Australia" }, { "cardId": "00000000000000000000000000000000000000000000000000000000032f1880", @@ -5437,7 +5598,8 @@ "power": 1, "toughness": 1, "portal": "Society" - } + }, + "template": "T5" } ], "rulesText": "Create two 1/1 Society Figure tokens named Elected Member.", @@ -5522,7 +5684,8 @@ { "trigger": "onEnter", "op": "draw", - "amount": 1 + "amount": 1, + "template": "T9" }, { "trigger": "static", @@ -5532,7 +5695,8 @@ "toughness": 1, "condition": { "connected": true - } + }, + "template": "T9" } ], "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", @@ -5560,7 +5724,8 @@ "pctReach": 8, "fame": 31, "magnitude": 1 - } + }, + "description": "Semi-weekly newspaper published in Waldorf, Maryland, US" }, { "cardId": "0000000000000000000000000000000000000000000000000000000004a88b48", @@ -5601,7 +5766,8 @@ "pctReach": 23, "fame": 12, "magnitude": 1 - } + }, + "description": "Species of king crab" }, { "cardId": "000000000000000000000000000000000000000000000000000000000002061e", @@ -5638,7 +5804,8 @@ "pctReach": 63, "fame": 55, "magnitude": 2 - } + }, + "description": "Township in Pennsylvania, US" }, { "cardId": "00000000000000000000000000000000000000000000000000000000000d1815", @@ -5665,8 +5832,9 @@ "portal": "Neutral" }, "condition": { - "maxTokens": 2 - } + "maxTokens": 3 + }, + "template": "T8" } ], "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", @@ -5694,7 +5862,8 @@ "pctReach": 36, "fame": 52, "magnitude": 2 - } + }, + "description": "British manufacturers of car body shells & chassis for specials (1955-1962)" }, { "cardId": "00000000000000000000000000000000000000000000000000000000010c9c6d", @@ -5713,7 +5882,8 @@ { "trigger": "onEnter", "op": "draw", - "amount": 1 + "amount": 1, + "template": "T9" }, { "trigger": "static", @@ -5723,7 +5893,8 @@ "toughness": 1, "condition": { "connected": true - } + }, + "template": "T9" } ], "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", @@ -5752,7 +5923,8 @@ "pctReach": 36, "fame": 42, "magnitude": 2 - } + }, + "description": "1939 film by Wilhelm Thiele" }, { "cardId": "00000000000000000000000000000000000000000000000000000000015e910f", @@ -5771,7 +5943,8 @@ { "trigger": "onPlay", "op": "draw", - "amount": 3 + "amount": 3, + "template": "T7" } ], "rulesText": "Draw three cards.", @@ -5836,7 +6009,8 @@ "pctReach": 47, "fame": 20, "magnitude": 1 - } + }, + "description": "Species of plant" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002217317", @@ -5858,7 +6032,8 @@ "target": "ownFigure", "power": 2, "toughness": 2, - "duration": "permanent" + "duration": "permanent", + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +2/+2.", @@ -5882,7 +6057,8 @@ "pctReach": 58, "fame": 50, "magnitude": 2 - } + }, + "description": "Italian chocolate coffee drink" }, { "cardId": "00000000000000000000000000000000000000000000000000000000023d5c96", @@ -5925,7 +6101,8 @@ "pctReach": 74, "fame": 51, "magnitude": 2 - } + }, + "description": "German footballer" }, { "cardId": "0000000000000000000000000000000000000000000000000000000003d66226", @@ -5968,7 +6145,8 @@ "pctReach": 36, "fame": 24, "magnitude": 1 - } + }, + "description": "Russian handball player" }, { "cardId": "0000000000000000000000000000000000000000000000000000000003eadb6d", @@ -6007,7 +6185,8 @@ "pctReach": 23, "fame": 50, "magnitude": 2 - } + }, + "description": "U.S. Marine major general" }, { "cardId": "0000000000000000000000000000000000000000000000000000000004e3418c", @@ -6032,7 +6211,8 @@ "power": 1, "toughness": 1, "portal": "Neutral" - } + }, + "template": "T8" } ], "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", @@ -6058,7 +6238,8 @@ "pctReach": 8, "fame": 47, "magnitude": 2 - } + }, + "description": "New Zealand timber and building supplies company" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000129da3", @@ -6102,7 +6283,8 @@ "pctReach": 8, "fame": 54, "magnitude": 2 - } + }, + "description": "Recipient of the Victoria Cross" }, { "cardId": "000000000000000000000000000000000000000000000000000000000134dd65", @@ -6145,7 +6327,8 @@ "pctReach": 82, "fame": 42, "magnitude": 2 - } + }, + "description": "Hungarian canoeist (1941–2022)" }, { "cardId": "000000000000000000000000000000000000000000000000000000000182777d", @@ -6186,7 +6369,8 @@ "pctReach": 63, "fame": 69, "magnitude": 3 - } + }, + "description": "French politician (born 1971)" }, { "cardId": "000000000000000000000000000000000000000000000000000000000279e59b", @@ -6205,7 +6389,8 @@ { "trigger": "onEnter", "op": "draw", - "amount": 1 + "amount": 1, + "template": "T9" }, { "trigger": "static", @@ -6215,7 +6400,8 @@ "toughness": 1, "condition": { "connected": true - } + }, + "template": "T9" } ], "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", @@ -6245,7 +6431,8 @@ "pctReach": 53, "fame": 48, "magnitude": 2 - } + }, + "description": "1917 American silent film" }, { "cardId": "00000000000000000000000000000000000000000000000000000000027f963c", @@ -6270,7 +6457,8 @@ "power": 1, "toughness": 1, "portal": "Neutral" - } + }, + "template": "T8" } ], "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", @@ -6296,7 +6484,8 @@ "pctReach": 8, "fame": 15, "magnitude": 1 - } + }, + "description": "Non-profit organization in Florida, US" }, { "cardId": "00000000000000000000000000000000000000000000000000000000028399d2", @@ -6336,7 +6525,8 @@ "pctReach": 80, "fame": 62, "magnitude": 2 - } + }, + "description": "Extremely clumsy female character in anime and manga" }, { "cardId": "00000000000000000000000000000000000000000000000000000000033104b5", @@ -6377,7 +6567,8 @@ "pctReach": 23, "fame": 39, "magnitude": 2 - } + }, + "description": "Railway station in Jünkerath, Germany" }, { "cardId": "000000000000000000000000000000000000000000000000000000000391b393", @@ -6404,8 +6595,9 @@ "portal": "Neutral" }, "condition": { - "maxTokens": 2 - } + "maxTokens": 3 + }, + "template": "T8" } ], "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", @@ -6433,7 +6625,8 @@ "pctReach": 47, "fame": 77, "magnitude": 3 - } + }, + "description": "Film distribution successor to United Artists" }, { "cardId": "0000000000000000000000000000000000000000000000000000000004a1ebca", @@ -6513,7 +6706,8 @@ "pctReach": 67, "fame": 63, "magnitude": 3 - } + }, + "description": "British track cyclist" }, { "cardId": "0000000000000000000000000000000000000000000000000000000005057304", @@ -6552,7 +6746,8 @@ "pctReach": 78, "fame": 37, "magnitude": 1 - } + }, + "description": "Extinct parish in Guimarães, Portugal" }, { "cardId": "00000000000000000000000000000000000000000000000000000000000155c7", @@ -6591,7 +6786,8 @@ "pctReach": 93, "fame": 88, "magnitude": 3 - } + }, + "description": "Census area in Alaska, United States" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000365525", @@ -6633,7 +6829,8 @@ "pctReach": 47, "fame": 56, "magnitude": 2 - } + }, + "description": "British businessman (born 1952)" }, { "cardId": "000000000000000000000000000000000000000000000000000000000051e94e", @@ -6674,7 +6871,8 @@ "pctReach": 8, "fame": 48, "magnitude": 2 - } + }, + "description": "Shopping mall in Connecticut, United States" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001e1c7a2", @@ -6716,7 +6914,8 @@ "pctReach": 58, "fame": 51, "magnitude": 2 - } + }, + "description": "Italian long-distance runner (born 1979)" }, { "cardId": "000000000000000000000000000000000000000000000000000000000211993c", @@ -6801,7 +7000,8 @@ "pctReach": 8, "fame": 14, "magnitude": 1 - } + }, + "description": "Historic house in Missouri, United States" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000347e0d", @@ -6820,7 +7020,8 @@ { "trigger": "onPlay", "op": "draw", - "amount": 2 + "amount": 2, + "template": "T7" } ], "rulesText": "Draw two cards.", @@ -6848,7 +7049,8 @@ "pctReach": 85, "fame": 58, "magnitude": 2 - } + }, + "description": "Sporting event delegation" }, { "cardId": "000000000000000000000000000000000000000000000000000000000042c0a6", @@ -6873,7 +7075,8 @@ "duration": "permanent", "grant": [ "Well-sourced" - ] + ], + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +2/+2 and has Well-sourced.", @@ -6919,7 +7122,8 @@ "target": "figure", "power": -2, "toughness": -2, - "duration": "permanent" + "duration": "permanent", + "template": "T12" } ], "rulesText": "Attach to target Figure. It gets −2/−2.", @@ -6943,7 +7147,8 @@ "pctReach": 36, "fame": 48, "magnitude": 2 - } + }, + "description": "Crystallized urea deposits on skin" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000f4bc30", @@ -6982,7 +7187,8 @@ "pctReach": 95, "fame": 34, "magnitude": 1 - } + }, + "description": "Commune in Pays de la Loire, France" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001334c0c", @@ -7025,7 +7231,8 @@ "pctReach": 23, "fame": 13, "magnitude": 1 - } + }, + "description": "American baseball player (1839–1901)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001b5f940", @@ -7064,7 +7271,8 @@ "pctReach": 67, "fame": 36, "magnitude": 1 - } + }, + "description": "Island in Iceland" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002aa485f", @@ -7088,7 +7296,8 @@ "toughness": 0, "condition": { "maxPower": 2 - } + }, + "template": "T10" } ], "rulesText": "Figures you control with power 2 or less get +1/+0.", @@ -7117,7 +7326,8 @@ "pctReach": 74, "fame": 57, "magnitude": 2 - } + }, + "description": "Suburban tram line in Hauts-de-Seine and Yvelines, southwest of Paris" }, { "cardId": "00000000000000000000000000000000000000000000000000000000004d774c", @@ -7144,8 +7354,9 @@ "portal": "Neutral" }, "condition": { - "maxTokens": 2 - } + "maxTokens": 3 + }, + "template": "T8" } ], "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", @@ -7171,7 +7382,8 @@ "pctReach": 23, "fame": 51, "magnitude": 2 - } + }, + "description": "Anti-Slavery organization" }, { "cardId": "00000000000000000000000000000000000000000000000000000000008223bb", @@ -7213,7 +7425,8 @@ "pctReach": 8, "fame": 52, "magnitude": 2 - } + }, + "description": "Former oil refinery in Neath Port Talbot, Wales" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000ea3205", @@ -7238,7 +7451,8 @@ "power": 1, "toughness": 1, "portal": "Neutral" - } + }, + "template": "T8" } ], "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", @@ -7265,7 +7479,8 @@ "pctReach": 81, "fame": 38, "magnitude": 1 - } + }, + "description": "Roman Catholic diocese in Cape Verde" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000edde01", @@ -7305,7 +7520,8 @@ "pctReach": 91, "fame": 34, "magnitude": 1 - } + }, + "description": "Part of Ornans in Bourgogne-Franche-Comté, France" }, { "cardId": "00000000000000000000000000000000000000000000000000000000010609ef", @@ -7344,7 +7560,8 @@ "pctReach": 84, "fame": 67, "magnitude": 3 - } + }, + "description": "Place in Haut-Lomami, Democratic Republic of the Congo" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001639bbc", @@ -7383,7 +7600,8 @@ "pctReach": 74, "fame": 38, "magnitude": 1 - } + }, + "description": "Place in Paphos District, Cyprus" }, { "cardId": "00000000000000000000000000000000000000000000000000000000025124c9", @@ -7425,7 +7643,8 @@ "pctReach": 8, "fame": 26, "magnitude": 1 - } + }, + "description": "American Spiritualist medium (died 1960)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000003c6d80f", @@ -7468,7 +7687,8 @@ "pctReach": 63, "fame": 80, "magnitude": 3 - } + }, + "description": "American basketball player (born 2000)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000004606820", @@ -7507,7 +7727,8 @@ "pctReach": 53, "fame": 34, "magnitude": 1 - } + }, + "description": "Village in Skopje, North Macedonia" }, { "cardId": "00000000000000000000000000000000000000000000000000000000000e1834", @@ -7546,7 +7767,8 @@ "pctReach": 97, "fame": 69, "magnitude": 3 - } + }, + "description": "Commune in Auvergne-Rhône-Alpes, France" }, { "cardId": "00000000000000000000000000000000000000000000000000000000003487d1", @@ -7587,7 +7809,8 @@ "pctReach": 36, "fame": 34, "magnitude": 1 - } + }, + "description": "Provincial park in Ontario, Canada" }, { "cardId": "00000000000000000000000000000000000000000000000000000000004563e8", @@ -7609,7 +7832,8 @@ "target": "figure", "power": -2, "toughness": -2, - "duration": "permanent" + "duration": "permanent", + "template": "T12" } ], "rulesText": "Attach to target Figure. It gets −2/−2.", @@ -7633,7 +7857,8 @@ "pctReach": 53, "fame": 57, "magnitude": 2 - } + }, + "description": "Flattening of the trachea in animals" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000d2549d", @@ -7673,7 +7898,8 @@ "pctReach": 63, "fame": 48, "magnitude": 2 - } + }, + "description": "Waterfall on the Ellenborough River in New South Wales, Australia" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001fe7b62", @@ -7714,7 +7940,8 @@ "pctReach": 47, "fame": 23, "magnitude": 1 - } + }, + "description": "Ancient Greek vase painter" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002b548f0", @@ -7758,7 +7985,8 @@ "pctReach": 89, "fame": 90, "magnitude": 3 - } + }, + "description": "Major water Orisha in the Yoruba religion" }, { "cardId": "00000000000000000000000000000000000000000000000000000000047e7091", @@ -7801,7 +8029,8 @@ "pctReach": 36, "fame": 53, "magnitude": 2 - } + }, + "description": "Indonesian activist and politician" }, { "cardId": "00000000000000000000000000000000000000000000000000000000002f764e", @@ -7840,7 +8069,8 @@ "pctReach": 53, "fame": 29, "magnitude": 1 - } + }, + "description": "Village in Senja Municipality, Norway" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000768587", @@ -7881,7 +8111,8 @@ "pctReach": 74, "fame": 25, "magnitude": 1 - } + }, + "description": "Species of amphibian" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000e314ca", @@ -7903,7 +8134,8 @@ "target": "ownFigure", "power": 1, "toughness": 1, - "duration": "permanent" + "duration": "permanent", + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +1/+1.", @@ -7927,7 +8159,8 @@ "pctReach": 58, "fame": 25, "magnitude": 1 - } + }, + "description": "Protein-coding gene in the species Homo sapiens" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001e25f63", @@ -7968,7 +8201,8 @@ "pctReach": 36, "fame": 62, "magnitude": 2 - } + }, + "description": "Irish politician (born 1974)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002004071", @@ -8007,7 +8241,8 @@ "pctReach": 47, "fame": 17, "magnitude": 1 - } + }, + "description": "River in Thuringia, Germany" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002469bab", @@ -8049,7 +8284,8 @@ "pctReach": 47, "fame": 42, "magnitude": 2 - } + }, + "description": "Hungarian economist and politician" }, { "cardId": "00000000000000000000000000000000000000000000000000000000030834b6", @@ -8074,7 +8310,8 @@ "power": 1, "toughness": 1, "portal": "Neutral" - } + }, + "template": "T8" } ], "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", @@ -8141,7 +8378,8 @@ "pctReach": 47, "fame": 18, "magnitude": 1 - } + }, + "description": "Species of true bug" }, { "cardId": "00000000000000000000000000000000000000000000000000000000000c07c1", @@ -8168,8 +8406,9 @@ "portal": "Neutral" }, "condition": { - "maxTokens": 2 - } + "maxTokens": 3 + }, + "template": "T8" } ], "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", @@ -8199,7 +8438,8 @@ "pctReach": 86, "fame": 87, "magnitude": 3 - } + }, + "description": "Israeli settlement in the West Bank" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000314a5b", @@ -8236,7 +8476,8 @@ "pctReach": 74, "fame": 64, "magnitude": 3 - } + }, + "description": "One of the principal islands of Bermuda" }, { "cardId": "00000000000000000000000000000000000000000000000000000000006ec6df", @@ -8261,7 +8502,8 @@ "power": 1, "toughness": 1, "portal": "Neutral" - } + }, + "template": "T8" } ], "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", @@ -8315,7 +8557,8 @@ "duration": "permanent", "grant": [ "Well-sourced" - ] + ], + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +2/+2 and has Well-sourced.", @@ -8339,7 +8582,8 @@ "pctReach": 36, "fame": 49, "magnitude": 2 - } + }, + "description": "Arrangement of 30 points and 12 lines" }, { "cardId": "000000000000000000000000000000000000000000000000000000000234c209", @@ -8380,7 +8624,8 @@ "pctReach": 67, "fame": 29, "magnitude": 1 - } + }, + "description": "Church in Naples, Italy" }, { "cardId": "000000000000000000000000000000000000000000000000000000000249a814", @@ -8425,7 +8670,8 @@ "pctReach": 8, "fame": 30, "magnitude": 1 - } + }, + "description": "Indian surgeon and artist" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002c76795", @@ -8467,7 +8713,8 @@ "pctReach": 36, "fame": 63, "magnitude": 3 - } + }, + "description": "Canadian politician (born 1980)" }, { "cardId": "00000000000000000000000000000000000000000000000000000000048da231", @@ -8487,7 +8734,8 @@ "trigger": "onPlay", "op": "damage", "target": "figureOrLocation", - "amount": 4 + "amount": 4, + "template": "T3" } ], "rulesText": "Deal 4 damage to target Figure or Location.", @@ -8515,7 +8763,8 @@ "pctReach": 58, "fame": 76, "magnitude": 3 - } + }, + "description": "Protests against the Cuban government" }, { "cardId": "000000000000000000000000000000000000000000000000000000000070b485", @@ -8534,7 +8783,8 @@ { "trigger": "onEnter", "op": "draw", - "amount": 1 + "amount": 1, + "template": "T9" }, { "trigger": "static", @@ -8544,7 +8794,8 @@ "toughness": 1, "condition": { "connected": true - } + }, + "template": "T9" } ], "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", @@ -8573,7 +8824,8 @@ "pctReach": 8, "fame": 45, "magnitude": 2 - } + }, + "description": "1969 American TV series or program" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000be57a1", @@ -8615,7 +8867,8 @@ "pctReach": 87, "fame": 50, "magnitude": 2 - } + }, + "description": "Species of bird" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001289a8f", @@ -8658,7 +8911,8 @@ "pctReach": 89, "fame": 44, "magnitude": 2 - } + }, + "description": "German physician and botanist" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002636619", @@ -8695,7 +8949,8 @@ "pctReach": 23, "fame": 26, "magnitude": 1 - } + }, + "description": "Massachusetts state park" }, { "cardId": "0000000000000000000000000000000000000000000000000000000004db234b", @@ -8722,8 +8977,9 @@ "portal": "Neutral" }, "condition": { - "maxTokens": 2 - } + "maxTokens": 3 + }, + "template": "T8" } ], "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", @@ -8751,7 +9007,8 @@ "pctReach": 8, "fame": 57, "magnitude": 2 - } + }, + "description": "Government agency in the Philippines" }, { "cardId": "0000000000000000000000000000000000000000000000000000000004f1c0b9", @@ -8773,7 +9030,8 @@ "target": "ownFigure", "power": 2, "toughness": 2, - "duration": "permanent" + "duration": "permanent", + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +2/+2.", @@ -8795,7 +9053,8 @@ "pctReach": 8, "fame": 46, "magnitude": 2 - } + }, + "description": "Recurring assemblage of lichen species and its classification in vegetation science" }, { "cardId": "000000000000000000000000000000000000000000000000000000000017f942", @@ -8817,7 +9076,8 @@ "target": "ownFigure", "power": 3, "toughness": 3, - "duration": "permanent" + "duration": "permanent", + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +3/+3.", @@ -8878,7 +9138,8 @@ "pctReach": 71, "fame": 25, "magnitude": 1 - } + }, + "description": "Village in Silesian Voivodeship, Poland" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001b2dc67", @@ -8948,8 +9209,9 @@ "portal": "Neutral" }, "condition": { - "maxTokens": 2 - } + "maxTokens": 3 + }, + "template": "T8" } ], "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", @@ -8977,7 +9239,8 @@ "pctReach": 23, "fame": 64, "magnitude": 3 - } + }, + "description": "Philippine department store chain" }, { "cardId": "00000000000000000000000000000000000000000000000000000000025e3602", @@ -9018,7 +9281,8 @@ "pctReach": 8, "fame": 15, "magnitude": 1 - } + }, + "description": "United States historic place" }, { "cardId": "0000000000000000000000000000000000000000000000000000000002b69213", @@ -9055,7 +9319,8 @@ "pctReach": 23, "fame": 28, "magnitude": 1 - } + }, + "description": "State highway in Lincoln County, Maine, US" }, { "cardId": "0000000000000000000000000000000000000000000000000000000003105e51", @@ -9121,7 +9386,8 @@ "target": "ownFigure", "power": 3, "toughness": 3, - "duration": "permanent" + "duration": "permanent", + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +3/+3.", @@ -9190,7 +9456,8 @@ "pctReach": 8, "fame": 27, "magnitude": 1 - } + }, + "description": "American politician" }, { "cardId": "000000000000000000000000000000000000000000000000000000000508b134", @@ -9227,7 +9494,8 @@ "pctReach": 53, "fame": 42, "magnitude": 2 - } + }, + "description": "Species of marine amphipod" }, { "cardId": "000000000000000000000000000000000000000000000000000000000000c16a", @@ -9270,7 +9538,8 @@ "pctReach": 97, "fame": 91, "magnitude": 3 - } + }, + "description": "French mathematician (1875–1941)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000e13cb0", @@ -9292,7 +9561,8 @@ "target": "ownFigure", "power": 1, "toughness": 1, - "duration": "permanent" + "duration": "permanent", + "template": "T11" } ], "rulesText": "Attach to target Figure you control. It gets +1/+1.", @@ -9316,7 +9586,8 @@ "pctReach": 23, "fame": 38, "magnitude": 1 - } + }, + "description": "Protein-coding gene in humans" }, { "cardId": "00000000000000000000000000000000000000000000000000000000044ec330", @@ -9357,7 +9628,8 @@ "pctReach": 58, "fame": 53, "magnitude": 2 - } + }, + "description": "County in Alborz province, Iran" }, { "cardId": "00000000000000000000000000000000000000000000000000000000047b26e9", @@ -9382,7 +9654,8 @@ "power": 1, "toughness": 1, "portal": "Society" - } + }, + "template": "T5" } ], "rulesText": "Create a 1/1 Society Figure token named Elected Member.", @@ -9435,7 +9708,8 @@ "power": 1, "toughness": 1, "portal": "Neutral" - } + }, + "template": "T8" } ], "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", @@ -9463,7 +9737,8 @@ "pctReach": 47, "fame": 48, "magnitude": 2 - } + }, + "description": "Regional council of Östergötland County, Sweden" }, { "cardId": "0000000000000000000000000000000000000000000000000000000004fb7786", @@ -9506,7 +9781,8 @@ "pctReach": 23, "fame": 53, "magnitude": 2 - } + }, + "description": "Polish mixed martial artist (born 1996)" }, { "cardId": "000000000000000000000000000000000000000000000000000000000001f064", @@ -9546,7 +9822,8 @@ "pctReach": 87, "fame": 75, "magnitude": 3 - } + }, + "description": "Village in New York, United States" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000042d2a", @@ -9586,7 +9863,8 @@ "pctReach": 99, "fame": 98, "magnitude": 3 - } + }, + "description": "Species of small wild cat" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001a702c7", @@ -9611,7 +9889,8 @@ "power": 1, "toughness": 1, "portal": "Neutral" - } + }, + "template": "T8" } ], "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", @@ -9640,7 +9919,8 @@ "pctReach": 8, "fame": 36, "magnitude": 1 - } + }, + "description": "Scottish post-rock band" }, { "cardId": "000000000000000000000000000000000000000000000000000000000003c754", @@ -9662,12 +9942,14 @@ "target": "ownFigure", "power": 3, "toughness": 0, - "duration": "turn" + "duration": "turn", + "template": "T6" }, { "trigger": "onPlay", "op": "fight", - "target": "opponentFigure" + "target": "opponentFigure", + "template": "T6" } ], "rulesText": "Target Figure you control gets +3/+0 until end of turn, then it fights target Figure you don't control.", @@ -9696,7 +9978,8 @@ "pctReach": 97, "fame": 96, "magnitude": 3 - } + }, + "description": "Formula One Grand Prix" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000577b42", @@ -9718,12 +10001,14 @@ "target": "ownFigure", "power": 3, "toughness": 0, - "duration": "turn" + "duration": "turn", + "template": "T6" }, { "trigger": "onPlay", "op": "fight", - "target": "opponentFigure" + "target": "opponentFigure", + "template": "T6" } ], "rulesText": "Target Figure you control gets +3/+0 until end of turn, then it fights target Figure you don't control.", @@ -9773,12 +10058,14 @@ "target": "ownFigure", "power": 2, "toughness": 0, - "duration": "turn" + "duration": "turn", + "template": "T6" }, { "trigger": "onPlay", "op": "fight", - "target": "opponentFigure" + "target": "opponentFigure", + "template": "T6" } ], "rulesText": "Target Figure you control gets +2/+0 until end of turn, then it fights target Figure you don't control.", @@ -9806,7 +10093,8 @@ "pctReach": 71, "fame": 51, "magnitude": 2 - } + }, + "description": "International speed skating competition" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001b85b73", @@ -9845,7 +10133,8 @@ "pctReach": 71, "fame": 33, "magnitude": 1 - } + }, + "description": "Village in Estonia" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001e7779d", @@ -9869,7 +10158,8 @@ "toughness": 0, "condition": { "maxPower": 2 - } + }, + "template": "T10" } ], "rulesText": "Figures you control with power 2 or less get +1/+0.", @@ -9938,7 +10228,8 @@ "pctReach": 8, "fame": 39, "magnitude": 2 - } + }, + "description": "United States Coast Guardsman" }, { "cardId": "00000000000000000000000000000000000000000000000000000000026196e4", @@ -9963,7 +10254,8 @@ "power": 1, "toughness": 1, "portal": "Neutral" - } + }, + "template": "T8" } ], "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", @@ -9987,7 +10279,8 @@ "pctReach": 8, "fame": 17, "magnitude": 1 - } + }, + "description": "Military decoration" }, { "cardId": "000000000000000000000000000000000000000000000000000000000292a898", @@ -10027,7 +10320,8 @@ "pctReach": 8, "fame": 17, "magnitude": 1 - } + }, + "description": "Union Army soldier" }, { "cardId": "00000000000000000000000000000000000000000000000000000000046d99b5", @@ -10046,7 +10340,8 @@ { "trigger": "onPlay", "op": "draw", - "amount": 2 + "amount": 2, + "template": "T7" } ], "rulesText": "Draw two cards.", @@ -10074,7 +10369,8 @@ "pctReach": 8, "fame": 50, "magnitude": 2 - } + }, + "description": "LGBT sex scandal in September 1940" }, { "cardId": "0000000000000000000000000000000000000000000000000000000000ca0a2e", @@ -10116,7 +10412,8 @@ "pctReach": 8, "fame": 14, "magnitude": 1 - } + }, + "description": "United States historic place" }, { "cardId": "0000000000000000000000000000000000000000000000000000000001283431", @@ -10157,7 +10454,8 @@ "pctReach": 71, "fame": 62, "magnitude": 2 - } + }, + "description": "French jurist, bishop and Cardinal" }, { "cardId": "00000000000000000000000000000000000000000000000000000000017a1788", @@ -10199,7 +10497,8 @@ "pctReach": 8, "fame": 52, "magnitude": 2 - } + }, + "description": "US Army facility in Illesheim, Germany" }, { "cardId": "000000000000000000000000000000000000000000000000000000000252776f", @@ -10236,7 +10535,8 @@ "pctReach": 8, "fame": 15, "magnitude": 1 - } + }, + "description": "Artillery batteries in Gibraltar" }, { "cardId": "00000000000000000000000000000000000000000000000000000000028e29f5", @@ -10280,7 +10580,8 @@ "pctReach": 23, "fame": 51, "magnitude": 2 - } + }, + "description": "Russian-born American Yiddish-language writer (1877–1962)" }, { "cardId": "0000000000000000000000000000000000000000000000000000000003bf2818", @@ -10319,7 +10620,8 @@ "pctReach": 8, "fame": 26, "magnitude": 1 - } + }, + "description": "Historic district in Missouri, United States" }, { "cardId": "0000000000000000000000000000000000000000000000000000000003f5c331", @@ -10344,7 +10646,8 @@ "power": 1, "toughness": 1, "portal": "Society" - } + }, + "template": "T5" } ], "rulesText": "Create three 1/1 Society Figure tokens named Elected Member.", @@ -10413,7 +10716,8 @@ "pctReach": 67, "fame": 55, "magnitude": 2 - } + }, + "description": "Township in Pennsylvania, US" } ] } diff --git a/shared/duel/derive.ts b/shared/duel/derive.ts index 91f1bd2..f6b180a 100644 --- a/shared/duel/derive.ts +++ b/shared/duel/derive.ts @@ -48,6 +48,8 @@ export interface DuelCard { pageId: number; revisionId: number; title: string; + /** Wikidata short description, for log first mentions (omitted when absent). */ + description?: string; type: CardType; /** Template family within the type, e.g. 'conflict', 'election', 'organisation', 'pathology'. */ subtype: string | null; @@ -291,6 +293,7 @@ export function derive(chain: CardOnChain, profile: CardProfile, rules: DeriveRu rarity: rarityOf(chain.tokenId), deriveVersion: DERIVE_VERSION, typedBy: source, basis: { pctAttention: p.attention, pctDepth: p.depth, pctReach: p.reach, fame, magnitude }, }; + if (profile.description) card.description = profile.description; card.rulesText = rulesTextFor(card); return card; } diff --git a/shared/duel/effects.ts b/shared/duel/effects.ts index 2d7f555..c433f6d 100644 --- a/shared/duel/effects.ts +++ b/shared/duel/effects.ts @@ -19,8 +19,11 @@ export interface EffectSpec { toughness?: number; duration?: 'turn' | 'permanent'; token?: { name: string; power: number; toughness: number; portal: Portal }; - condition?: { maxPower?: number; samePortal?: boolean; connected?: boolean; maxTokens?: number; whileAttacking?: boolean }; + /** maxTokens: createToken only if the controller controls fewer than this many tokens (duel-core types.ts). */ + condition?: { maxPower?: number; samePortal?: boolean; connected?: boolean; maxTokens?: number }; grant?: Keyword[]; + /** Template id (DUEL_DESIGN §5, T3–T12) for rules text and log wording. */ + template?: string; } type Subtypes = readonly (readonly [string, RegExp])[]; @@ -67,7 +70,23 @@ export function subtypeFor(type: CardType, profile: Pick)[subtype ?? ''] ?? 'T7'; + case 'Institution': return subtype === 'organisation' ? 'T8' : subtype === 'work' ? 'T9' : 'T10'; + case 'Doctrine': return subtype === 'pathology' ? 'T12' : 'T11'; + } +} + export function effectsFor(type: CardType, subtype: string | null, cost: number): EffectSpec[] { + const template = templateFor(type, subtype); + return baseEffects(type, subtype, cost).map(e => (template ? { ...e, template } : e)); +} + +function baseEffects(type: CardType, subtype: string | null, cost: number): EffectSpec[] { const k = Math.ceil(cost / 2); switch (type) { case 'Event': @@ -87,7 +106,7 @@ export function effectsFor(type: CardType, subtype: string | null, cost: number) case 'organisation': { const token = { name: 'Staff Member', power: 1, toughness: 1, portal: 'Neutral' as const }; return cost >= 4 - ? [{ trigger: 'startOfTurn', op: 'createToken', amount: 1, token, condition: { maxTokens: 2 } }] + ? [{ trigger: 'startOfTurn', op: 'createToken', amount: 1, token, condition: { maxTokens: 3 } }] : [{ trigger: 'onEnter', op: 'createToken', amount: 1, token }]; } case 'work': return [ diff --git a/shared/duel/text.ts b/shared/duel/text.ts index e1af298..49bc556 100644 --- a/shared/duel/text.ts +++ b/shared/duel/text.ts @@ -41,7 +41,7 @@ function staticText(e: EffectSpec): string { if (c.connected) who = 'Figures you control that are Connected to this'; if (c.samePortal) who = 'Other Figures you control of its Portal'; if (e.grant?.length && !e.power && !e.toughness) { - return `${who} have ${keywordsAsText(e.grant)}${c.whileAttacking ? ' while attacking' : ''}.`; + return `${who} have ${keywordsAsText(e.grant)}.`; } return `${who} get ${pt(e.power, e.toughness)}.`; } @@ -90,7 +90,7 @@ export function effectText(effects: readonly EffectSpec[]): string[] { case 'onDestroyed': lines.push(`When this is destroyed, ${actionText(e)}.`); break; case 'startOfTurn': { const max = e.condition?.maxTokens; - const cond = max !== undefined ? `, if you control fewer than ${max + 1} tokens` : ''; + const cond = max !== undefined ? `, if you control fewer than ${max} tokens` : ''; lines.push(`At the start of your turn${cond}, ${actionText(e)}.`); break; } -- 2.54.0 From ae14bc7b891639d9c0a4db4dadcbfe33cb9ff831 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 22:52:35 -0500 Subject: [PATCH 4/6] [duel-cards] connect.qid is optional (omitted without a Wikidata item), matching #72's ConnectKeys Co-Authored-By: Claude Opus 5.5 --- shared/duel/derive.ts | 10 +++++----- tests/duel-cards-derive.test.ts | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/shared/duel/derive.ts b/shared/duel/derive.ts index f6b180a..85956f1 100644 --- a/shared/duel/derive.ts +++ b/shared/duel/derive.ts @@ -38,8 +38,8 @@ export interface ConnectKeys { links: number[]; /** P31 Q-ids, excluding human and taxon (the Kin tier). */ p31: string[]; - /** This card's Wikidata item, and the item Q-ids its claims cite (Linked tier). */ - qid: string | null; + /** This card's Wikidata item (omitted when it has none), and the item Q-ids its claims cite (Linked tier). */ + qid?: string; cites: string[]; } @@ -177,7 +177,7 @@ export function connectKeysFor(title: string, profile: CardProfile): ConnectKeys centuries: [...centuries].sort((a, b) => a - b), links: [...new Set(profile.links ?? [])].sort((a, b) => a - b), p31: [...new Set(profile.instanceOf.map(c => c.id).filter(id => id !== 'Q5' && id !== 'Q16521'))].sort(), - qid: profile.wikidataId, + ...(profile.wikidataId ? { qid: profile.wikidataId } : {}), cites: [...new Set(profile.cites ?? [])].sort(), }; } @@ -310,8 +310,8 @@ export function connectedTier(a: DuelCard, b: DuelCard, const meets = (x: readonly (string | number)[], y: readonly (string | number)[]) => x.some(v => y.includes(v)); for (const tier of tiers) { if (tier === 'Linked' && (a.connect.links.includes(b.pageId) || b.connect.links.includes(a.pageId) - || (b.connect.qid !== null && a.connect.cites.includes(b.connect.qid)) - || (a.connect.qid !== null && b.connect.cites.includes(a.connect.qid)))) return tier; + || (b.connect.qid !== undefined && a.connect.cites.includes(b.connect.qid)) + || (a.connect.qid !== undefined && b.connect.cites.includes(a.connect.qid)))) return tier; if (tier === 'Compatriot' && meets(a.connect.countries, b.connect.countries)) return tier; if (tier === 'Contemporary' && a.type !== b.type && meets(a.connect.centuries, b.connect.centuries)) return tier; if (tier === 'Kin' && meets(a.connect.p31, b.connect.p31)) return tier; diff --git a/tests/duel-cards-derive.test.ts b/tests/duel-cards-derive.test.ts index 5f522ec..473ebbb 100644 --- a/tests/duel-cards-derive.test.ts +++ b/tests/duel-cards-derive.test.ts @@ -71,7 +71,7 @@ test('costs, bodies and keyword caps stay in range', () => { if (c.type === 'Figure') { assert.ok(c.cost >= 1 && c.cost <= 6, c.title); const taxed = c.keywords.filter(k => DERIVE_RULES.taxedKeywords.includes(k)).length; - assert.ok(c.connect.qid === null || /^Q\d+$/.test(c.connect.qid)); + assert.ok(c.connect.qid === undefined || /^Q\d+$/.test(c.connect.qid)); assert.equal(c.power! + c.toughness!, DERIVE_RULES.bodyBudget[c.cost] - taxed, c.title); assert.ok(c.power! >= 1 && c.toughness! >= 1, c.title); } else if (c.type === 'Location') { @@ -181,7 +181,7 @@ test('Portals: keyword hits decide, ties go to the type default, no hits is Neut test('Connected: Linked beats Compatriot beats Contemporary beats Kin; a card is never connected to itself', () => { const base = (id: string, pageId: number, connect: Partial, type: DuelCard['type'] = 'Event'): DuelCard => - ({ ...byTitle('Tom Ewell'), cardId: id, pageId, type, connect: { countries: [], centuries: [], links: [], p31: [], qid: null, cites: [], ...connect } }); + ({ ...byTitle('Tom Ewell'), cardId: id, pageId, type, connect: { countries: [], centuries: [], links: [], p31: [], cites: [], ...connect } }); const a = base('a', 1, { links: [2], countries: ['France'], centuries: [20], p31: ['Q1'], qid: 'Q100' }, 'Figure'); assert.equal(connectedTier(a, base('g', 7, { cites: ['Q100'] })), 'Linked'); assert.equal(connectedTier(a, base('h', 8, { centuries: [20] }, 'Figure')), null, 'Contemporary needs different types'); -- 2.54.0 From 067de837a853a7aadab75a1c2533fac66e8b9ba5 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 23:23:29 -0500 Subject: [PATCH 5/6] [duel-cards] Doctrines: attach + static pump on attached (DUEL_API encoding); the buff was ignored by the engine Co-Authored-By: Claude Opus 5.5 --- docs/game/duel-card-sample.json | 142 +++++++++++++++++++++++++++----- shared/duel/effects.ts | 15 ++-- shared/duel/text.ts | 15 +++- tests/duel-cards-derive.test.ts | 16 ++++ 4 files changed, 157 insertions(+), 31 deletions(-) diff --git a/docs/game/duel-card-sample.json b/docs/game/duel-card-sample.json index ef983ed..a82bd43 100644 --- a/docs/game/duel-card-sample.json +++ b/docs/game/duel-card-sample.json @@ -851,9 +851,14 @@ "trigger": "onPlay", "op": "attach", "target": "figure", + "template": "T12" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": -3, "toughness": -3, - "duration": "permanent", "template": "T12" } ], @@ -943,15 +948,19 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 3, "toughness": 3, - "duration": "permanent", "template": "T11" }, { "trigger": "onCombatDamageToPlayer", "op": "draw", - "target": "attached", "amount": 1, "template": "T11" } @@ -1272,15 +1281,19 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 3, "toughness": 3, - "duration": "permanent", "template": "T11" }, { "trigger": "onCombatDamageToPlayer", "op": "draw", - "target": "attached", "amount": 1, "template": "T11" } @@ -3753,9 +3766,14 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 3, "toughness": 3, - "duration": "permanent", "template": "T11" } ], @@ -4189,9 +4207,14 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 2, "toughness": 2, - "duration": "permanent", "template": "T11" } ], @@ -4325,9 +4348,14 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 3, "toughness": 3, - "duration": "permanent", "template": "T11" } ], @@ -4787,9 +4815,14 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 2, "toughness": 2, - "duration": "permanent", "template": "T11" } ], @@ -5010,9 +5043,14 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 3, "toughness": 3, - "duration": "permanent", "grant": [ "Well-sourced" ], @@ -5059,9 +5097,14 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 3, "toughness": 3, - "duration": "permanent", "template": "T11" } ], @@ -5196,9 +5239,14 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 3, "toughness": 3, - "duration": "permanent", "grant": [ "Well-sourced" ], @@ -6030,9 +6078,14 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 2, "toughness": 2, - "duration": "permanent", "template": "T11" } ], @@ -7070,9 +7123,14 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 2, "toughness": 2, - "duration": "permanent", "grant": [ "Well-sourced" ], @@ -7120,9 +7178,14 @@ "trigger": "onPlay", "op": "attach", "target": "figure", + "template": "T12" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": -2, "toughness": -2, - "duration": "permanent", "template": "T12" } ], @@ -7830,9 +7893,14 @@ "trigger": "onPlay", "op": "attach", "target": "figure", + "template": "T12" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": -2, "toughness": -2, - "duration": "permanent", "template": "T12" } ], @@ -8132,9 +8200,14 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 1, "toughness": 1, - "duration": "permanent", "template": "T11" } ], @@ -8552,9 +8625,14 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 2, "toughness": 2, - "duration": "permanent", "grant": [ "Well-sourced" ], @@ -9028,9 +9106,14 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 2, "toughness": 2, - "duration": "permanent", "template": "T11" } ], @@ -9074,9 +9157,14 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 3, "toughness": 3, - "duration": "permanent", "template": "T11" } ], @@ -9384,9 +9472,14 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 3, "toughness": 3, - "duration": "permanent", "template": "T11" } ], @@ -9559,9 +9652,14 @@ "trigger": "onPlay", "op": "attach", "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", "power": 1, "toughness": 1, - "duration": "permanent", "template": "T11" } ], diff --git a/shared/duel/effects.ts b/shared/duel/effects.ts index c433f6d..285b0c9 100644 --- a/shared/duel/effects.ts +++ b/shared/duel/effects.ts @@ -116,12 +116,15 @@ function baseEffects(type: CardType, subtype: string | null, cost: number): Effe default: return [{ trigger: 'static', op: 'pump', target: 'ownFigures', power: 1, toughness: 0, condition: { maxPower: 2 } }]; } case 'Doctrine': { - if (subtype === 'pathology') return [{ trigger: 'onPlay', op: 'attach', target: 'figure', power: -k, toughness: -k, duration: 'permanent' }]; - const attach: EffectSpec = { trigger: 'onPlay', op: 'attach', target: 'ownFigure', power: k, toughness: k, duration: 'permanent' }; - if (subtype === 'mathematics') return [{ ...attach, grant: ['Well-sourced'] }]; - if (subtype === 'language') return [attach, { trigger: 'onCombatDamageToPlayer', op: 'draw', target: 'attached', amount: 1 }]; - if (subtype === 'ideology') return [attach, { trigger: 'static', op: 'pump', target: 'ownFigures', power: 1, toughness: 0, condition: { samePortal: true } }]; - return [attach]; + // DUEL_API "Doctrine": `attach` picks the Figure; the buff is a static pump on `attached`. + const pathology = subtype === 'pathology'; + const attach: EffectSpec = { trigger: 'onPlay', op: 'attach', target: pathology ? 'figure' : 'ownFigure' }; + const buff: EffectSpec = { trigger: 'static', op: 'pump', target: 'attached', power: pathology ? -k : k, toughness: pathology ? -k : k }; + if (pathology) return [attach, buff]; + if (subtype === 'mathematics') return [attach, { ...buff, grant: ['Well-sourced'] }]; + if (subtype === 'language') return [attach, buff, { trigger: 'onCombatDamageToPlayer', op: 'draw', amount: 1 }]; + if (subtype === 'ideology') return [attach, buff, { trigger: 'static', op: 'pump', target: 'ownFigures', power: 1, toughness: 0, condition: { samePortal: true } }]; + return [attach, buff]; } default: return []; } diff --git a/shared/duel/text.ts b/shared/duel/text.ts index 49bc556..6e9fb1d 100644 --- a/shared/duel/text.ts +++ b/shared/duel/text.ts @@ -75,8 +75,16 @@ export function effectText(effects: readonly EffectSpec[]): string[] { for (let i = 0; i < effects.length; i++) { const e = effects[i]; if (e.op === 'attach') { - const grant = e.grant?.length ? ` and has ${keywordsAsText(e.grant)}` : ''; - lines.push(`Attach to ${e.target === 'figure' ? 'target Figure' : 'target Figure you control'}. It gets ${pt(e.power, e.toughness)}${grant}.`); + // The Doctrine's buff is the static pump on `attached` that follows (DUEL_API "Doctrine"). + const next = effects[i + 1]; + const buff = next && next.trigger === 'static' && next.op === 'pump' && next.target === 'attached' ? next : null; + let line = `Attach to ${e.target === 'figure' ? 'target Figure' : 'target Figure you control'}.`; + if (buff) { + const grant = buff.grant?.length ? ` and has ${keywordsAsText(buff.grant)}` : ''; + line += ` It gets ${pt(buff.power, buff.toughness)}${grant}.`; + i++; + } + lines.push(line); continue; } if (e.op === 'fight' && i > 0 && effects[i - 1].op === 'pump') { @@ -95,7 +103,8 @@ export function effectText(effects: readonly EffectSpec[]): string[] { break; } case 'onCombatDamageToPlayer': - lines.push(`Whenever ${e.target === 'attached' ? 'it' : 'this'} deals combat damage to a player, ${actionText(e)}.`); + // On a Doctrine the trigger belongs to the attached Figure ("it"); on a Figure, to "this". + lines.push(`Whenever ${effects.some(x => x.op === 'attach') ? 'it' : 'this'} deals combat damage to a player, ${actionText(e)}.`); break; } } diff --git a/tests/duel-cards-derive.test.ts b/tests/duel-cards-derive.test.ts index 473ebbb..efe41f5 100644 --- a/tests/duel-cards-derive.test.ts +++ b/tests/duel-cards-derive.test.ts @@ -203,3 +203,19 @@ test('Connected fires in a plausible share of sample pairs (BRIEF target 15–30 const rate = hits / pairs; assert.ok(rate > 0.1 && rate < 0.4, `rate ${rate}`); }); + +test('Doctrines use the engine encoding: attach picks the Figure, a static pump on `attached` carries ±k (DUEL_API)', () => { + for (const c of CARDS.filter(x => x.type === 'Doctrine')) { + assert.equal(c.effects[0].op, 'attach', c.title); + const buff = c.effects[1]; + assert.equal(buff.trigger, 'static', c.title); + assert.equal(buff.op, 'pump'); + assert.equal(buff.target, 'attached'); + const magnitude = c.basis.magnitude; + const sign = c.subtype === 'pathology' ? -1 : 1; + assert.deepEqual([buff.power, buff.toughness], [sign * magnitude, sign * magnitude], c.title); + assert.equal(c.effects[0].target, c.subtype === 'pathology' ? 'figure' : 'ownFigure'); + } + assert.deepEqual(byTitle('Heart rot').effects.map(e => [e.trigger, e.op, e.target, e.power ?? null]), + [['onPlay', 'attach', 'figure', null], ['static', 'pump', 'attached', -3]]); +}); -- 2.54.0 From 5076299e7cf3021cc4cc6e898865757644501f2b Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 18 Nov 2026 00:50:13 -0500 Subject: [PATCH 6/6] [duel-cards] classify: on-chain fallback (extract definition, title, mint category) before Doctrine An empty profile typed every card as Doctrine (night-review on #61). derive() now passes chain.article to classify/subtypeFor; full-profile results are unchanged (fixture identical). Co-Authored-By: Claude Opus 5.5 --- shared/duel/classify.ts | 62 +++++++++++++++++++++++++++++++-- shared/duel/derive.ts | 7 ++-- shared/duel/effects.ts | 7 ++-- shared/duel/sample.ts | 5 ++- tests/duel-cards-derive.test.ts | 34 ++++++++++++++++++ 5 files changed, 107 insertions(+), 8 deletions(-) diff --git a/shared/duel/classify.ts b/shared/duel/classify.ts index 2f59bb7..bf1b305 100644 --- a/shared/duel/classify.ts +++ b/shared/duel/classify.ts @@ -39,7 +39,8 @@ export interface CardProfile { fetchedRevisionId?: number; } -export type ClassifySource = 'qid' | 'p279-qid' | 'p31' | 'p279' | 'category' | 'description' | 'fallback'; +export type ClassifySource = 'qid' | 'p279-qid' | 'p31' | 'p279' | 'category' | 'description' + | 'extract' | 'title' | 'chain-category' | 'fallback'; export interface Classification { type: CardType; source: ClassifySource; matched: string } /** Exact anchors (designer §3.1 step 1, data §1 production table). Checked against P31, then P279. */ @@ -100,12 +101,58 @@ export const DESCRIPTION_RULES: Rules = [ ['Doctrine', /\b(concept|theory|structure|dessert|drink|dish|technique|class of)\b/], ]; +/** + * On-chain data every block carries (protocol Article), used when the frozen profile is empty or + * missing: the mint-time `category` (server/wiki.ts buckets), the title and the extract. + */ +export interface ChainHints { title: string; extract?: string; category?: string } + +/** + * Rules for an extract's definitional phrase ("is a village in …"). Broader than the short-description + * rules because lead sentences use more varied nouns. Order: Doctrine overrides, then as for labels. + */ +export const EXTRACT_RULES: Rules = [ + ['Doctrine', /\b(gene|protein|enzyme|disease|syndrome|disorder|theorem|conjecture|concept|theory|language|cuisine|dish|algebraic|mathematical|list of)\b/], + ['Event', /\b(election|referendum|battle|war|siege|protest|riot|massacre|annexation|storm|hurricane|cyclone|tornado|tornadoes|earthquake|flood|season|tournament|championship|race|grand prix|match|festival|ceremony)\b/], + ['Figure', /\b(actor|actress|politician|writer|author|poet|painter|artist|singer|musician|composer|director|producer|player|footballer|cricketer|athlete|boxer|scientist|engineer|bishop|priest|monarch|king|queen|sultan|businessman|businesswoman|family|dynasty|species|genus|breed|character|deity|god|goddess)\b/], + ['Institution', /\b(company|corporation|business|manufacturer|organi[sz]ation|association|society|party|coalition|band|team|club|university|college|school|studio|newspaper|magazine|film|album|song|single|novel|book|series|video game|aircraft|airliner|ship|automobile|car|locomotive|tramway|railway line|bus route|typeface|software|position|office|award|diocese|council)\b/], + ['Location', /\b(village|town|city|municipality|commune|parish|county|district|region|province|state|locality|hamlet|suburb|neighbourhood|neighborhood|settlement|community|census area|river|lake|island|mountain|plateau|valley|bay|peak|building|house|church|cathedral|mosque|temple|castle|ch[aâ]teau|palace|museum|pavilion|stadium|bridge|station|park|mall|shopping (centre|center)|road|street|square|monument)\b/], +]; + +/** Title patterns (checked after the extract's definitional phrase). */ +export const TITLE_RULES: Rules = [ + ['Event', /\b(election|elections|referendum|straw poll|battle of|siege of|war|protests?|riots?|massacre|earthquake|hurricane|cyclone|typhoon|nor'easter|storm|flood|season|championship|tournament|grand prix|olympics|world cup|final)\b/i], + ['Institution', /\((film|album|song|single|novel|book|band|tv series|television series|video game|magazine|newspaper|company|ship|aircraft|typeface|software)\)|\b(f\.?c\.?|company|corporation|university|college|school|party|club|association|society|records|airlines?)\b/i], + ['Doctrine', /\((programming language|mathematics|disease|gene|chemistry|philosophy|religion)\)|\b(disease|syndrome|theorem|conjecture|cuisine)\b/i], + ['Figure', /\((actor|actress|politician|footballer|cricketer|singer|musician|writer|author|painter|artist|boxer|wrestler|bishop|priest|judge|businessman|athlete|rugby union|rugby league|baseball|basketball)\)|\((plant|animal|bird|fish|moth|beetle|spider|fungus|genus)\)/i], + ['Location', /\b(river|lake|mount|mountain|island|islands|county|village|township|parish|district|province|church|cathedral|chapel|castle|mosque|temple|abbey|bridge|station|house|park|street|road|square|tower|palace|fort|airport|dam|valley|bay)\b/i], +]; + +/** Mint-time category buckets that carry a type signal (History and Culture don't). */ +export const CHAIN_CATEGORY_TYPE: Readonly> = { + People: 'Figure', Nature: 'Figure', Space: 'Location', Science: 'Doctrine', +}; + +/** + * The definitional phrase of an extract's first sentence: what follows "is a / was an / are the …", + * up to the next clause break. "Tom Ewell (1909–1994) was an American actor." → "american actor". + */ +export function definitionOf(extract: string | undefined): string { + const text = (extract ?? '').replace(/\s+/g, ' ').trim(); + const m = /\b(?:is|was|are|were)\s+(?:an?|the|one of the)\s+([^.;:]{1,120})/i.exec(text); + return m ? m[1].toLowerCase() : ''; +} + +/** Lead-sentence life dates: "Name (born 1971)", "Name (1909–1994)", "Name (c. 1530 – 1548)". */ +const LIFE_DATES = /^[^.(]{1,80}\((?:[^)]*;\s*)?(?:born\s+(?:[A-Z][a-z]+\s+)?(?:\d{1,2}\s+)?(?:[A-Z][a-z]+\s+)?\d{3,4}|(?:c\.\s*)?\d{3,4}\s*[–-]\s*(?:c\.\s*)?\d{3,4})/; + function firstRule(rules: Rules, texts: readonly string[]): [CardType, string] | null { for (const [type, rx] of rules) for (const text of texts) if (rx.test(text)) return [type, text]; return null; } -export function classify(profile: Pick): Classification { +export function classify(profile: Pick, + chain?: ChainHints): Classification { const p31 = profile.instanceOf ?? []; const p279 = profile.subclassOf ?? []; for (const c of p31) { const t = QID_ANCHORS[c.id]; if (t) return { type: t, source: 'qid', matched: c.id }; } @@ -121,5 +168,16 @@ export function classify(profile: Pick; + /** `category` is the mint-time bucket (server/wiki.ts); only used when the profile is empty. */ + article: Pick & { category?: string }; statsSnapshot: Pick; } @@ -266,13 +267,13 @@ export function figureBody(cost: number, p: Percentiles, keywords: readonly Keyw // ---------------------------------------------------------------- derive export function derive(chain: CardOnChain, profile: CardProfile, rules: DeriveRules = DERIVE_RULES): DuelCard { - const { type, source } = classify(profile); + const { type, source } = classify(profile, chain.article); const p = percentilesFor(chain.statsSnapshot.stats, rules); const fame = fameOf(p); const baseCost = costForFame(fame, rules); const magnitude = Math.ceil(baseCost / 2); const portal = portalFor(profile, type); - const subtype = subtypeFor(type, profile); + const subtype = subtypeFor(type, profile, chain.article); let cost = baseCost, power: number | null = null, toughness: number | null = null, territory = 0; let keywords: Keyword[] = []; if (type === 'Figure') { diff --git a/shared/duel/effects.ts b/shared/duel/effects.ts index 285b0c9..1769dfe 100644 --- a/shared/duel/effects.ts +++ b/shared/duel/effects.ts @@ -3,7 +3,7 @@ * Effects are plain data for duel-core's interpreter. k = ceil(cost / 2), 1–3, from the derived (fame) cost. * Owner: duel-cards. */ -import type { CardProfile, CardType } from './classify.ts'; +import { definitionOf, type CardProfile, type CardType, type ChainHints } from './classify.ts'; import type { Keyword, Portal } from './derive.ts'; export type EffectTrigger = 'onPlay' | 'onEnter' | 'startOfTurn' | 'onDestroyed' | 'static' | 'onCombatDamageToPlayer'; @@ -59,11 +59,14 @@ export const DEFAULT_SUBTYPE: Readonly> = { Figure: null, Location: null, Event: 'other', Institution: 'other', Doctrine: 'adopt', }; -export function subtypeFor(type: CardType, profile: Pick): string | null { +export function subtypeFor(type: CardType, profile: Pick, + chain?: ChainHints): string | null { const groups = [ [...profile.instanceOf.map(c => c.label), ...(profile.subclassOf ?? []).map(c => c.label)], [profile.description ?? ''], [...(profile.categories ?? []).filter(c => !/stubs$/i.test(c))], + // On-chain fallbacks, last: the extract's definitional phrase, then the title. + [definitionOf(chain?.extract), chain?.title ?? ''], ].map(g => g.map(t => t.toLowerCase()).filter(Boolean)); for (const texts of groups) for (const [name, rx] of SUBTYPE_RULES[type]) if (texts.some(t => rx.test(t))) return name; return DEFAULT_SUBTYPE[type]; diff --git a/shared/duel/sample.ts b/shared/duel/sample.ts index 05df0a9..dcb22d7 100644 --- a/shared/duel/sample.ts +++ b/shared/duel/sample.ts @@ -13,6 +13,8 @@ export interface SampleCard { stats: { attention: number | null; depth: number; reach: number }; instanceOf: { id: string; label: string }[]; extract?: string; + /** The on-chain mint-time category (server/wiki.ts bucket). */ + legacyCategory?: string; } export function sampleTokenId(pageId: number): string { @@ -23,7 +25,8 @@ export function sampleInputs(card: SampleCard): { chain: CardOnChain; profile: C return { chain: { tokenId: sampleTokenId(card.pageId), - article: { pageId: card.pageId, title: card.title, extract: card.extract ?? '', revisionId: card.revisionId }, + article: { pageId: card.pageId, title: card.title, extract: card.extract ?? '', revisionId: card.revisionId, + ...(card.legacyCategory ? { category: card.legacyCategory } : {}) }, statsSnapshot: { pageBytes: card.pageBytes, languageCount: card.languageCount, stats: card.stats }, }, profile: { diff --git a/tests/duel-cards-derive.test.ts b/tests/duel-cards-derive.test.ts index efe41f5..62142f8 100644 --- a/tests/duel-cards-derive.test.ts +++ b/tests/duel-cards-derive.test.ts @@ -219,3 +219,37 @@ test('Doctrines use the engine encoding: attach picks the Figure, a static pump assert.deepEqual(byTitle('Heart rot').effects.map(e => [e.trigger, e.op, e.target, e.power ?? null]), [['onPlay', 'attach', 'figure', null], ['static', 'pump', 'attached', -3]]); }); + +test('chain-only fallback: an empty profile still types from the on-chain title, category and extract', () => { + const empty = profile({}); + const chain = (title: string, extract = '', category?: string) => ({ title, extract, ...(category ? { category } : {}) }); + assert.equal(classify(empty, chain('Tom Ewell', 'Tom Ewell (born Samuel Yewell Tompkins; April 29, 1909 – September 12, 1994) was an American actor.')).type, 'Figure'); + assert.equal(classify(empty, chain('Buky', 'Buky is a village in Cherkasy Oblast, Ukraine.')).type, 'Location'); + assert.equal(classify(empty, chain('Heart rot', 'Heart rot is a fungal disease of trees.')).type, 'Doctrine'); + assert.equal(classify(empty, chain('1954 Gold Coast general election')).source, 'title'); + assert.equal(classify(empty, chain('1954 Gold Coast general election')).type, 'Event'); + assert.equal(classify(empty, chain('Zzyzx', '', 'People')).type, 'Figure'); + assert.equal(classify(empty, chain('Zzyzx', '', 'Culture')).source, 'fallback'); + assert.equal(classify(empty).source, 'fallback', 'no chain hints: unchanged'); + // derive() passes chain.article through, so hosts need no extra argument. + const { chain: c } = sampleInputs(SAMPLE.find(s => s.title === '1954 Gold Coast general election')!); + const card = derive(c, empty); + assert.deepEqual([card.type, card.typedBy, card.subtype], ['Event', 'title', 'election']); +}); + +test('chain-only typing over the sample agrees with the full classifier on most cards', () => { + // The sample has no extracts and tests can't fetch, so this uses a lead-sentence proxy: + // " is a <description>." (Wikipedia leads usually open this way). Labelled as a proxy. + const empty = profile({}); + let agree = 0; const types: Record<string, number> = {}; + for (const s of SAMPLE) { + const extract = s.description ? `${s.title} is a ${s.description[0].toLowerCase()}${s.description.slice(1)}.` : ''; + const t = classify(empty, { title: s.title, extract, ...(s.legacyCategory ? { category: s.legacyCategory } : {}) }).type; + types[t] = (types[t] ?? 0) + 1; + if (t === classify(s).type) agree++; + } + assert.ok(agree / SAMPLE.length >= 0.8, `agree ${agree}/${SAMPLE.length}`); + assert.ok(types.Figure / SAMPLE.length > 0.3 && types.Figure / SAMPLE.length < 0.42, JSON.stringify(types)); + assert.ok(types.Location / SAMPLE.length > 0.22 && types.Location / SAMPLE.length < 0.38, JSON.stringify(types)); + assert.ok(types.Doctrine / SAMPLE.length < 0.25, JSON.stringify(types)); +}); -- 2.54.0