forked from External/mage
[HOU] Added 4 black cards. Some fixes.
This commit is contained in:
parent
2db812400e
commit
f0dbc1da1c
12 changed files with 489 additions and 97 deletions
|
|
@ -12,13 +12,19 @@ public class AfflictAbility extends BecomesBlockedTriggeredAbility {
|
|||
return new AfflictAbility(this);
|
||||
}
|
||||
|
||||
public AfflictAbility(int amount){
|
||||
super(new LoseLifeDefendingPlayerEffect(amount, true), false);
|
||||
public AfflictAbility(int amount) {
|
||||
super(new LoseLifeDefendingPlayerEffect(amount, true)
|
||||
.setText("Afflict " + amount + "<i>(Whenever this creature becomes blocked, defending player loses " + amount + " life.)</i>"), false);
|
||||
lifeLoss = amount;
|
||||
}
|
||||
|
||||
public AfflictAbility(final AfflictAbility afflictAbility){
|
||||
public AfflictAbility(final AfflictAbility afflictAbility) {
|
||||
super(afflictAbility);
|
||||
lifeLoss = afflictAbility.lifeLoss;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "Afflict " + lifeLoss + "<i>(Whenever this creature becomes blocked, defending player loses " + lifeLoss + " life.)</i>";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue