mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Simplified some codes and and stack descriptions
This commit is contained in:
@@ -2,7 +2,7 @@ Name:Eight-and-a-Half-Tails Avatar
|
|||||||
ManaCost:no cost
|
ManaCost:no cost
|
||||||
Types:Vanguard
|
Types:Vanguard
|
||||||
HandLifeModifier:+2/-3
|
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
|
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.
|
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
|
SetInfo:VAN Special
|
||||||
@@ -32,7 +32,6 @@ import forge.gui.GuiDialog;
|
|||||||
import forge.item.CardDb;
|
import forge.item.CardDb;
|
||||||
import forge.item.CardPrinted;
|
import forge.item.CardPrinted;
|
||||||
import forge.util.Aggregates;
|
import forge.util.Aggregates;
|
||||||
import forge.util.PredicateString.StringOp;
|
|
||||||
|
|
||||||
public class PlayEffect extends SpellAbilityEffect {
|
public class PlayEffect extends SpellAbilityEffect {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -203,9 +203,9 @@ public class PumpEffect extends SpellAbilityEffect {
|
|||||||
List<String> total = new ArrayList<String>(keywords);
|
List<String> total = new ArrayList<String>(keywords);
|
||||||
if (sa.hasParam("NoRepetition")) {
|
if (sa.hasParam("NoRepetition")) {
|
||||||
final List<String> tgtCardskws = tgtCards.get(0).getKeyword();
|
final List<String> tgtCardskws = tgtCards.get(0).getKeyword();
|
||||||
for (int i = 0; i < tgtCardskws.size(); i++) {
|
for (String kws : tgtCardskws) {
|
||||||
if (total.contains(tgtCardskws.get(i))) {
|
if (total.contains(kws)) {
|
||||||
total.remove(tgtCardskws.get(i));
|
total.remove(kws);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user