Cards that check the colors of mana that lands on the opponent battlefield crashes the game, hard to reproduce but happens often enought that I decided to remove them.
Minor fixes in set and Major fixes in WAR primitives
These are graded as borderline, each set has it's individual txt file, not integrated to the main mtg.txt to make them easier to manage, with the appropiate tools and more testing the files can be integrated.
Includes standard sets(expansions) and supplemental products(masters sets, commander) since Amonkhet.
New set limited ,where you get a deck two random sets.
Still playing with the AI values and hueristics.
Cards fixes. Masters Edition should be named ME1 and the Mythic Edition is MED, the cards multiverse ids are still the same so the decks and references should not change.
Rules for several new game modes and rules
horde, get a random tribe and summon a creature from your deck each turn
paradise, lands tap for all mana
false god, exchange permanents at upkeep
morinfen, lose 1 life for every permanent you control at upkeep, starts at 50 life
I figured a while ago that the cause of the crash was a rendering issue, not an engine issue, since you could copy spells in the stack if you didn't targeted them. The crash was most likely in ActionStack, just had to follow the trace. It doesn't affect anithing else, that line was trying to render something in the stack that's a permanent but it always had bad ptrs.
Game crashes when AI plays a card with cost {X} and that targets a player, this cards can be coded around that restriction and still work as per the rules.
The BIGGEST BUG the game has now is that crashes occur when a PERMANENT TARGETS A SPELL IN THE STACK, sometimes the AI can make this cards work (WTH!?) but never the player.
Effects like mirari and similar could be coded so that you don't target the spell but trigger and copy the source of the trigger, look at the code of mirari for this to be more clear.
This effect used to work for many many years I remember Glen Elendra Archmage being one of my favorite cards back in the day. This bug has been present since god knows when, as early as october 2016: https://wololo.net/forum/viewtopic.php?f=4&t=66296&start=150#p98160
Also freaking Lemures caused the AI to just keep repeating the effect so I put a limit on activations on them.
New rules based on vanguard, 3 new random game modes, one is tribal and one uses any card in the game.
Several corrections and bugs fixes. Cards with x in their cost and that can target any player used to crash the game.
Teaching AI new things and changing values of efficiency.
You can have multiple "Jace" planeswalkers, you can't have two of the exact same name (no two Jace, the mind sculptor).
RNA Guild Kit Set Code: GK2
Ravnica Allegiance Set Code: RNA
Ultimate Box Topper Set Code: PUMA
Ultimate Masters Set Code: UMA
GRN Guild Kit Set Code: GK1
Guilds of Ravnica Set Code: GRN
Commander 2018 Set Code: C18
Core Set 2019 Set Code: M19
Signature
Spellbook: Jace Set Code: SS1
Battlebond Set Code: BBD
Commander Anthology
Volume II Set Code: CM2
Dominaria Set Code: DOM
Duel Decks: Elves
vs. Inventors Set Code: DDU
Masters 25 Set Code: A25
Rivals of Ixalan Set Code: RIX
Unstable Set Code: UST
Explorers of Ixalan Set Code: E02
From the Vault:
Transform Set Code: V17
Iconic Masters Set Code: IMA
Duel Decks: Merfolk
vs. Goblins Set Code: DDT
Ixalan Set Code: XLN
Commander 2017 Set Code: C17
Hour of Devastation Set Code: HOU
Archenemy: Nicol
Bolas Set Code: E01
Commander Anthology Set Code: CMA
Amonkhet Set Code: AKH
Amonkhet
Invocations Set Code: MP2
Duel Decks: Mind
vs. Might Set Code: DDS
Modern Masters 2017 Set Code: MM3
Added the supertype Legendary to Planeswalkers.
When you pay life the code should be {L:1} not just {L} or else the cards ave very buggy.
Several bug fixes, card corrections and typos.
Also fix stack display and removed unnecessary code (border for card is
targetted/targetter since we used forcedborder in actionstack). Also
fixed some cards