mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Little fix in the stack description of AF tap.
- Added Maddening Wind.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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/machinate.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/maelstrom_nexus.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/maelstrom_pulse.txt -text svneol=native#text/plain
|
||||
|
||||
11
res/cardsfolder/maddening_wind.txt
Normal file
11
res/cardsfolder/maddening_wind.txt
Normal 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
|
||||
@@ -508,6 +508,8 @@ public class AbilityFactory_PermanentState {
|
||||
public static String tapStackDescription(AbilityFactory af, SpellAbility sa){
|
||||
// when getStackDesc is called, just build exactly what is happening
|
||||
StringBuilder sb = new StringBuilder();
|
||||
final HashMap<String, String> params = af.getMapParams();
|
||||
Card hostCard = sa.getSourceCard();
|
||||
|
||||
if (sa instanceof Ability_Sub)
|
||||
sb.append(" ");
|
||||
@@ -522,7 +524,7 @@ public class AbilityFactory_PermanentState {
|
||||
tgtCards = tgt.getTargetCards();
|
||||
else{
|
||||
tgtCards = new ArrayList<Card>();
|
||||
tgtCards.add(af.getHostCard());
|
||||
tgtCards = AbilityFactory.getDefinedCards(hostCard, params.get("Defined"), sa);
|
||||
}
|
||||
|
||||
Iterator<Card> it = tgtCards.iterator();
|
||||
|
||||
Reference in New Issue
Block a user