mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08: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;
|
this.amount = amount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getAmount() {
|
||||||
|
return amount;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(Game game) {
|
public boolean apply(Game game) {
|
||||||
Permanent permanent = game.getPermanent(this.source.getFirstTarget());
|
Permanent permanent = game.getPermanent(this.source.getFirstTarget());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue