mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
* cleanups
This commit is contained in:
@@ -17152,8 +17152,8 @@ public class CardFactory implements NewConstants {
|
||||
CardList DoublingSeasons = new CardList(play.getCards());
|
||||
DoublingSeasons = DoublingSeasons.getName("Doubling Season");
|
||||
PlayerZone_ComesIntoPlay.SimultaneousEntry = true;
|
||||
double Count = DoublingSeasons.size();
|
||||
Count = 5 * Math.pow(2,Count);
|
||||
int Count = DoublingSeasons.size();
|
||||
Count = 5 * (int)Math.pow(2,Count);
|
||||
for(int i = 0; i < Count; i++) {
|
||||
if(i + 1 == Count) PlayerZone_ComesIntoPlay.SimultaneousEntry = false;
|
||||
Card Copy = copyCardintoNew(getTargetCard());
|
||||
|
||||
@@ -2598,7 +2598,7 @@ public class CardFactory_Creatures {
|
||||
else PlayLand = AllZone.GameInfo.getComputerCanPlayNumberOfLands();
|
||||
|
||||
return (AllZone.GameAction.isCardInZone(card, play) && library.get(0).getType().contains("Land") && PlayLand > 0)
|
||||
&& (AllZone.Stack.size() == 0) && AllZone.GameAction.getLastPlayerToDraw() == card.getController();
|
||||
&& (AllZone.Stack.size() == 0) && AllZone.GameAction.getLastPlayerToDraw().equals(card.getController());
|
||||
}
|
||||
};
|
||||
ability.setStackDescription(card.getController() + " - plays land from top of library.");
|
||||
|
||||
@@ -156,9 +156,8 @@ public class ComputerUtil
|
||||
{
|
||||
land.remove(sa.getSourceCard());
|
||||
}
|
||||
ManaCost cost = new ManaCost(sa.getManaCost());
|
||||
// Beached - Delete old
|
||||
cost = AllZone.GameAction.GetSpellCostChange(sa);
|
||||
ManaCost cost = AllZone.GameAction.GetSpellCostChange(sa);
|
||||
if(cost.isPaid())
|
||||
return true;
|
||||
// Beached - Delete old
|
||||
@@ -229,8 +228,7 @@ public class ComputerUtil
|
||||
{
|
||||
land.remove(sa.getSourceCard());
|
||||
}
|
||||
ManaCost cost = new ManaCost(sa.getManaCost());
|
||||
cost = AllZone.GameAction.GetSpellCostChange(sa);
|
||||
ManaCost cost = AllZone.GameAction.GetSpellCostChange(sa);
|
||||
// Beached - Delete old
|
||||
if(cost.isPaid())
|
||||
return;
|
||||
|
||||
@@ -747,8 +747,7 @@ public class GameAction {
|
||||
PlayerZone grave = AllZone.getZone(c);
|
||||
grave.remove(c);
|
||||
|
||||
Card crd = new Card();
|
||||
crd = AllZone.CardFactory.getCard(c.getName(), c.getOwner());
|
||||
Card crd = AllZone.CardFactory.getCard(c.getName(), c.getOwner());
|
||||
ownerPlay.add(crd);
|
||||
|
||||
crd.addCounter(Counters.M1M1, 1);
|
||||
|
||||
Reference in New Issue
Block a user