- Little fix in the stack description of AF tap.

- Added Maddening Wind.
This commit is contained in:
jendave
2011-08-07 00:35:31 +00:00
parent b37168e470
commit 13a95b2c9a
3 changed files with 16 additions and 2 deletions

1
.gitattributes vendored
View File

@@ -4178,6 +4178,7 @@ res/cardsfolder/macabre_waltz.txt -text svneol=native#text/plain
res/cardsfolder/macetail_hystrodon.txt -text svneol=native#text/plain res/cardsfolder/macetail_hystrodon.txt -text svneol=native#text/plain
res/cardsfolder/machinate.txt -text svneol=native#text/plain res/cardsfolder/machinate.txt -text svneol=native#text/plain
res/cardsfolder/mad_auntie.txt -text svneol=native#text/plain res/cardsfolder/mad_auntie.txt -text svneol=native#text/plain
res/cardsfolder/maddening_wind.txt -text svneol=native#text/plain
res/cardsfolder/madrush_cyclops.txt -text svneol=native#text/plain res/cardsfolder/madrush_cyclops.txt -text svneol=native#text/plain
res/cardsfolder/maelstrom_nexus.txt -text svneol=native#text/plain res/cardsfolder/maelstrom_nexus.txt -text svneol=native#text/plain
res/cardsfolder/maelstrom_pulse.txt -text svneol=native#text/plain res/cardsfolder/maelstrom_pulse.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,11 @@
Name:Maddening Wind
ManaCost:2 G
Types:Enchantment Aura
Text:no text
K:Enchant Creature Curse
K:Cumulative upkeep:G
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ EnchantedController | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of the upkeep of enchanted creature's controller, CARDNAME deals 2 damage to that player.
SVar:TrigDamage:AB$DealDamage | Cost$ 0 | Defined$ EnchantedController | NumDmg$ 2
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/maddening_wind.jpg
End

View File

@@ -507,7 +507,9 @@ public class AbilityFactory_PermanentState {
public static String tapStackDescription(AbilityFactory af, SpellAbility sa){ public static String tapStackDescription(AbilityFactory af, SpellAbility sa){
// when getStackDesc is called, just build exactly what is happening // when getStackDesc is called, just build exactly what is happening
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
final HashMap<String, String> params = af.getMapParams();
Card hostCard = sa.getSourceCard();
if (sa instanceof Ability_Sub) if (sa instanceof Ability_Sub)
sb.append(" "); sb.append(" ");
@@ -522,7 +524,7 @@ public class AbilityFactory_PermanentState {
tgtCards = tgt.getTargetCards(); tgtCards = tgt.getTargetCards();
else{ else{
tgtCards = new ArrayList<Card>(); tgtCards = new ArrayList<Card>();
tgtCards.add(af.getHostCard()); tgtCards = AbilityFactory.getDefinedCards(hostCard, params.get("Defined"), sa);
} }
Iterator<Card> it = tgtCards.iterator(); Iterator<Card> it = tgtCards.iterator();