* Reworked TAPPED_FOR_MANA event handling to include the produced mana in the event.

This commit is contained in:
LevelX2 2014-12-05 20:15:56 +01:00
parent c5bc99b8de
commit d26c1000f2
17 changed files with 475 additions and 69 deletions

View file

@ -56,7 +56,7 @@ public class CounterTargetEffect extends OneShotEffect {
@Override
public boolean apply(Game game, Ability source) {
boolean countered = false;
for (UUID targetId : source.getTargets().get(0).getTargets()) {
for (UUID targetId : getTargetPointer().getTargets(game, source)) {
if (game.getStack().counter(targetId, source.getSourceId(), game)) {
countered = true;
}