mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 05:09:16 -08:00
* Paupers' Cage - fixed that counts controllers cards in hand instead opponents;
This commit is contained in:
parent
e51b054249
commit
b9be369bd3
2 changed files with 84 additions and 2 deletions
|
|
@ -26,8 +26,9 @@ public final class PaupersCage extends CardImpl {
|
|||
// At the beginning of each opponent's upkeep, if that player has two or fewer cards in hand, Paupers' Cage deals 2 damage to him or her.
|
||||
TriggeredAbility ability = new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD,
|
||||
new DamageTargetEffect(2), TargetController.OPPONENT, false, true);
|
||||
CardsInHandCondition condition = new CardsInHandCondition(ComparisonType.FEWER_THAN, 3);
|
||||
this.addAbility(new ConditionalInterveningIfTriggeredAbility(ability, condition, "At the beginning of each opponent's upkeep, if that player has two or fewer cards in hand, {this} deals 2 damage to him or her."));
|
||||
CardsInHandCondition condition = new CardsInHandCondition(ComparisonType.FEWER_THAN, 3, null, TargetController.ACTIVE);
|
||||
this.addAbility(new ConditionalInterveningIfTriggeredAbility(ability, condition,
|
||||
"At the beginning of each opponent's upkeep, if that player has two or fewer cards in hand, {this} deals 2 damage to him or her."));
|
||||
}
|
||||
|
||||
public PaupersCage(final PaupersCage card) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue