mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
for basic lands and true duals their CI will be calculated from oracle text
This commit is contained in:
@@ -80,7 +80,7 @@ public final class CardRules implements ICardCharacteristics {
|
|||||||
for(int i = 0; i < len; i++) {
|
for(int i = 0; i < len; i++) {
|
||||||
char c = oracleText.charAt(i); // This is to avoid needless allocations performed by toCharArray()
|
char c = oracleText.charAt(i); // This is to avoid needless allocations performed by toCharArray()
|
||||||
switch(c) {
|
switch(c) {
|
||||||
case('('): isReminder = true; break;
|
case('('): isReminder = i > 0; break; // if oracle has only reminder, consider it valid rules (basic and true lands need this)
|
||||||
case(')'): isReminder = false; break;
|
case(')'): isReminder = false; break;
|
||||||
case('{'): isSymbol = true; break;
|
case('{'): isSymbol = true; break;
|
||||||
case('}'): isSymbol = false; break;
|
case('}'): isSymbol = false; break;
|
||||||
|
|||||||
Reference in New Issue
Block a user