mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Added some more variables to LastKnownInformation.
This commit is contained in:
@@ -3236,6 +3236,13 @@ public class Card extends MyObservable implements Comparable<Card> {
|
||||
return new ArrayList<String>(type);
|
||||
}
|
||||
|
||||
public void setChangedCardTypes(ArrayList<Card_Type> types) {
|
||||
changedCardTypes = types;
|
||||
}
|
||||
|
||||
public ArrayList<Card_Type> getChangedCardTypes() {
|
||||
return changedCardTypes;
|
||||
}
|
||||
|
||||
public void addChangedCardTypes(ArrayList<String> types, boolean removeSuperTypes, boolean removeCardTypes,
|
||||
boolean removeSubTypes, boolean removeCreatureTypes, long timestamp) {
|
||||
@@ -3401,6 +3408,14 @@ public class Card extends MyObservable implements Comparable<Card> {
|
||||
baseDefenseString = s;
|
||||
}
|
||||
|
||||
public void setNewPT(ArrayList<CardPowerToughness> pt) {
|
||||
newPT = pt;
|
||||
}
|
||||
|
||||
public ArrayList<CardPowerToughness> getNewPT() {
|
||||
return newPT;
|
||||
}
|
||||
|
||||
public int getSetPower() {
|
||||
if (newPT.isEmpty())
|
||||
return -1;
|
||||
|
||||
@@ -673,6 +673,10 @@ public final class CardUtil {
|
||||
res.addTempAttackBoost(c.getTempAttackBoost());
|
||||
res.addTempDefenseBoost(c.getTempDefenseBoost());
|
||||
res.setCounters(c.getCounters());
|
||||
res.setExtrinsicKeyword(c.getExtrinsicKeyword());
|
||||
res.setColor(c.getColor());
|
||||
res.setChangedCardTypes(c.getChangedCardTypes());
|
||||
res.setNewPT(c.getNewPT());
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user