Skip to content

Conversation

@tooomm
Copy link
Contributor

@tooomm tooomm commented Feb 23, 2021

It looks like Cockatrice always preselects a value of "1" in the Create x tokens dialog, even if "x=0" is set in the token file.

This PR removes all 7 occurrences of <reverse-related count="x=0">.

@Psithief
Copy link
Contributor

Cockatrice used to give a zero option, why did it change?

@tooomm
Copy link
Contributor Author

tooomm commented Feb 24, 2021

Honestly, I can not tell if it used to be different.
But retested and confirmed the behavior again with Client Version: 2.8.1-custom(efc3f98) (2021-02-09), latest token.xml file and Scute Swarm.
The dialog doesn't allow you to enter "0" at all, it jumps right back to "1". Might be a Qt thing as well?

Maybe @ebbit1q has a clue?

@ebbit1q
Copy link
Member

ebbit1q commented Feb 24, 2021

Honestly, I can not tell if it used to be different.
But retested and confirmed the behavior again with Client Version: 2.8.1-custom(efc3f98) (2021-02-09), latest token.xml file and Scute Swarm.
The dialog doesn't allow you to enter "0" at all, it jumps right back to "1". Might be a Qt thing as well?

Maybe @ebbit1q has a clue?

making 0 tokens is the same as doing nothing, it doesn't makes sense to allow people to choose x=0 so we intentionally set the dialog to have a range 1-99

also testing scute swarm, why does it have two entries?

@tooomm
Copy link
Contributor Author

tooomm commented Feb 25, 2021

making 0 tokens is the same as doing nothing, it doesn't makes sense to allow people to choose x=0 so we intentionally set the dialog to have a range 1-99

👍
I can not tell if that used to be different as Psi is recalling, but it makes sense that it works like that now.

Removed the non-x entry for Scute Swarm. The vast majority will be x=1 though.
All other x=0 cases look ok. One could argue Swarm Shambler is not really an X case and there are only very few spells that target more than one and the targets all need to have counters too...

@Psithief
Copy link
Contributor

Psithief commented Feb 26, 2021

The reason I used x=0 was to reduce input error for some cards. It wasn't used consistently. Now the feature is removed that's no longer possible.

The extra entry for Scute Swarm is intentional. 99% of the time, the player is only putting one land onto the battlefield at a time, but there are effects that will put multiple lands into play at once. This means that the default "All Tokens" keyboard shortcut creates one insect, but the player can use the context menu if they have six or more lands the trigger happens multiple times.

Whether that's a useful 'feature', well, I haven't questioned the player base to find out.

There are many examples of extra entries in the file and a pull request should only be addressing one issue, so please remove the line deletion. If it's going to change, then all of them must change.

@Psithief Psithief self-assigned this Feb 26, 2021
@tooomm
Copy link
Contributor Author

tooomm commented Feb 27, 2021

Got your point. 👍

Ours was that the single x case covers all cases while still defaulting to the most needed x=1 case. Additionally the tokens.xml file and right click options in the UI would be more lightweight with no substantial drawback, but sure. The default shortcut still works correctly in both cases.

but the player can use the context menu if they have six or more lands.

Note that if they have 6 or more lands, they create no more Insect tokens, but tokens that are copies of Scute Swarm itself. So the token creation doesn't help here at all, they need to use the copy feature anyway.


There are many examples of extra entries in the file and a pull request should only be addressing one issue, so please remove the line deletion. If it's going to change, then all of them must change.

👌
Created #102 to track this.

@Psithief
Copy link
Contributor

Sorry, I was sure I'd made a mistake after I wrote that.

I meant to say they can use the context menu if an effect brought several lands into play at once. However I agree that's a bit unnecessary for Scute Swarm most of the time, as there's unlikely to be many effects that do that before there are six lands on that player's side of the battlefield.

@ebbit1q
Copy link
Member

ebbit1q commented Feb 5, 2022

I updated the pr but it's still saying it has conflicts

@ebbit1q ebbit1q merged commit b44a2bd into master Feb 5, 2022
@ebbit1q ebbit1q deleted the tooomm-x0 branch February 5, 2022 22:55
@ebbit1q
Copy link
Member

ebbit1q commented Feb 5, 2022

making an empty commit fixed it...

@tooomm tooomm mentioned this pull request Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants