Commit Graph

  • 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. Vittorio Alfieri 2021-04-20 23:34:30 +02:00
  • d7838829ad Added/fixed primitives. travis-ci Vittorio Alfieri 2021-03-12 17:06:51 +01:00
  • cea45370a6 Added/fixed primitives. Vittorio Alfieri 2021-03-11 21:56:03 +01:00
  • 2234a508c3 Added/fixed primitives, added a new ability "undamageable" (e.g. Dralnu, Lich Lord). Vittorio Alfieri 2021-03-11 16:39:50 +01:00
  • 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). Vittorio Alfieri 2021-03-09 19:07:31 +01:00
  • 2abb218164 Fixed Synthetic Destiny. Vittorio Alfieri 2021-02-24 18:25:06 +01:00
  • 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). Vittorio Alfieri 2021-02-23 12:59:22 +01:00
  • 81d4b3d84f Improved AI: now it can plays cards using alternative cost too, fixed thisturn restriction in some primitives. Vittorio Alfieri 2021-02-22 19:16:54 +01:00
  • 8d740c6bc1 Fixed Hero of Bretagard. Vittorio Alfieri 2021-02-19 22:23:26 +01:00
  • 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. Vittorio Alfieri 2021-02-19 18:50:25 +01:00
  • 89cdeead88 Fixed some borderline primitives. Vittorio Alfieri 2021-02-18 19:03:46 +01:00
  • 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. Vittorio Alfieri 2021-02-18 12:48:59 +01:00
  • 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. Vittorio Alfieri 2021-02-17 15:31:31 +01:00
  • 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. Vittorio Alfieri 2021-02-16 16:08:08 +01:00
  • ed330fa70c Fixed Lukka, Coppercoat Outcast. Vittorio Alfieri 2021-02-15 20:56:52 +01:00
  • 7bce2a19e2 Fixed Lukka, Coppercoat Outcas. Vittorio Alfieri 2021-02-15 20:06:15 +01:00
  • 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. Vittorio Alfieri 2021-02-15 18:41:59 +01:00
  • f383d0b8a5 Fixed some primitives. Vittorio Alfieri 2021-02-13 18:54:15 +01:00
  • b17eb2c870 Fixed primitives with "scry" and "reveal" abilities. Vittorio Alfieri 2021-02-12 17:00:20 +01:00
  • 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). Vittorio Alfieri 2021-02-12 11:57:27 +01:00
  • a72c35a693 Fixed all cards with "scry" ability, fixed all cards with "surveil" ability, fixed all cards with "explores" ability, fixed all cards with "adventure" ability. Vittorio Alfieri 2021-02-10 22:29:08 +01:00
  • d0d7554b1d Fixed cost reduction issue for card with X in their main cost or alternative cost. Vittorio Alfieri 2021-02-09 12:10:15 +01:00
  • cf9f6ed474 Fixed cost reduction issue for card with X in their cost. Vittorio Alfieri 2021-02-08 23:10:01 +01:00
  • 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). Vittorio Alfieri 2021-02-08 17:08:20 +01:00
  • a858ed405f Fixed some primitives with "Suspend" ability. Vittorio Alfieri 2021-02-06 17:31:13 +01:00
  • 8f432718cf Fixed primitives with "preventalldamage from" ability. Vittorio Alfieri 2021-02-05 22:27:30 +01:00
  • 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). Vittorio Alfieri 2021-02-05 11:25:04 +01:00
  • 8c031585cf Fixed some borderline primitives. Vittorio Alfieri 2021-02-04 18:29:49 +01:00
  • 74ddb33239 Fixed "anyzone" keyword: now it includes commandzone, reveal and sideboard too. Vittorio Alfieri 2021-02-04 12:54:22 +01:00
  • a00919cc02 Added/fixed primitives. Vittorio Alfieri 2021-02-02 18:39:23 +01:00
  • 6fe1e4d351 Fixed some borderline primitives. Vittorio Alfieri 2021-02-01 16:58:52 +01:00
  • f6274dc914 Fixed C18 set, fixed primitives from KHM set, improved Android downloader. Vittorio Alfieri 2021-01-31 15:28:35 +01:00
  • 783bcf1142 Added KHM and KHC sets, improved Android downloader, fixed/added primitives, improved "hascnt" keyword, added "myhandexilegrave" and "opponenthandexilegrave" zone targeters. Vittorio Alfieri 2021-01-31 00:59:15 +01:00
  • b9d6410aba Fixed Garruk's Harbinger and Gishath, Sun's Avatar (issue #1052 by @ranger7271). Vittorio Alfieri 2021-01-28 21:59:47 +01:00
  • b35e503a0f Fixed Flamerush Rider, added battleready option to "clone with" keyword. Vittorio Alfieri 2021-01-28 15:56:15 +01:00
  • 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. Vittorio Alfieri 2021-01-27 11:16:41 +01:00
  • 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. Vittorio Alfieri 2021-01-26 20:47:33 +01:00
  • 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)" Vittorio Alfieri 2021-01-25 17:24:15 +01:00
  • 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). Vittorio Alfieri 2021-01-24 20:37:14 +01:00
  • 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. Vittorio Alfieri 2021-01-24 15:53:49 +01:00
  • 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. Vittorio Alfieri 2021-01-22 19:37:09 +01:00
  • 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). Vittorio Alfieri 2021-01-22 14:15:43 +01:00
  • 3a38e7f4ab Added/fixed primitives, implemented a new keyword to count the greatest number creatures that share same subtype (creatures with changeling counts as +1 for all creature types) Vittorio Alfieri 2021-01-21 15:53:27 +01:00
  • 17fdc5bc9f Fixed primitives, fixed multiple snow mana cost payments, added keywords to count snow mana pool (total and single colors). Vittorio Alfieri 2021-01-20 18:27:20 +01:00
  • 0b5f375df6 Fixed primitives, fixed multiple snow mana cost payments, added keywords to count snow mana pool (total and single colors). Vittorio Alfieri 2021-01-20 18:11:56 +01:00
  • f982124209 Added boast ability, refactored WParsedInt class (this class has been removed from AllAbilities.h file and it has been included into two dedicated .h and .cpp files), refactored all makefiles (Windows, Linux, PSP and Android) in order to to include the new .h and .cpp files added for WParsedInt class. Vittorio Alfieri 2021-01-18 17:11:09 +01:00
  • 177541b30c Added/fixed primitives, improved "@draw" trigger, added a "@scryed" trigger for scry ability, added a new keyword "placefromthetop" to put a card in a specifc position of owners library from the top. Vittorio Alfieri 2021-01-16 16:35:18 +01:00
  • 2ff2d4ac79 Added/fixed primitives, improved "anytypeofmana" ability for both player and AI and implemented "anytypeofmanaability" keyword to allow the user and the AI to spend mana of any color to activate abilities. Vittorio Alfieri 2021-01-15 18:25:38 +01:00
  • 77c48dc1d5 Fixed/refactored primitives after the parser has been improved in order to allow the usage of "^" instead of "," char in a lot of abilities (e.g. to use the token, flip, rampage, phasealter, becomes keywords inside transforms or to target a card with a "," char in its name). Vittorio Alfieri 2021-01-15 00:43:13 +01:00
  • 91d19e2852 Fixed WAR, C18, PAL00, UST set, added/fixed primitives, improved Android downloader, implemented Foretell ability, improved castcard keyword, improved "can play" restriction, improved primitives parsed in order to allow the nesting of transforms, ability$! reveal, scry, pay, grant keywords. Vittorio Alfieri 2021-01-14 17:51:13 +01:00
  • 69885cf90a Added/Fixed primitives, improved PAYZERO rule for commandzone. Vittorio Alfieri 2021-01-11 16:53:14 +01:00
  • 6229de7c55 Fixed MB1 set, added/fixed primitives, improved Android downloader, improved keywords to remove and add counters. Vittorio Alfieri 2021-01-10 17:48:08 +01:00
  • 7c8b634086 Added a new game option to allow the user to decide how to sort sets in filter and award section (by sector, by name or by release date). Vittorio Alfieri 2021-01-09 13:34:42 +01:00
  • 7a6c4b2c15 Added ATH and DDN sets, refactored all sets to add a new tag for better sorting in set filter and award section, improved Android downloader. Vittorio Alfieri 2021-01-09 02:26:38 +01:00
  • eaaa4d783b Fixed/added primitives, added keyword to alter devotion count, added keyword to target cards with flashback cost, added "duplicatecounters(single)" keyword to add a counter of a specific kind already present on a permanent or a player. Vittorio Alfieri 2021-01-07 18:56:47 +01:00
  • 4c00dfb3b6 Fixed Duplicant primitives. Vittorio Alfieri 2021-01-06 18:59:08 +01:00
  • fe1a89e67a Improved the Imprint keyword ability and fixed Duplicant primitive. Vittorio Alfieri 2021-01-06 16:32:14 +01:00
  • 5dbe6f8c9c Fixed primitives. Vittorio Alfieri 2021-01-06 11:46:38 +01:00
  • 0fce1c591f Improved "can play land" restriction used for double-face modal cards from Zendikar Rising set. Vittorio Alfieri 2021-01-05 22:25:40 +01:00
  • d9e3101212 Fix for IP Address resolution on Wondows for 2 Players mode. Vittorio Alfieri 2021-01-03 14:19:16 +01:00
  • 21b5308420 Fixed code trying to make the 2 Players mode work better. Vittorio Alfieri 2021-01-03 01:07:18 +01:00
  • 0d31ec5b21 Added missing graphics for game modes unlock, fixed italian lang, fixed awards dat file, fixed a bug on Game Award section, refactoring for AllAbilities.h file. Vittorio Alfieri 2021-01-01 16:14:58 +01:00
  • 65bf650868 Improved and added new "starting life" related keywords, fixed all primitives related to "starting life" keywords. Vittorio Alfieri 2021-01-01 03:47:02 +01:00
  • e3aff3c23a Fixed trophy image rendering for hi-res quality, fixed all primitives with XX cost, added some missing primitives from ol sets. Vittorio Alfieri 2020-12-31 17:32:34 +01:00
  • 1444ed6b7c fixed bug causing AI never play a card there are one or more cards in graveyard or other zones, fixed and improved removemana ability, fixed/added primitives. Vittorio Alfieri 2020-12-30 17:52:06 +01:00
  • 1f98173197 Avoided a memory allocation error of SDL EnginePlayer on Android version when loading more than 32 audio samples at same time. Vittorio Alfieri 2020-12-27 01:08:51 +01:00
  • b7c6725b44 Fixed Italian and Spanish lang, fized Commander award condition. Vittorio Alfieri 2020-12-26 22:14:58 +01:00
  • f9e0746e1c Increased Android SDK and NDK version for Android 10, updated Italian and Spanish lang files, patch boost dependencies for TIME_UTC definition, fixed import for usleep. Vittorio Alfieri 2020-12-26 17:19:02 +01:00
  • b2c55e307c Updated spanish lang, Improved Commander rules and award, fized/added all primitives with divide damage between one or more targets. Vittorio Alfieri 2020-12-26 01:45:13 +01:00
  • 99033e3fb2 Fixed Edgar Markov, issue #1047 Vittorio Alfieri 2020-12-25 01:05:10 +01:00
  • 053f202f32 Fixed primitives with imprint ability. Vittorio Alfieri 2020-12-25 00:00:03 +01:00
  • 991625dea4 Fixed Duplicant primitive. Vittorio Alfieri 2020-12-24 12:43:32 +01:00
  • 0ca310da54 Added feature to allow some cards to copy and flip back at the end of turn, added feature to use type: keyword with chosentype and chosencolor combo, fixed crashes on "can play land" restriction, fixed land primitives with pay life or tap condition to avoid crashes. Vittorio Alfieri 2020-12-23 12:39:18 +01:00
  • d40d6f319e Fixed/added primitives from older sets. Vittorio Alfieri 2020-12-22 17:56:49 +01:00
  • 3a8d70ff27 Fixed all primitives with Domain ability, fixed issue #1044 opened by DroidArthas. Vittorio Alfieri 2020-12-22 12:38:24 +01:00
  • 1aed1c1517 Fixed and improved the Deck Importer (from MTGO) in Android application, fixed frozen and freeze untap bug, fixed/added primitives. Vittorio Alfieri 2020-12-21 22:39:18 +01:00
  • a801069a3a Improved explores ability, added new trigger to handle the explores event from a card, added/fixed primitives from older sets, fixed RIX dat file. Vittorio Alfieri 2020-12-20 23:14:44 +01:00
  • e67078355a Improved target chooser to allow a multiple selection for player, creature and planeswalkers, now it's possible to use target(player,creature,planeswalkers) as well as target(<variable>player,creature,planeswalkers) and so on. Added abilities for giving exiledeath and handdeath to instant and sorceries (the previous were not working fine), Added ability to identify the cards with Cycling ability as a target, Updated all primitives with cycling ability, fixed all primitives with choose any target ability, Added/fixed primitives from RIX set. valfieri 2020-12-18 19:04:51 +01:00
  • 0d2e4af2a3 Added new keyword to count creature of the same type with both unique and common names, added/fixed primitives form M19 set. Added new keyword to count creature of the same type with both unique and common names, added/fixed primitives form M19 set. Added new keyword to count creature of the same type with both unique and common names, added/fixed primitives form M19 set. Added new keyword to count creature of the same type with both unique and common names, added/fixed primitives form M19 set. Added new keyword to count creature of the same type with both unique and common names, added/fixed primitives form M19 set. valfieri 2020-12-16 18:05:29 +01:00
  • 3e7ef8c77c Added abilities for cards which have to return battlefield or hand instead of graveyard (e.g. just like exiledeath ability), improved fresh attribute management also for card moved in hand, library, commandzone and for instants and sorcery spells, added/fixed primitives. valfieri 2020-12-16 12:21:57 +01:00
  • b09763d89e Improved Die Roll event and trigger, added Flip Coin trigger management, added/fixed almost all primitives with "roll a die ability", fixed some tab chars in source files. valfieri 2020-12-15 19:49:06 +01:00
  • bf3d35463f Added commander mode achievement and improved its graphic resources, added fixed primitives, fixes RNA set file, added new keyword and events to code the ability of six-side die roll. valfieri 2020-12-14 19:20:05 +01:00
  • a753bb0c1b Implemented new keyword for creatures which have to be blocked from 3 or more other creatures, added/fixed primitives. valfieri 2020-12-11 16:41:20 +01:00
  • d2ea81bdbc Added/fixed some primitives. valfieri 2020-12-10 10:37:32 +01:00
  • d4b663220f Fixed compilation issue on AllAbilities.h valfieri 2020-12-09 21:12:22 +01:00
  • f4353fb0e9 Fix compilation issue. valfieri 2020-12-09 20:54:35 +01:00
  • 3ec955bf2c Added/fixed primitives. valfieri 2020-12-09 20:32:26 +01:00
  • 68d21ddd23 Added/fixed primitives and implemented new keywords to count the single color symbols in player's manapool. valfieri 2020-12-09 19:28:28 +01:00
  • 16e6df9503 Added CC1 set, added/fixed primitives related to commander abilities, fixed cost increase for Commanders who have been cast multiple times. valfieri 2020-12-09 15:23:15 +01:00
  • 7c696ac213 Improved Commander format card selection rule, added new keyword "autocommandzone=" to trigger abilities from Command Zone (e.g. Commander Ninjutsu), added/fixed some primitives, added a new GUI Button to show Player's Sideboard. valfieri 2020-12-08 20:48:11 +01:00
  • d18232df10 Fixed Commander Format selection of identity color, added/fixed primitives related to commanders abilities. valfieri 2020-12-08 00:32:33 +01:00
  • d6a1a8eda8 Added/fixed some primitives, improved Deck Editor to allow user to choose commanders from collection and add them to their decks. Implemented command color identity rule and single card instance limitation for Commander Format game mode. valfieri 2020-12-07 19:25:06 +01:00
  • ced2c85076 Implemented Commander mode and rules, added Command Zone to game, added/fixed primitives, increased the major release version. valfieri 2020-12-06 20:11:51 +01:00
  • 6ef9ecc147 Fixed/added some primitives. valfieri 2020-12-01 18:13:59 +01:00
  • c704dfbfb2 Added CMR set, added Monarch game mode, added/fix several primitives and improved Android downloader. valfieri 2020-11-30 10:55:42 +01:00
  • d751ed3540 Fixed and added some primitives. valfieri 2020-11-19 14:12:44 +01:00
  • 1202ea609e Added KLR set, fixed some primitives and improved Android downloader. valfieri 2020-11-18 19:45:26 +01:00
  • 252e66736a Fixed a crash occurring on token clone (e.g. Doubling Season) as described in the issue #1040. valfieri 2020-11-18 15:22:25 +01:00
  • 42f2c34a46 Changed implementation strategy for altercosat in anyzone for some cards due to some problem. valfieri 2020-10-27 11:59:33 +01:00
  • c78e90a5b5 Fixed Cursed Scroll primitive. valfieri 2020-10-21 21:24:14 +02:00