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