mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18: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:
@@ -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