Vittorio Alfieri
617ce45dbc
Improved implementation for isCommander and RingBearer card status (now they are no longer basic abilities but inner card properties in order to avoid conflicts with abilitiy modificators), added a white border on commanders to highlight them during match in the various game zones.
2023-07-01 16:28:19 +02:00
Vittorio Alfieri
9a23c4b83b
Fixed some primitives with conjure and phyrexian mana, fixed a bug on "conjure" ability, improved getCardbyName method for castcard with namedcard option, for meld and for flip/turnside ability.
2023-06-24 23:01:25 +02:00
Vittorio Alfieri
675705a6e5
Fixed several bugs, fixed several primitives, improved affnity for other types of cards, improved flip ability for token, added some new primitives from MAT set.
2023-05-23 20:29:43 +02:00
Vittorio Alfieri
869e0309ec
Fixed some primitives, added new keyword "hasdead" to allow restrictions based on the death of a specific card type, fixed type sorting on cards changing zones removing the side effect of new lands enter the battlefield on the left.
2023-05-22 10:42:10 +02:00
Vittorio Alfieri
dd28f274d1
Fixed some primitives, added some new primitives from MAT set, added new triggers to handle better counters, improved a lot of abilities for replacing atoi with WParserInt class, fixed bug on change types on xone changing, fixed bug on manacost during mutate and flip actions, fixed other minor bugs.
2023-05-21 18:52:16 +02:00
Vittorio Alfieri
2d8a1a8a5f
Added last primitives from MOM set, fixed some primitives, added new ability to send death card on bottom of library instead of graveyard.
2023-05-20 00:32:56 +02:00
Vittorio Alfieri
3bd3933c66
Added new prmitives from MOM set, fixed primitives, improved flipacoin ability, imporved battle cards defeated trigger, added new filters for event to check permanents on graveyard.
2023-05-18 23:04:22 +02:00
Vittorio Alfieri
eb35e3589b
Fixed primitives, improved Aftermath casting rule: now the casted card becomes instant or sorcery in the stack according to the casted half, fixed a bug with the previous zone of cards casted using the "putinplay" option of "castcard" keyword.
2021-10-14 15:39:58 +02:00
Vittorio Alfieri
9dabf121d3
Fixed primitives, changed type of "isFlipped" card variable from bool to int and fixed a related bug on targeting cards with "isFlipped" attribute, improved "disturb" ability (now fi you counter a card casted with disturb it correctly goes to exile), added "decayed" ability, added two new zone alias "mycommandplay" and "opponentcommandplay" for targeting Battlefield and CommandZone at the same time.
2021-09-06 17:31:36 +02:00
Vittorio Alfieri
236f677f2a
Fixed primitives, fixed some possible crashes on Commander Format.
2021-09-03 00:33:53 +02:00
Vittorio Alfieri
001cea95bd
Added/fixed primitives, updated the "missing_cards_by_sets" folder, fixed several crash on Commander Format, fixed a possible crash using "and!()!" with "imprint", added a new macros "_REBOUND_" and "_GOAD_" related to rebound and goad abilities and refactored all cards using them, implemented a new keywords "haunt", "hasprey", "preyname" and "isprey" related the haunting ability and improved all cards using it, Added "commander" and "\*" to HINT castpriority for AI decks in order to allow the user to give a cast priority to commanders.
2021-09-02 19:32:45 +02:00
Vittorio Alfieri
45de20c8d3
Added/fixed primitives, updated the "missing_cards_by_sets" folder, added a new trigger when a player shuffles his/her library, added new keywords "plastshlturn" and "olastshlturn" to retrieve the last turn a player shuffled his/her library, refactoring of some source files.
2021-08-30 23:02:54 +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
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
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
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
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
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
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
1aed1c1517
Fixed and improved the Deck Importer (from MTGO) in Android application, fixed frozen and freeze untap bug, fixed/added primitives.
2020-12-21 22:39:18 +01:00
valfieri
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.
2020-12-18 19:04:51 +01:00
valfieri
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.
2020-12-16 18:05:29 +01:00
valfieri
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.
2020-12-16 12:21:57 +01:00
valfieri
16e6df9503
Added CC1 set, added/fixed primitives related to commander abilities, fixed cost increase for Commanders who have been cast multiple times.
2020-12-09 15:23:15 +01:00
valfieri
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.
2020-12-08 20:48:11 +01:00
valfieri
d18232df10
Fixed Commander Format selection of identity color, added/fixed primitives related to commanders abilities.
2020-12-08 00:32:33 +01:00
valfieri
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.
2020-12-07 19:25:06 +01:00
valfieri
ced2c85076
Implemented Commander mode and rules, added Command Zone to game, added/fixed primitives, increased the major release version.
2020-12-06 20:11:51 +01:00
valfieri
c4eb931192
Fixed primitives and planeswalkers, fixed a bug on counter comparison criteria when cards are changing zone (eg. @movedto(creature[counter{1/1}]|mygraveyard) from(mybattlefiled) now it's working fine).
2020-10-09 19:16:03 +02:00
valfieri
a6a053e10e
Improved the Modal Double Faced cards for Zendikar set, added primitives that deals x damage divided on any target, added/fixed planeswalkers and improved kicker cost event handling.
2020-10-08 19:18:52 +02:00
valfieri
c4ba879382
Fixed primitives, fixed alias 1117 and fixed the bug on lastCardDrawn from library.
2020-09-21 17:56:20 +02:00
Anthony Calosa
6bd09e42e0
Add support for Amonkhet Mechanics
...
and fix some cards.
Added exerted trigger, event and add removemc keyword inside transforms
ability so we can soft code Embalm and Eternalize...
2017-08-03 09:49:37 +08:00
Anthony Calosa
44cb0d995e
support some cards discarded by opponent
2017-03-16 10:58:27 +08:00
Anthony Calosa
a2eda76a26
fix prefetch options
2017-03-14 17:06:14 +08:00
Anthony Calosa
5f2fbb370c
fix
2017-03-11 07:57:54 +08:00
Anthony Calosa
b01c1455f5
Provoke
...
also add aicode for Amplify cards
2017-03-09 18:37:55 +08:00
Anthony Calosa
030dca051a
support for wish cards and deck sideboard
2017-03-07 23:42:34 +08:00
Anthony Calosa
ba73da321b
minor
2017-03-02 07:56:41 +08:00
Anthony Calosa
8ae3e1ea98
quick fix
2017-03-01 21:13:47 +08:00
Anthony Calosa
fa5b075af5
update lords
...
lastcontroller override
2017-03-01 20:51:06 +08:00
Anthony Calosa
d761bac85c
revert pw attack rule
...
need to refactor this as this cause crashes on android when you cast a
planeswalker
2017-03-01 16:07:12 +08:00
Anthony Calosa
3bf1cca118
removed this
2017-03-01 14:15:57 +08:00
Anthony Calosa
e47256eae7
update cant attack rule
...
If it says cant attack or cant attack You or PlanesWalker, creatures
cant attack a player or planeswalker, If it says cant attack You,
creatures cant attack a player only but can attack a PlanesWalker
2017-03-01 10:35:47 +08:00
Anthony Calosa
1c60ba6e7f
crash fix
...
when you generate a castcard, then exit the game, an exception occurs to
SAFE_DELETE(cards[i]->previous) && SAFE_DELETE(cards[i]) in
mtggamezones.cpp line 548 and 549.
2017-02-20 22:06:56 +08:00
Anthony Calosa
1eae3a032f
Fixed some cards
...
replaced @lifed with @lifeof, had to hardcode conduit of ruin...
2016-08-16 12:17:53 +08:00
Anthony Calosa
3b98da1d86
Fix Cloner ability
2016-07-31 18:46:07 +08:00
zethfoxster
ca395492d5
added meld(cardname)
...
added meldfrom(cardname|cardname) helper class.
auto={0}:target(arbor colossus|mybattlefield) meld(Arc Runner)
auto=meldfrom(arbor elf|Arbor Colossus)
2016-07-21 20:46:53 -04:00
zethfoxster
69158d55c1
more fixes
2016-07-16 14:46:40 -04:00
zethfoxster
fdde5b7fe9
ok round 3
2016-07-09 18:57:01 -04:00