The other day I made a question about the card game script where I asked if I could search for values between 2 values.
And a very skilled user managed to create an addon for the script to achiev that. Now I'm wondering, in that same script, is it possible to use an "exception"? As far as I know, in ruby if you use "!" you're telling the code that it has to except that value, but looks like this script can't handle that, so I think I could create a line in the addon given to make the exception avalible too.
For this example, I have a card that can shuffle ANY 5 cards in the Graveyard back to the deck except ITSELF.
So I used this impact method:
"jaravarice" => [:take, 0, :grave, :grave, [0,0,0,0,0,0,0,0,0,0,!4], :deck, 5],
If the card is marked with the tag "special: 4" it will be the only valid target to shuffle if it doesn't have the "!", so I want to make the opposite, and make ANY card valid to target EXCEPT the one with that special tag 4.
And a very skilled user managed to create an addon for the script to achiev that. Now I'm wondering, in that same script, is it possible to use an "exception"? As far as I know, in ruby if you use "!" you're telling the code that it has to except that value, but looks like this script can't handle that, so I think I could create a line in the addon given to make the exception avalible too.
For this example, I have a card that can shuffle ANY 5 cards in the Graveyard back to the deck except ITSELF.
So I used this impact method:
"jaravarice" => [:take, 0, :grave, :grave, [0,0,0,0,0,0,0,0,0,0,!4], :deck, 5],
If the card is marked with the tag "special: 4" it will be the only valid target to shuffle if it doesn't have the "!", so I want to make the opposite, and make ANY card valid to target EXCEPT the one with that special tag 4.