mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
*Fixed a stupid oversight in the ManaNeededToAvoidNegativeEffect code.
This commit is contained in:
@@ -753,7 +753,7 @@ public class ComputerUtil {
|
|||||||
}
|
}
|
||||||
for(String col : colorsNeededToAvoidNegativeEffect) {
|
for(String col : colorsNeededToAvoidNegativeEffect) {
|
||||||
if(col.equalsIgnoreCase(colors.get(j))
|
if(col.equalsIgnoreCase(colors.get(j))
|
||||||
|| col.substring(0,1).equalsIgnoreCase(colors.get(j))) {
|
|| CardUtil.getShortColor(col).equalsIgnoreCase(colors.get(j))) {
|
||||||
res.add(am);
|
res.add(am);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -772,7 +772,7 @@ public class ComputerUtil {
|
|||||||
}
|
}
|
||||||
for(String col : colorsNeededToAvoidNegativeEffect) {
|
for(String col : colorsNeededToAvoidNegativeEffect) {
|
||||||
if(col.equalsIgnoreCase(colors.get(j))
|
if(col.equalsIgnoreCase(colors.get(j))
|
||||||
|| col.substring(0,1).equalsIgnoreCase(colors.get(j))) {
|
|| CardUtil.getShortColor(col).equalsIgnoreCase(colors.get(j))) {
|
||||||
res.add(am);
|
res.add(am);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user