Fix Adventures exiling themselves before applying their effects (#10793)

* Rework adventures to exiles themself after applying other effects

* fix duelist

* finalize all adventures

* apply review

* add card name to error

* fix remaining adventures

* finalize the last adventures.
This commit is contained in:
Susucre 2023-08-31 01:15:47 +02:00 committed by GitHub
parent 3ed0dd4f84
commit fe165f1fd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
108 changed files with 322 additions and 18 deletions

View file

@ -26,6 +26,10 @@ public abstract class AdventureCard extends CardImpl {
this.spellCard = new AdventureCardSpellImpl(ownerId, setInfo, adventureName, typesSpell, costsSpell, this);
}
public void finalizeAdventure() {
spellCard.finalizeAdventure();
}
public AdventureCard(AdventureCard card) {
super(card);
this.spellCard = card.getSpellCard().copy();