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
9760ab39b7
Added new primitives from LTR set, improved "steal" ability with "and" option, printed the nember of ring temptations on "The Ring" card, improved "hasdead" restriction to calculate if a card of a specific type has died during the current turn.
2023-06-27 18:17:22 +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
0f607b2cbe
Added/fixed primitives from NEC set, added new keyword "modified" to target creatures that are enchanted or geared or with counters, updated missing card by set list.
2023-06-09 22:45:08 +02:00
Vittorio Alfieri
09f4c408cd
Fixed some primitives, added new primitives from MAT set, improved filter for multicolored cards, added new keywords for handling multicolored cards.
2023-05-24 15:15:52 +02:00
Vittorio Alfieri
0e0b3a78fe
Added some new primitives from MOM set, fixed some primitives, added new keyword "hasconvoke" to target spells which have convoke cost.
2023-05-19 20:43:26 +02:00
Vittorio Alfieri
152dafc90f
Fixed primitives, fixed a commander deck for AI, improved all cards with partner ability, added a "partner=" key to associate the partner to a primitive, added new keywords "withpartner", "partname" and "haspartner" to improve the Target Chooser for cards with partner, improved the Commander rules to allow double commander just with specifc partner, improved background images management for game settings, deck selection, deck editor background, post-match credits, deck editor selection and trophies room (now it's possibile to randomly use up to 10 background images).
2021-11-18 11:48:27 +01: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
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
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
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
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
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.
2021-01-26 20:47:33 +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
Vittorio Alfieri
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.
2021-01-07 18:56:47 +01:00
valfieri
a99eaac35d
Improved kicker cards comparison criteria (now it's possible to search for a multi kicked card in stack), added a new castcard mode with multikicker option, added all Zendikar Risings primitives to borderline collection, changed in all primitives the restriction "kicker" with a new sintax "if paid(kicker) then" in order to fit with the new kicker logic comparison criteria and castcard option.
2020-10-10 02:44:57 +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
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
b863188c3c
Fixed card types and subtypes visualization, added C20 set and improved Android downloader.
2020-04-16 21:21:34 +02:00
valfieri
601a4432dc
Added new option to show/hide card borders.
2019-10-25 00:23:46 +02:00
valfieri
ca7c8f5cf9
Removed outer border from rendered cards.
2019-10-24 17:53:43 +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
c734ee9fd1
Add exert Indicator
...
"*" signifies exert
2017-08-05 18:16:24 +08:00
Anthony Calosa
4ed44c638f
Update Rules
...
Also fix stack display and removed unnecessary code (border for card is
targetted/targetter since we used forcedborder in actionstack). Also
fixed some cards
2017-03-12 10:53:39 +08:00
Anthony Calosa
84fe9fbc74
highlight border fix
...
all selected/targeted cards ar bordered red while the source is green
border
2017-03-05 22:38:53 +08:00
Anthony Calosa
00da0bd0d1
seperate tabs
...
Misc setting that I added
2017-03-05 21:28:18 +08:00
Anthony Calosa
4bf5943ac5
show large images on grid deck view user option
...
also forced border targets and target source
2017-03-05 19:43:49 +08:00
Anthony Calosa
21b0b4c524
Play the Top Card of Library
2017-03-03 18:49:36 +08:00
Anthony Calosa
cf6084071b
fix aura attached on illegal objects
...
704.5n If an Aura is attached to an illegal object or player, or is not
attached to an object or player, that Aura is put into its owner’s
graveyard.
704.5p If an Equipment or Fortification is attached to an illegal
permanent, it becomes unattached from that permanent. It remains on the
battlefield.
704.5q If a creature is attached to an object or player, it becomes
unattached and remains on the battlefield. Similarly, if a permanent
that’s neither an Aura, an Equipment, nor a Fortification is attached to
an object or player, it becomes unattached and remains on the
battlefield.
2017-03-02 14:26:06 +08:00
Anthony Calosa
b7dae1025b
Refactored PW Attack Rule
2017-03-01 17:53:40 +08:00
Anthony Calosa
1430cfd6b4
momir indicator (non PSP)
...
green + can play a land, red + means you already played a land/ or cant
play a land anymore. also some minor fix
2017-02-28 17:32:01 +08:00
Anthony Calosa
df925cfcb0
booster shop enhancement
2017-02-24 21:45:43 +08:00
Anthony Calosa
8feb870c8f
shop enhancements
2017-02-24 17:29:59 +08:00
Anthony Calosa
d0b2340a73
crash fix in buying booster
...
this should be in game only
2017-02-24 15:04:12 +08:00
Anthony Calosa
a1af7d9b9f
add black border option
...
if enabled, all cards will have black border
2017-02-23 08:38:15 +08:00
Anthony Calosa
acc589bdb6
universal border
2017-02-19 10:16:25 +08:00
Anthony Calosa
c6c4c17b30
try to fix parenthesis
...
:(
2017-02-16 21:57:17 +08:00
Anthony Calosa
90ed6e1fdd
chooseacolor indicator
...
replaced text with color filled rectangle
2017-02-16 00:28:07 +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
01fdcfdfec
zpos and zone display
...
added zone position (adjust dynamically), also inverts the display of
the zone so we always get the top/recent one... the library zpos is
inverted so if we choose to target the top 5 zpos like
target(*[zpos>=5|mylibrary), it will do from top to bottom... this is
only for AI so we can add alternate code for them since they cant use
reveal atm, we can make them target within allowed range...
Also this commit disabled the new legend and planeswalker rule since it
conflicts with reveal ability, unless I/We figure it out, I recommend to
use the old one...
2017-02-14 22:30:50 +08:00
Anthony Calosa
6b1e51b4f6
revised masks
2017-02-12 07:08:31 +08:00
Anthony Calosa
fc9b0b233c
add attacker mask
2017-02-10 10:50:09 +08:00
Anthony Calosa
7932941a01
Revert Functionality
...
AACopier and AACloner should work with andAbility now...
2017-02-03 20:45:46 +08:00
Anthony Calosa
8507c0138d
crash fix
...
when loading collection and shop
2017-01-26 21:02:12 +08:00
Anthony Calosa
1428eeba06
fix copier token image
2017-01-26 15:32:17 +08:00
Anthony Calosa
d03ebdace8
Support for KLD and AER
...
Kaladesh & Aether Revolt
2017-01-18 22:13:51 +08:00
Anthony Calosa
9bcc54c56c
add "recent" & "raidcount"
...
the recent attribute is to parse new cards entered play, then turns
itself to 0 if some stuff happened since it's already in play...
2016-08-25 03:40:38 +08:00
Anthony Calosa
a2007dd59e
border indicator flashback
2016-08-22 10:17:05 +08:00
Anthony Calosa
763918e129
added CD geared attribute
2016-08-16 15:42:22 +08:00