diff --git a/Mage.Sets/src/mage/sets/futuresight/DustOfMoments.java b/Mage.Sets/src/mage/sets/futuresight/DustOfMoments.java index 5a543e83fe..1736ded268 100644 --- a/Mage.Sets/src/mage/sets/futuresight/DustOfMoments.java +++ b/Mage.Sets/src/mage/sets/futuresight/DustOfMoments.java @@ -80,7 +80,10 @@ public class DustOfMoments extends CardImpl { } - + //TODO: PermanentImpl.getCounters() and CardImpl.getCounters(game) don't return the same value for the same Card + //TODO: This means I can't use a Card generic for Permanents and Exiled cards and use Card.getCounters(game) + //TODO: This is the reason i've copy pasted some logic in DustOfMomentsEffect + //TODO: After this issue is fixed/explained i'll refactor the code public abstract static class DustOfMomentsEffect extends OneShotEffect { private final Counter counter; diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/single/DustOfMomentsTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/single/DustOfMomentsTest.java index b89d8f45c2..bd0af195e4 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/single/DustOfMomentsTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/single/DustOfMomentsTest.java @@ -17,10 +17,6 @@ import org.mage.test.serverside.base.CardTestPlayerBase; */ public class DustOfMomentsTest extends CardTestPlayerBase { - //TODO: why the hell is PermanentImpl.getCounters() and CardImpl.getCounters(game) don't return the same value for the same card??? - //TODO: fix tooltip - //TODO: refactor effect code - @Test public void testRemoveCounters() throws Exception { initGame(); diff --git a/clean_dbs.sh b/clean_dbs.sh index c091f9f761..9ccf51fd6d 100644 --- a/clean_dbs.sh +++ b/clean_dbs.sh @@ -1,2 +1,3 @@ +#!/usr/bin/env bash # Cleans the DB from Server, Client and Test modules find . -type f | grep -i cards.h2*.db | xargs rm -v \ No newline at end of file