Vittorio Alfieri
1ce0facf21
Added/fixed primitives, Added keywords "showopponenthand" and "showcontrollerhand" to allow controller and opponent to play with their hand revealed, added "mytarg" prefix to check values for a card target as like we do for "storedcard" prefix (e.g. "Redirect"), fixed "undocpy" keyoword for all cards (e.g. "Renegade Doppelganger") that have to be back from a previous copy.
2021-08-27 00:29:47 +02:00
Vittorio Alfieri
bbc25e2727
Added/fixed primitives, Improved AI: now it can plays cards using morph cost too.
2021-08-25 15:30:44 +02:00
Vittorio Alfieri
c7c2025fc9
Added/fixed primitives, improved "TurnSide", "Morph" and "Flip" abilities when dealing with Commanders, added "fresh" attribute to cards just put in Sideboard, added a put back rule when a Commander is put in Sideboard, allowed to cast a card with kicker or alternative or morph cost from the CommandZone: in case of Morphed or DoubleFace cards (e.g. "Tergrid, God of Fright"), they will be put in play but they won't be Commander, but when they will be put elsewhere (e.g. destroyed) they may be back to the CommandZone with the usual Commander put back rule.
2021-08-24 22:43:55 +02:00
Vittorio Alfieri
c978223b10
Updated changelog with last 3 years of modifications (issue #1067 by @remigiusz-suwalski), added tokens in ELD set, improved Android downloader for ELD set, fixed primitives with "asflash" ability, improved all cards with adventure: now they become instants or sorceries in stack to activate the correct trigger (e.g. with Magecraft combos), added "nomovetrigger" ability for all the "fake" cards (e.g. cards which are simple abilities) in order to don't trigger any event on their cast since they are not real cards.
2021-08-23 02:18:04 +02:00
Vittorio Alfieri
bdba322558
Fixed "City's Blessing" macros, fixed "Jared Carthalion, True Heir", added new keyoword "noncombatvigor" for cards such as "Stormwild Capridor".
2021-08-19 15:45:30 +02:00
Vittorio Alfieri
2f4869434c
Added/fixed primitives and macros, fixed RIX and CN2 sets in order to allow images for Monarch and City's Blessing ebmlems, updated all cards with "Monarch" and "Ascend" related abilities, improved "token" keyword in order to allow the usage of "notrigger" option even when we are creating a named token, moved Monarch rules from general txt files to the specific Monarch emblem, improved Android downloader for RIX set.
2021-08-17 23:34:05 +02:00
Vittorio Alfieri
1e0928b227
Added a way to limit the number of total primitives to load at startup using a file named LimitedCardList.txt (that has to be copied in User folder). This should help to run the game even on older devices with low RAM such as PSP-3000 and PSVita (with Adrenaline).
2021-08-12 19:10:48 +02:00
Eduardo
730ddd2b50
Changes to Random modes and improved filters
...
Improved search restriction by type, allow you to search for "enchantment creature" or "legendary artifact", the engine no longer excludes or prevents searching two "types".
2021-08-10 23:36:23 -05:00
Vittorio Alfieri
a82636b099
Fixed "Jolrael, Mwonvuli Recluse", fixed "Corrosive Ooze", added new keyword "all(myeqp)" in order to target all the equipments attached to a creature (e.g. Corrosive Ooze).
2021-08-07 13:42:28 +02:00
Vittorio Alfieri
4458a6e780
Fix Mulligan when Human player is not the first one.
2021-08-04 15:24:21 +02:00
Vittorio Alfieri
2ca03bb1f0
Fixed Muxus, Goblin Grandee and fixed Liliana, the Last Hope, added conjure keyword for J21 set, added perpetual counters and abilities for J21 set, improved imprint keyword, improved moverandom keyword for J21 set.
2021-08-04 12:33:28 +02:00
Vittorio Alfieri
bb5a9dd31e
Fixed issue #1065 by @DoidArthas: now on Flip keyword we try to keep auras and equipments effects on transformed card basic abilities (e.g. Pacifism on Werevolwf).
2021-07-29 10:06:28 +02:00
Vittorio Alfieri
2cbb011fe3
Added/fixed primitives, fixed crash with Taj-Nar Swordsmith, Fixed monarch switch after player takes combat damage, fixed allsubtypes in transforms keyword, fixed controllerdamager and opponentdamager keywords and all primitives using them, fixed Emerge alternative cost restriction, fixed Kinship condition on same creature subtype, added alterexperience keyword and fixed all primitives that use experience counters, fixed all primitives using ability counters from Ikoria, fixed mypoolsave keyword in order to don't finish effect at the end of turn, fixed all primitives using mypoolsave (e.g. Omnath, Locus of Mana), fixed Gravepurge and Daretti, Scrap Savant, in order to allow the player to discard zero cards while using their effects.
2021-07-29 03:33:33 +02:00
Vittorio Alfieri
f499a1e52f
Improved Cursed Scroll and Magus of the Scroll, fixed Android downloader.
2021-07-25 21:54:39 +02:00
Vittorio Alfieri
849194b8da
Added/fixed primitives, removed deckmaster.info source from Android downloader, fixed HTR18 set, fixed "menace" blocking issue from AI, improved Graft ability from AI, fixed hangs on Offering costs for both human and AI, added a new keyword "ishuman" to distinguish if a card controller is human or AI (e.g. on Graft trigger), fixed a possbile hang on negative manacost payment.
2021-07-21 10:51:13 +02:00
Vittorio Alfieri
31ab9edc81
Added HTR18, HT19, AFR and AFC sets, added/fixed old primitives, improved Android dowloader, fixed it lang file, fixed IMA rarities, fixed order index of some old sets, added all features from D&D such as Dungeon Cards and Dice (d20,d10, adn so on).
2021-07-17 02:33:08 +02:00
Vittorio Alfieri
f0ee95b483
Fixed Mana Drain (issue #1060 by @Gourajiro), fixed Reinterpret, fixed the taskboard menu choice during game.
2021-06-29 16:38:58 +02:00
Vittorio Alfieri
5b7d8662b7
Improved in-game menu (now the Cancel choice is on top and it's possibile to open/close the taskboard during game), improved add/remove "counter" keyword in order to avoid the trigger if needed (e.g. loop avoidance), fixed Italian and Spanish languages.
2021-06-18 12:22:16 +02:00
Vittorio Alfieri
9df5bb29ab
Added MH2 set, improved Android downloader, added/fixed primitives, improved coin flip event trigger, improved discarded attribute, improved castcard keyword (now it's possible to specify the x value in cost), improved add/remove/mod counter trigger, improved the "spent" and "converge" keyword for spell still in the stack.
2021-06-16 17:07:44 +02:00
Vittorio Alfieri
79716a4533
Added a new rule to flip back modal dual face card on each phase and after each action, fixed "Aladdin's Lamp" and "Turntimber Symbiosis" primitives, allowed the AI to play back side of modal dual face cards, improved the "doubleside" keyword to flip modal dual face cards, improved filters to target flipped cards using the "isflipped" keyword, fixed a crash when zone pointer was null in GameObserver::logAction method.
2021-04-28 17:03:29 +02:00
Vittorio Alfieri
ac273b1947
Fixed a bug: It's not allowed to turn side of double faced cards when they are on battlefield.
2021-04-27 21:08:51 +02:00
Vittorio Alfieri
8b358b3d1c
Fixed a bug: AI does not have to use the doubleside ability to avoid loops.
2021-04-27 17:44:41 +02:00
Vittorio Alfieri
6fb3feef72
Added/Fixed primitives, improved the Double Face Modal cards management: now it's possibile to click on card to flip the side in odrer to read card infos such as name, manacost, text and types, improved the "moveto" keyword in order to allow the usage of the "temp" zone for removing unecessary cards from game (e.g. duplicated card generated from some dual face cards), added the option "nolegend" to the "copy" keyword in order to crerate copy of legendary cards that are not legendary (e.g. Echoing Equation), added the keywords "doublefacedeath" and "gaineddoublefacedeath" to send a card to temp zone after death (e.g. duplicated card generated from some dual face cards), added the keywords "lifefaker" to identify the cards wich modify the life increasement when a @lifeof triggers occours (e.g. Angel of Vitality).
2021-04-27 15:35:54 +02:00
Vittorio Alfieri
e265dc3e7f
Completed STX set, fixed/added primitives, improved Android downloader, implemented the usage of ^ instead of , char (e.g. target multiple zones within transforms keyword), improved the code to avoid the multiple triggers in case of abilities gained from other cards (e.g. Kasmina, Enigma Sage).
2021-04-26 19:23:31 +02:00
Vittorio Alfieri
68a64238cb
Added/fixed primitives, added new keywords "fourtimes", "fivetimes", "thirdpaid", fixed Tavis-CI build.
2021-04-21 18:27:33 +02:00
Vittorio Alfieri
9da159a607
Added C21, STA and STX (still in progress) sets, improved Android downloader, added/fixed primitives, added a keyword to get if a card has "X" in its cost, fixed a crash while targeting a spell on stack, added a new option "nolegend" to clone keyword in order to create a token without legendary type and rule, improved "hascnt" keyword with "anycnt" option to count all counters on a card, added a new keyword "hasstorecard" to get if a card has a stored card or not(e.g. fizzlers), added a new keyword "pgmanainstantsorcery" to count the mana value of all instants and sorceries in player graveyard, added a new keyword "currentphase" to get the current game phase.
2021-04-20 23:34:30 +02:00
Vittorio Alfieri
2234a508c3
Added/fixed primitives, added a new ability "undamageable" (e.g. Dralnu, Lich Lord).
2021-03-11 16:39:50 +01:00
Vittorio Alfieri
37ce334688
Added TSR and HA4 sets, added/fixed primitives, improved Android downloader, fixed a crash when AI pays a Convoke alternative cost, fixed a random crash on Windows when opening zip files, fixed a random crash in destroy ability method (e.g. blasphemous act).
2021-03-09 19:07:31 +01:00
Vittorio Alfieri
c8f763173d
Improved AI: now during opponent's turn it will not search just for instant cards from hand but it can also play cards with "flash" ability from all the other available zones (e.g. "flash" cards from graveyards which have "canplayfromgraveyard" of Flashback and/or Retrace cost).
2021-02-23 12:59:22 +01:00
Vittorio Alfieri
81d4b3d84f
Improved AI: now it can plays cards using alternative cost too, fixed thisturn restriction in some primitives.
2021-02-22 19:16:54 +01:00
Vittorio Alfieri
d3379c9c08
Fixed a crash when AI try to activate a combo (caused by new ANYTYPEOFMANA management), fixed the Visual C++ project file descriptor, fixed ELD set DAT file, improved Andorid downloader, fixed primitives.
2021-02-19 18:50:25 +01:00
Vittorio Alfieri
17d6860505
Improved AI: now it can cast spells from graveyard using thier Flashback and Retrace costs, fixed a crash in Deck Editor stats loader when a card ability contains some "add" substrings (e.g. "counteradded" followed by "restriction{"), added/fixed primitives.
2021-02-18 12:48:59 +01:00
Vittorio Alfieri
bc9142ad6e
Improved AI: now it can activate abilities of cards in all zones such as commandzone, hand, graveyard and exile using the keywords "autohand", "autocommandzone", "autograveyard" and "autoexile" just as normal Human player does.
2021-02-17 15:31:31 +01:00
Vittorio Alfieri
6c9c770f2d
Fixed all primitives with Fuse cost (now we use a special kicker cost for them), fixed all primitives with double kicker cost (now we use other and kicker cost togheter), added a new ability "hasnokicker" for primitives which have kicker for other purpose (e.g. Fuse cards), fixed an issue on cost name for both kicker and retrace cost, improved green highlight management for cards which can play in exile and graveyard (such as retrace cards, flashback cards, and so on), improved kicker cost management.
2021-02-16 16:08:08 +01:00
Vittorio Alfieri
60ca9e05c0
Added the possibility to specify a name for Kicker cost and Retrace cost with "name()" keyword, implemented Escape cost with Retrace cost, implemented Fuse cost with Kicker cost, fixed several primitives.
2021-02-15 18:41:59 +01:00
Vittorio Alfieri
d3c0e397b6
Added/fixed primitives, fixed/improved several primitives with "reveal" ability, added a new keyword "findfirsttype" to allow AI to user a kind of "revealuntil" ability from its library, fixed a crash wthen temp zone has duplicated cards from other zones (such as library).
2021-02-12 11:57:27 +01:00
Vittorio Alfieri
d0d7554b1d
Fixed cost reduction issue for card with X in their main cost or alternative cost.
2021-02-09 12:10:15 +01:00
Vittorio Alfieri
cf9f6ed474
Fixed cost reduction issue for card with X in their cost.
2021-02-08 23:10:01 +01:00
Vittorio Alfieri
eb8da4d4b2
Fixed issue #1054 (opened by @ranger7271), fixed/added primitives with "scry" ability, improved scry ability for both Human and AI player, added a new ability to replace the scry ability with some actions (e.g. Eligeth, Crossroads Augur).
2021-02-08 17:08:20 +01:00
Vittorio Alfieri
f1ee227b84
Fixed deck selection in Deck Editor Menu (now it shows both Classical Decks and Commander Decks using a CMD suffix) and fixed deck selection in Demo Mode (now it filters decks according to game mode as it happens in normal game mode).
2021-02-05 11:25:04 +01:00
Vittorio Alfieri
74ddb33239
Fixed "anyzone" keyword: now it includes commandzone, reveal and sideboard too.
2021-02-04 12:54:22 +01:00
Vittorio Alfieri
783bcf1142
Added KHM and KHC sets, improved Android downloader, fixed/added primitives, improved "hascnt" keyword, added "myhandexilegrave" and "opponenthandexilegrave" zone targeters.
2021-01-31 00:59:15 +01:00
Vittorio Alfieri
b35e503a0f
Fixed Flamerush Rider, added battleready option to "clone with" keyword.
2021-01-28 15:56:15 +01:00
Vittorio Alfieri
024e015dfc
Fixed primitives, fixed a random crash in ActionStack.cpp, added a way to search wallpaers in theme folder before to search them in the default folder, improved the keyword to retrieve the highest power and toughness of creatures in play, now it's possibile to use "pwr:" and "ths:" instead of "power:" and "toughness:", so it's possibile to use this keyword in variable{} construct too.
2021-01-27 11:16:41 +01:00
Vittorio Alfieri
dd844fc25e
Fixed Etchings of the Chosen (issue #1051 by @ranger7271), added primitives with choose card name, added two keywords "chooseaname" and "chooseanameopp" to choose a card name ("chosenname" and "lastchoosenname") between your cards or opponent cards, added a keyword "[attached]" to target equipment attached to a permanent.
2021-01-26 20:47:33 +01:00
Vittorio Alfieri
c60f8787d1
Added a new keyword "excessdamage" to retrieve theamount of exceeded damage to creature or planeswalker, fixed an issue on planeswalker damage count, added a new keyword "genrand" to generate a random number between 0 and a specific number (e.g. "genrand3"), improved Flip ability in order to allow the flip back from copy for a generic card name (e.g. "flip(myorigname) undocpy)"
2021-01-25 17:24:15 +01:00
Vittorio Alfieri
4bdc1fdfe1
Fixed Treasure token, added boast trigger event, added new keyword "hascnt" to retrieve the amount of specific counter type on a card (e.g. hascntloyalty).
2021-01-24 20:37:14 +01:00
Vittorio Alfieri
f6199719fd
Fixed issues #1049 and #1050 opened by @ranger7271, improved imprint keywords, improved boast ability, added a new "hasability" keyword to check if a card has an ability or not.
2021-01-24 15:53:49 +01:00
Vittorio Alfieri
2b7baf7fc8
Improved foretell mechanics, added a trigger for foretold cards, added a new keyword "snowdiffmana" to compare snow mana pool and mana cost of a target card, improved phaseaction "checkexile" condition.
2021-01-22 19:37:09 +01:00
Vittorio Alfieri
5184132e8b
Fixed primitives, added "notshare!" keyword (e.g. to search cards with different names), improved decks selection according to chosen game mode (e.g. Game will show commander decks only in commander mode and it will hide them in other modes).
2021-01-22 14:15:43 +01:00