Vraska, the Silencer on a manifested sorcery
- Dominant language
- Java
- Stars
- 2.7k
- Forks
- 1.1k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 158
Description
**Describe the bug**
A sorcery was manifested face down as a 2/2 creature and it died while Vraska, the Silencer was in play. I paid to have the sorcery-creature returned to play under my control as a treasure and the game locked.
**To Reproduce**
Steps to reproduce the behavior:
1 Have Vraska, the Silencer in play
2 Have a sorcery manifested face down as a 2/2 creature.
3 Kill the 2/2
4 pay 1 to return it to play.
**Expected behavior**
I'm not sure if it should be able to return a sorcery or not.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
Windows 10
**Additional context**
Adding Vraska, the Silencer (16): Whenever a nontoken creature an opponent controls dies, you may pay {1}. If you do, return that card to the battlefield tapped under your control. It's a Treasure artifact with "{T}, Sacrifice this artifact: Add one mana of any color," and it loses all other card types. [Zone Changer: Face-down card (H0)] to stack
Game-6 > java.lang.IndexOutOfBoundsException: Index: 9, Size: 7
at java.base/java.util.ArrayList.rangeCheckForAdd(ArrayList.java:756)
at java.base/java.util.ArrayList.add(ArrayList.java:481)
at forge.util.collect.FCollection.insert(FCollection.java:431)
at forge.util.collect.FCollection.add(FCollection.java:417)
at forge.game.zone.Zone.add(Zone.java:139)
at forge.game.zone.Zone.add(Zone.java:89)
at forge.game.zone.Zone.add(Zone.java:86)
at forge.game.GameSnapshot.copyGameState(GameSnapshot.java:321)
at forge.game.GameSnapshot.assignGameState(GameSnapshot.java:79)
at forge.game.GameSnapshot.makeCopy(GameSnapshot.java:52)
at forge.game.GameSnapshot.makeCopy(GameSnapshot.java:38)
at forge.game.Game.stashGameState(Game.java:195)
at forge.game.phase.PhaseHandler.mainLoopStep(PhaseHandler.java:1058)
at forge.game.phase.PhaseHandler.mainGameLoop(PhaseHandler.java:1039)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1033)
at forge.game.GameAction.startGame(GameAction.java:2333)
at forge.game.Match.startGame(Match.java:91)
at forge.gamemodes.match.HostedMatch.lambda$startGame$1(HostedMatch.java:259)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Contributor guide
Assessment
This issue has not been assessed yet.