mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
- little fix Regna's Sanction.
This commit is contained in:
parent
ac59956d8b
commit
2ba3521a70
1 changed files with 7 additions and 3 deletions
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
package mage.cards.r;
|
package mage.cards.r;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
@ -48,7 +47,9 @@ class RegnasSanctionEffect extends OneShotEffect {
|
||||||
|
|
||||||
RegnasSanctionEffect() {
|
RegnasSanctionEffect() {
|
||||||
super(Outcome.Benefit);
|
super(Outcome.Benefit);
|
||||||
this.staticText = "For each player, choose friend or foe. Each friend puts a +1/+1 counter on each creature they control. Each foe chooses one untapped creature they control, then taps the rest";
|
this.staticText = "For each player, choose friend or foe. "
|
||||||
|
+ "Each friend puts a +1/+1 counter on each creature they control. "
|
||||||
|
+ "Each foe chooses one untapped creature they control, then taps the rest";
|
||||||
}
|
}
|
||||||
|
|
||||||
RegnasSanctionEffect(final RegnasSanctionEffect effect) {
|
RegnasSanctionEffect(final RegnasSanctionEffect effect) {
|
||||||
|
@ -64,7 +65,10 @@ class RegnasSanctionEffect extends OneShotEffect {
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
Player controller = game.getPlayer(source.getControllerId());
|
Player controller = game.getPlayer(source.getControllerId());
|
||||||
ChooseFriendsAndFoes choice = new ChooseFriendsAndFoes();
|
ChooseFriendsAndFoes choice = new ChooseFriendsAndFoes();
|
||||||
if (controller != null || !choice.chooseFriendOrFoe(controller, source, game)) {
|
if (controller == null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!choice.chooseFriendOrFoe(controller, source, game)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
FilterCreaturePermanent filterToTap = new FilterCreaturePermanent();
|
FilterCreaturePermanent filterToTap = new FilterCreaturePermanent();
|
||||||
|
|
Loading…
Reference in a new issue