So, this beutiful script change the battle system for a card game, where skills are turned to cards.
One of the function of this script is creating special tags, and giving and ID value to every tag. Then you can use these tags and values in a skill to create effects that move cards from zone to zone (hand, deck, grave, banish, etc) based on these values.
Now, when you create an effect, you can declare what the ID of each tag you want to search for.
For example:
This effect make that you have to take 2 cards from your hand that has the Tag ID 4 and 3, and shuffle them back in the deck.
With this known, my question is:
Is there some way to tell these effect that they can pick a value ID that is between some value ID?
In my case, I want to achiev it with the tag "Level". (Which is the 5th 0).
I tried giving it a ".." to tell the value is between, but this only return me the first value.
For example if I use:
It doesn't search any card, even if it's level is between or even 1 or 6.
Then I tried this:
Funny, it search for a level 6, but ignore the 1 and the rest of levels. Just 6.
Then I tried:
And this searched for level 1 but not the rest...
That said, I'm mostly sure there SHOULD be a method to tell that I want to search in the IDs in between, but I can't find the way to ask it in the code.
Thanks in advance to whoever who discover it!
One of the function of this script is creating special tags, and giving and ID value to every tag. Then you can use these tags and values in a skill to create effects that move cards from zone to zone (hand, deck, grave, banish, etc) based on these values.
Now, when you create an effect, you can declare what the ID of each tag you want to search for.
For example:
Ruby:
"moray" => [:take, 0, :hand, :hand, [4,3,0,0,0,0,0,0,0], :deck, 2],
With this known, my question is:
Is there some way to tell these effect that they can pick a value ID that is between some value ID?
In my case, I want to achiev it with the tag "Level". (Which is the 5th 0).
I tried giving it a ".." to tell the value is between, but this only return me the first value.
For example if I use:
Ruby:
"fossildig" => [:takem, 0, :deck, :deck, [0,0,0,9,1..6,0,0,0,0], :hand, 1],
Then I tried this:
Ruby:
"fossildig" => [:takem, 0, :deck, :deck, [0,0,0,9,1 && 6,0,0,0,0], :hand, 1],
Then I tried:
Ruby:
"fossildig" => [:takem, 0, :deck, :deck, [0,0,0,9,1 || 6,0,0,0,0], :hand, 1],
That said, I'm mostly sure there SHOULD be a method to tell that I want to search in the IDs in between, but I can't find the way to ask it in the code.
Thanks in advance to whoever who discover it!