mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Gorm the Great and support
This commit is contained in:
@@ -831,7 +831,9 @@ public class CombatUtil {
|
|||||||
for (final Card attacker : attackers) {
|
for (final Card attacker : attackers) {
|
||||||
if (attacker.hasStartOfKeyword("All creatures able to block CARDNAME do so.")
|
if (attacker.hasStartOfKeyword("All creatures able to block CARDNAME do so.")
|
||||||
|| (attacker.hasStartOfKeyword("CARDNAME must be blocked if able.")
|
|| (attacker.hasStartOfKeyword("CARDNAME must be blocked if able.")
|
||||||
&& combat.getBlockers(attacker).isEmpty())) {
|
&& combat.getBlockers(attacker).isEmpty())
|
||||||
|
|| (attacker.hasStartOfKeyword("CARDNAME must be blocked by two or more creatures if able.")
|
||||||
|
&& combat.getBlockers(attacker).size() < 2)) {
|
||||||
attackersWithLure.add(attacker);
|
attackersWithLure.add(attacker);
|
||||||
} else {
|
} else {
|
||||||
for (KeywordInterface inst : attacker.getKeywords()) {
|
for (KeywordInterface inst : attacker.getKeywords()) {
|
||||||
@@ -980,6 +982,7 @@ public class CombatUtil {
|
|||||||
// attacker with lure, the blocker can't block the former
|
// attacker with lure, the blocker can't block the former
|
||||||
if (!attacker.hasKeyword("All creatures able to block CARDNAME do so.")
|
if (!attacker.hasKeyword("All creatures able to block CARDNAME do so.")
|
||||||
&& !(attacker.hasKeyword("CARDNAME must be blocked if able.") && combat.getBlockers(attacker).isEmpty())
|
&& !(attacker.hasKeyword("CARDNAME must be blocked if able.") && combat.getBlockers(attacker).isEmpty())
|
||||||
|
&& !(attacker.hasKeyword("CARDNAME must be blocked by two or more creatures if able.") && combat.getBlockers(attacker).size() < 2)
|
||||||
&& !(blocker.getMustBlockCards() != null && blocker.getMustBlockCards().contains(attacker))
|
&& !(blocker.getMustBlockCards() != null && blocker.getMustBlockCards().contains(attacker))
|
||||||
&& !mustBeBlockedBy
|
&& !mustBeBlockedBy
|
||||||
&& CombatUtil.mustBlockAnAttacker(blocker, combat)) {
|
&& CombatUtil.mustBlockAnAttacker(blocker, combat)) {
|
||||||
|
|||||||
9
forge-gui/res/cardsfolder/g/gorm_the_great.txt
Normal file
9
forge-gui/res/cardsfolder/g/gorm_the_great.txt
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
Name:Gorm the Great
|
||||||
|
ManaCost:3 G
|
||||||
|
Types:Legendary Creature Giant Warrior
|
||||||
|
PT:2/7
|
||||||
|
K:Partner:Virtus the Veiled
|
||||||
|
K:Vigilance
|
||||||
|
K:CARDNAME must be blocked if able.
|
||||||
|
K:CARDNAME must be blocked by two or more creatures if able.
|
||||||
|
Oracle:Partner with Virtus the Veiled (When this creature enters the battlefield, target player may put Virtus into their hand from their library, then shuffle.)\nVigilance\nGorm the Great must be blocked if able, and Gorm must be blocked by two or more creatures if able.
|
||||||
Reference in New Issue
Block a user