* Prossh, Skyraider of Kher - Fixed that the tokens were not created if the spell was countered.

This commit is contained in:
LevelX2 2014-10-24 15:13:08 +02:00
parent 026aafd95a
commit 9fdfcc32e0

View file

@ -48,7 +48,7 @@ public class ManaSpentToCastCount implements DynamicValue{
if (!game.getStack().isEmpty()) { if (!game.getStack().isEmpty()) {
for (StackObject stackObject : game.getStack()) { for (StackObject stackObject : game.getStack()) {
if (stackObject instanceof Spell && ((Spell)stackObject).getSourceId().equals(source.getSourceId())) { if (stackObject instanceof Spell && ((Spell)stackObject).getSourceId().equals(source.getSourceId())) {
return ((Spell)stackObject).getSpellAbility().getManaCostsToPay().convertedManaCost(); return ((Spell)stackObject).getConvertedManaCost();
} }
} }
} }