mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Fixing Mana types being inappropriately referenced in relation to Matrices
This commit is contained in:
@@ -913,6 +913,10 @@ public class ComputerUtilMana {
|
||||
// Make mana needed to avoid negative effect a mandatory cost for the AI
|
||||
for (String manaPart : card.getSVar("ManaNeededToAvoidNegativeEffect").split(",")) {
|
||||
// convert long color strings to short color strings
|
||||
if (manaPart.isEmpty()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
byte mask = ManaAtom.fromName(manaPart);
|
||||
|
||||
// make mana mandatory for AI
|
||||
|
||||
Reference in New Issue
Block a user