forked from External/mage
[BNG] Added 5 cards.
This commit is contained in:
parent
0fde4725bc
commit
b0f137ffec
9 changed files with 463 additions and 7 deletions
|
|
@ -400,7 +400,11 @@ public class CardUtil {
|
|||
* @return the specific UUID
|
||||
*/
|
||||
public static UUID getCardExileZoneId(Game game, Ability source) {
|
||||
String key = getCardZoneString("SourceExileZone", source.getSourceId(), game);
|
||||
return getCardExileZoneId(game, source.getSourceId());
|
||||
}
|
||||
|
||||
public static UUID getCardExileZoneId(Game game, UUID sourceId) {
|
||||
String key = getCardZoneString("SourceExileZone", sourceId, game);
|
||||
UUID exileId = (UUID) game.getState().getValue(key);
|
||||
if (exileId == null) {
|
||||
exileId = UUID.randomUUID();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue