mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
fixed mana pool errata
This commit is contained in:
parent
41c9b08107
commit
50b5377a8e
799 changed files with 3386 additions and 3386 deletions
|
|
@ -399,23 +399,23 @@ public class AbilityPicker extends JXPanel implements MouseWheelListener {
|
|||
JFrame jframe = new JFrame("Test");
|
||||
|
||||
List<Object> objectList = new ArrayList<>();
|
||||
objectList.add("T: add {R} to your mana pool. 111111111111111111111111111");
|
||||
objectList.add("T: add {B} to your mana pool. {source} deals 1 damage to you.");
|
||||
objectList.add("{T}: add {B} to your mana pool");
|
||||
objectList.add("T: add {B} to your mana pool");
|
||||
objectList.add("T: add {B} to your mana pool");
|
||||
objectList.add("T: add {B} to your mana pool");
|
||||
objectList.add("T: add {B} to your mana pool");
|
||||
objectList.add("T: add {B} to your mana pool");
|
||||
objectList.add("T: add {B} to your mana pool");
|
||||
objectList.add("T: add {B} to your mana pool");
|
||||
objectList.add("T: add {B} to your mana pool");
|
||||
objectList.add("T: add {B} to your mana pool");
|
||||
objectList.add("T: add {B} to your mana pool");
|
||||
objectList.add("T: add {B} to your mana pool");
|
||||
objectList.add("T: add {B} to your mana pool");
|
||||
objectList.add("T: add {B} to your mana pool");
|
||||
objectList.add("T: add {B} to your mana pool");
|
||||
objectList.add("T: add {R}. 111111111111111111111111111");
|
||||
objectList.add("T: add {B}. {source} deals 1 damage to you.");
|
||||
objectList.add("{T}: add {B}");
|
||||
objectList.add("T: add {B}");
|
||||
objectList.add("T: add {B}");
|
||||
objectList.add("T: add {B}");
|
||||
objectList.add("T: add {B}");
|
||||
objectList.add("T: add {B}");
|
||||
objectList.add("T: add {B}");
|
||||
objectList.add("T: add {B}");
|
||||
objectList.add("T: add {B}");
|
||||
objectList.add("T: add {B}");
|
||||
objectList.add("T: add {B}");
|
||||
objectList.add("T: add {B}");
|
||||
objectList.add("T: add {B}");
|
||||
objectList.add("T: add {B}");
|
||||
objectList.add("T: add {B}");
|
||||
objectList.add("Cancel");
|
||||
AbilityPicker panel = new AbilityPicker(objectList, "Choose ability");
|
||||
jframe.add(panel);
|
||||
|
|
|
|||
|
|
@ -444,7 +444,7 @@ public class DeckGeneratorPool
|
|||
* @return if the ability is tapping to produce the mana the symbol represents.
|
||||
*/
|
||||
private boolean landTapsForAllowedColor(String ability, String symbol) {
|
||||
return ability.matches(".*Add \\{" + symbol + "\\} to your mana pool.");
|
||||
return ability.matches(".*Add \\{" + symbol + "\\}.");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ public final class TextboxRuleParser {
|
|||
|
||||
private static final Logger LOGGER = Logger.getLogger(CardPanel.class);
|
||||
|
||||
private static final Pattern BasicManaAbility = Pattern.compile("\\{T\\}: Add \\{(\\w)\\} to your mana pool\\.");
|
||||
private static final Pattern BasicManaAbility = Pattern.compile("\\{T\\}: Add \\{(\\w)\\}\\.");
|
||||
private static final Pattern LevelAbilityPattern = Pattern.compile("Level (\\d+)-?(\\d*)(\\+?)");
|
||||
private static final Pattern LoyaltyAbilityPattern = Pattern.compile("^(\\+|\\-)(\\d+|X): ");
|
||||
private static final Pattern SimpleKeywordPattern = Pattern.compile("^(\\w+( \\w+)?)\\s*(\\([^\\)]*\\))?\\s*$");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue