mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
- Converted Flash of Defiance to an effect
- Added a card restriction "IsNotImprinted"
This commit is contained in:
@@ -3,7 +3,8 @@ ManaCost:1 R
|
|||||||
Types:Sorcery
|
Types:Sorcery
|
||||||
Text:no text
|
Text:no text
|
||||||
K:Flashback 1 R PayLife<3>
|
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:RemAIDeck:True
|
||||||
SVar:RemRandomDeck:True
|
SVar:RemRandomDeck:True
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
|
|||||||
@@ -7148,6 +7148,10 @@ public class Card extends GameEntity implements Comparable<Card> {
|
|||||||
if (!source.getImprinted().contains(this)) {
|
if (!source.getImprinted().contains(this)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
} else if (property.equals("IsNotImprinted")) {
|
||||||
|
if (source.getImprinted().contains(this)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
} else if (property.equals("hasActivatedAbilityWithTapCost")) {
|
} else if (property.equals("hasActivatedAbilityWithTapCost")) {
|
||||||
for (final SpellAbility sa : this.getSpellAbilities()) {
|
for (final SpellAbility sa : this.getSpellAbilities()) {
|
||||||
if (sa.isAbility() && (sa.getPayCosts() != null) && sa.getPayCosts().hasTapCost()) {
|
if (sa.isAbility() && (sa.getPayCosts() != null) && sa.getPayCosts().hasTapCost()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user