mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
DamageAllEffect - source.getId to source.getSourceId
This commit is contained in:
parent
dc2ebdd16d
commit
9a7d158a20
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ public class DamageAllEffect extends OneShotEffect<DamageAllEffect> {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
List<Permanent> permanents = game.getBattlefield().getActivePermanents(filter, source.getControllerId(), game);
|
||||
for (Permanent permanent: permanents) {
|
||||
permanent.damage(amount.calculate(game, source), source.getId(), game, true, false);
|
||||
permanent.damage(amount.calculate(game, source), source.getSourceId(), game, true, false);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue