Commit Graph

7571 Commits

Author SHA1 Message Date
Eduardo MG
d60b148ccc Bug fixes and macros for Extort, Angel Token and Saproling Token
Ishai, Ojutai Dragonspeaker
Instrument of the Bards
Psychic Theft
Zabaz, the Glimmerwasp
Harvester of Souls
Serra the Benevolent
2022-10-14 11:50:46 -05:00
Eduardo MG
491f42b717 Bug Fixes and introducing Foretell macros and zombie token macros
Dwarven Bloodboiler
Endling
Open the gates
bolt hound
Silverwing Squadron
Doomskar Oracle
glorious sunrise
river's rebuke
Bound in Gold
daxos of meletis
Thraben Watcher
Prowess of the Fair
2022-10-13 12:32:11 -05:00
Eduardo MG
605e22b067 Bug fixes in primitives, including cards that require an additional discard to be cast
As an additional cost to cast this spell, discard a card needed {D(other *|myhand)} restriction.
Ormos, Archive Keeper
eyekite
Inevitable End
sinous striker
Workshop Elders
dressed to kill
Vilis, Broker of Blood
pack leader
inspiring commander
surley badgersaur
Shoal Kraken
semester's end
timmy, power gamer
thrill of posibility
scourge of the throne
Lord of the Forsaken
Skyclave Shade
Smoke
Losheel, Clockwork Schola
Midvast Protector
Foe-Razer Regent
2022-10-09 12:48:38 -05:00
Eduardo MG
c0f262a0b1 Counters (1/1,1) changed to Counters (1/1) bug fixes
Counters (1/1,1) changed to Counters (1/1) since it's the same with less code.

Macross for Adapt().

Kiora bests the sea god
savior of ollen
Sevinne's Reclamation
Karplusan Hound
cleansing nova
Subterranean Tremors
2022-10-08 23:16:36 -05:00
Vittorio Alfieri
8e551bb287 Added/fixed primitives, updated the "missing_cards_by_sets" folder, moved AI avatar images to main graphics folder. wagic-v0.23.1 2021-12-21 14:14:38 +01:00
Vittorio Alfieri
fa7a0daae1 Added Y22 set, improved Android downloader for Y22 set, added new restriction "librarycast" to check if a card has been casted from library, added new keyword "startingplayer" to retrieve who was the starting player, added a new ability "nodamageremoved" to avoid damage is removed from a card (e.g. "Patient Zero"), fixed a possbile crash when using "andability" option in "moverandom" ability (e.g. cards with seek abilites), added "myname" option to conjure "ability" to refer the orginal source card name (e.g. "Clone Crafter"), added new zone definitions "myhandlibrary" and "opponenthandlibrary" to refer same time hand and library zone of a player, added new ability "nonight" to avoid it can become night (e.g. "Angel of Eternal Dawn"), improved all cards with "it becomes night" ability. 2021-12-20 18:55:54 +01:00
Vittorio Alfieri
7fa03e620d Fixed several primitives, added a new Commander Deck for AI, Fixed an issue on "blink" return ability (e.g. "Otherworldly Journey"), improved "exerted" trigger adding "turnlimited" option, added a new keyword "losesatype" to remove a specific type from a card (e.g. "Conversion"), improved "vanishing", "fading" and "bloodthirst" keywords in order to allow the usage of variables (e.g. "Tidewalker"), added new triggers "poisonedof" and "poisonedfoeof" to handle the event when a player gets a poison counter, added new keywords "countershroud" to avoid a card can get any kind of counter, added new keywords "expshroud" and "energyshroud" to avoid a player can get one of those counters, added new option "uent" for "transforms" keyword ability to allow transformation effects end at the end of your next turn, fixed an issue on "swap" keyword when a non-creature card is firstly transformed into a creature (e.g. "Wandering Fumarole"). 2021-12-18 13:45:58 +01:00
Eduardo
8551f55636 Fixes to primitives
ancestral blade not attaching to token
etherium spinner token wasn't artifact
Ichthyomorphosis
Jungle Creeper must activate from GY
Lightning Skelemental crashed the game
Vedalken Plotter
Steel-Plume Marshal is only for flying
Venser emblem created by the AI lets the player exile
Markov Purifier was drawing two cards
Jace, Mirror Mage clone was legendary
2021-12-08 23:16:00 -06:00
Vittorio Alfieri
059107b007 Fixed DBL set. 2021-12-08 09:44:06 +01:00
Eduardo
a4670f0b82 Fixes to primitives
Enemy of Enlightenment type
Bereaved Survivor type
Suppression Bonds target
Wintermoor Commander effect
Tibalt, Rakish Instigator token damage target
Zurzoth, Chaos Rider token damage target
Dega Sanctuary extra "}"
Ephara's Enlightenment bounce
the caster of Swan Song was getting the swan, still not 100 % accuarate in case you want to counter your card
Estrid, the Masked untap
2021-12-07 00:43:06 -06:00
Eduardo
5421c0cfda Fixes to primitives
Zacama, Primal Calamity
phylath
Dowsing Dagger
domri's ambush
tireless provisioner
cemetery desecrator
deadly brew
2021-12-05 20:16:18 -06:00
Vittorio Alfieri
b8435778fe Fixed "Jandor's Ring" primitive, added DBL set, improved Android downloader. 2021-12-03 18:29:33 +01:00
Eduardo
68e08783c6 Fixes to primitives
portal of sanctuary
zacama desc
All that glitters crashed the game
Dread Warlock
Song of the Dryads no need to teach a forest add G
Cavern Lampad
Inspired Ultimatum crashed the game
Sever the Bloodline
2021-12-03 01:38:06 -06:00
Vittorio Alfieri
6c0740c78c Fixed primitives, avoided a crash when destroying "transforms" ability for cards in library, added random deck selection to Stone Hewer Basic mode, fixed random deck selection from Commander mode, improved exclusive color filter to include monocolored artifacts, added PSP_LARGE_MEMORY define to Makefile to allow more RAM for PSP version. 2021-12-02 18:55:53 +01:00
Eduardo
d969b6ce7a Bug fixes and Egg creature type update
Ironroot Warlord
Cauldron Familiar
Feasting Troll King
archway commons
song of the dryads goes to the graveyard after turning the creature into forest
crack open targets
Roc Egg, Dragon Egg,other cards with type Egg
atla palani
wayward sword can attack PW
birthing boughs does not create artifacts
psychic symbiont
syphon essence
saryth hexproof
2021-11-30 16:30:48 -06:00
Vittorio Alfieri
b5c1b09c04 Fixed "Oko, Thief of Crowns" primitive. 2021-11-26 13:40:03 +01:00
Vittorio Alfieri
e47f3f5471 Improved zones management for commandzone and sideboard (e.g. now the game consider those zone as all the others for every ability such as "lord" and "aslongas"). 2021-11-22 16:17:10 +01:00
Vittorio Alfieri
217a5aa93e Fixed primitives. 2021-11-21 23:13:33 +01:00
Vittorio Alfieri
d11facd7d4 Fixed primitives, added a new keyword "eval()" in ManaCost parser to allow the usage of a variable in the manacost (e.g. "{eval(evictmc)}" in primitive "Prototype Portal"). 2021-11-21 13:38:09 +01:00
Vittorio Alfieri
6ca5291790 Updated the changelog. 2021-11-19 16:17:18 +01:00
Eduardo
14103a840d Bug fixes on primitives
Vance's Blasting Cannons
Vona, Butcher of Magan
Niambi, Faithful Healer
bone harvest and similar cards add a choose 0 targets option
Arborea Pegasus
Arcbound Shikari
Keldon Raider
Aurelia, Exemplar of Justice
Mu Yanling, Sky Dancer
Voldaren Pariah
Yarok's Fenlurker
2021-11-18 20:06:17 -06:00
Vittorio Alfieri
31b3a7e785 Fixed typos in primitives text, improved Deck Editor menu' commands (now select button toggle the Sideboard/Commanders/Dungeons view while the Note Button open the quick filter), added a new menu' option in Deck Editor to toggle Grid/Carousel view (useful on PSP/PSVita). 2021-11-18 20:42:21 +01: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
477ffa6a0c Fixed primitives, updated italian lang file, added a new setting to sort decks by creation date (by default they will be sorted by name), added new filters to match cards that don't contain a particular color or that are multicolored, fixed an issue when the transformation with uynt is triggered by instant/sorcery or by card that left the battlefield before the ability ending turn, fixed a rendering overlap on mana symbols in deck editor, fixed some crashes on ManaCost parser (e.g. Filter by mana producer). 2021-11-15 21:38:04 +01:00
Vittorio Alfieri
2eed51dea6 Fixed "Mana Hellkite" and added its token primitive, fixed token in VOW set. 2021-11-14 19:13:25 +01:00
Vittorio Alfieri
c55c9c2507 Fixed primitives, 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 3 background images and if the chosen image is not available, it will be rendered the default one). 2021-11-14 14:24:27 +01:00
Eduardo
96f7072a77 fixed primitives, several bugs and crashes
The Locust God
Pest tokens should be black not blue
Shabraz, the Skyshark
Arlinn Kord
Tovolar, Dire Overlord
mystic skull
golden guardian
blink of an eye
Got arctic treeline in momir, the only cards that should have rarity=L are basic lands or else you get them in momir since they have basic subtypes
storm the festival desc
rise of the ants
dryad's revival shouldn't be able to retrive itself or play with an empty GY
shiny impetus
malevolent hermit
whirlwind of thought
kiora's dismissal description
glorious protector
Aurora Phoenix is not a partner
Bastion Protector auto=lord(creature[iscommander]|mybattlefield) indestructible
Golgari Findbroker auto=target(*[-instant;-sorcery]|mygraveyard) moveto(ownerhand)
Ulrich's Kindred auto={3}{G}:target(*[wolf;werewolf;attacking]) indestructible ueot
Hard Evidence
King of the Pride auto=lord(creature[cat]|myBattlefield) 2/1
Lathliss, Dragon Queen auto={1}{R}:all(dragon|myBattlefield) 1/0 ueot
2021-11-13 22:40:07 -06:00
Vittorio Alfieri
9957719e0c Fixed VOW set, added new AI deck, improved Android downloader for VOC and VOW sets. 2021-11-13 20:25:10 +01:00
Vittorio Alfieri
8b91048d12 Fixed VOW and VOC sets, improved Android downloader for VOC and VOW sets. 2021-11-11 19:36:16 +01:00
Vittorio Alfieri
6d46467861 Added/fixed primitives, added VOW and VOC sets, fixed order index of CC2 set, updated the "missing_cards_by_sets" folder, added new keyword "findlasttype" to find the index of latest card with specified type in target player graveyard (e.g. "Timothar, Baron of Bats"), improved Android downloader. 2021-11-10 18:25:47 +01:00
Vittorio Alfieri
8012672a70 Fixed primitives, fixed a problem on "flip" ability for some backside cards (e.g. "Edgar Markov's Coffin"), added new keywords "pnumcreswp" and "onumcreswp" to calculate the number of creatures that have toughness greater than their power. 2021-11-07 22:13:39 +01:00
Vittorio Alfieri
f371295f24 Fixed a bug related to the "turnlimited" option on several ability triggers (e.g. Vampired, Discarded, etc.), restored some test of regression suite after this bug resolution. 2021-11-03 23:52:55 +01:00
Vittorio Alfieri
79e560e2b2 Fixed primitives, added new ability "exploits" to sacrifice a creature, added new trigger "exploited" and improved all primitives with Exploit ability, improved "tokencreated" and "sacrificed" triggers to allow "turnlimited" option, improved "flip" ability in order to keep track of current zone before flip. 2021-11-03 22:17:18 +01:00
Vittorio Alfieri
3baa6acaaf Fixed primitives, added new macro "_TRAINING_" for new ability "Training", added new trigger "trained", added "trainer" restriction to check if player controls an attacking creature with greater power than the current one, improved "ninjutsu" ability when the targeted card is already in play (e.g. "Olivia, Crimson Bride"), improved "flip" ability in order to add the "andability" option and in ordeer to prevent flipped auras go to graveyard, improved "andability" option for "imprint", "haunt" and "conjure" ability, improved "retarget" and "newtarget" keywords with "fromplay" option (to use with flipped auras e.g. "Vengeful Strangler"), replaced old "praidcount" and "oraidcount" with new keywords "pattackedcount" and "oattackedcount". 2021-10-31 21:40:37 +01:00
Vittorio Alfieri
051f498e54 Fixed "Mindbreak Trap", "Summary Dismissa" and "Obeka, Brute Chronologis" primitives. 2021-10-27 15:43:07 +02:00
Vittorio Alfieri
0824ea3984 Fixed a Bug in MusicExist method of GameStateDuel class when filename parameter was empty (this could lead to a wrong check on which soundtrack has to be played). 2021-10-23 21:44:28 +02:00
Vittorio Alfieri
63c5ff2789 Renamed some decks for AI. 2021-10-23 11:58:00 +02:00
Vittorio Alfieri
31530215a5 Renamed a deck for AI, fixed test suite (one test seems to randomly fail on AI choice without a real bug). 2021-10-21 10:51:30 +02:00
Vittorio Alfieri
78658a6a9e Added/fixed primitives, updated the "missing_cards_by_sets" folder, renamed several decks for AI, added "noentertrg" and "nodietrg" keywords to allow creatures enter the battlefield or die without causing abilities to trigger (e.g. "Hushbringer"). 2021-10-21 09:53:39 +02:00
Vittorio Alfieri
41a89c7324 Added "Spell Queller" primitive, updated the "missing_cards_by_sets" folder. 2021-10-20 16:26:31 +02:00
Vittorio Alfieri
3130049c63 Added Q06 set, improved Android downloader, fixed bug for indestructible creatures that have to go different zone after death (e.g. if they have exiledeath ability), fixed a bug when indestructible creatures have toughness = 0 (e.g. "March of the Machines" with manacost = 0 artifacts). 2021-10-20 14:52:15 +02:00
Vittorio Alfieri
fcb073ccd6 Fixed "Krenko Commander" and "Plane of the Apes" decks for AI, added a commandline trace to check which soundtrack file is currently playing. 2021-10-18 11:33:15 +02:00
Vittorio Alfieri
5bf5e1dfba Added a new deck named "Krenko Commander" for AI (credits to Bob). 2021-10-17 11:39:07 +02:00
Vittorio Alfieri
6d1e16441e Fixed "Cursed Mirror". 2021-10-15 17:47:13 +02:00
Vittorio Alfieri
316e2b21b4 Fixed "Sylvan Awakening", "Sylvan Library" and "Sylvia Brightspear" primitives. 2021-10-15 16:53:45 +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
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
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
fbcb1feb88 Fixed primitives, fixed "proliferate" target chooser, improved "cycled" and "discarded" triggers, added new keywords "pcycledcount" and "ocycledcount" to calculate how may cards have been cycled this turn from a specific player, added new menu choices to instantly select/deselect and confirm all the possible targets (in any zone) during the target selection of an ability (e.g. Proliferation ability can target a lot of permanents and players so using that menu choice all the targets will be instantly chosen and then the current player will be able to remove any of them or confirm the entire selection). 2021-10-13 17:39:48 +02:00
Vittorio Alfieri
371d4c9f85 Fixed and improved the Deck Importer (from MTGO) in Android application. 2021-10-12 16:32:26 +02:00