mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- As Foretold: a simpler check for split half CMCs.
This commit is contained in:
@@ -111,10 +111,10 @@ public class CardProperty {
|
||||
|
||||
if (property.startsWith("leftcmc")) {
|
||||
rhs = property.substring(9);
|
||||
y = card.getState(CardStateName.LeftSplit).getManaCost().getCMC();
|
||||
y = card.getCMC(Card.SplitCMCMode.LeftSplitCMC);
|
||||
} else if (property.startsWith("rightcmc")) {
|
||||
rhs = property.substring(10);
|
||||
y = card.getState(CardStateName.RightSplit).getManaCost().getCMC();
|
||||
y = card.getCMC(Card.SplitCMCMode.RightSplitCMC);
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user