mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Converted Phyrexian Hydra to script.
This commit is contained in:
@@ -1,9 +1,12 @@
|
|||||||
Name:Phyrexian Hydra
|
Name:Phyrexian Hydra
|
||||||
ManaCost:3 G G
|
ManaCost:3 G G
|
||||||
Types:Creature Hydra
|
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
|
PT:7/7
|
||||||
K:Infect
|
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:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_hydra.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_hydra.jpg
|
||||||
SetInfo:MBS|Rare|http://magiccards.info/scans/en/mbs/85.jpg
|
SetInfo:MBS|Rare|http://magiccards.info/scans/en/mbs/85.jpg
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Types:Creature Elemental Incarnation
|
|||||||
Text:no text
|
Text:no text
|
||||||
PT:6/6
|
PT:6/6
|
||||||
K:Trample
|
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:Counters:AB$PutCounter | Cost$ 0 | Defined$ ReplacedTarget | CounterType$ P1P1 | CounterNum$ X
|
||||||
SVar:X:ReplaceCount$DamageAmount
|
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.
|
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.
|
||||||
|
|||||||
@@ -8026,11 +8026,6 @@ public class Card extends GameEntity implements Comparable<Card> {
|
|||||||
restDamage = 0;
|
restDamage = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.getName().equals("Phyrexian Hydra")) {
|
|
||||||
this.addCounter(Counters.M1M1, restDamage);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
return restDamage;
|
return restDamage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user