mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Converted Wing Puncture to script.
This commit is contained in:
@@ -3,7 +3,7 @@ ManaCost:2 R
|
||||
Types:Instant
|
||||
Text:no text
|
||||
A:SP$ Pump | Cost$ 2 R | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | SubAbility$ SoulsDamage | SpellDescription$ Target creature you control on the battlefield deals damage equal to its power to target creature or player.
|
||||
SVar:SoulsDamage:DB$DealDamage | Tgt$ TgtCP | NumDmg$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ Targeted
|
||||
SVar:SoulsDamage:DB$ DealDamage | Tgt$ TgtCP | NumDmg$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ Targeted
|
||||
SVar:X:Targeted$CardPower
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Common
|
||||
|
||||
@@ -2,6 +2,9 @@ Name:Wing Puncture
|
||||
ManaCost:G
|
||||
Types:Instant
|
||||
Text:no text
|
||||
A:SP$ Pump | Cost$ G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | SubAbility$ SoulsDamage | SpellDescription$ Target creature you control deals damage equal to its power to target creature with flying.
|
||||
SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target creature with flying | NumDmg$ X | DamageSource$ Targeted
|
||||
SVar:X:Targeted$CardPower
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/wing_puncture.jpg
|
||||
|
||||
@@ -32,7 +32,6 @@ import forge.Command;
|
||||
import forge.Singletons;
|
||||
import forge.card.cost.Cost;
|
||||
import forge.card.spellability.Ability;
|
||||
import forge.card.spellability.AbilitySub;
|
||||
import forge.card.spellability.Spell;
|
||||
import forge.card.spellability.SpellAbility;
|
||||
import forge.card.spellability.Target;
|
||||
@@ -492,7 +491,7 @@ public class CardFactoryInstants {
|
||||
} // *************** END ************ END **************************
|
||||
|
||||
// *************** START *********** START **************************
|
||||
else if (cardName.equals("Wing Puncture")) {
|
||||
/*else if (cardName.equals("Wing Puncture")) {
|
||||
|
||||
final Target t2 = new Target(card, "Select target creature with flying", "Creature.withFlying".split(","));
|
||||
class DrawbackWingPuncture extends AbilitySub {
|
||||
@@ -561,7 +560,7 @@ public class CardFactoryInstants {
|
||||
spell.setStackDescription(sbStack.toString());
|
||||
|
||||
card.addSpellAbility(spell);
|
||||
} // *************** END ************ END **************************
|
||||
}*/ // *************** END ************ END **************************
|
||||
} // getCard
|
||||
|
||||
} // end class CardFactory_Instants
|
||||
|
||||
Reference in New Issue
Block a user