mirror of
https://github.com/correl/mage.git
synced 2025-01-12 11:08:01 +00:00
added getAmount
This commit is contained in:
parent
232453105c
commit
7923d04f57
1 changed files with 4 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue