-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft Matters - How many cards you've drafted this round #5203
Conversation
d84c3a1
to
65bb5a1
Compare
forge-gui-desktop/src/main/java/forge/screens/deckeditor/views/VEditorLog.java
Outdated
Show resolved
Hide resolved
forge-gui-desktop/src/main/java/forge/screens/deckeditor/views/VEditorLog.java
Show resolved
Hide resolved
forge-gui/src/main/java/forge/gamemodes/limited/LimitedPlayer.java
Outdated
Show resolved
Hide resolved
47e02db
to
8f7ff3d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a Conspiracy Draft and ended up with a Deck that had:
DraftNotes=Lurking Automaton:1, 2, 6, 7
Tried to play a game to cast this card and got this:
Game-0 > java.lang.NumberFormatException: For input string: " 2"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:68)
at java.base/java.lang.Integer.parseInt(Integer.java:638)
at java.base/java.lang.Integer.parseInt(Integer.java:770)
at forge.game.ability.AbilityUtils.xCount(AbilityUtils.java:2366)
at forge.game.ability.AbilityUtils.calculateAmount(AbilityUtils.java:483)
at forge.game.ability.AbilityUtils.calculateAmount(AbilityUtils.java:402)
at forge.game.ability.effects.CountersPutEffect.resolve(CountersPutEffect.java:589)
at forge.game.spellability.AbilitySub.resolve(AbilitySub.java:105)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1386)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1354)
at forge.player.HumanPlaySpellAbility.playAbility(HumanPlaySpellAbility.java:212)
at forge.player.HumanPlay.playSpellAbilityNoStack(HumanPlay.java:184)
at forge.player.PlayerControllerHuman.playSpellAbilityNoStack(PlayerControllerHuman.java:315)
at forge.game.replacement.ReplacementHandler.executeReplacement(ReplacementHandler.java:367)
at forge.game.replacement.ReplacementHandler.run(ReplacementHandler.java:226)
at forge.game.replacement.ReplacementHandler.run(ReplacementHandler.java:197)
at forge.game.GameAction.changeZone(GameAction.java:341)
at forge.game.GameAction.moveTo(GameAction.java:777)
at forge.game.GameAction.moveTo(GameAction.java:737)
at forge.game.GameAction.moveToPlay(GameAction.java:870)
at forge.game.ability.effects.PermanentEffect.resolve(PermanentEffect.java:36)
at forge.game.ability.SpellApiBased.resolve(SpellApiBased.java:51)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1386)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1354)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:591)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1126)
at forge.game.GameAction.startGame(GameAction.java:2107)
at forge.game.Match.startGame(Match.java:90)
at forge.gamemodes.match.HostedMatch$2.run(HostedMatch.java:274)
forge-gui/src/main/java/forge/gamemodes/limited/LimitedPlayer.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.