CopyPermanentAi: cat combo got doubled

This commit is contained in:
Hanmac
2017-05-14 05:30:04 +00:00
parent 26d14e7f3d
commit d9c0ed2960

View File

@@ -55,16 +55,6 @@ public class CopyPermanentAi extends SpellAbilityAi {
CardCollection list = new CardCollection(CardUtil.getValidCardsToTarget(sa.getTargetRestrictions(), sa)); CardCollection list = new CardCollection(CardUtil.getValidCardsToTarget(sa.getTargetRestrictions(), sa));
// Saheeli Rai + Felidar Guardian combo support
if (sa.getHostCard().getName().equals("Saheeli Rai")) {
CardCollection felidarGuardian = CardLists.filter(list, CardPredicates.nameEquals("Felidar Guardian"));
if (felidarGuardian.size() > 0) {
// can copy a Felidar Guardian and combo off, so let's do it
sa.getTargets().add(felidarGuardian.get(0));
return true;
}
}
list = CardLists.filter(list, Predicates.not(CardPredicates.hasSVar("RemAIDeck"))); list = CardLists.filter(list, Predicates.not(CardPredicates.hasSVar("RemAIDeck")));
//Nothing to target //Nothing to target
if (list.isEmpty()) { if (list.isEmpty()) {