mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Fixed bug in spDiscard for "UnlessDiscardType" clause.
This commit is contained in:
@@ -801,7 +801,8 @@ public class CardFactory implements NewConstants {
|
|||||||
if (kk[1].startsWith("UnlessDiscardType"))
|
if (kk[1].startsWith("UnlessDiscardType"))
|
||||||
{
|
{
|
||||||
String jk[] = kk[1].split("\\.");
|
String jk[] = kk[1].split("\\.");
|
||||||
UnlessType[0] = jk[1];
|
UnlessType[0] = jk[1];
|
||||||
|
NumCards[0] = Integer.parseInt(kk[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (k[2].matches("X"))
|
else if (k[2].matches("X"))
|
||||||
|
|||||||
Reference in New Issue
Block a user