1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-10-16 09:37:27 +00:00

Rename the ref for CardKeyword::DoubleAttack from "DoubleAttack" to "DoubleStrike"

This commit is contained in:
Steffo 2023-10-22 23:29:30 +02:00
parent 9a930724de
commit 3a1821846d
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -196,6 +196,7 @@ pub enum CardKeyword {
/// Double Attack.
///
/// > While attacking, it strikes both before AND at the same time as its blocker.
#[serde(rename = "DoubleStrike")]
DoubleAttack,
/// Vulnerable.
@ -532,7 +533,7 @@ mod tests {
test_deserialization!(deserialize_silenceindividualkeyword, r#""SilenceIndividualKeyword""#, CardKeyword::SilenceIndividualKeyword);
test_deserialization!(deserialize_skill, r#""Skill""#, CardKeyword::Skill);
test_deserialization!(deserialize_plunder, r#""Plunder""#, CardKeyword::Plunder);
test_deserialization!(deserialize_doubleattack, r#""DoubleAttack""#, CardKeyword::DoubleAttack);
test_deserialization!(deserialize_doubleattack, r#""DoubleStrike""#, CardKeyword::DoubleAttack);
test_deserialization!(deserialize_vulnerable, r#""Vulnerable""#, CardKeyword::Vulnerable);
test_deserialization!(deserialize_elusive, r#""Elusive""#, CardKeyword::Elusive);
test_deserialization!(deserialize_stun, r#""Stun""#, CardKeyword::Stun);