I really, and I mean really like it when I explicitly tell the code to only generate cards with the HonkaiBeast tag and it decides to just, not do that.
This code works for other cards.
Like I am at a complete and utter loss here.
No errors. No mistypes anywhere. Identical code that works for other cards.
I genuinely have no idea what's wrong.
I get the Owner of the card, I get the card pool of all unlocked cards where the CardTag is "HonkaiBeast", I get 1 of them, and I run the RNG seed to get random ones.
Everything in this works except for the CardTag filter. It gives me a random card, it just gives me a completely random tag out of all my unlocked cards. NOT a random HonkaiBeast card.
The exact same CardTag filter works in another card;
And that exact same CardTag filter works for this potion;
Genuinely, I am at such a loss that the only solution I am able to think of is to just scrap this card and make something else??
(Everything grayed out can be removed, I just copy pasted some of the decompiled code and haven't gotten around to cleaning it up yet)
But like, the card works. I used it. It created a random card. No issues there.
It just doesnt follow the filter of cards having the HonkaiBeast tag or not.
And I genuinely have no idea why.