mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +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_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
|
||||
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
|
||||
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
|
||||
|
||||
@@ -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
|
||||
U U
|
||||
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 and/or creatures with flying.") &&
|
||||
!(blocker.getType().contains("Wall") || blocker.getKeyword().contains("Flying"))) return false;
|
||||
|
||||
return true;
|
||||
}//canBlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user