mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
convert Manta Ray to a keyword
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
Name:Manta Ray
|
Name:Manta Ray
|
||||||
ManaCost:1 U U
|
ManaCost:1 U U
|
||||||
Types:Creature Fish
|
Types:Creature Fish
|
||||||
Text:Manta Ray can't be blocked except by blue creatures.
|
Text:no text
|
||||||
PT:3/3
|
PT:3/3
|
||||||
K:CARDNAME can't attack unless defending player controls an Island.
|
K:CARDNAME can't attack unless defending player controls an Island.
|
||||||
|
K:CARDNAME can't be blocked except by blue creatures.
|
||||||
K:When you control no Islands, sacrifice CARDNAME.
|
K:When you control no Islands, sacrifice CARDNAME.
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/manta_ray.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/manta_ray.jpg
|
||||||
|
|||||||
@@ -328,14 +328,14 @@ public class CombatUtil {
|
|||||||
&& !blocker.isRed()) return false;
|
&& !blocker.isRed()) return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(attacker.getName().equals("Manta Ray")) {
|
|
||||||
if(!blocker.isBlue()) return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(attacker.getKeyword().contains("CARDNAME can't be blocked except by black creatures.")) {
|
if(attacker.getKeyword().contains("CARDNAME can't be blocked except by black creatures.")) {
|
||||||
if(!blocker.isBlack())return false;
|
if(!blocker.isBlack())return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(attacker.getKeyword().contains("CARDNAME can't be blocked except by blue creatures.")) {
|
||||||
|
if(!blocker.isBlue())return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (attacker.getKeyword().contains("CARDNAME can't be blocked by Walls.") && blocker.isType("Wall")) return false;
|
if (attacker.getKeyword().contains("CARDNAME can't be blocked by Walls.") && blocker.isType("Wall")) return false;
|
||||||
|
|
||||||
if (attacker.getKeyword().contains("CARDNAME can't be blocked except by Walls.") && !blocker.isType("Wall")) return false;
|
if (attacker.getKeyword().contains("CARDNAME can't be blocked except by Walls.") && !blocker.isType("Wall")) return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user