Vittorio Alfieri
9c2eee7d7e
Fixed primitives, added new ability "hasaftermath" to implement Aftermath cost with Flashback and refactored all cards with Aftermath cost (now they use a special version of Flashback but they don't count as flashback spell), added a new ability "spellmover" to implement all cards that have to target a spell on stack to move to some other zone (they are not real counters so they don't care about "nofizzle" or "nofizzlealternative" abilites of their target), fixed all primitives with "spellmover" ability, added a new keyword "storedname" to target card with a specifc previously stored name, improved "fizzleto" ability in order to allow to move the fizzled card on second place from the top or to exile and imprint the target name.
2021-10-13 23:42:45 +02:00
Vittorio Alfieri
c60ffba70d
Added/fixed primitives, updated the "missing_cards_by_sets" folder, added missing Conspicacy cards and tokens in CNS set, added Conspicacy cards management, added new ability "isconspiracy" to identify the Conspicacy cards into the Sideboard, added "Conspiracy" type in "Subtypes.h" enum definition, added a fix in "GameObserver::Affinity()" method in order to avoid a crash when the card is a Conspiracy in the commandzone.
2021-09-28 16:22:13 +02:00
Vittorio Alfieri
9aa15766d4
Added/fixed primitives, updated the "missing_cards_by_sets" folder, added new ability "hasstrive" to implement Strive cost with multikicker and refactored all cards with Strive cost (now they use a special version of multikicker but they don't count as kicked spell), improved "targeted" and "vampired" trigger to allow the "turnlimited" option, improved Android gesture to emulate "option menu" button pressure (slide down) and emulate "back" button pressure (slide up).
2021-09-07 21:41:24 +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
c211b2eaa4
Fixed several primitives with "castcard" ability, fixed a bug when using "noevent" and "copied" options togheter with "namedcard" option in "castcard" ability, allowed the usage of "and!()!" ability with "namedcard" option in "castcard" ability for permanents, added "daybound" and "nightbound" abilities.
2021-09-04 21:14:05 +02:00
Vittorio Alfieri
cc16db7256
Added/fixed primitives, refactored and improved almost all transforming human cards (included all the Werewolves), improved "flip ability and "doubleside" ability adding a new "backside" option, fixed a bug on "doubleside" ability for planeswalkers, added "backside=" key to CardPrimitive in order to specify the other side of double-faced cards, added "hasbackside" option to target chooser in order to find cards which have a back side, added "dualfaced" that return 1 if a card has a backside card, fixed loyalty counter ability on planeswalker flip (is was not resolving correctly), changed type of damageToController, damageToOpponent, damageToCreature, wasDealtDamage, combatdamageToOpponent from bool to int in order to retrieve those values if needed, added "totaldmg" keyword that returns the total amount of damage dealt by a creature in the current turn, added new restriction "coven in order to check if a player controls three or more creatures with different powers, added new ability "hasdisturb" when the Retrace cost of a card is a disturb cost (e.g. "Beloved Beggar").
2021-09-04 01:48:47 +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
54d0c32035
Added/fixed primitives, updated the "missing_cards_by_sets" folder, improved all cards with replicate (now they use a special version of multikicker but they don't count as kicked spell), improved all cards with "fizzle" and "fizzleto" ability and improved engine for "fizzle" and "nofizzle" ability (e.g. now it's possible to grant a card the nofizzle ability on stack), added new keyword "mycolnum" to count the number colors of a card.
2021-08-31 20:06:33 +02:00
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
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
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
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
2234a508c3
Added/fixed primitives, added a new ability "undamageable" (e.g. Dralnu, Lich Lord).
2021-03-11 16:39:50 +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
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
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
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.
2021-01-18 17:11:09 +01:00
Vittorio Alfieri
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.
2021-01-15 18:25:38 +01:00
Vittorio Alfieri
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.
2021-01-14 17:51:13 +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
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
a753bb0c1b
Implemented new keyword for creatures which have to be blocked from 3 or more other creatures, added/fixed primitives.
2020-12-11 16:41:20 +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
c704dfbfb2
Added CMR set, added Monarch game mode, added/fix several primitives and improved Android downloader.
2020-11-30 10:55:42 +01:00
valfieri
7bf463c7ea
Fixed all the Modal Double Faced card from Zendikar Rising set, now we don't use the alternative cost anymore but the autohand keyword instead which required another enhancement for Flip forcetype keywords, fixed a bug on Changezone trigger.
2020-10-14 03:30:32 +02:00
valfieri
bf6439db00
Improved Kicker cards, now it's possible to target a specific card with kicker cost and handle any event connected to a kicker casting cost.
2020-10-03 16:54:17 +02:00
valfieri
6d872ed176
Improved the Modal Double Faced cards for Zendikar Rising (es. nofizzle when choosing land face, flip for instant and sorcery, new restriction for playing land face during turn).
2020-09-30 12:18:08 +02:00
valfieri
727d4579a0
Added 2XM set, fixed card and planeswalkers primitives, fixed a crash on token creation, fixed prowess and mentor abilities, added new restrictions, improved Android downloader.
2020-08-08 19:46:07 +02:00
valfieri
8645cb9e1e
Fix date in Dat files, Added IKO and HA3 sets, updated the manifest and build files, Added SD card support for Android, Fix the Android app crash when resuming from background, Improved Android downloader, added finger sliding popup menu for Android devices without sidebar menu, fixed several crashes during game, added the mutating card ability, fixed the adventure card ability, added new borderline primitives.
2020-06-10 00:10:59 +02:00
Anthony Calosa
d4e1d809f3
Bushido & Modular
...
add Bushido and Modular points
2017-03-16 16:58:56 +08:00
Anthony Calosa
44cb0d995e
support some cards discarded by opponent
2017-03-16 10:58:27 +08:00
Anthony Calosa
0778b13e2b
Totem Armor
2017-03-14 03:40:29 +08:00
Anthony Calosa
21b0b4c524
Play the Top Card of Library
2017-03-03 18:49:36 +08:00
Anthony Calosa
b7dae1025b
Refactored PW Attack Rule
2017-03-01 17:53:40 +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
5f1874edae
planeswalker attack
2017-03-01 06:36:10 +08:00
Anthony Calosa
60d7675a36
necroed
...
hide cards using necroed
also fix castcard target if its a land.
2017-02-15 10:27:56 +08:00
Anthony Calosa
13f590c6a2
hiddenface
...
if the source has hiddenface ability then all of its targets will not
show on the stack ability, useful for cards like demonic tutor etc...
2017-02-13 08:26:06 +08:00
Anthony Calosa
94aefa6dba
notany attribute
...
anytypeofmana makes manacost colorless... wip
2017-01-23 18:32:58 +08:00
Anthony Calosa
d03ebdace8
Support for KLD and AER
...
Kaladesh & Aether Revolt
2017-01-18 22:13:51 +08:00
Anthony Calosa
75921e1130
add some cards from CMD to C13
2016-08-31 14:02:16 +08:00
Anthony Calosa
42e240c9ab
add some cards from kamigawa
2016-08-23 06:49:57 +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
14d8d65de0
asflash
...
spellmastery is for alternate cost, added asflash... so cards that find
cards with flash don't find asflash...
2016-08-10 07:31:15 +08:00
Anthony Calosa
151905c5f3
Transform Trigger, Turnlimit for TrCardAddedtoZone
...
Cleaned primitives, and fix SOI cards (remove workarounds) todo(recheck
BFZ and OGW)
2016-08-10 01:54:24 +08:00
zethfoxster
eea240d7f2
changing some of the logic to the previous fixes, we want to avoid using code that looks for specific card names.
...
currently we have kamiflip as the only defined flip type as it is treated differently from the others.
but we have room for more if needed now
doublefaced=kamiflip
sets the flip type of a card to the kamiflip style cards. since this is defined on cardprimitive level now, we might be able to do something different from the flipping animation. who knows.
commented out the forcing token triggers, it bypass targetchooser check. still working on a fix for this coming soon.
2016-07-27 20:03:25 -04:00
Anthony Calosa
ae33977e10
Add Snapcaster Mage Ability
...
tempflashback - flashback using manacost
2016-07-26 09:56:13 +08:00