- Converted Swans of Bryn Argoll to script

This commit is contained in:
swordshine
2013-08-08 02:04:20 +00:00
parent d1030df71a
commit ce53c8d84a
2 changed files with 3 additions and 8 deletions

View File

@@ -1,8 +1,10 @@
Name:Swans of Bryn Argoll
ManaCost:2 WU WU
Types:Creature Bird Spirit
Text:If a source would deal damage to CARDNAME, prevent that damage. The source's controller draws cards equal to the damage prevented this way.
PT:4/3
K:Flying
R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self | ReplaceWith$ DBDraw | PreventionEffect$ True | Description$ If a source would deal damage to CARDNAME, prevent that damage. The source's controller draws cards equal to the damage prevented this way.
SVar:DBDraw:AB$ Draw | Cost$ 0 | NumCards$ X | Defined$ ReplacedSourceController | References$ X
SVar:X:ReplaceCount$DamageAmount
SVar:Picture:http://www.wizards.com/global/images/magic/general/swans_of_bryn_argoll.jpg
Oracle:Flying\nIf a source would deal damage to Swans of Bryn Argoll, prevent that damage. The source's controller draws cards equal to the damage prevented this way.

View File

@@ -7248,9 +7248,6 @@ public class Card extends GameEntity implements Comparable<Card> {
// specific Cards
if (this.isCreature()) { // and not a planeswalker
if (this.getName().equals("Swans of Bryn Argoll")) {
return 0;
}
if (source.isCreature() && getGame().isCardInPlay("Well-Laid Plans")
&& source.sharesColorWith(this)) {
@@ -7353,10 +7350,6 @@ public class Card extends GameEntity implements Comparable<Card> {
}
}
if (this.getName().equals("Swans of Bryn Argoll")) {
source.getController().drawCards(restDamage);
return 0;
}
final HashMap<String, Object> repParams = new HashMap<String, Object>();
repParams.put("Event", "DamageDone");