wordbots / wordbots-core

Client-side code for Wordbots, the card game where YOU make the cards.
http://wordbots.io
MIT License
22 stars 4 forks source link

"until end of turn" Issue #1892

Open Zergla opened 6 months ago

Zergla commented 6 months ago

Related to https://github.com/wordbots/wordbots-core/issues/1891 It seems, until end of turn mean until end of your turn, which make At the start of your opponent turn, action X, until end of turn (or end of next turn) useless. I believe it to be because "Start of opponent turn" is "End of your turn", so since your turn end just after the effect takes place, Action X start then immediately end. Also, until seem to only accept "End of turn" or "End of next turn" (Which, I checked, are identical), because it needs a duration ((S|S)|NP). λ (d: Duration → λ (a: Action → Until(d, a))) And, I believe,"End of turn" it's the only existing duration (thesaurus has nothing on them). It seems kinda pointless to have a function where an argument can only have one unique value, so I would recommend making the following possible:

Zergla commented 6 months ago

Also, maybe "can't move", "can't activate" and the like could be valid things to put before "until" (right now you can somewhat do this by putting speed or attack to zero, but activate is unblockable).