mirror of
https://github.com/correl/mage.git
synced 2024-11-25 11:09:53 +00:00
* Driven // Despair - Fixed rule text tooltip (fixes #6204).
This commit is contained in:
parent
d87a4e4c9b
commit
8c65ca69e1
1 changed files with 10 additions and 4 deletions
|
@ -28,20 +28,26 @@ public final class DrivenDespair extends SplitCard {
|
||||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, new CardType[]{CardType.SORCERY}, "{1}{G}", "{1}{B}", SpellAbilityType.SPLIT_AFTERMATH);
|
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, new CardType[]{CardType.SORCERY}, "{1}{G}", "{1}{B}", SpellAbilityType.SPLIT_AFTERMATH);
|
||||||
|
|
||||||
// Until end of turn, creatures you control gain trample and "Whenever this creature deals combat damage to a player, draw a card."
|
// Until end of turn, creatures you control gain trample and "Whenever this creature deals combat damage to a player, draw a card."
|
||||||
getLeftHalfCard().getSpellAbility().addEffect(new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.EndOfTurn));
|
getLeftHalfCard().getSpellAbility().addEffect(new GainAbilityControlledEffect(
|
||||||
|
TrampleAbility.getInstance(), Duration.EndOfTurn, StaticFilters.FILTER_PERMANENT_CREATURES)
|
||||||
|
.setText("Until end of turn, creatures you control gain trample"));
|
||||||
TriggeredAbility ability = new DealsCombatDamageToAPlayerTriggeredAbility(new DrawCardSourceControllerEffect(1), false);
|
TriggeredAbility ability = new DealsCombatDamageToAPlayerTriggeredAbility(new DrawCardSourceControllerEffect(1), false);
|
||||||
getLeftHalfCard().getSpellAbility().addEffect(new GainAbilityControlledEffect(ability, Duration.EndOfTurn)
|
getLeftHalfCard().getSpellAbility().addEffect(new GainAbilityControlledEffect(ability, Duration.EndOfTurn)
|
||||||
.setText("and \"Whenever this creature deals combat damage to a player, draw a card.\""));
|
.setText("\"Whenever this creature deals combat damage to a player, draw a card.\"")
|
||||||
|
.concatBy("and"));
|
||||||
|
|
||||||
// Despair {1}{B}
|
// Despair {1}{B}
|
||||||
// Sorcery
|
// Sorcery
|
||||||
// Aftermath
|
// Aftermath
|
||||||
getRightHalfCard().addAbility(new AftermathAbility().setRuleAtTheTop(true));
|
getRightHalfCard().addAbility(new AftermathAbility().setRuleAtTheTop(true));
|
||||||
// Until end of turn, creatures you control gain menace and "Whenever this creature deals combat damage to a player, that player discards a card."
|
// Until end of turn, creatures you control gain menace and "Whenever this creature deals combat damage to a player, that player discards a card."
|
||||||
getRightHalfCard().getSpellAbility().addEffect(new GainAbilityControlledEffect(new MenaceAbility(), Duration.EndOfTurn, StaticFilters.FILTER_CONTROLLED_CREATURES));
|
getRightHalfCard().getSpellAbility().addEffect(new GainAbilityControlledEffect(
|
||||||
|
new MenaceAbility(), Duration.EndOfTurn, StaticFilters.FILTER_PERMANENT_CREATURES)
|
||||||
|
.setText("Until end of turn, creatures you control gain menace"));
|
||||||
ability = new DealsCombatDamageToAPlayerTriggeredAbility(new DiscardTargetEffect(1), false, true);
|
ability = new DealsCombatDamageToAPlayerTriggeredAbility(new DiscardTargetEffect(1), false, true);
|
||||||
getRightHalfCard().getSpellAbility().addEffect(new GainAbilityControlledEffect(ability, Duration.EndOfTurn, StaticFilters.FILTER_CONTROLLED_CREATURES)
|
getRightHalfCard().getSpellAbility().addEffect(new GainAbilityControlledEffect(ability, Duration.EndOfTurn, StaticFilters.FILTER_CONTROLLED_CREATURES)
|
||||||
.setText("and \"Whenever this creature deals combat damage to a player, that player discards a card.\""));
|
.setText("\"Whenever this creature deals combat damage to a player, that player discards a card.\"")
|
||||||
|
.concatBy("and"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue