Making a card undrawable
Is there some snippet of code you can add to a card to make it so you can't draw it in your starting hand or at all? Thanks in advance! 
High Quality Resources for Collectible Card Games
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=109&t=18257
While it would require having his campaign be a standalone that is plainly said to be incompatible with the official one, but couldn't he basically just replace the campaign decks and personalities with his own? He'd have a set number of decks to create, which might limit it a bit, unfortunately, but better than nothing, perhaps. (I mean replace the deck lists and images and stuff with identically named files.) Just a thought.RiiakShiNal wrote:You can't make a card undrawable, but there is still something you can do. You said that you put leyline effects on the card(s), well before you have them enter the battlefield you can check their current zone and if that zone is ZONE_HAND then force that player to draw a card to replace the leyline-like card. It makes sure that any card (other than a true leyline) that is put on the battlefield doesn't cause the player to start with fewer cards in hand than normal.
That is the easiest (and probably the best) solution. There are other more complex solutions to do what you are asking, but I can't really say they are better.
Creating saved encounters really isn't an option at this point because no-one has analyzed the saved game files and there could be additional checks. Also creating a new campaign (to host any created encounters) could cause issues with the existing campaigns since there aren't any free campaign slots.
He could replace the official campaign, but even then we don't yet understand how the encounter saves are set up so the idea of having a "save" where the AI starts with certain cards already on the battlefield is still out unless someone examines the saves and figures out how they work.Xander9009 wrote:While it would require having his campaign be a standalone that is plainly said to be incompatible with the official one, but couldn't he basically just replace the campaign decks and personalities with his own? He'd have a set number of decks to create, which might limit it a bit, unfortunately, but better than nothing, perhaps. (I mean replace the deck lists and images and stuff with identically named files.) Just a thought.