Hello, me again with another script issue.
I was breaking my head for 2 days in a row with this. In a script I'm trying to edit, I can't figure out how to create the next script call.
This is the original script call that work perfectly:
This return me if the card with a certain ID is in the deck of my actor.
Now, the problem is that I tried to make another similar script call and I though it would be easy, but is not...
(This is just an example, I know the * 2 won't return me the amount of that card)
I want to create the almost exact script call but instead to return me if there's any copy of the card with that ID, I need to return me if there's 2 or more with the same id. I read a lot of articles of ruby code, but can't figure out how to separate the "ID" and the "object quantity". I can't find a way to ask by code how many copies of something with the same ID I have in the deck. I'm really struggling with this one. Thanks in advance to whoever hero who can help me out with this!