mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
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:
parent
18663f0a7a
commit
fd73fd39af
6 changed files with 218 additions and 35 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue