Add choose hints to abilities with sacrifice costs where the target and the permanent to sacrifice might be ambiguous (A-D)

This commit is contained in:
Alex W. Jackson 2022-09-20 09:17:14 -04:00
parent 9c0dfd1bbe
commit 12a20d07f4
17 changed files with 61 additions and 155 deletions

View file

@ -141,14 +141,6 @@ public final class RateCard {
// found removal
return 1;
}
//static List<Effect> removalEffects =[BoostTargetEffect,BoostEnchantedEffect]
if (effect instanceof BoostTargetEffect || effect instanceof BoostEnchantedEffect) {
String text = effect.getText(null);
if (text.contains("/-")) {
// toughness reducer, aka removal
return 1;
}
}
if (effect instanceof FightTargetsEffect
|| effect instanceof DamageWithPowerFromOneToAnotherTargetEffect
|| effect instanceof DamageWithPowerFromSourceToAnotherTargetEffect) {