- Converted Flash of Defiance to an effect

- Added a card restriction "IsNotImprinted"
This commit is contained in:
swordshine
2013-01-24 00:25:28 +00:00
parent 00294612c0
commit a492652fe8
2 changed files with 6 additions and 1 deletions

View File

@@ -3,7 +3,8 @@ ManaCost:1 R
Types:Sorcery
Text:no text
K:Flashback 1 R PayLife<3>
A:SP$ PumpAll | Cost$ 1 R | ValidCards$ Creature.Green,Creature.White | KW$ HIDDEN CARDNAME can't block. | IsCurse$ True | SpellDescription$ Green creatures and white creatures can't block this turn.
A:SP$ Effect | Cost$ 1 R | Name$ Flash of Defiance Effect | StaticAbilities$ KWPump | AILogic$ Evasion | SpellDescription$ Green creatures and white creatures can't block this turn.
SVar:KWPump:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Battlefield | Affected$ Creature.Green,Creature.White | AddHiddenKeyword$ CARDNAME can't block. | Description$ Green creatures and white creatures can't block this turn.
SVar:RemAIDeck:True
SVar:RemRandomDeck:True
SVar:Rarity:Common

View File

@@ -7148,6 +7148,10 @@ public class Card extends GameEntity implements Comparable<Card> {
if (!source.getImprinted().contains(this)) {
return false;
}
} else if (property.equals("IsNotImprinted")) {
if (source.getImprinted().contains(this)) {
return false;
}
} else if (property.equals("hasActivatedAbilityWithTapCost")) {
for (final SpellAbility sa : this.getSpellAbilities()) {
if (sa.isAbility() && (sa.getPayCosts() != null) && sa.getPayCosts().hasTapCost()) {