use super::*;
pub(crate) const SWORD_OF_KETH: Card = Card {
name: Name::SwordOfKeth,
suit: Suit::Weapon,
strength: 7,
adder: None,
wild: None,
modifier: None,
immunity: None,
blanks: None,
bonus: Some(sword_of_keth_bonus),
penalty: None,
};
pub(crate) fn sword_of_keth_bonus(hand: &ScoringHand) -> i16 {
if hand.number_of_suit(Suit::Leader) > 0 {
if hand.contains_name(Name::ShieldOfKeth) {
40
} else {
10
}
} else {
0
}
}