added getAmount

This commit is contained in:
BetaSteward 2010-04-16 03:27:57 +00:00
parent 232453105c
commit 7923d04f57

View file

@ -47,6 +47,10 @@ public class DamageTargetEffect extends OneShotEffect {
this.amount = amount;
}
public int getAmount() {
return amount;
}
@Override
public boolean apply(Game game) {
Permanent permanent = game.getPermanent(this.source.getFirstTarget());