mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 22:12:03 -08:00
other: fixed typos in omen related code (#13501);
This commit is contained in:
parent
2a1eebc5fc
commit
1568189c1b
2 changed files with 13 additions and 5 deletions
|
|
@ -2560,12 +2560,20 @@ public class VerifyCardDataTest {
|
|||
refRules[i];
|
||||
}
|
||||
}
|
||||
|
||||
if (ref.subtypes.contains("Omen")) {
|
||||
for (int i = 0; i < refRules.length; i++) {
|
||||
refRules[i] = "Omen " +
|
||||
ref.types.get(0) + " - " +
|
||||
ref.faceName + ' ' +
|
||||
ref.manaCost + " - " +
|
||||
refRules[i];
|
||||
}
|
||||
}
|
||||
|
||||
String[] cardRules = card
|
||||
.getRules()
|
||||
.stream()
|
||||
.filter(s -> !(card instanceof CardWithSpellOption) || !s.startsWith("Adventure ") || !s.startsWith("Omen "))
|
||||
.filter(s -> !(card instanceof CardWithSpellOption) || !(s.startsWith("Adventure ") || s.startsWith("Omen ")))
|
||||
.collect(Collectors.joining("\n"))
|
||||
.replace("<br>", "\n")
|
||||
.replace("<br/>", "\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue