This commit is contained in:
magenoxx 2011-08-28 18:56:06 +04:00
parent 8cf8659315
commit eab78f659c

View file

@ -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);