mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Make the AI account for static abilities granted from the evaluated card in ApplyStaticContPT
This commit is contained in:
@@ -1616,6 +1616,7 @@ public class ComputerUtilCard {
|
||||
if (exclude != null) {
|
||||
list.removeAll(exclude);
|
||||
}
|
||||
list.add(vCard); // account for the static abilities that may be present on the card itself
|
||||
for (final Card c : list) {
|
||||
for (final StaticAbility stAb : c.getStaticAbilities()) {
|
||||
final Map<String, String> params = stAb.getMapParams();
|
||||
|
||||
@@ -7,6 +7,7 @@ SVar:DBChangeZoneII:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | Val
|
||||
SVar:DBEffect:DB$ Effect | Name$ The Mirari Conjecture Effect | Triggers$ InstantSorceryCast | SVars$ TrigCopySpell | SpellDescription$ Until end of turn, whenever you cast an instant or sorcery spell, copy it. You may choose new targets for the copy.
|
||||
SVar:InstantSorceryCast:Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | Execute$ TrigCopySpell | TriggerZones$ Command | TriggerDescription$ Until end of turn, whenever you cast an instant or sorcery spell, copy it. You may choose new targets for the copy.
|
||||
SVar:TrigCopySpell:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility
|
||||
SVar:NeedsToPlay:Instant.YouCtrl+inZoneGraveyard,Sorcery.YouCtrl+inZoneGraveyard
|
||||
SVar:NeedsToPlayVar:Z GE1
|
||||
SVar:Z:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn
|
||||
DeckHints:Type$Instant|Sorcery
|
||||
Oracle:(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)\nI — Return target instant card from your graveyard to your hand.\nII — Return target sorcery card from your graveyard to your hand.\nIII — Until end of turn, whenever you cast an instant or sorcery spell, copy it. You may choose new targets for the copy.
|
||||
|
||||
Reference in New Issue
Block a user