Addressed Feedback and added cards

* Addressed feedback on Pull Request #3053
* Fixed a copy-paste bug in Destined // Lead
* Added two new Aftermath Split cards that were revealed today
This commit is contained in:
Mark Langen 2017-04-04 17:07:59 -06:00
parent 18663f0a7a
commit fd73fd39af
6 changed files with 218 additions and 35 deletions

View file

@ -54,18 +54,8 @@ public class ModernSplitCardRenderer extends ModernCardRenderer {
rightHalf.name = cardView.getRightSplitName();
leftHalf.name = cardView.getLeftSplitName();
for (String rule: view.getRules()) {
if (rule.contains("Fuse")) {
isFuse = true;
break;
}
}
for (String rule: view.getRightSplitRules()) {
if (rule.contains("Aftermath")) {
isAftermath = true;
break;
}
}
isFuse = view.getRules().stream().anyMatch(rule -> rule.contains("Fuse"));
isAftermath = view.getRightSplitRules().stream().anyMatch(rule -> rule.contains("Aftermath"));
// It's easier for rendering to swap the card halves here because for aftermath cards
// they "rotate" in opposite directions making consquence and normal split cards