mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
NEC: Kaima, the Fractured Calm and support
This commit is contained in:
committed by
Michael Kamensky
parent
8c126e3fa4
commit
95d8faf41d
@@ -15,6 +15,7 @@ public class GoadEffect extends SpellAbilityEffect {
|
|||||||
final Player player = sa.getActivatingPlayer();
|
final Player player = sa.getActivatingPlayer();
|
||||||
final Game game = player.getGame();
|
final Game game = player.getGame();
|
||||||
final long timestamp = game.getNextTimestamp();
|
final long timestamp = game.getNextTimestamp();
|
||||||
|
final boolean remember = sa.hasParam("RememberGoaded");
|
||||||
|
|
||||||
for (final Card tgtC : getDefinedCardsOrTargeted(sa)) {
|
for (final Card tgtC : getDefinedCardsOrTargeted(sa)) {
|
||||||
// only pump things in PumpZone
|
// only pump things in PumpZone
|
||||||
@@ -40,6 +41,10 @@ public class GoadEffect extends SpellAbilityEffect {
|
|||||||
};
|
};
|
||||||
|
|
||||||
game.getCleanup().addUntil(player, untilEOT);
|
game.getCleanup().addUntil(player, untilEOT);
|
||||||
|
|
||||||
|
if (remember && tgtC.isGoaded()) {
|
||||||
|
sa.getHostCard().addRemembered(tgtC);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
Name:Kaima, the Fractured Calm
|
||||||
|
ManaCost:2 R G
|
||||||
|
Types:Legendary Creature Spirit
|
||||||
|
PT:3/3
|
||||||
|
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGoad | TriggerDescription$ At the beginning of your end step, goad each creature your opponents control that's enchanted by an Aura you control. Put a +1/+1 counter on CARDNAME for each creature goaded this way. (Until your next turn, the goaded creatures attack each combat if able and attack a player other than you if able.)
|
||||||
|
SVar:TrigGoad:DB$ Goad | Defined$ Valid Creature.OppCtrl+EnchantedBy Aura.YouCtrl | RememberGoaded$ True | SubAbility$ DBPutCounter
|
||||||
|
SVar:DBPutCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBCleanup
|
||||||
|
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||||
|
SVar:X:Remembered$Amount
|
||||||
|
DeckHas:Ability$Counters
|
||||||
|
DeckHints:Type$Enchantment
|
||||||
|
Oracle:At the beginning of your end step, goad each creature your opponents control that's enchanted by an Aura you control. Put a +1/+1 counter on Kaima, the Fractured Calm for each creature goaded this way. (Until your next turn, the goaded creatures attack each combat if able and attack a player other than you if able.)
|
||||||
Reference in New Issue
Block a user