use super::*;
pub(crate) const ELVEN_LONGBOW: Card = Card {
name: Name::ElvenLongbow,
suit: Suit::Weapon,
strength: 3,
adder: None,
wild: None,
modifier: None,
immunity: None,
blanks: None,
bonus: Some(elven_longbow_bonus),
penalty: None,
};
pub(crate) fn elven_longbow_bonus(hand: &ScoringHand) -> i16 {
if hand.contains_name(Name::Beastmaster) ||
hand.contains_name(Name::Warlord) ||
hand.contains_name(Name::ElvenArchers) {
30
} else {
0
}
}