- Converted Stasis to Keyword

- Simplify Yosei a touch
This commit is contained in:
Sol
2012-10-20 14:03:52 +00:00
parent 5f34ce6595
commit a4e9da67b4
4 changed files with 5 additions and 39 deletions

View File

@@ -1,7 +1,8 @@
Name:Stasis Name:Stasis
ManaCost:1 U ManaCost:1 U
Types:Enchantment Types:Enchantment
Text:Players skip their untap steps. Text:no text
S:Mode$ Continuous | Affected$ Player | AddKeyword$ Skip your untap step. | Description$ Players skip their untap steps.
K:At the beginning of your upkeep, sacrifice CARDNAME unless you pay U K:At the beginning of your upkeep, sacrifice CARDNAME unless you pay U
SVar:RemRandomDeck:True SVar:RemRandomDeck:True
SVar:Rarity:Rare SVar:Rarity:Rare

View File

@@ -886,7 +886,7 @@ public class CardFactoryCreatures {
public void resolve() { public void resolve() {
final Player p = this.getTargetPlayer(); final Player p = this.getTargetPlayer();
if (p.canBeTargetedBy(this)) { if (p.canBeTargetedBy(this)) {
p.setSkipNextUntap(true); p.addKeyword("Skip your next untap step.");
for (final Card c : targetPerms) { for (final Card c : targetPerms) {
if (c.isInPlay() && c.canBeTargetedBy(this)) { if (c.isInPlay() && c.canBeTargetedBy(this)) {
c.tap(); c.tap();

View File

@@ -60,17 +60,8 @@ public class PhaseUtil {
p.removeKeyword("Skip your next untap step."); p.removeKeyword("Skip your next untap step.");
return true; return true;
} }
if (p.hasKeyword("Skip the untap step of this turn.")) { if (p.hasKeyword("Skip the untap step of this turn.") ||
return true; p.hasKeyword("Skip your untap step.")) {
}
if (Singletons.getModel().getGame().isCardInPlay("Sands of Time")
|| Singletons.getModel().getGame().isCardInPlay("Stasis")) {
return true;
}
if (p.skipNextUntap()) {
p.setSkipNextUntap(false);
return true; return true;
} }

View File

@@ -87,9 +87,6 @@ public abstract class Player extends GameEntity implements Comparable<Player> {
/** The num power surge lands. */ /** The num power surge lands. */
private int numPowerSurgeLands; private int numPowerSurgeLands;
/** The skip next untap. */
private boolean skipNextUntap = false;
/** The prowl. */ /** The prowl. */
private ArrayList<String> prowl = new ArrayList<String>(); private ArrayList<String> prowl = new ArrayList<String>();
@@ -1947,29 +1944,6 @@ public abstract class Player extends GameEntity implements Comparable<Player> {
return old; return old;
} }
/**
* <p>
* skipNextUntap.
* </p>
*
* @return a boolean.
*/
public final boolean skipNextUntap() {
return this.skipNextUntap;
}
/**
* <p>
* Setter for the field <code>skipNextUntap</code>.
* </p>
*
* @param b
* a boolean.
*/
public final void setSkipNextUntap(final boolean b) {
this.skipNextUntap = b;
}
/** /**
* <p> * <p>
* Getter for the field <code>slowtripList</code>. * Getter for the field <code>slowtripList</code>.