mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Fix
This commit is contained in:
parent
950bf607cf
commit
25b78736c6
1 changed files with 4 additions and 3 deletions
|
@ -76,7 +76,7 @@ class WindbornMuseReplacementEffect extends ReplacementEffectImpl<WindbornMuseRe
|
||||||
private static final String effectText = "Creatures can't attack you unless their controller pays {2} for each creature he or she controls that's attacking you";
|
private static final String effectText = "Creatures can't attack you unless their controller pays {2} for each creature he or she controls that's attacking you";
|
||||||
|
|
||||||
WindbornMuseReplacementEffect ( ) {
|
WindbornMuseReplacementEffect ( ) {
|
||||||
super(Constants.Duration.WhileOnBattlefield, Constants.Outcome.Neutral);
|
super(Constants.Duration.WhileOnBattlefield, Constants.Outcome.Benefit);
|
||||||
staticText = effectText;
|
staticText = effectText;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ class WindbornMuseReplacementEffect extends ReplacementEffectImpl<WindbornMuseRe
|
||||||
if ( propagandaTax.canPay(source.getSourceId(), event.getPlayerId(), game) &&
|
if ( propagandaTax.canPay(source.getSourceId(), event.getPlayerId(), game) &&
|
||||||
player.chooseUse(Constants.Outcome.Benefit, "Pay {2} to declare attacker?", game) )
|
player.chooseUse(Constants.Outcome.Benefit, "Pay {2} to declare attacker?", game) )
|
||||||
{
|
{
|
||||||
propagandaTax.pay(game, this.getId(), event.getPlayerId(), false);
|
propagandaTax.pay(source, game, this.getId(), event.getPlayerId(), false);
|
||||||
|
|
||||||
if ( propagandaTax.isPaid() ) {
|
if ( propagandaTax.isPaid() ) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -124,3 +124,4 @@ class WindbornMuseReplacementEffect extends ReplacementEffectImpl<WindbornMuseRe
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue