(WIP) [SNC] Implemented Ob Nixilis, the Adversary (#8838)

* [SNC] Implemented Ob Nixilis, the Adversary

* Allow starting loyalty to be changed on the stack

Co-authored-by: Evan Kranzler <theelk801@gmail.com>
This commit is contained in:
Daniel Bomar 2022-04-18 21:04:51 -05:00 committed by GitHub
parent bf70d0b675
commit d745141b7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 233 additions and 1 deletions

View file

@ -109,6 +109,8 @@ public class CopyTokenFunction implements Function<Token, Card> {
if (spell != null) {
// copied spell puts to battlefield as token, so that token's ZCC must be synced with spell instead card (card can be moved before resolve)
target.setZoneChangeCounter(spell.getZoneChangeCounter(game), game);
// Copy starting loyalty from spell (Ob Nixilis, the Adversary)
target.setStartingLoyalty(spell.getStartingLoyalty());
} else {
target.setZoneChangeCounter(source.getZoneChangeCounter(game), game);
}