- Simplified some codes and and stack descriptions

This commit is contained in:
swordshine
2013-04-03 11:01:59 +00:00
parent 8be07d95f2
commit d69dd49bb1
3 changed files with 4 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ Name:Eight-and-a-Half-Tails Avatar
ManaCost:no cost
Types:Vanguard
HandLifeModifier:+2/-3
A:AB$ Pump | Cost$ 1 | ActivationZone$ Command | ValidTgts$ Permanent.YouCtrl | TgtPrompt$ Select target permanent you control | KW$ Protection from red & Protection from blue & Protection from black & Protection from white & Protection from green | RandomKeyword$ True | NoRepetition$ True | SpellDescription$ Until end of turn, target permanent you control gains protection from a color chosen at random from colors it doesn't have protection from.
A:AB$ Pump | Cost$ 1 | ActivationZone$ Command | ValidTgts$ Permanent.YouCtrl | TgtPrompt$ Select target permanent you control | KW$ Protection from red & Protection from blue & Protection from black & Protection from white & Protection from green | RandomKeyword$ True | NoRepetition$ True | StackDescription$ SpellDescription | SpellDescription$ Until end of turn, target permanent you control gains protection from a color chosen at random from colors it doesn't have protection from.
SVar:Picture:http://www.cardforge.org/fpics/vgd-lq/eight_and_a_half_tails_avatar.jpg
Oracle:Hand +2, life -3\n{1}: Until end of turn, target permanent you control gains protection from a color chosen at random from colors it doesn't have protection from.
SetInfo:VAN Special

View File

@@ -32,7 +32,6 @@ import forge.gui.GuiDialog;
import forge.item.CardDb;
import forge.item.CardPrinted;
import forge.util.Aggregates;
import forge.util.PredicateString.StringOp;
public class PlayEffect extends SpellAbilityEffect {
@Override

View File

@@ -203,9 +203,9 @@ public class PumpEffect extends SpellAbilityEffect {
List<String> total = new ArrayList<String>(keywords);
if (sa.hasParam("NoRepetition")) {
final List<String> tgtCardskws = tgtCards.get(0).getKeyword();
for (int i = 0; i < tgtCardskws.size(); i++) {
if (total.contains(tgtCardskws.get(i))) {
total.remove(tgtCardskws.get(i));
for (String kws : tgtCardskws) {
if (total.contains(kws)) {
total.remove(kws);
}
}
}