mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Merge branch 'nacatl' into 'master'
Nacatl War-Pride and support See merge request core-developers/forge!4572
This commit is contained in:
@@ -840,6 +840,8 @@ public class CombatUtil {
|
||||
if (attacker.hasStartOfKeyword("All creatures able to block CARDNAME do so.")
|
||||
|| (attacker.hasStartOfKeyword("CARDNAME must be blocked if able.")
|
||||
&& combat.getBlockers(attacker).isEmpty())
|
||||
|| (attacker.hasStartOfKeyword("CARDNAME must be blocked by exactly one creature if able.")
|
||||
&& combat.getBlockers(attacker).size() != 1)
|
||||
|| (attacker.hasStartOfKeyword("CARDNAME must be blocked by two or more creatures if able.")
|
||||
&& combat.getBlockers(attacker).size() < 2)) {
|
||||
attackersWithLure.add(attacker);
|
||||
@@ -990,6 +992,7 @@ public class CombatUtil {
|
||||
// attacker with lure, the blocker can't block the former
|
||||
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 by exactly one creature if able.") && combat.getBlockers(attacker).size() != 1)
|
||||
&& !(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))
|
||||
&& !mustBeBlockedBy
|
||||
|
||||
11
forge-gui/res/cardsfolder/n/nacatl_war_pride.txt
Normal file
11
forge-gui/res/cardsfolder/n/nacatl_war_pride.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Name:Nacatl War-Pride
|
||||
ManaCost:3 G G G
|
||||
Types:Creature Cat Warrior
|
||||
PT:3/3
|
||||
K:CARDNAME must be blocked by exactly one creature if able.
|
||||
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigCopyPermanent | TriggerDescription$ Whenever CARDNAME attacks, create X tokens that are copies of CARDNAME and that are tapped and attacking, where X is the number of creatures defending player controls. Exile the tokens at the beginning of the next end step.
|
||||
SVar:TrigCopyPermanent:DB$ CopyPermanent | Defined$ TriggeredAttacker | NumCopies$ X | TokenTapped$ True | TokenAttacking$ True | AtEOT$ Exile
|
||||
SVar:X:Count$Valid Creature.DefenderCtrl
|
||||
SVar:HasAttackEffect:TRUE
|
||||
DeckHas:Ability$Token
|
||||
Oracle:Nacatl War-Pride must be blocked by exactly one creature if able.\nWhenever Nacatl War-Pride attacks, create X tokens that are copies of Nacatl War-Pride and that are tapped and attacking, where X is the number of creatures defending player controls. Exile the tokens at the beginning of the next end step.
|
||||
Reference in New Issue
Block a user