mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Clean up
This commit is contained in:
parent
8cf8659315
commit
eab78f659c
1 changed files with 0 additions and 1 deletions
|
@ -98,7 +98,6 @@ public class DamageTargetEffect extends OneShotEffect<DamageTargetEffect> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
// game.getPermanent(source.getControllerId()).getName();
|
|
||||||
Permanent permanent = game.getPermanent(targetPointer.getFirst(source));
|
Permanent permanent = game.getPermanent(targetPointer.getFirst(source));
|
||||||
if (permanent != null) {
|
if (permanent != null) {
|
||||||
permanent.damage(amount.calculate(game, source), source.getSourceId(), game, preventable, false);
|
permanent.damage(amount.calculate(game, source), source.getSourceId(), game, preventable, false);
|
||||||
|
|
Loading…
Reference in a new issue