News:

A forum for users of LackeyCCG

Main Menu

Eval "among others"

Started by ThatGuy, September 04, 2025, 12:36:57 PM

Previous topic - Next topic

ThatGuy

Has anyone ever gotten an inclusive list of valid eval terms?

I am working on a plugin where booster packs have drop rates per position in the package is
  • card1 common
  • card2 common
  • card3 uncommon, rare
  • card4 rare, ultra
Etc
I don't need them to be in this order. But I am trying to work out a way that A has chances for the distribution I want and B offers small odds that cards might be foil.

I can probably work out the GREATERTHAN to do it. But I would really like to consider all my options.

Thank you for the help!

ThatGuy

Using a Combination of CONTAINS and GREATERTHAN, I think I can get close by adding some extra columns, that should let me define which cards are available for selection:

Foil Rarity Num Odds Card
0C1541267
0U286346
1U290346
0R388345
1R392345
0Sr4945
1Sr4965

Odds GREATERTHAN #
Card CONTAINS #


I haven't tested this yet, but my guess is it might work.