Make the AI account for static abilities granted from the evaluated card in ApplyStaticContPT

This commit is contained in:
Michael Kamensky
2018-11-04 09:12:59 +00:00
parent 36fd068f93
commit d870a1b0f1
2 changed files with 3 additions and 1 deletions

View File

@@ -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();

View File

@@ -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.