forked from External/mage
fixed a few more errors
This commit is contained in:
parent
cc84efa017
commit
f1272ee8ac
6 changed files with 47 additions and 24 deletions
|
|
@ -1,6 +1,5 @@
|
|||
package mage.game.stack;
|
||||
|
||||
import java.util.*;
|
||||
import mage.MageInt;
|
||||
import mage.MageObject;
|
||||
import mage.Mana;
|
||||
|
|
@ -32,6 +31,8 @@ import mage.players.Player;
|
|||
import mage.util.GameLog;
|
||||
import mage.util.SubTypeList;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
|
|
@ -324,7 +325,7 @@ public class Spell extends StackObjImpl implements Card {
|
|||
*/
|
||||
private boolean spellAbilityCheckTargetsAndDeactivateModes(SpellAbility spellAbility, Game game) {
|
||||
boolean legalModes = false;
|
||||
for (Iterator<UUID> iterator = spellAbility.getModes().getSelectedModes().iterator(); iterator.hasNext();) {
|
||||
for (Iterator<UUID> iterator = spellAbility.getModes().getSelectedModes().iterator(); iterator.hasNext(); ) {
|
||||
UUID nextSelectedModeId = iterator.next();
|
||||
Mode mode = spellAbility.getModes().get(nextSelectedModeId);
|
||||
if (!mode.getTargets().isEmpty()) {
|
||||
|
|
@ -613,6 +614,10 @@ public class Spell extends StackObjImpl implements Card {
|
|||
return card.getStartingLoyalty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setStartingLoyalty(int startingLoyalty) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public UUID getId() {
|
||||
return id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue