Merge pull request #4082 from tool4ever/raptor

Support for Blue, Loyal Raptor
This commit is contained in:
kevlahnota
2023-11-02 19:37:48 +08:00
committed by GitHub
3 changed files with 14 additions and 3 deletions

View File

@@ -433,12 +433,21 @@ public class CountersPutEffect extends SpellAbilityEffect {
for (Card c : AbilityUtils.getDefinedCards(card, sa.getParam("EachFromSource"), sa)) { for (Card c : AbilityUtils.getDefinedCards(card, sa.getParam("EachFromSource"), sa)) {
for (Entry<CounterType, Integer> cti : c.getCounters().entrySet()) { for (Entry<CounterType, Integer> cti : c.getCounters().entrySet()) {
if (gameCard != null) { if (gameCard != null) {
gameCard.addCounter(cti.getKey(), cti.getValue(), placer, table); if (!sa.hasParam("CounterNum")) {
// default is all
counterAmount = cti.getValue();
}
if (etbcounter) {
gameCard.addEtbCounter(cti.getKey(), counterAmount, placer);
} else {
gameCard.addCounter(cti.getKey(), counterAmount, placer, table);
}
} }
} }
} }
continue; continue;
} }
if (sa.hasParam("CounterTypePerDefined") || sa.hasParam("UniqueType")) { if (sa.hasParam("CounterTypePerDefined") || sa.hasParam("UniqueType")) {
counterType = chooseTypeFromList(sa, sa.getParam("CounterType"), obj, pc); counterType = chooseTypeFromList(sa, sa.getParam("CounterType"), obj, pc);
if (counterType == null) continue; if (counterType == null) continue;

View File

@@ -1,7 +1,8 @@
Name:Fires of Invention Name:Fires of Invention
ManaCost:3 R ManaCost:3 R
Types:Enchantment Types:Enchantment
S:Mode$ CantBeCast | Caster$ You.NonActive | NumLimitEachTurn$ 2 | Description$ You can cast spells only during your turn and you can cast no more than two spells each turn. S:Mode$ CantBeCast | Caster$ You.NonActive | Description$ You can cast spells only during your turn and you can cast no more than two spells each turn.
S:Mode$ CantBeCast | NumLimitEachTurn$ 2 | Caster$ You | Secondary$ True | Description$ You can cast spells only during your turn and you can cast no more than two spells each turn.
S:Mode$ Continuous | Affected$ Card.nonLand+cmcLEX | MayPlay$ True | MayPlayWithoutManaCost$ True | AffectedZone$ Hand,Graveyard,Exile,Command,Library | MayPlayDontGrantZonePermissions$ True | Description$ You may cast spells with mana value less than or equal to the number of lands you control without paying their mana costs. S:Mode$ Continuous | Affected$ Card.nonLand+cmcLEX | MayPlay$ True | MayPlayWithoutManaCost$ True | AffectedZone$ Hand,Graveyard,Exile,Command,Library | MayPlayDontGrantZonePermissions$ True | Description$ You may cast spells with mana value less than or equal to the number of lands you control without paying their mana costs.
SVar:X:Count$Valid Land.YouCtrl SVar:X:Count$Valid Land.YouCtrl
AI:RemoveDeck:Random AI:RemoveDeck:Random

View File

@@ -1,7 +1,8 @@
Name:A-Fires of Invention Name:A-Fires of Invention
ManaCost:4 R ManaCost:4 R
Types:Enchantment Types:Enchantment
S:Mode$ CantBeCast | Caster$ You.NonActive | NumLimitEachTurn$ 2 | Description$ You can cast spells only during your turn and you can cast no more than two spells each turn. S:Mode$ CantBeCast | Caster$ You.NonActive | Description$ You can cast spells only during your turn and you can cast no more than two spells each turn.
S:Mode$ CantBeCast | NumLimitEachTurn$ 2 | Caster$ You | Secondary$ True | Description$ You can cast spells only during your turn and you can cast no more than two spells each turn.
S:Mode$ Continuous | Affected$ Card.nonLand+cmcLEX | MayPlay$ True | MayPlayWithoutManaCost$ True | AffectedZone$ Hand,Graveyard,Exile,Command,Library | MayPlayDontGrantZonePermissions$ True | Description$ You may cast spells with mana value less than or equal to the number of lands you control without paying their mana costs. S:Mode$ Continuous | Affected$ Card.nonLand+cmcLEX | MayPlay$ True | MayPlayWithoutManaCost$ True | AffectedZone$ Hand,Graveyard,Exile,Command,Library | MayPlayDontGrantZonePermissions$ True | Description$ You may cast spells with mana value less than or equal to the number of lands you control without paying their mana costs.
SVar:X:Count$Valid Land.YouCtrl SVar:X:Count$Valid Land.YouCtrl
AI:RemoveDeck:Random AI:RemoveDeck:Random