[BNG] Added 5 cards.

This commit is contained in:
LevelX2 2014-01-22 17:13:17 +01:00
parent 0fde4725bc
commit b0f137ffec
9 changed files with 463 additions and 7 deletions

View file

@ -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();