mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Added the keyword "CARDNAME can't be blocked except by Walls and/or creatures with flying.". I also added Elven Riders via this keyword and it's LQ pic url.
This commit is contained in:
@@ -38,6 +38,7 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene
|
|||||||
snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg
|
snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg
|
||||||
snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
||||||
snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
||||||
|
elven_riders.jpg http://www.wizards.com/global/images/magic/general/elven_riders.jpg
|
||||||
invisibility.jpg http://www.wizards.com/global/images/magic/general/invisibility.jpg
|
invisibility.jpg http://www.wizards.com/global/images/magic/general/invisibility.jpg
|
||||||
bog_rats.jpg http://www.wizards.com/global/images/magic/general/bog_rats.jpg
|
bog_rats.jpg http://www.wizards.com/global/images/magic/general/bog_rats.jpg
|
||||||
rampart_crawler.jpg http://www.wizards.com/global/images/magic/general/rampart_crawler.jpg
|
rampart_crawler.jpg http://www.wizards.com/global/images/magic/general/rampart_crawler.jpg
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
Elven Riders
|
||||||
|
3 G G
|
||||||
|
Creature Elf
|
||||||
|
no text
|
||||||
|
3/3
|
||||||
|
CARDNAME can't be blocked except by Walls and/or creatures with flying.
|
||||||
|
|
||||||
Invisibility
|
Invisibility
|
||||||
U U
|
U U
|
||||||
Enchantment Aura
|
Enchantment Aura
|
||||||
|
|||||||
@@ -225,6 +225,9 @@ public class CombatUtil {
|
|||||||
|
|
||||||
if (attacker.getKeyword().contains("CARDNAME can't be blocked except by Walls.") && !blocker.getType().contains("Wall")) return false;
|
if (attacker.getKeyword().contains("CARDNAME can't be blocked except by Walls.") && !blocker.getType().contains("Wall")) return false;
|
||||||
|
|
||||||
|
if (attacker.getKeyword().contains("CARDNAME can't be blocked except by Walls and/or creatures with flying.") &&
|
||||||
|
!(blocker.getType().contains("Wall") || blocker.getKeyword().contains("Flying"))) return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}//canBlock()
|
}//canBlock()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user