mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Fixed a bug where the human was able to choose new targets for copied spells and added the LQ pic for Sun Titan. Expanded the Whenever Keyword with BeginningOfUpkeep so that it can trigger at the beginning of an upkeep and added a Controller_Upkeep condition so that it checks whether or not it is the source card controller's upkeep. Re-arranged the code in the WheneverKeyword to make it much more flexible and it is now able to take groups of effects and individual targets for groups of effects. Added Agent of Masks
This commit is contained in:
@@ -207,7 +207,12 @@ public class CardFactory implements NewConstants {
|
||||
|| (in.getSpellAbility()[i].getTargetPlayer().equals(Constant.Player.Computer)))
|
||||
sa[i].setTargetPlayer(in.getSpellAbility()[i].getTargetPlayer());
|
||||
}
|
||||
AllZone.GameAction.playSpellAbility(sa[i]);
|
||||
if(Source.getController().equals(Constant.Player.Human)) AllZone.GameAction.playSpellAbility(sa[i]);
|
||||
else {
|
||||
if(sa[i].canPlayAI()) {
|
||||
ComputerUtil.playStackFree(sa[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user