forked from External/mage
* Reworked TAPPED_FOR_MANA event handling to include the produced mana in the event.
This commit is contained in:
parent
c5bc99b8de
commit
d26c1000f2
17 changed files with 475 additions and 69 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue