- Converted Phyrexian Hydra to script.

This commit is contained in:
Sloth
2012-02-06 17:47:02 +00:00
parent cfb9434cee
commit 8377b80451
3 changed files with 5 additions and 7 deletions

View File

@@ -1,9 +1,12 @@
Name:Phyrexian Hydra
ManaCost:3 G G
Types:Creature Hydra
Text:If damage would be dealt to CARDNAME, prevent that damage. Put a -1/-1 counter on CARDNAME for each 1 damage prevented this way.
Text:no text
PT:7/7
K:Infect
R:Event$ DamageDone | ValidTarget$ Card.Self | ReplaceWith$ Counters | PreventionEffect$ True | Description$ If damage would be dealt to CARDNAME, prevent that damage. Put a -1/-1 counter on CARDNAME for each 1 damage prevented this way.
SVar:Counters:AB$PutCounter | Cost$ 0 | Defined$ ReplacedTarget | CounterType$ M1M1 | CounterNum$ X
SVar:X:ReplaceCount$DamageAmount
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_hydra.jpg
SetInfo:MBS|Rare|http://magiccards.info/scans/en/mbs/85.jpg

View File

@@ -4,7 +4,7 @@ Types:Creature Elemental Incarnation
Text:no text
PT:6/6
K:Trample
R:Event$ DamageDone | ValidTarget$ Creature.YouCtrl+Other | ReplaceWith$ Counters | PreventionEffect$ True | Description$ If damage would be dealt to a creature you control other than Vigor, prevent that damage. Put a +1/+1 counter on that creature for each 1 damage prevented this way.
R:Event$ DamageDone | ValidTarget$ Creature.YouCtrl+Other | ReplaceWith$ Counters | PreventionEffect$ True | Description$ If damage would be dealt to a creature you control other than CARDNAME, prevent that damage. Put a +1/+1 counter on that creature for each 1 damage prevented this way.
SVar:Counters:AB$PutCounter | Cost$ 0 | Defined$ ReplacedTarget | CounterType$ P1P1 | CounterNum$ X
SVar:X:ReplaceCount$DamageAmount
T:Mode$ ChangesZone | Origin$ Any | Destination$ Graveyard | ValidCard$ Creature.Self | Execute$ TrigShuffle | TriggerDescription$ When CARDNAME is put into a graveyard from anywhere, shuffle it into its owner's library.

View File

@@ -8026,11 +8026,6 @@ public class Card extends GameEntity implements Comparable<Card> {
restDamage = 0;
}
if (this.getName().equals("Phyrexian Hydra")) {
this.addCounter(Counters.M1M1, restDamage);
return 0;
}
return restDamage;
}