- Converted Harbor Serpent to script.

This commit is contained in:
Sloth
2012-07-15 12:28:40 +00:00
parent ec3af1ecc9
commit f232785219
2 changed files with 3 additions and 8 deletions

View File

@@ -1,9 +1,11 @@
Name:Harbor Serpent Name:Harbor Serpent
ManaCost:4 U U ManaCost:4 U U
Types:Creature Serpent Types:Creature Serpent
Text:Harbor Serpent can't attack unless there are five or more Islands on the battlefield. Text:no text
PT:5/5 PT:5/5
K:Islandwalk K:Islandwalk
S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ CARDNAME can't attack. | CheckSVar$ X | SVarCompare$ LT5 | Description$ CARDNAME can't attack unless there are five or more Islands on the battlefield.
SVar:X:Count$Valid Island
SVar:BuffedBy:Island SVar:BuffedBy:Island
SVar:Rarity:Common SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/harbor_serpent.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/harbor_serpent.jpg

View File

@@ -810,13 +810,6 @@ public class CombatUtil {
} }
} }
if (c.getName().equals("Harbor Serpent")) {
final CardList allislands = AllZoneUtil.getCardsIn(ZoneType.Battlefield).getType("Island");
if (allislands.size() < 5) {
return false;
}
}
// The creature won't untap next turn // The creature won't untap next turn
if (c.isTapped() && !Untap.canUntap(c)) { if (c.isTapped() && !Untap.canUntap(c)) {
return false; return false;