From 33f7cf02db6f646c6abf885c9cb32e816f745990 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 2 Aug 2022 10:22:14 +0200 Subject: [PATCH] Make `attack`, `cost`, and `health` into `u64`s --- src/data/schema.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/data/schema.rs b/src/data/schema.rs index a624328..78af0a5 100644 --- a/src/data/schema.rs +++ b/src/data/schema.rs @@ -18,11 +18,11 @@ pub struct Card { pub regions: Vec, /// Base attack of the card. - pub attack: i64, + pub attack: u64, /// Base cost of the card. - pub cost: i8, + pub cost: u64, /// Base health of the card. - pub health: i8, + pub health: u64, /// Localized description of the card, in XML. pub description: String,