The problem here is the specific wording on the card. It requires you to pick 2 cards, one of them must be a "Sylvan" card, while the other one can be any card. If you have to select multiple cards, that don't have different conditions, cancelling the selection is not a problem, since you select both cards at once, in a single function call scripting-wise. Charity is different, since the available selection of the 2nd card might be different, it can change dynamically based on the first card you pick. They have to be handled in 2 different function calls, because there is no way to dynamically adjust a single selection based on the first card selected currently.
With the functions currently available in YGOPro, this cannot be done just the way you described. An alternative way I could see for coding this would be allowing 2 targets to be selected at once, then check, if the selection was valid, and force another selection, if it was not. This would allow cancelling, but would be a pretty poor workaround and probably cause more problems and annoyances in the process. I personally would prefer the current method over that.
So no, this cannot be done in a better way at the moment, until YGOPro's core functions add support for this feature. And I don't think, the devs are going to commit any resources on this very specific and in the greater context fairly irrelevant issue.
.
Edited by user
2015-01-07T17:23:43Z
|
Reason: Not specified