mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Fixed a typo for handling "-X" in the toughness for spAllPump.
This commit is contained in:
@@ -448,7 +448,7 @@ public class CardFactory implements NewConstants {
|
|||||||
String kk[] = xy.split("\\$");
|
String kk[] = xy.split("\\$");
|
||||||
DefenseX[0] = kk[1];
|
DefenseX[0] = kk[1];
|
||||||
|
|
||||||
if (ptk[0].contains("-"))
|
if (ptk[1].contains("-"))
|
||||||
{
|
{
|
||||||
if (DefenseX[0].contains("/"))
|
if (DefenseX[0].contains("/"))
|
||||||
DefenseX[0] = DefenseX[0].replace("/", "/Negative");
|
DefenseX[0] = DefenseX[0].replace("/", "/Negative");
|
||||||
@@ -539,7 +539,7 @@ public class CardFactory implements NewConstants {
|
|||||||
|
|
||||||
public boolean canPlayAI()
|
public boolean canPlayAI()
|
||||||
{
|
{
|
||||||
System.out.println("Phase - " + AllZone.Phase.getPhase());
|
//System.out.println("Phase - " + AllZone.Phase.getPhase());
|
||||||
String curPhase = AllZone.Phase.getPhase();
|
String curPhase = AllZone.Phase.getPhase();
|
||||||
if (curPhase.equals(Constant.Phase.Main2))
|
if (curPhase.equals(Constant.Phase.Main2))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user