News:

A forum for users of LackeyCCG

Main Menu

Another Packs Question

Started by Shadow_BRIGHT, December 01, 2009, 04:36:01 PM

Previous topic - Next topic

Shadow_BRIGHT

Okay, sorry once again for asking a question, but I am making a plugin that requires a Starter Deck containing all cards in the set to appear once each.
So is there a way to make all cards in the set appear once 100% of the time? If so, please post the code.

Thank you in advance :D

Alastair

Here's an example of one of the starter decks in the Doctor Who plugin.

PACKNAME: "Basic Set Cyberman Starter Deck"
IMAGENAME: "starterfront2"
45
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Earth (November 1963)"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Earth (2526)"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Sector 16 (2526)"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "TARDIS - Type 40 Time Machine"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Alien Invasion"
2 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Destroy Unity"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Hijack Ship"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "The Doctor - Would-Be Executioner"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Turlough - Foolish Spy"
2 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Cyber Leader - Flippant Invander"
4 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Cyber Soldier - Personal Guard"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Professor Kyle - Paleontologist"
3 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Sgt. Mitchell - Trooper"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Jelly Babies"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Rocketship"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Aim for the Eyepiece"
2 ALLOWDOUBLES 2 Set IS "Basic" Name IS "At Gunpoint"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Corridors"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Creating a Dilemma"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Cyber Conversion"
3 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Cyberman Army"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Fiendish Strategy"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Hallucinations"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Heavy Decisions"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Lateral Thinking"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Mechanical Determination"
2 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Send in the Troops"
2 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Time-Space Tunnel"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Back Off"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Invulnerable to our Weapons"
2 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Serendipity"
2 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Well Hidden"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Lt. Scott - Butch Military Man"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Sgt. Walters - Scanner Technician"
2 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Android - Programmed Guard"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Cyber Engineer - Thermal Lancer"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Cyber Lieutenant - Yes Man"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Break Conditioning"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Interfering with our Plans"
2 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Lost Expedition"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Radio Beacon"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Under Wraps"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Ventilation Shaft"
1 ALLOWDOUBLES 2 Set IS "Basic" Name IS "Misjump"
3 ALLOWDOUBLES 2 Set IS "Basic" Rarity IS "R"

Shadow_BRIGHT

Whoa... That's long. But I guess I can make one like that.

Thanks again.