use super::*;
pub(crate) const ENCHANTRESS: Card = Card {
name: Name::Enchantress,
suit: Suit::Wizard,
strength: 5,
adder: None,
wild: None,
modifier: None,
immunity: None,
blanks: None,
bonus: Some(enchantress_bonus),
penalty: None,
};
pub(crate) fn enchantress_bonus(hand: &ScoringHand) -> i16 {
let mut bonus: i16 = 0;
bonus += 5 * hand.number_of_suit(Suit::Land);
bonus += 5 * hand.number_of_suit(Suit::Weather);
bonus += 5 * hand.number_of_suit(Suit::Flood);
bonus += 5 * hand.number_of_suit(Suit::Flame);
bonus
}