- Converted Titania's Song to continuous static ability.

- Commented out the stAnimate keyword.
This commit is contained in:
Sloth
2011-09-18 11:10:11 +00:00
parent cf17979a97
commit afaeba6be7
4 changed files with 11 additions and 11 deletions

View File

@@ -2,10 +2,11 @@ Name:Titania's Song
ManaCost:3 G ManaCost:3 G
Types:Enchantment Types:Enchantment
Text:no text Text:no text
K:stAnimateAll:Artifact.nonCreature:Count$CardManaCost/Count$CardManaCost:Creature:no colors:Overwrite:No condition:Each noncreature artifact loses its abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. S:Mode$ Continuous | Affected$ Artifact.nonCreature | SetPower$ AffectedX | SetToughness$ AffectedX | AddType$ Creature | RemoveAllAbilities$ True | Description$ Each noncreature artifact is an artifact creature with power and toughness each equal to its converted mana cost.
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigEffect | TriggerDescription$ If CARDNAME leaves the battlefield, this effect continues until end of turn. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigEffect | Static$ True | TriggerDescription$ If CARDNAME leaves the battlefield, this effect continues until end of turn.
SVar:TrigEffect:AB$ Effect | Cost$ 0 | Name$ Titania's Song Effect | Keywords$ KWAnimateAll SVar:TrigEffect:AB$ Effect | Cost$ 0 | Name$ Titania's Song Effect | StaticAbilities$ KWAnimateAll | SVars$ AffectedX
SVar:KWAnimateAll:stAnimateAll:Artifact.nonCreature:Count$CardManaCost/Count$CardManaCost:Creature:no colors:Overwrite:No condition:Each noncreature artifact loses its abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. SVar:KWAnimateAll:Mode$ Continuous | Affected$ Artifact.nonCreature | SetPower$ AffectedX | SetToughness$ AffectedX | AddType$ Creature | RemoveAllAbilities$ True | Description$ Each noncreature artifact is an artifact creature with power and toughness each equal to its converted mana cost.
SVar:AffectedX:Count$CardManaCost
SVar:PlayMain1:TRUE SVar:PlayMain1:TRUE
SVar:RemRandomDeck:True SVar:RemRandomDeck:True
SVar:Rarity:Rare SVar:Rarity:Rare

View File

@@ -1562,11 +1562,11 @@ public class Card extends GameEntity implements Comparable<Card> {
if (keyword.get(i).toString().contains("StaticEffect")) { if (keyword.get(i).toString().contains("StaticEffect")) {
String[] k = keyword.get(i).split(":"); String[] k = keyword.get(i).split(":");
sbLong.append(k[5]).append("\r\n"); sbLong.append(k[5]).append("\r\n");
} else if (keyword.get(i).toString().contains("stAnimate")) { /*} else if (keyword.get(i).toString().contains("stAnimate")) {
String[] k = keyword.get(i).split(":", 8); String[] k = keyword.get(i).split(":", 8);
if (!k[7].contains("no text")) { if (!k[7].contains("no text")) {
sbLong.append(k[7]).append("\r\n"); sbLong.append(k[7]).append("\r\n");
} }*/
} else if (keyword.get(i).toString().contains("Protection:")) { } else if (keyword.get(i).toString().contains("Protection:")) {
String[] k = keyword.get(i).split(":"); String[] k = keyword.get(i).split(":");
sbLong.append(k[2]).append("\r\n"); sbLong.append(k[2]).append("\r\n");

View File

@@ -702,7 +702,7 @@ public class GameAction {
com.execute(); com.execute();
} }
GameActionUtil.stAnimate.execute(); //GameActionUtil.stAnimate.execute();
CardList list = AllZoneUtil.getCardsInPlay(); CardList list = AllZoneUtil.getCardsInPlay();
Card c; Card c;

View File

@@ -17,7 +17,6 @@ import forge.gui.input.Input_PayManaCost_Ability;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap; import java.util.HashMap;
import javax.swing.JOptionPane; import javax.swing.JOptionPane;
@@ -2529,7 +2528,7 @@ public final class GameActionUtil {
} }
/** Constant <code>stAnimate</code>. */ /** Constant <code>stAnimate</code>. */
public static Command stAnimate = new Command() { //public static Command stAnimate = new Command() {
/** stAnimate /** stAnimate
* Syntax:[ k[0] stAnimate[All][Self][Enchanted] : k[1] AnimateValid : * Syntax:[ k[0] stAnimate[All][Self][Enchanted] : k[1] AnimateValid :
* k[2] P/T/Keyword : k[3] extra types : k[4] extra colors : * k[2] P/T/Keyword : k[3] extra types : k[4] extra colors :
@@ -2537,7 +2536,7 @@ public final class GameActionUtil {
* *
*/ */
private static final long serialVersionUID = -1404133561787349004L; /*private static final long serialVersionUID = -1404133561787349004L;
// storage stores the source card and the cards it gave its bonus to, to know what to remove // storage stores the source card and the cards it gave its bonus to, to know what to remove
private ArrayList<StaticEffect> storage = new ArrayList<StaticEffect>(); private ArrayList<StaticEffect> storage = new ArrayList<StaticEffect>();
@@ -2827,7 +2826,7 @@ public final class GameActionUtil {
return affected; return affected;
} //end getAffectedCards() } //end getAffectedCards()
}; };*/
/** /**