From 782c3259a88d6877778dacc5fe02657b611f3ac4 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 31 Jul 2022 12:51:09 +0200 Subject: [PATCH] Correct `data::schema` with data from `globals.json` --- src/data/schema.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/data/schema.rs b/src/data/schema.rs index 642f746..e519ec5 100644 --- a/src/data/schema.rs +++ b/src/data/schema.rs @@ -140,7 +140,8 @@ pub enum SpellSpeed { Slow, Fast, - Focus, + + /// Both Focus and Burst cards have `Burst` speed; to disambiguate between the two, check for the `Focus` keyword. Burst, } @@ -161,4 +162,6 @@ pub enum CardSet { BeyondTheBandlewood, #[serde(rename = "Set6")] Worldwalker, + #[serde(rename = "SetEvent")] + Events, }