shop_sell #65

Merged
jake merged 36 commits from shop_sell into master 2021-12-29 23:02:32 -05:00
Showing only changes of commit ab404d0cae - Show all commits

View File

@ -446,4 +446,14 @@ impl Unit {
| UnitType::PbIncrease
)
}
pub fn modifier_stars(&self) -> i8 {
match self.modifier {
Some(UnitModifier::PlusPlus) => 1,
Some(UnitModifier::Plus) => 1,
Some(UnitModifier::Minus) => -1,
Some(UnitModifier::MinusMinus) => -1,
_ => 0,
}
}
}