forked from External/mage
fix for issue 22 + fix for planeswalker damage redirection
This commit is contained in:
parent
c90193a4eb
commit
9c3ff863e8
49 changed files with 636 additions and 182 deletions
|
|
@ -64,7 +64,7 @@ public class DamageAllControlledTargetEffect extends OneShotEffect<DamageAllCont
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
for (Permanent permanent: game.getBattlefield().getAllActivePermanents(filter, source.getFirstTarget())) {
|
||||
permanent.damage(amount, source.getId(), game, true);
|
||||
permanent.damage(amount, source.getId(), game, true, false);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue