Added StackDescription param to Animate AF and cleaned up Bone Shaman's stack description.

This commit is contained in:
moomarc
2012-06-11 10:56:39 +00:00
parent 9f5f271a9c
commit 1b00682670
2 changed files with 65 additions and 59 deletions

View File

@@ -3,7 +3,7 @@ ManaCost:2 R R
Types:Creature Giant Shaman Types:Creature Giant Shaman
Text:no text Text:no text
PT:3/3 PT:3/3
A:AB$ Animate | Cost$ B | Defined$ Self | staticAbilities$ BoneShamanStatic | SpellDescription$ Until end of turn, CARDNAME gains "Creatures dealt damage by Bone Shaman this turn can't be regenerated this turn." A:AB$ Animate | Cost$ B | Defined$ Self | staticAbilities$ BoneShamanStatic | StackDescription$ CARDNAME gains "Creatures dealt damage by CARDNAME this turn can't be regenerated this turn." | SpellDescription$ Until end of turn, CARDNAME gains "Creatures dealt damage by CARDNAME this turn can't be regenerated this turn."
SVar:BoneShamanStatic:Mode$ Continuous | Affected$ Creature.DamagedBy | AddHiddenKeyword$ HIDDEN CARDNAME can't be regenerated. | Description$ Creatures dealt damage by CARDNAME this turn can't be regenerated this turn. SVar:BoneShamanStatic:Mode$ Continuous | Affected$ Creature.DamagedBy | AddHiddenKeyword$ HIDDEN CARDNAME can't be regenerated. | Description$ Creatures dealt damage by CARDNAME this turn can't be regenerated this turn.
SVar:RemAIDeck:True SVar:RemAIDeck:True
SVar:RemRandomDeck:True SVar:RemRandomDeck:True

View File

@@ -220,6 +220,11 @@ public final class AbilityFactoryAnimate {
sb.append(sa.getSourceCard().getName()).append(" - "); sb.append(sa.getSourceCard().getName()).append(" - ");
} }
if (params.containsKey("StackDescription")) {
sb.append(params.get("StackDescription").replaceAll("CARDNAME", host.getName()));
}
else {
final Target tgt = sa.getTarget(); final Target tgt = sa.getTarget();
ArrayList<Card> tgts; ArrayList<Card> tgts;
if (tgt != null) { if (tgt != null) {
@@ -288,6 +293,7 @@ public final class AbilityFactoryAnimate {
} else { } else {
sb.append("."); sb.append(".");
} }
}
final AbilitySub abSub = sa.getSubAbility(); final AbilitySub abSub = sa.getSubAbility();
if (abSub != null) { if (abSub != null) {