Eduardo MG
a0b3c00211
Fixes to commander damage, deathtouch, MAT card variants.
...
March of the Machine: The Aftermath (MAT) card variants.
The previous implementation of the deathtouch ability had a bug that destroyed planeswalkers even with any amount of damage. This has been fixed.
If a player has been dealt 21 points of combat damage by a particular Commander during the game, that player loses a game. The damage rule with commanders was incorrect in counting any type of damage, not only combat damage.
Bug fixes:
Athreos, Shroud-Veiled
Endless Atlas
Natural State
Savage Gorger
Kytheon's Irregulars
Lion Sash
Pyrophobia
Minas Tirith
Sakashima of a Thousand Faces
2024-02-16 12:46:41 -06:00
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
3b05932a8b
Added / fixed primitives from ONE set, fixed Treasure name in all sets and primitives, updated missing cards by sets list, improved token creator ability by trying to retrieve the token id from the same set of source card (e.g. Urza's Saga), improved toxic ability adding a new target chooser "hastoxic" and adding a new keyword "toxicity" to retrieve the toxic amount of card.
2023-06-18 23:23:51 +02:00
Vittorio Alfieri
2374b00dfd
Fixed some primitives, fixed several bug on damage management for planeswalkers and battle cards, added new keywords "noloyaltydamage" and "nodefensedamage" to avoid damage remove counters,
2023-05-22 01:19:15 +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
4ccad97eb0
Fix attacking menu for planeswalkers and battles, fixed MOM dat file.
2023-05-12 11:25:08 +02:00
Vittorio Alfieri
6ef8b45709
Implemented "Battle" type from MOM set (they are like planeswalkers), added some new primitives from MOM set, fixed some primitives targeting any target.
2023-05-11 15:57:08 +02:00
Vittorio Alfieri
984aac51f4
Fixed all primitives with damage modifier, improved "damaged" trigger for Planeswalkers.
2021-10-15 13:36:31 +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
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
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
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
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
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
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
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
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
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
69885cf90a
Added/Fixed primitives, improved PAYZERO rule for commandzone.
2021-01-11 16:53:14 +01:00
valfieri
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.
2020-12-15 19:49:06 +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
e1df4e5072
Improved Life gain trigger (now it's possible to specify a "from" clause and it's possible to add the "limitOnceATurn" restriction) and fixed all the primitives with gives life on life gain event without producing any loop and reviewed all the primitives with the "@lifeof" trigger.
2020-10-13 18:32:51 +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
52e3177ef2
Added new features and triggers to game about tokens and counters, fixed and added new primitives.
2020-07-10 19:53:46 +02:00
valfieri
a2594f1fb7
Fix X cost for Alternative payment, added new primitives.
2020-06-15 17:14:22 +02:00
valfieri
587155353c
Fixed Legend rule for mutating cards, avoided spell targeting for mutated down cards, added new primitives.
2020-06-14 14:03:00 +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
valfieri
06ec97676e
Fixed Angel of Vitality in M20 set and added new keyword "except" for @lifeof trigger in order to avoid a life gain loop when a card needs to increment life gaining in that phase (eg. Angel of Vitality).
2019-09-10 17:02:50 +02:00
valfieri
2c62cfd487
replaced tabs with 4 spaces.
2019-09-06 08:31:39 +02:00
Eduardo
ab1fbaa806
New game modes, bug fixes in primitives, improving AI, new planeswalkers type rule
...
New rules based on vanguard, 3 new random game modes, one is tribal and one uses any card in the game.
Several corrections and bugs fixes. Cards with x in their cost and that can target any player used to crash the game.
Teaching AI new things and changing values of efficiency.
You can have multiple "Jace" planeswalkers, you can't have two of the exact same name (no two Jace, the mind sculptor).
2019-04-14 19:57:01 -05:00
Anthony Calosa
b5d4674471
unused variable
2017-03-15 11:23:53 +08:00
Anthony Calosa
be1803dfb6
unearth rule
2017-03-15 06:35:30 +08:00
Anthony Calosa
0778b13e2b
Totem Armor
2017-03-14 03:40:29 +08:00
Anthony Calosa
d6a0b04930
Partial fix for Cards with Bestow
...
missing was to seperate the mode as aura enchantment or enchantment
creature when cast and update the cost
2017-03-13 13:32:43 +08:00
Anthony Calosa
b01c1455f5
Provoke
...
also add aicode for Amplify cards
2017-03-09 18:37:55 +08:00
Anthony Calosa
21b0b4c524
Play the Top Card of Library
2017-03-03 18:49:36 +08:00
Anthony Calosa
e0f58e1916
attack/block cost value
2017-03-03 00:39:23 +08:00
Anthony Calosa
78bfa604e2
tidy up attack menu
2017-03-02 21:46:29 +08:00
Anthony Calosa
ba73da321b
minor
2017-03-02 07:56:41 +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
3bf1cca118
removed this
2017-03-01 14:15:57 +08:00
Anthony Calosa
cdb056e8ba
forgot this
2017-03-01 10:45:17 +08:00
Anthony Calosa
5f1874edae
planeswalker attack
2017-03-01 06:36:10 +08:00
Anthony Calosa
5e46016c4d
added new legend & pw rule, trigger & event
...
added new pw & legend rule (i just leave the old rules behind and
disabled it), added phasesin, faceup, copiedacard event, added facedup &
phasedin trigger.
2017-02-16 21:26:03 +08:00
Anthony Calosa
c70762f871
readded modified rule
2017-02-16 02:39:03 +08:00