Eduardo
7e2162bcc3
Replacing for macros _DIES_
...
Replacing the string "@movedto(this|graveyard) from(battlefield):" for the macros _DIES_ for readability, consistency and bugs reduction.
2021-07-25 13:54:21 -05:00
Vittorio Alfieri
57b8178d86
Fixed primitives.
2021-07-24 00:03:26 +02:00
Eduardo
b2a4edae9f
token(The Atropal)
...
token(The Atropal)
2021-07-21 18:47:31 -05:00
Eduardo
35a79cb723
Restore to previous modifications in borderline and bug fixes
...
Metamorphose should put cards at top of library
Dark-Dweller Oracle missing closing parenthesis
Chandra, Bold Pyromancer -3
Militant Angel before attacks used to create a token
Typos in some operators, (never should be a '=>')
2021-07-21 18:41:09 -05:00
Vittorio Alfieri
0057269361
Fixed "The Atropal" token card in AFR set, improved Android downloader.
2021-07-21 18:15:05 +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
Eduardo
cabc0757be
Bug Fixes and replaced instances of a creature dying for the macros _DIES_
...
Errors Fixed:
Vicious Rumors doesn't mill
Barrin, Tolarian Archmage should not return itself
Thassa, Deep-Dwelling is wrong
Bruse Tarl, Boorish Herder
Spiteful Sliver targets creatures
Karn, Scion of Urza -2 ability
Grand Master of Flowers was blue
Forsaken Monument has CMC of zero
Shadowspear can't equip
You Happen On a Glade
Disease Carriers
Desperate Castaways
Grim Physician targets a card in graveyard
Legion's Judgment had a typo
2021-07-21 00:17:54 -05:00
Vittorio Alfieri
23fa7f9f6e
Added/fixed primitives.
2021-07-18 14:21:39 +02:00
Vittorio Alfieri
3442e7cb16
Fix proliferate ability.
2021-07-17 02:56:15 +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
Eduardo
d98956a1b8
Fixes to primitives
...
Dwarven Mine, no need to tap for red since it's a mountain
Mystic Sanctuary, no need to tap for blue since it's an island
Earthshaker Giant does not work
Ranger-Captain of Eos puts card into play not into hand
Jorn, God of Winter has wrong stats
Enemy of Enlightenment subtype misspell
Heavenly Qilin subtype misspell
Urza's Saga subtype misspell
Spirit of the Aldergard subtype misspell
dire tactics loses life even with human on board
piercing rays taps 2 creatures
shipwreck moray should grant +2/-2
sorin, vampire lord text is wrong
spontaneous artist grants 2 energy
Spinerock Knoll does nothing
2021-07-09 20:32:16 -05: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
5f0883943a
Added H1R set, added/fixed prmitives, improved Android downloader.
2021-06-17 11:14:09 +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
55edfc6374
Added HA5 set and imnproved Android downloader.
2021-05-22 20:40:04 +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
d7838829ad
Added/fixed primitives.
2021-03-12 17:06:51 +01:00
Vittorio Alfieri
cea45370a6
Added/fixed primitives.
2021-03-11 21:56:03 +01: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
2abb218164
Fixed Synthetic Destiny.
2021-02-24 18:25:06 +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
8d740c6bc1
Fixed Hero of Bretagard.
2021-02-19 22:23:26 +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
89cdeead88
Fixed some borderline primitives.
2021-02-18 19:03:46 +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
ed330fa70c
Fixed Lukka, Coppercoat Outcast.
2021-02-15 20:56:52 +01:00
Vittorio Alfieri
7bce2a19e2
Fixed Lukka, Coppercoat Outcas.
2021-02-15 20:06:15 +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
f383d0b8a5
Fixed some primitives.
2021-02-13 18:54:15 +01:00
Vittorio Alfieri
b17eb2c870
Fixed primitives with "scry" and "reveal" abilities.
2021-02-12 17:00:20 +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
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.
2021-02-10 22:29:08 +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
a858ed405f
Fixed some primitives with "Suspend" ability.
2021-02-06 17:31:13 +01:00
Vittorio Alfieri
8f432718cf
Fixed primitives with "preventalldamage from" ability.
2021-02-05 22:27:30 +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
8c031585cf
Fixed some borderline primitives.
2021-02-04 18:29:49 +01:00