Compare commits

...

1748 Commits

Author SHA1 Message Date
Vittorio Alfieri ac197179fb Fixed a crash on Shop when buying a new booster. 2023-08-11 12:25:24 +02:00
Eduardo MG fd68b1d90a Bug fixes to primitives
Keruga, the Macrosage: other permanets so it shouldn't count itself
Mirkwood Spider: extra )
Meria, Scholar of Antiquity: using macro for __PLAY_TOP_FROM_EXILE__
Quarrel's End: was missing the draw 2
Leonin Bladetrap: was missing the {2} activation cost
Strixhaven Stadium: mana ability was not adding a point counter
Gorgon Recluse: should only kill nonblack with their ability
Mass Diminish: should be until your next turn
2023-08-09 16:58:01 -06:00
Vittorio Alfieri dacb69721a Added last primitives from CMM set, fixed some prmitives, updated missing cards by set list. 2023-08-06 16:32:45 +02:00
Vittorio Alfieri 574ea034e2 Added CMM set, added some primitives from CMM set, fixed some primitives and macros, updated card images url list, updated missing cards by set list. 2023-08-05 18:26:35 +02:00
Vittorio Alfieri bc6e354b9e Added new deck for AI, fixed some primitives from Discord. 2023-08-04 10:36:20 +02:00
Vittorio Alfieri 94fb44d1eb Fixed some primitives from issue #1085 2023-07-28 15:31:05 +02:00
Vittorio Alfieri 332f0542f7 Fixed some primitives from issue #1085, fixed _BLINK_UEOT_ macro, improved several abilities to allow the usage og "and" option. 2023-07-27 18:18:49 +02:00
Vittorio Alfieri 29262b4c78 Fixed some primitives from issue #1085, fixed some primitives from Discord channel. 2023-07-26 17:05:14 +02:00
Vittorio Alfieri 816c42b63b Fixed some primitives from issue #1085, fixed some primitives from Discord Channel, fixed "except" keyword for triggers, added "nocost" option for "totalcounteradded" event to avoid to trigger in case of counter cost (e.g. "Doubling Season"), added "removeallcolors" and "removeallsubtypes" options for "transforms" ability. 2023-07-25 17:38:25 +02:00
Vittorio Alfieri 751fda6521 Fixed some primitives from issue #1085, fixed some primitived from Discord channel, updated some AI decks, added new ability "canloyaltyasinst" to allow a planeswalker to activate loyalty abilities as instant (e.g. "The Wandering Emperor"), fixed a possible crash when a card change zone with different card types than its original version (e.g. morphed cards). 2023-07-24 19:08:20 +02:00
Vittorio Alfieri 6625907180 Fixed some primitives from issue #1085, improved some cards for AI combo (from Discord channel), added "isattacker" keyword to check if creature is attacking, added "couldattack" keyword to check if creature can attack, improved some triggers to add turnlimit option. 2023-07-21 21:12:38 +02:00
Vittorio Alfieri 7c697eb376 Fixed some primitives from issue #1085 and updated some AI decks. 2023-07-20 11:54:49 +02:00
Vittorio Alfieri ab9002be79 Fixed some primitives from issue #1085 2023-07-18 18:27:34 +02:00
Vittorio Alfieri 8c5a089448 Fixed some primitives from issue #1085 and from Discord channel, updated some AI decks. 2023-07-17 17:40:50 +02:00
Vittorio Alfieri fbfcb7d3ac Fixed some primitives from issue #1085 and from Discord channel, fixed all curses primitives and targets, added new keywords "oppotgt" and "ctrltgt" to check wich player has been targeted from a card, fixed an issue on "chooseaname" ability. 2023-07-13 17:24:11 +02:00
Vittorio Alfieri c170733af6 Fixed some primitives from issue #1085 2023-07-11 15:27:19 +02:00
Vittorio Alfieri d724263d65 Updated some AI commander decks, fixed a bug on "Noxious Field" primitive. 2023-07-10 17:13:46 +02:00
Vittorio Alfieri 2ed35bcaa2 Fixed all primitives that should target any target instead of player and creatures using the new implemented target "anytarget", added new target "propagation" for "propagate" ability, removed the duplicated "unsacrificable" basic ability to use the previous "cantbesacrified" one. 2023-07-08 19:19:17 +02:00
Vittorio Alfieri 17b4dbf55a Fixed primitive "Collected Company". 2023-07-07 18:43:32 +02:00
Vittorio Alfieri b791da0786 Added new primitives from LTC set, improved "_GOAD_" macro, updated missing card by set list, added new keyword "permanent" to target permanents and nonpermanents, added "flashback" option to "castcard" ability, added new ability "unsacrificable" to forbid a player to sacrifice a card. 2023-07-07 18:22:58 +02:00
Vittorio Alfieri deec348fea Added new AI commander deck, fixed some primitives. 2023-07-06 17:51:52 +02:00
Vittorio Alfieri d478df4dc1 Added new primitives from LTR and LTC sets, updated missing card by set list. 2023-07-06 17:14:55 +02:00
Vittorio Alfieri 40f7d75bcf Fixed LTC dat file, updated Card images urls list.a 2023-07-05 17:10:29 +02:00
Vittorio Alfieri ffb8047d2c Added new primitives from LTR and LTC sets, fixed LTC dat file, fixed primitives with scryed trigger, updated Card Image urls list. 2023-07-05 16:41:57 +02:00
Vittorio Alfieri 5da42e53be Added new primitives from LTR set, fixed primitives, updated missing cards by set list, updated Card image urls list, fixed LTR dat file, added new ability "eqpasinst" to allow usage of "equip" ability as an instant. 2023-07-04 17:40:17 +02:00
Vittorio Alfieri eaef6a588d Added new primitives from LTR set, fixed a possible crash on "transforms" deletion from emblems and "ability$", fix source card for token creation inside ability$!!$ keyword. 2023-07-03 18:11:17 +02:00
Vittorio Alfieri fe8144553a Updated AI commander deck. 2023-07-01 18:28:39 +02: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 6731251d07 Added new primitives from LTR set, improved AMASS macrps for Zombie Army. 2023-06-30 21:50:11 +02:00
Vittorio Alfieri 7fab07638e Added new primitives from LTR set. 2023-06-29 22:59:47 +02:00
Vittorio Alfieri 1ab4e4ebfd Added new primitives from LTR set, added notrigger option for special tokens such as "The Monarch" and "The Ring" and "The Initiative", fixed LTR dat file, updated missing cards by sets list, added "untp" option for "rehook" and "retarget" ability to untap the equipped creature, added new restriction "oppoattacked" to check if your opponent has attacked during the current turn. 2023-06-28 17:07:09 +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 edc0aebf04 Fixed LTC and SIR dat files, added new primitives from LTR set, implemented the new abilities and trigers related to ring bearer and ring temptations for LTR and LTC sets. 2023-06-26 22:27:29 +02:00
Vittorio Alfieri b00f142168 Merge branch 'master' of github.com:WagicProject/wagic 2023-06-25 20:51:44 +02:00
Vittorio Alfieri 197686962c Improved Android donwloader, updated Android manifest to fix release version, updated AI commander deck, added LTR and LTC sets, updated cards image url list, updated missing cards by sets list. 2023-06-25 20:51:01 +02:00
Eduardo MG 0d313bb34e Bug fixes to primitives
Kiora, the Crashing Wave
Ral, Storm Conduit
Ezuri, Stalker of Spheres ))
Staff of the Storyteller
Exuberant Wolfbear
2023-06-25 12:15:28 -06: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 20fa180864 Improved Android downloader for token images. 2023-06-23 21:57:29 +02:00
Vittorio Alfieri 6a73b41724 Updated Card Image Url list for SIR set. 2023-06-23 17:38:56 +02:00
Vittorio Alfieri df1a6c10a0 Added / fixed primitives from NEO set, improved Android downloader, updated missing cards by sets list, added SIR and SIS sets, updated card image url links, fixed MUL dat file, fixed a possible crash on "transforms" ability, added new trigger for ninjutsu ability, added new ability readytofight to set a creature tapped and attacking without being a ninja. 2023-06-23 17:25:04 +02:00
Vittorio Alfieri c2d78db724 Added / fixed primitives from NEO set, added "mytgtforced" target for equipments and auras, added "numofactivation" keyword to give PT according to how many time an ability has triggred (e.g. "Bronze Cudgels"). 2023-06-22 18:39:11 +02:00
Vittorio Alfieri 797514521e Added / fixed primitives from NEO set, updated missing cards by sets list, improved "removesinglecountertype" ability (added "all" option to remove a specific amount of each kind of counter on a target). 2023-06-21 18:31:50 +02:00
Vittorio Alfieri 1458b4a872 Improved Android downloader for token images. 2023-06-20 19:14:02 +02:00
Vittorio Alfieri f9bcaf53c2 Added / fixed primitives from NEO set, improved Android downloader for token images, fixed a problem with castcard copied option for permanents, fixed a bug on colorless mana calculation for AI during combo. 2023-06-20 17:29:44 +02:00
Vittorio Alfieri 721a3edefb Added new primitives from NEO set, fixed NEO dat file, updated card image url list. 2023-06-19 16:35:50 +02:00
Vittorio Alfieri d4c2fecb69 Added primitives from ONE and NEO sets, fixed XLN dat file, updated missing cards by sets list. 2023-06-19 12:35:11 +02:00
Vittorio Alfieri 56a391193d Fixed MOC set dat file, updated Card Image Url list, improved Android Image Downloader. 2023-06-19 11:00:03 +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 2ca092090d Added / fixed primitives from ONE set, updated missing cards by sets list. 2023-06-18 02:44:43 +02:00
Vittorio Alfieri 170987e418 Added new primitives from ONE set. 2023-06-16 15:16:40 +02:00
Vittorio Alfieri 8c85c56ff3 Fixed some typos in primitives. 2023-06-15 23:41:27 +02:00
Vittorio Alfieri 8a440d5d09 Added / fixed primitives from ONE set, updated missing card by sets list, improved triggers and added new trigger for proliferation effect. 2023-06-15 19:15:44 +02:00
Vittorio Alfieri b7e8907877 Added / fixed primitives from J22 and ONE set, updated missing cards by sets list. 2023-06-13 14:11:20 +02:00
Vittorio Alfieri 67ab960608 Added new primitives from J22 and NEO sets, fixed some primitives. 2023-06-12 16:55:20 +02:00
Vittorio Alfieri dacc76711c Updated an AI commander deck. 2023-06-10 23:43:06 +02:00
Eduardo MG d42b5411d2 Bug Fixes to primitives, some reported in the Discord
Akki Battle Squad closing tag
Akki Ronin is not really missing, related to the missing closing tag
Ruthless Technomancer
Blossoming Defense
Ana Sanctuary
Spikefield Hazard
Headless Rider
Mishra's Research Desk
Simian Sling
2023-06-10 15:27:06 -06:00
Vittorio Alfieri a5487311c4 Fixed several errors on primitives, fixed a bug on "mofified" target, restore a previous test on regenerate ability. 2023-06-10 22:52:49 +02:00
Vittorio Alfieri 1191d401c9 Update _tests.txt for a possible false problem on regenerate… 2023-06-09 23:44:50 +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 2831ac12ae Added/fixed some primitives from J22 and NEC sets, fixed J22 and NEC dat file, updated card image url from NEC and J22 sets, fixed a bug on token copy, improved flip ability for tokens. 2023-06-05 17:55:11 +02:00
Vittorio Alfieri f8fc173e86 Added / fixed some primitives, updated missing cards by set list, added new "reconfigure" ability based on "equip" one. 2023-06-04 20:11:40 +02:00
Eduardo MG 50251e460b Bug fixes to primitives
Pilot
Haunted One
Bane, Lord of Darkness
Bhaal, Lord of Murder
Humility
Redcap Melee
2023-06-03 19:28:06 -06:00
Vittorio Alfieri a78110759b Improved Android downloader to use ScryFall APIs, fixed J22 dat file, updated card url links for J22 set. 2023-06-04 01:11:01 +02:00
Vittorio Alfieri 24c0684563 Improved Androd downloader for NES set, added new primitives from NEC and NEO sets, fixed NEC dat file, updated card url links. 2023-06-02 17:10:02 +02:00
Eduardo MG d9af81007f Bug fixes to borderline file
Fixed unbalanced parentheses
Pegasus Courser
Season of Growth crashes
2023-06-01 14:10:35 -06:00
Vittorio Alfieri c0f2635990 Fixed ONE, ONC, NEO and DMR dat file, added new primitives from ONC set, fixed primitives, improved Android downloader, updated missing card by set list, updated cards image url links, fixed a bug on parser when reading the substring "equip" with a different meaning. 2023-06-01 19:04:28 +02:00
Vittorio Alfieri d3deae3a6a Added last primitives from BRC set, fixed some primitives, improved triggers for counters, fixed a bug on removesinglecounter ability, updated missing card by set list. 2023-06-01 10:29:35 +02:00
Vittorio Alfieri aa87536c4a Fixed Android downloader for BRR set. 2023-05-31 15:41:48 +02:00
Vittorio Alfieri ea9d053d76 Added new primitives from BRO and BRC sets, fixed some primitives, fixed BRR dat file, fixed castcard ability to avoid double activities activation, fixed a bug on "canloyaltytwice" ability. 2023-05-31 15:35:22 +02:00
Vittorio Alfieri 21687bc3ee Improved castcard "restricted" option for land cards, fixed fresh attribute reset on library cards, improved "can play" restriction, fixed BRO set dat file, updated card url file for BRO set, added/fixed some primitives from BRO set. 2023-05-30 23:27:18 +02:00
Eduardo MG 06b1a47a56 Bug fixes to primitives
Invocation of the Founders
Sanctifier of Souls
Rest for the Weary so you don't get double trigger on cards that care about lifegain
Raking Claws
2023-05-30 00:33:38 -06:00
Vittorio Alfieri 4f4addb8e9 Updated an AI commander deck, improved damage and life and manaproduce ability to send the correct source card on triggers when they are used inside the "ability$!!$" keyword, fixed issue #1090 about filtering cards with add{c} instead of add{1} ability. 2023-05-30 00:08:25 +02:00
Vittorio Alfieri c17abc3dca Fixed image url list for BRO and BRC sets. 2023-05-29 18:19:59 +02:00
Vittorio Alfieri 2e09f489cb Added some new primitives from BRO set, fixed BRO and BRC card dat files, updated card image url links, added new keyword "prodmana" to count the specific amount of mana spent to cast a card. 2023-05-29 18:05:21 +02:00
Eduardo MG 961f00441f Sagas from Kamigawa: Neon Dynasty (NEO)
Still some missing
Cards added:
Fable of the Mirror-Breaker
Reflection of Kiki-Jiki
Okiba Reckoner Raid
Nezumi Road Captain
Era of Enlightenment
Hand of Enlightenment
Befriending the Moths
Imperial Moth
Tales of Master Seshiro
Seshiro's Living Legacy
The Modern Age
Vector Glider
The Shattered States Era
Nameless Conqueror
Bug fixes:
Fry
Liliana, the Last Hope
Brinelin, the Moon Kraken
2023-05-28 18:36:46 -06:00
Vittorio Alfieri 99f08276c6 Addes some new primitives from BRO set, fixes BRO and BRC dat files, updated image list url for BRO and BRS sets, imrpoved an AI deck, improved meld ability with "and" option, added new ability to allow a planeswalker to activate its loyalty abilities twice in a turn, improved Android downloader. 2023-05-28 23:17:21 +02:00
Vittorio Alfieri 066b30b1b7 Improved "Affinity" ability to support variables, fixed several primitives with affinity ability. 2023-05-27 21:24:25 +02:00
Eduardo MG 5785e413ec Bug fixes on primitives
Jace, Wielder of Mysteries
Chain Reaction
Rona, Tolarian Obliterator
Seize the Soul
Graveyard Marshal
Varina, Lich Queen
2023-05-27 00:11:31 -06:00
Vittorio Alfieri 9b162b434b Created a macro for going to adventure, 2023-05-26 21:47:48 +02:00
Vittorio Alfieri c66387320f Merge branch 'master' of github.com:WagicProject/wagic 2023-05-26 21:36:36 +02:00
Vittorio Alfieri ad9ea0f972 Fixed generic Affinity ability, fixzed some primitives with affinity abilities. 2023-05-26 21:36:11 +02:00
Eduardo MG faa24acbc3 Fix for adventure cards
Some closing brackets and parenthesis were missing. Maybe going on an adventure could be a macros.

Also fixes on:
Soldevi Adnate
Poultrygeist
Goblin Cratermaker
2023-05-26 13:32:58 -06:00
Vittorio Alfieri 3dfd3253b2 Fixed transformation ability for instant and sorceries when the duration was uynt uent or forever, fixed several primitives to correctly set transformation duration of targeted cards. 2023-05-26 17:16:57 +02:00
Vittorio Alfieri 8df057f78a Added last primitives from MAT set, updated missing cards by set list, improved trigger and filtering for mana production abilities. 2023-05-25 18:48:00 +02:00
Eduardo MG 319cfe7889 Bug fixes in primitives
Heir to the Night
Indoctrination Attendant
Firecat Blitz
Ghalta and Mavren
2023-05-24 23:07:06 -06: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 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 1488bbc0f6 Fix compilation error on Android donwloader. 2023-05-22 16:14:21 +02:00
Vittorio Alfieri 1818bf4a5e Improved Android downloader, updated CardImageList.csv for some token urls. 2023-05-22 14:52:57 +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
Eduardo MG 5f1371f914 Cards from Jumpstart 2022 (J22)
Michiko's Reign of Truth
Portrait of Michiko
Angelic Cub
Chains of Custody
Distinguished Conjurer
Biblioplex Kraken
Launch Mishap
Merfolk Pupil
Soul Read
Conductor of Cacophony
Creeping Bloodsucker
Deadly Plot
Suspicious Shambler
Ardoz, Cobbler of War
Coalborn Entity
Daring Piracy
Plundering Predator
Giant Ladybug
Mild-Mannered Librarian
Primeval Herald
Spectral Hunt-Caller
Towering Gibbon
Infernal Idol
2023-05-22 00:03:03 -06: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 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
Eduardo MG c3e8379258 Macros for surveil, bug fixes on primitives
Surveil, like scry, using parameters causes bugs so each value has to be indicated, updated some oracle text on cards that now use surveil.
Bug fixes:
Wolfwillow Haven
Karador, Ghost Chieftain
Ryusei, the Falling Star
Phyrexian Etchings
Pillar Of Flame. Exiles itself when it targets a player
Tuya Bearclaw
Dauthi Mindripper
2023-05-21 00:22:33 -06:00
Vittorio Alfieri 430589e64c Fixed Android downloader for BRO set. 2023-05-20 21:23:42 +02:00
Vittorio Alfieri aafb88664c Added MAT set, fixed BRO set, updated CardImageLinks, Updated Android downloader, updated missing card by set list. 2023-05-20 19:06:50 +02:00
Eduardo MG c81384ab1d Filter for snow type, adding battles into random decks
Bug fixes:
Boreas Charger
Heartfire Immolator
Scatter Ray
Pariah's Shield
Zimone and Dina
Aetherwing, Golden-Scale Flagship
2023-05-19 18:01:51 -06: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 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 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 452cf4793f Fixed some primitives, added some new primitives from MOM set. 2023-05-17 15:13:25 +02:00
Eduardo MG 15588eda93 Bug fixes to primitives
Dreadfeast Demon not a may
Orzhov Advokist was getting every one of your creatures 2 counters
Baleful Stare
Energy Chamber shouldn't let you choose counters on artifact creatures if there are none on the field
2023-05-17 00:23:06 -06:00
Vittorio Alfieri 90e8292660 Improved toughness target filtering for Planeswalkers and Battles. 2023-05-16 13:08:25 +02:00
Vittorio Alfieri 19f7ee3615 Merge pull request #1088 from EduardoMunozGomez/master
Merged from EduardoMunozGomez: Condition to add a background to the commander deck
2023-05-16 09:48:10 +02:00
Eduardo MG fa50c2f5df Temporal 2023-05-15 20:34:00 -06:00
Eduardo MG 01f3b23bea Condition to add a subtype=background to the commander deck 2023-05-15 20:17:50 -06:00
Eduardo MG 36fbb0d47d Merge branch 'WagicProject:master' into master 2023-05-15 20:12:26 -06:00
Eduardo MG 84c9667c71 Reduced sacrifice efficiency for AI. Bug fixes in primitives
The AI is too willing to sacrifice permanents.
The AI sometimes doesn't use a Planeswalker ability, increasing efficiency.
Gonti, Lord of Luxury. An effect that instructs you to "cast" a card doesn't allow you to play lands.
Rona, Tolarian Obliterator exra )
Oblivion Strike
Steel Seraph
True Love's Kiss
2023-05-15 20:10:42 -06:00
Eduardo MG 84c2c49581 Merge branch 'WagicProject:master' into master 2023-05-15 16:51:10 -06:00
Vittorio Alfieri 0a0c541f07 Now it's possible to use toughness target filtering even for planeswalkers and battles, added some new primitives from MOM set. 2023-05-15 23:04:24 +02:00
Vittorio Alfieri 546c755185 Fixed redirection of damage for battle cards, added 2 new keywords to target combined zones, added some new primitives from MOM set. 2023-05-15 16:37:10 +02:00
Vittorio Alfieri a1d82d9f84 Fixed a problem of damage redirection from player to battle cards, added some new primitives from MOM set,fixed some primitives. 2023-05-15 11:23:38 +02:00
Eduardo MG 7a52f789b9 Fixed backgrounds so the enchantment itself doesn't get the ability, only the creature
Bug fixes:
Cultist of the Absolute
Depraved Harvester
transform Rona
Tainted Adversary
2023-05-14 23:36:04 -06:00
Vittorio Alfieri 0867265039 Added some new primitives from MOM set. 2023-05-15 00:56:25 +02:00
Vittorio Alfieri ad6ae4e188 Fixed all battle cards, improved stun counter rule, added some new primitives from MOM set. 2023-05-14 18:10:39 +02:00
Vittorio Alfieri efe9ad8bc4 Added some new primitives from MOM set, added new rule for Stun counter. 2023-05-14 15:56:38 +02:00
Eduardo MG 12f3a360ba Update borderline.txt
Overloaded Mage-Ring, cards like this crash the game, any permanent trying to copy an instant or sorcery with the syntax activate castcard(copied noevent), doing some testing transforms((,newability[clone])) oneshot seems to be working but you don't get to choose new targets for the copied instant or sorcery.
Karlach, Fury of Avernus
Mummy Paramount
Sunder the Gateway I guess the extra newability[ was a mistake
backgroundpartner was misspelt
2023-05-13 19:49:58 -06:00
Eduardo MG e92191f38d Merge branch 'WagicProject:master' into master 2023-05-13 15:57:47 -06:00
Vittorio Alfieri 59e0f0902e Fixed CLB set for tokens, updated Android downloader, updated card image list. 2023-05-13 19:10:55 +02:00
Vittorio Alfieri 5a2a986ec6 Fixed card images url. 2023-05-13 15:59:46 +02:00
Vittorio Alfieri c10054ae6f Added some new primitives from MOM set, updated Android downloader, fixed MOM and MOC card file to add tokens, updated Images links. 2023-05-13 15:52:25 +02:00
Vittorio Alfieri 24dac100f2 Fixed MH2 card file, fixed images links for MH2 set, added some new primitives from MOM set. 2023-05-13 11:02:18 +02:00
Eduardo MG a0209fa158 MH2 alt art addition, CLB legends chooseabackground -> backgoundpartner
Modern Horizons 2 (MH2) to include alternative artwork
Some legends from CLB had a placeholder ability, changed to the implemented backgoundpartner
Bug Fixes:
Carnelian Orb of Dragonkind
Teferi, Temporal Pilgrim -12
Noxious Grasp
Nine-Fingers Keene
Song of the Dryads
2023-05-13 00:08:20 -06:00
Vittorio Alfieri 33103e648f Added Incubator and Phyrexian cards in MOM set, fixed icubate ability, updated card image list. 2023-05-12 17:50:45 +02:00
Vittorio Alfieri f73b1869d5 Added some new primitives from MOM set, fixed some primitives. 2023-05-12 15:57:55 +02:00
Vittorio Alfieri 4ccad97eb0 Fix attacking menu for planeswalkers and battles, fixed MOM dat file. 2023-05-12 11:25:08 +02:00
Eduardo MG 967931a385 Macros replacements
_SPECTACLE_
_THOPTERTOKEN_
_AFTERLIFETOKEN_
2023-05-12 00:31:44 -06:00
Eduardo MG e151790481 Bug fixes, correcting reminder text on mill cards
lifeleech when applicable
Teferi's Realm
Gorging Vulture
Kefnet's Monument
Rowdy Crew
Kjeldoran Gargoyle
Muxus, Goblin Grandee
2023-05-11 11:19:52 -06:00
Vittorio Alfieri 88099ce431 Fixed duplicated id on MOM cards. 2023-05-11 16:52:00 +02:00
Vittorio Alfieri 4e22b27783 Fixed compilation error on PSP/PSVITA. 2023-05-11 16:12:03 +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 f395274c0b Updated unsupported primitives and mmissing card by set list. 2023-05-10 22:18:12 +02:00
Vittorio Alfieri b23014fcd6 Merge branch 'master' of github.com:WagicProject/wagic 2023-05-10 21:55:09 +02:00
Vittorio Alfieri cf329e82a9 Added version to artifacts before automatic uploading on travis release. 2023-05-10 21:54:57 +02:00
Eduardo MG 32d18c9a68 Added cards from recent sets ONE, MOC, BRO
Didn't deleted any card but some seem out of order.

Tamiyo's Logbook
Venerated Rotpriest
Armored Scrapgorger
Vindictive Flamestoker
Fleshless Gladiator
Incisor Glider
Jor Kadeen, First Goldwarden
Kemba, Kha Enduring
Shrapnel Slinger
Ravenous Necrotitan
Urabrask's Anointer
Indoctrination Attendant
Ambulatory Edifice
Kuldotha Cackler
Benalish Faithbonder
Furnace Punisher
Phyrexian Atlas
Dokuchi Silencer
Shigeki, Jukai Visionary
Tameshi, Reality Architect
Planar Incision
Scavenged Brawler
Ramses, Assassin Lord
Hazezon, Shaper of Sand
Rohgahh, Kher Keep Overlord
Guardian Scalelord
Ichor Elixir
Deluxe Dragster
Liliana's Talent
Vivien's Talent
Path of the Ghosthunter
Path of the Animist
Path of the Enigma
Path of the Pyromancer
Path of the Schemer
Mine Worker
Power Plant Worker
Tower Worker
Shoot Down
Raze to the Ground
Recommission
Demolition Field
Skitterbeam Battalion
Tawnos's Tinkering
Battlefield Butcher
Carrion Locust
Kill-Zone Acrobat
2023-05-09 23:50:28 -06:00
Eduardo MG 836410dca7 Bug fixes in primitives @cycled
Marching Duodrone
Saddled Rimestag
Prickly Marmoset
reptilian reflection
Bane of the Living
2023-05-09 23:25:03 -06:00
Vittorio Alfieri b0f5c1f7f7 Added some new primitives from MOC set, updated ai commander deck. 2023-05-09 16:38:29 +02:00
Vittorio Alfieri 82cff5659c Added CardImageLinks.csv to Travis-CI for automatic copy on travis-ci release. 2023-05-09 10:13:50 +02:00
Vittorio Alfieri f51a024b03 Fixed DMC links. 2023-05-09 10:07:17 +02:00
Vittorio Alfieri 41e4f04aa3 Changed GITHUB token for travis, fixed DMC set. 2023-05-09 09:17:22 +02:00
Eduardo MG c3802477c7 Update CardImageLinks.csv
Dominaria United Commander (DMC)
fixed null multiverseId that where not available
2023-05-08 22:39:28 -06:00
Eduardo MG d9d8ab0b82 _cards.dat Dominaria United Commander (DMC)
LEGENDS RETOLD • 20 CARDS with multiverseId
2023-05-08 21:58:16 -06:00
Vittorio Alfieri 5e91b82a0e Merge branch 'master' of github.com:WagicProject/wagic 2023-05-09 01:01:54 +02:00
Vittorio Alfieri 2c68ea91f7 Fix Travis and reverted Rules.cpp due to many compilation error for pointers. 2023-05-09 01:01:39 +02:00
Eduardo MG b6c733b397 Update checks for balanced parentheses, brackets, and curly braces in all files within primitives
This update can help prevent errors and improve the quality of the code within the primitives directory.

Other bug fixes:
Taigam, Sidisi's Hand
Grave Strength
Cry of Contrition
Dread Summons
Old Stickfingers so it doesn't trigger certain cards that care about 1/1 counters
2023-05-08 16:52:28 -06:00
Vittorio Alfieri 5f466399af Fix Travis Build. 2023-05-09 00:42:13 +02:00
Vittorio Alfieri 9995a2f9a6 Fix Travis Build. 2023-05-09 00:38:34 +02:00
Vittorio Alfieri 9808aea6d0 Fix Travis CI 2023-05-09 00:32:08 +02:00
Vittorio Alfieri ee2fe3c722 Fix Travis, restored compatibility to Python 2.7 2023-05-09 00:28:04 +02:00
Vittorio Alfieri 95a37fd138 Fix Travis CI. 2023-05-09 00:19:40 +02:00
Vittorio Alfieri 103c8aa3c2 Fix Travis. 2023-05-09 00:12:02 +02:00
Vittorio Alfieri 39965be795 Fix Travis. 2023-05-09 00:09:27 +02:00
Vittorio Alfieri cf39404441 Try to Fix Travis Errors. 2023-05-09 00:05:34 +02:00
Vittorio Alfieri cea234e2ab Try to fix Travis Build CI. 2023-05-09 00:02:41 +02:00
Vittorio Alfieri d988e9e359 Test for Travis CI build. 2023-05-08 23:57:40 +02:00
Vittorio Alfieri 9948b82c6b Test for Travis CI build. 2023-05-08 23:50:50 +02:00
Vittorio Alfieri 1fd88d1fab Test for travis error. 2023-05-08 23:46:49 +02:00
Vittorio Alfieri 0ced3bfb09 Fixed print on py script. 2023-05-08 23:27:07 +02:00
Eduardo MG 96ab9cf59d Bug fixes to primitives, Planar Guide doesn't lose eveyone into the AEther anymore
Brutal Cathar
Treasure Hunt casted by AI
Realm Seekers
Taigam, Sidisi's Hand
Unholy Indenture should not work with tokens
fixed hybrid mana in SNC
2023-05-08 00:21:34 -06:00
Eduardo MG a19ede4c12 Update config.yml 2023-05-07 16:48:19 -06:00
Eduardo MG 5d41f6dfdb Update config.yml 2023-05-07 16:43:41 -06:00
Eduardo MG ee86e7b478 Update config.yml 2023-05-07 16:38:10 -06:00
Eduardo MG 2eb719919c Update config.yml 2023-05-07 16:33:00 -06:00
Eduardo MG 6ae8984b41 Update config.yml 2023-05-07 16:27:54 -06:00
Eduardo MG b8ea9e6b5f Update config.yml 2023-05-07 16:26:27 -06:00
Eduardo MG 203876aadb Update config.yml 2023-05-07 16:13:23 -06:00
Eduardo MG ea6596a431 Update config.yml 2023-05-07 14:16:10 -06:00
Eduardo MG d2e1cf34ca Update config.yml 2023-05-07 14:08:44 -06:00
Eduardo MG 4a9733b510 Update config.yml 2023-05-07 14:00:36 -06:00
Eduardo MG 5b56073243 Update config.yml 2023-05-07 13:57:17 -06:00
Eduardo MG 6e98e6f9e6 Update config.yml 2023-05-07 13:37:03 -06:00
Eduardo MG 8204d5a5c1 Update config.yml 2023-05-07 12:23:19 -06:00
Eduardo MG b613da48db Update config.yml 2023-05-07 12:22:02 -06:00
Eduardo MG b3712a8cf1 Update config.yml 2023-05-07 12:19:53 -06:00
Eduardo MG bd76554186 Update config.yml 2023-05-07 12:18:18 -06:00
Eduardo MG 756a8907c8 Update config.yml 2023-05-07 12:17:06 -06:00
Eduardo MG 73b33bb0a0 Update circle-script.sh 2023-05-07 11:34:19 -06:00
Eduardo MG 9efd2bcfeb Update config.yml 2023-05-07 11:31:12 -06:00
Eduardo MG 05e857f735 Update config.yml 2023-05-07 11:25:13 -06:00
Eduardo MG 947277af5a Update config.yml 2023-05-07 11:24:42 -06:00
Eduardo MG ecd4b85e22 Update config.yml 2023-05-07 11:22:48 -06:00
Eduardo MG 6eebfa77a4 Create circle-script.sh 2023-05-07 11:15:23 -06:00
Eduardo MG 61c4bff54e Update config.yml 2023-05-07 10:43:38 -06:00
Eduardo MG b9f77513b6 Merge pull request #1 from EduardoMunozGomez/circleci-project-setup
Circleci project setup
2023-05-07 10:33:33 -06:00
Eduardo MG d3caf2fb15 Merge branch 'WagicProject:master' into circleci-project-setup 2023-05-07 10:31:16 -06:00
Vittorio Alfieri 94d1267abf Fixed compilation issue on PSP/PSVITA after 76f5a6b commit. 2023-05-07 15:13:22 +02:00
Vittorio Alfieri ab6f80c242 Fixed tab with blank spaces. 2023-05-06 23:13:45 +02:00
Vittorio Alfieri c3d0fd91ae Fixed Cultist of the Absolute. 2023-05-06 23:09:46 +02:00
Eduardo MG 76f5a6b851 Update Rules.cpp
Replaces the use of raw pointers with std::unique_ptr smart pointers, which will automatically manage the memory deallocation for you. It also uses the release() method to transfer ownership of the tempDeck pointer to the Player object. Overall, these changes should help ensure that the code is safer and less prone to memory leaks.
2023-05-06 14:04:07 -06:00
Vittorio Alfieri f5e5444734 Fixed MOC cards dat file. 2023-05-06 16:15:28 +02:00
Vittorio Alfieri dca0d9c201 Updated missing card bt set list. 2023-05-06 16:06:01 +02:00
Eduardo MG 273d666bcc New cards from MOC, MOM
March of the Machine Commander (MOC)
March of the Machine (MOM)
A few others from BRO and ONE
Some old auras that get sacrificed at end of turn if you cast them as if they had flash
fixed Fire Prophecy
NEW:
Umori, the Collector
Rootwire Amalgam
Steel Seraph
Tyrranax Rex
Paladin of Predation
Axgard Artisan
Zephyr Winder
Phyrexian Pegasus
Orthion, Hero of Lavabrink
Surrak and Goreclaw
Angelic Intervention
Pile On
Terror of Towashi
Interdisciplinary Mascot
Fertilid's Favor
Vengeant Earth
Sidar Jabari of Zhalfir
Moira and Teshar
Shalai and Hallar
Vodalian Wave-Knight
Bitterthorn, Nissa's Animus
Herald of Hoofbeats
Chivalric Alliance
Darksteel Splicer
Mistmeadow Vanisher
Death-Greeter's Champion
Hedron Detonator
Pain Distributor
Locthwain Lancer
Schema Thief
Exsanguinator Cavalry
Nesting Dovehawk
Filigree Vector
Conjurer's Mantle
Infernal Sovereign
Firemane Commando
Goro-Goro and Satoru
Katilda and Lier
Slimefoot and Squee
Soar
Armor of Thorns
Grave Servitude
Lightning Reflexes
Spider Climb
Parapet
Mystic Veil
Relic Ward
Titania, Voice of Gaea
Titania, Gaea Incarnate
Professional Face-Breaker
Oracle's Vault
Volcanic Spite
2023-05-05 22:20:30 -06:00
Eduardo MG 1e6a8814de For some reason the engine can return tokens from exile
Changed the macros so a token doesn't learn the ability to return from exile while blinked
limited cards with shuffledfoeof or else their effect reproduces for every card in a deck
Liliana Vess, ability description
Domri, Chaos Bringer -8
Research Thief is a mandatory draw
_SERVOTOKEN_ replacements
2023-05-05 19:18:23 -06:00
Vittorio Alfieri 984c880efc Fixed duplicated wrong links for double cards of MOC set. 2023-05-05 23:01:06 +02:00
Vittorio Alfieri c5b982c2b6 Updated missing cards by set list. 2023-05-05 22:48:10 +02:00
Vittorio Alfieri aa722ee3f4 Added some new primitives from CLB set. 2023-05-05 22:42:46 +02:00
Eduardo MG 56be7d8c47 Update CardImageLinks.csv
Changes in March of the Machine Commander (MOC)
2023-05-05 08:32:30 -06:00
Eduardo MG 9f878f6145 Bug fixes and typos, Afterlife token macros
Wild Magic Surge had unbalanced parenthesis
# Afterlife
#AUTO_DEFINE _AFTERLIFETOKEN_ create(Spirit:Creature Spirit:1/1:white:black:flying)
Kaya, Ghost Assassin was crashing the game
Read the Bones
"Edict like" effects should not target, so you can select creatures with shroud

ALL test successful
2023-05-04 16:33:27 -06:00
Vittorio Alfieri 721adb8db0 Fixed initiative and undercity links. 2023-05-04 17:25:53 +02:00
Vittorio Alfieri 784eab6dbf Added some new cards from CLB set. 2023-05-04 16:41:04 +02:00
Vittorio Alfieri be03648e11 Added some new planeswalker from CLB set. 2023-05-04 16:37:12 +02:00
Vittorio Alfieri 44ffc5d895 Fixed ai set commander for Belbe. 2023-05-04 16:23:24 +02:00
Vittorio Alfieri d4be791e68 Added image links for initiative and undercity cards. 2023-05-04 16:18:53 +02:00
Vittorio Alfieri 16ba96b2f0 Fix initiative trigger. 2023-05-04 15:51:55 +02:00
Vittorio Alfieri 6af7acce0b Fix take the initiative ability and triggers. 2023-05-04 15:42:03 +02:00
Vittorio Alfieri 0efc61fda7 Coded the initiative ability from CLB set, added some condition to test if a card has been casted from exile or sideboard or commandzone. 2023-05-04 14:56:04 +02:00
Vittorio Alfieri 509e25d4cc Start to code "take the initiative" ability for CLB set. 2023-05-04 14:34:02 +02:00
Eduardo MG 0d29633793 Bug fixes, closed issue #518
Nissa's Defeat
Ornery Dilophosaur
Species Specialist
Phantom Wings
Sun Clasp
Trickster's Talisman sacrifice
Brain in a Jar
Dream Tides untap outside upkeep
Rain of Thorns
Sudden Spoiling
Power Taint,Slow Motion, closed issue #518
Barbed Lightning
Banish into Fable
2023-05-03 16:58:44 -06:00
Eduardo MG 723babac46 Macros for _MUST_BE_BLOCKD_, bug fixes
damage:x all(creature,player) produces a bug that does not damage creatures with hexproof or shroud
Exotic Orchard cannot produce colorless mana on its own. It can only produce mana of a color that a land an opponent controls could produce.
Stitched Mangler
Massive Might
Halana, Kessig Ranger
Animate Wall was falling off
Ram Through
Must be blocked this turn if able, changed previous version since that doesn't reflect the effect of the card, one creature that must be blocked is different to force all creatures opoonent controls to block.
_MUST_BE_BLOCKD_ notice the unique spelling, it is so it doesn't clashes with _BLOCKED_
Daretti, Ingenious Iconoclast -6 ability. Choose target artifact card in a graveyard or artifact on the battlefield. Create three tokens that are copies of it
Platoon Dispenser
Bloodline Necromancer
Tawnos, the Toymaker
Simic Manipulator
Urza's Tome
2023-05-02 19:01:37 -06:00
Eduardo MG d1caf06660 Bug fixes, Gift of the Gargantuan crashed the game when casted by the AI
Gargos, Vicious Watcher
Grazilaxx, Illithid Scholar
Growing Rites of Itlimoc
Haywire Mite
Neyith of the Dire Hunt
Raff, Weatherlight Stalwart
The Prismatic Bridge
Gift of the Gargantuan
2023-05-01 22:59:06 -06:00
Eduardo MG 4132cf602b Revert "Update .travis.yml"
This reverts commit 6b109317bb.
2023-05-01 22:40:33 -06:00
Eduardo MG 6b109317bb Update .travis.yml 2023-05-01 17:11:00 -06:00
Vittorio Alfieri c2d060f47d Added some new primitives from CLB set. 2023-05-01 12:24:02 +02:00
Vittorio Alfieri ee4c3a0057 Fixed Dragon Cultist. 2023-05-01 10:59:31 +02:00
Eduardo MG f8d515a7ed Brackets balance validations, macros _DISCARD&DRAW_
Using all(player) when applicable
Updated Oracle text for mill
Bug fixes in primitives
Sasaya's Essence
Sythis, Harvest's Hand
Ancient Animus
2023-04-30 19:54:38 -06:00
Vittorio Alfieri 49a618fc37 Added option to download latest core file from Android app (both at startup and from settings menu). 2023-04-30 20:52:52 +02:00
Vittorio Alfieri 800c2f9bf4 Added some ew cards from CLB set. 2023-04-30 19:37:20 +02:00
Eduardo MG 8ca0eaaf40 Fixed _SCAVENGE_, other bug fixes, macros for _ETERNALIZE_
Typo in successful
Lux Cannon so that the AI can use the destroy ability
Throatseeker
Icingdeath, Frost Tyrant you don't "cast" the token
Insubordination
Infectious Curse
Igneous Elemental
Abu Jafar both?
_ETERNALIZE_
2023-04-29 23:54:41 -06:00
Eduardo MG 73712f6bd5 Balanced brackets check, sanitization, bug fixes
Added bracket balancing checks to the program for opening and closing sequences of  parenthesis, square brackets, curly brackets, ,'ability$!' and '!$' characters, as well as for the 'and!(' opening sequence and the ')!' closing sequence.

Sanitization operations removing empty lines and spaces at end of line.

Pious Interdiction so the AI doesn't enchant own creatures.

All 724 Tests Succesful!
2023-04-28 19:49:01 -06:00
Eduardo MG 0b46cd255e Bug Fixes to Primitives
King Narfi's Betrayal
Korvold, Fae-Cursed King
Desecrated Tomb
Arlinn Kord emblem
Rowan, Fearless Sparkmage
2023-04-27 18:51:10 -06:00
Vittorio Alfieri 900a565c96 Added some new primitives from CLB set. 2023-04-27 22:02:10 +02:00
Vittorio Alfieri 8e3761c5f1 Added some new primitives from CLB set. 2023-04-27 14:35:16 +02:00
Vittorio Alfieri 24337d8e66 Fixed background partner ability, added some new cards from CLB set. 2023-04-27 09:19:34 +02:00
Eduardo MG d9655ab833 Check for balanced brackets
Check for balanced square brackets [] and curly brackets {}.

Couldn't check for parentheses since the engine expects unbalanced parenthesis like in cards that have the string "this(cantargetcard" never closes the parentheses, balancing the parentheses makes the cards stop working, best example: Monstrous

All tests passed.

Morbid Opportunist
Ooze Garden
2023-04-26 17:22:31 -06:00
Eduardo MG 9514ea59d8 Updated 'mills' oracle text, fix typos and bugs, check for balanced brackets
Update some instances of 'puts the top cards of his or her library into his or her graveyard.' into mill cards text.
Using all(player) when applicable.
Check for Balanced Brackets
Liliana, Waker of the Dead does not damage the owner if it doesn't have cards in hand, only opponent
Shipbreaker Kraken
Rockcaster Platoon
Triskaidekaphobia
Cryptolith Fragment
Alpha Status
Flusterstorm
Caldera Hellion
Chronomantic Escape
Hero's Blade
Remember the Fallen
Master of Winds
Lorcan, Warlock Collector now turns revived card into warlock
Lier, Disciple of the Drowned
2023-04-26 08:16:57 -06:00
Vittorio Alfieri cb3ab39df1 Added some missing primitives from CLB set. 2023-04-26 13:10:42 +02:00
Vittorio Alfieri 593d3c4d9c Merge branch 'master' of github.com:WagicProject/wagic 2023-04-26 13:05:18 +02:00
Vittorio Alfieri 8027ed4bdf Added Background partner ability for CLB commanders, fixed some tab with spaces 2023-04-26 13:05:07 +02:00
Eduardo MG 3ad8c76715 Changes on Scry macros, bug fixes on primitives
Seems like the engine didn't like the parametric macros for Scry as it did the ability twice
Balan, Wandering Knight
Alhammarret's Archive
Skyrider Patrol
Xyris, the Writhing Storm
Emiel the Blessed (this card just refuses to work)
Fight as One
Blizzard Brawl
Hermit of the Natterknolls // Lone Wolf of the Natterknolls
Elaborate Firecannon
Tectonic Reformation
2023-04-25 00:23:53 -06:00
Eduardo MG 5323668faa Add .circleci/config.yml 2023-04-24 18:32:46 -06:00
Vittorio Alfieri 2446443522 Added CardImageLinks.csv to git. 2023-04-24 13:04:58 +02:00
Vittorio Alfieri 4f9f93dcc8 Removed duplicated primitives in unsupported file. 2023-04-24 11:29:39 +02:00
Vittorio Alfieri eb9788b667 Updated missing cards by set list. 2023-04-24 11:16:38 +02:00
Eduardo MG 9e4f486fa2 Added March of the Machine (MOM) and Connive cards
Aerial Boost
Alabaster Host Intercessor
Alabaster Host Sanctifier
Archangel Elspeth
Bola Slinger
Boon-Bringer Valkyrie
Dusk Legion Duelist
Elspeth's Smite
Golden-Scale Aeronaut
Guardian of Ghirapur
Heliod, the Radiant Dawn
Heliod, the Warped Eclipse
Kithkin Billyrider
Knight of the New Coalition
Kor Halberd
Phyrexian Censor
Realmbreaker's Grasp
Scrollshift
Seal from Existence
Seraph of New Capenna
Seraph of New Phyrexia
Sigiled Sentinel
Sun-Blessed Guardian
Furnace-Blessed Conqueror
Surge of Salvation
Tarkir Duneshaper
Burnished Dunestomper
Zhalfirin Lancer
Artistic Refusal
Astral Wingspan
Captive Weird
Compleated Conjurer
Change the Equation
Disturbing Conversion
Expedition Lookout
Faerie Mastermind
Furtive Analyst
Halo-Charged Skaab
Meeting of Minds
Moment of Truth
Order of the Mirror
Order of the Alabaster Host
Preening Champion
Saiba Cryptomancer
Skyclave Aerialist
Skyclave Invader
Stasis Field
Thunderhead Squadron
Tidal Terror
Transcendent Message
Xerex Strobe-Knight
Zhalfirin Shapecraft
Aetherblade Agent
Gitaxian Mindstinger
Archpriest of Shadows
Ayara, Widow of the Realm
Ayara, Furnace Queen
Bladed Battle-Fan
Blightreaper Thallid
Blightsower Thallid
Breach the Multiverse
Collective Nightmare
Consuming Aetherborn
Corrupted Conviction
Deadly Derision
Dreg Recycler
Etched Familiar
Etched Host Doombringer
Failed Conversion
Final Flourish
Glistening Deluge
Gloomfang Mauler
Grafted Butcher
Prickle Faeries
Mirrodin Avenged
Nezumi Freewheeler
Hideous Fleshwheeler
Nezumi Informant
Yargle and Multani
Tenured Oilcaster
Unseal the Necropolis
Raffine's Informant
Body Launderer
Echo Inspector
Hypnotic Grifter
Illuminator Virtuoso
Ledger Shredder
Psionic Snoop
Psychic Pickpocket
Raffine's Silencer
Revel Ruiner
Security Bypass
Obscura Interceptor
Akki Scrapchomper
Beamtown Beatstick
Bloodfeather Phoenix
Burning Sun's Fury
City on Fire
Coming In Hot
Fearless Skald
Furnace Host Charger
Furnace Reins
Hangar Scrounger
Harried Artisan
Phyrexian Skyflayer
Karsus Depthguard
Khenra Spellspear
Gitaxian Spellstalker
Lithomantic Barrage
Mirran Banesplitter
Onakke Javelineer
Pyretic Prankster
Glistening Goremonger
Ral's Reinforcements
Ramosian Greatsword
Rampaging Raptor
Redcap Heelslasher
Shivan Branch-Burner
Trailblazing Historian
Thrashing Frontliner
Shatter the Source
War-Trained Slasher
Wrenn's Resolve
Halo Hopper
Arachnoid Adaptation
Atraxa's Fall
Bonded Herdbeast
Plated Kilnbeast
Chomping Kavu
Copper Host Crusher
Cosmic Hunger
Crystal Carapace
Gnottvold Hermit
Chrome Host Hulk
Herbology Instructor
Malady Invoker
Iridescent Blademaster
Placid Rottentail
Polukranos Reborn
Polukranos, Engine of Ruin
Portent Tracker
Ravenous Sailback
Serpent-Blade Assailant
Storm the Seedcore
Streetwise Negotiator
Tandem Takedown
Timberland Ancient
Tribute to the World Tree
War Historian
Wary Thespian
Wildwood Escort
Errant and Giada
Marshal of Zhalfir
Rampaging Geoderm
Stormclaw Rager
Ruins Recluse
Phyrexian Archivist
Urn of Godfire
Sword of Once and Future
Flywheel Racer
Cragsmasher Yeti
Thalia and The Gitrog Monster
Kroxa and Kunoros
2023-04-23 23:37:34 -06:00
Eduardo MG 8aebeaf8fb Bug fixes on primitives
Misfortune
Cromat
Leafkin Druid
Cobbled Lancer
Skeletal Scrying
Wingfold Pteron
Zara, Renegade Recruiter was bouncing the creature even if it leaved the play
Mystic Subdual
Champion of Lambholt
Ranger-Captain of Eos
Najeela, the Blade-Blossom
Winter's Rest
Teferi's Time Twist
Shatter Assumptions
Titan's Presence
Boarded Window
Nim Deathmantle still missing rehook
Hollow Specter at least does something now
Urborg Uprising - You can cast Urborg Uprising with no targets if you want to only draw a card.
Grim Captain's Call
Avatar of Growth
Shining Armor
Alchemist's Gift
Jabari's Banner
Open into Wonder
Scroll of the Masters
2023-04-23 23:26:26 -06:00
Eduardo MG 9b704e1cb6 Bug fixes on primitives
Buy Your Silence
Rashmi, Eternities Crafter
Eliminate
Dennick, Pious Apparition
Consuming Aberration should not target
Derevi, Empyrial Tactician
Zurzoth, Chaos Rider
Aetherstorm Roc
2023-04-23 00:49:13 -06:00
Eduardo MG 8d940c381f March of the Machine Commander (MOC), March of the Machine (MOM), Multiverse Legends (MUL)
New _cards.dat for March of the Machine Commander (MOC), March of the Machine (MOM) and Multiverse Legends (MUL) with offical multiverseid.
2023-04-22 10:59:43 -06:00
Vittorio Alfieri a55381ec66 Removed duplicated missingCardList.txt 2023-04-22 12:40:29 +02:00
Vittorio Alfieri 7641b29178 UYpdated missing cards by set list. 2023-04-22 12:32:53 +02:00
Vittorio Alfieri 01038e217e Merge branch 'master' of github.com:WagicProject/wagic 2023-04-22 12:25:50 +02:00
Vittorio Alfieri 91bd5cc6d6 Updated Missing Card by sets list. 2023-04-22 12:25:09 +02:00
Eduardo MG 21397fd6cf Bug fixes on primitives, extra spaces cleanup
Aetherflux Reservoir. The first ability counts the spell that caused it to trigger plus any other spells you cast earlier in the turn.
Barrier Breach
Kinjalli's Sunwing
Manglehorn
Angelic Ascension
Secure the Scene
Dance of the Skywise loseabilities, ueot before works(???)
Acorn Catapult was crashing the game
Wirewood Channeler
Return to the Ranks
Harmonious Archon
Rage-Scarred Berserker
Lutri, the Spellchaser
2023-04-22 00:14:08 -06:00
Eduardo MG 6e60d0e96c Bug fixes, _SCRY_, _BLINK_UEOT_ and _CONNIVES_ macros
Changed instances of scry for macros
Aetherling (blink)ueot not working
Cartouche of Strength
Quest for Ancient Secrets
Zar Ojanen, Scion of Efrava
Lord of Tresserhorn
Fa'adiyah Seer
Mystifying Maze
Alharu, Solemn Ritualist
Trap Digger
Gideon, Martial Paragon
Fell Flagship
Bone Splinters
Midnight Clock
Rosethorn Halberd
Instill Furor
2023-04-20 11:39:12 -06:00
Vittorio Alfieri f9da0c3a1e Fixed a crash on random avatar AI selection. 2023-04-20 13:28:44 +02:00
Vittorio Alfieri 74840b353c Fixed version in Android about. 2023-04-20 10:32:42 +02:00
Vittorio Alfieri 74e9cffc50 Fixed Kor Spiritdance. 2023-04-19 23:11:42 +02:00
Vittorio Alfieri 459892264d Fixed CLB set. 2023-04-19 21:35:25 +02:00
Vittorio Alfieri cc92f26035 Fixed DMC and TSR sets. 2023-04-19 21:01:20 +02:00
Vittorio Alfieri fe57ffae3d Fix NCC set. 2023-04-19 20:03:23 +02:00
Vittorio Alfieri 3628dc36fd Fix orderindex of TSR set. 2023-04-19 18:42:20 +02:00
Eduardo MG b87be5837a Bug Fixes on primitives, change in ADAPT macros
Modified _ADAPT_ macros to make it clearer
Trusty Retriever
Howl of the Hunt
Urza, Lord High Artificer
Puncturing Blow
Surge Engine
Temporal Machinations
Triumph of Gerrard
Burning Fields
Dragonlord Atarka
Cartouche of Strength
Tortured Existence
Search the Premises
Ordeal of Nylea
Ebondeath, Dracolich
Kraken of the Straits
Cleansing
2023-04-17 16:03:07 -06:00
Eduardo MG 791733c9bf New cards, mostly from Streets of New Capenna (SNC) and Dominaria United (DMU)
Light 'Em Up
Quick-Draw Dagger
Cabaretti Charm
Sticky Fingers
Rogues' Gallery
Brazen Upstart
Metropolis Angel
Cement Shoes
For the Family
Case the Joint
Cyberdrive Awakener
Explosive Entry
Return to Action
Gravelighter
Vodalian Hexcatcher
Balduvian Atrocity
Smash to Dust
Sheoldred's Restoration
Squee, Dubious Monarch
Recruitment Officer
Su-Chi Cave Guard
Tatyova, Steward of Tides
Talas Lookout
Bortuk Bonerattle
Floriferous Vinewall
Public Enemy
Revelation of Power
Ironsoul Enforcer
Silkguard
Concord with the Kami
Oxidda Finisher
2023-04-15 19:52:02 -06:00
Eduardo MG c02ee99a87 Bug fixes, _KNIGHTTOKEN_ macros, removed problematic cards
_KNIGHTTOKEN_
Renown macros
spiritlink is different than lifelin, spiritlink uses the stack and can have multiple instanes
Apostle of Purifying Light
Farewell
Springleaf Drum
Pursued Whale token
Majestic Heliopterus
Bearded Axe
Mercurial Pretender
Vesuva
Kaho, Minamo Historian
You Meet in a Tavern
Gravitic Punch
Lair of the Hydra
Aquamorph Entity
Annihilating Glare
Kithkin Spellduster
Kithkin Zealot
Kjeldoran Gargoyle
Rakavolver
Run Aground
Somberwald Beastmaster
Into the Night draws before discard
Nissa's Pilgrimage
Kithkin Zephyrnaut
Dawn Evangel
Wings of Hubris
Disaster Radius
Chandra's Pyreling
Nature's Will
Thromok the Insatiable not even close to working
Reality Shift
Ferocious Tigorilla
Excavator
Serra's Emissary
2023-04-15 19:30:54 -06:00
Eduardo MG 6d134f5db7 List with all the cards not implemented
Funny sets are ignored. Unfinity (UNF) Unsanctioned (UND) Unstable (UST) Unhinged (UNH) Unglued (UGL)
2023-04-13 19:20:25 -06:00
Eduardo MG d717dcad02 Bug fixes and new cards form ONE
token macros
Winter Orb
Imi Statue
Brago, King Eternal is so buggy, it revives cards and reattaches auras
Oketra's Avenger
Efreet Flamepainter
You must still pay the mana cost of the target instant in your graveyard to cast it using Toshiro’s ability.
Neonate's Rush
Grimlock, Dinobot Leader
Mazemind Tome
Grim Discovery
Devout Decree
Hydra's Growth
Wolfrider's Saddle
2023-04-09 17:47:35 -06:00
Eduardo MG 7b75936545 Update ZNR _cards.dat. New cards and fixed id's on flip cards 2023-04-09 12:16:42 -06:00
Eduardo MG 608817b9bc Updated Innistrad: Crimson Vow (VOW) _cards.dat
Removing cards with no multiverseid
2023-04-07 12:20:44 -06:00
Eduardo MG 078e359290 Updated Zendikar Rising (ZNR) _cards.dat 2023-04-07 12:00:13 -06:00
Eduardo MG 02a64542ef Update Time Spiral Remastered (TSR) _cards.dat
Restoring hard coded tokens, I want to find a better solution for the tokens than this.
2023-04-04 18:01:55 -06:00
Eduardo MG a695397cb2 Updated Kaldheim (KHM) _cards.dat 2023-04-04 17:17:49 -06:00
Eduardo MG 81f39fc0a2 Update Adventures in the Forgotten Realms (AFR) _cards.dat 2023-04-04 16:27:43 -06:00
Eduardo MG fefb18dc75 Update Core Set 2021 (M21) _cards.dat 2023-04-04 13:29:58 -06:00
Eduardo MG fd4c4a15f8 Update Midnight Hunt Commander (MIC) _cards.dat 2023-04-04 13:19:13 -06:00
Eduardo MG e462c31559 Update Crimson Vow Commander (VOC) _cards.dat 2023-04-04 00:38:29 -06:00
Eduardo MG c711e661b1 Updated Innistrad: Crimson Vow (VOW) _cards.dat
BORDERLESS PLANESWALKERS • 3 CARDS
ALTERNATE-ART BORDERLESS CARDS • 5 CARDS
SHOWCASE CARDS • 43 CARDS
DRACULA SERIES • 17 CARDS
EXTENDED ART CARDS • 52 CARDS
BUY-A-BOX • 1 CARD
PROMOS • 4 CARDS
THE MOONLIT LANDS • 5 CARDS
2023-04-04 00:28:40 -06:00
Eduardo MG 6e98c0e19a Bug fixes and new cards, mostly from Phyrexia: All Will Be One (ONE)
Bulwark
Possessed Skaab
Skymarcher Aspirant
Sadistic Skymarcher
2023-04-03 19:49:31 -06:00
Eduardo MG 2a05bebf5c Update Phyrexia: All Will Be One (ONE) _cards.dat
Updates on multiverse_ids
2023-04-04 01:42:22 -06:00
Eduardo MG 5336b079f4 Bug fixes, _SCAVENGE_ need to be reverted, dislike of aicode it produces bugs and is hard to test
Moment of Triumph
Teysa, Envoy of Ghosts
Repeal
Mask of Memory
Hushwing Gryff
Drudge Spell
Wicked Guardian
Helvault
Shessra, Death's Whisper
2023-04-03 12:16:11 -06:00
Eduardo MG da9c163ff1 Added Jumpstart 2022 (J22)
Anime Waifus
2023-04-02 19:15:07 -06:00
Eduardo MG 189c624d67 BRC update
=Staff of Titania is showing now and some rarity changes
2023-03-31 23:28:43 -06:00
Eduardo MG 98839c4e8c Bu fixes, removed extra parenthesis and spaces at end of line
Baron Sengir
Myr Moonvessel
Synod Artificer
Piston Sledge
Ichor Explosion
Boreas Charger
Captivating Crew
Gate to the Afterlife
Imaryll, Elfhame Elite
2023-03-31 00:06:14 -06:00
Eduardo MG 54d8c00aaa Update appveyor.yml 2023-03-27 19:16:40 -06:00
Eduardo MG c5c05ca068 Update appveyor.yml 2023-03-27 19:13:47 -06:00
Eduardo MG 889259a3ef Updated Wagic Version and Python scripts
Updated Wagic to version 0.24.0 and the Python scripts to use the print syntax for Python 3 so the files could be build.
2023-03-26 22:30:20 -06:00
Eduardo MG b23961c0ee Merge branch 'master' of https://github.com/WagicProject/wagic 2023-03-26 17:59:15 -06:00
Eduardo MG 7ea7431906 Bug Fixes and added cards from Phyrexia: All Will Be One (ONE)
Adriana, Captain of the Guard
Pyre of Heroes
Chime of Night
Arcum's Weathervane
Escape Routes
Judge Unworthy
Lair Delve
Reign of Terror
Trap Digger
Verdant Succession
Hull Breach
Redcap Raiders
Relentless Pursuit
Serpent of Yawning Depths
Bloodborn Scoundrels
Scrapwork Mutt
Merciless Eternal
Diabolic Servitude
Barbarian Bully
2023-03-26 17:58:51 -06:00
Eduardo MG 49168b6a22 Added Dominaria Remastered (DMR) and Phyrexia: All Will Be One Commander (ONC) 2023-03-26 17:34:29 -06:00
Eduardo MG f642d41a71 Phyrexia: All Will Be One (ONE) 2023-02-13 22:23:27 -06:00
Eduardo MG 81b156ed3b New Cards, Prototype from BRO very borderline, can't change the mana value of cards on battlefield
Bug fixes:
Springleaf Drum
Sprouting Thrinax
Loyal Gryff
Golden Guardian
Crush Underfoot
Pride of Conquerors
Tower Above
Croaking Counterpart
Luxa River Shrine was crashing the game
2023-02-07 16:15:34 -06:00
Eduardo MG 79e560cc94 Bug fixes to primitives
Goblin Snowman
Gerrard, Weatherlight Hero
Fang of the Pack
Component Collector
Outpost Siege
Salvager of Ruin
Take Flight
Screeching Buzzard
Barrier Breach
Puncturing Light
2023-02-05 19:29:04 -06:00
Eduardo MG 9af579bb36 Removed extra spaces, dinosaur type errata, bug fixes
Ogre Errant
Brightwood Tracker
Visions of Dread ability$! is the correct syntax
14 Creatures Have Been Errata’d To Be Dinosaurs
Demanding Dragon
Remorseless Punishment
Custodi Lich
So Shiny
Stromkirk Bloodthief
Savage Swipe
Curious Herd target
Wand of Denial
Ornate Kanzashi
Map the Wastes
Misdirection
Tithe Taker
2023-02-03 19:52:31 -06:00
Eduardo MG 75a83d2861 Added cards mostly from The Brothers' War Commander (BRC) and Commander Legends: Battle for Baldur's Gate (CLB)
Rampant Rejuvenator
Hajar, Loyal Bodyguard
Expendable Lackey
Cutthroat Contender
Demon's Due
Mr. Orfeo, the Boulder
Deal Gone Bad
Topiary Stomper
Brokers Charm
Corpse Explosion
Maestros Initiate
Cleanup Crew
Titania, Nature's Force
Urza, Chief Artificer
Sardian Avenger
Staff of Titania
Mishra, Eminent One
March of Progress
Urza, Prince of Kroog
Zhentarim Bandit
Gray Harbor Merfolk
Insufferable Balladeer
Alora, Merry Thief
Faldorn, Dread Wolf Herald
Gut, True Soul Zealot
Amber Gristle O'Maul
Burakos, Party Leader
Displacer Kitten
Icewind Stalwart
Oji, the Exquisite Blade
Firbolg Flutist
Ancient Copper Dragon
Ancient Bronze Dragon
Ancient Gold Dragon
Ancient Silver Dragon
Coronation of Chaos
Oceanus Dragon
Giant Ankheg
Saddle of the Cavalier
Poison the Blade
Pack Attack
2023-02-03 00:01:08 -06:00
Eduardo MG c757c2c2fc Macros for Ward and for play top of library from exile, bug fixes
Batterbone
Ormos, Archive Keeper crashes the game while drawing if you have less than 5 cards in library
Primal Command crashed the game
Austere Command not really supported
Shivan Wumpus crashed the game
Go-Shintai of Life's Origin
Diregraf Horde
Unblinking Observer
Cairn Wanderer
Old Man of the Sea
Grow from the Ashes
Scourge of Nel Toth
Faceless Butcher
Portal to Phyrexia
Avenging Druid
Teysa, Envoy of Ghosts
Siege Veteran
Sparring Regimen
Skinwing
Stampede
Collector Ouphe
Terror of Mount Velus
Vizier of the True
Demonic Vigor
2023-02-02 23:41:27 -06:00
Eduardo MG ac9a7d1cea Update issue templates 2023-01-28 17:30:52 -06:00
Eduardo MG 0a1459dc7c Bug fixes in primitives and removed conflictive cards
Cranial Archive
Hex restrictions
Devastating Dreams crashes
Galestrike
Earthlore
Hatchet Bully
Daretti, Ingenious Iconoclast
Growing Rites of Itlimoc // Itlimoc, Cradle of the Sun
Dominate
Orim's Thunder
Errantry
Master of Cruelties
Ochre Jelly
Caller of the Claw
star pupil far from any effect
spectra ward
Chief Engineer
Dark Salvation
Sword of Hearth and Home you should always be able to search the land
Hall of the Bandit Lord
Boseiju, Who Shelters All
spelltwine
Runaway Steam-Kin
Arahbo, Roar of the World
2023-01-28 11:45:43 -06:00
Eduardo MG 4fd4619fd8 Bug fixes in primitives
Knight of Old Benalia
Scalelord Reckoner
Insurrection affects also your creatures
Scaretiller
Secrets of the Golden City
Trial of Ambition
Channeler Initiate
Hecatomb
Brash Taunter
Bonder's Ornament
Livio, Oathsworn Sentinel, may exile, still missing aegis counters
Rowan Kenrith not close to actual effect
fecundity is a may
Crypt Rats crashed the game
Sphere of Safety
Fairgrounds Trumpeter still needs the condition at end of turn
Cavalry Drillmaster
Bloodmist Infiltrator
Sudden Demise
Rishkar, Peema Renegade
Glowspore Shaman
Oracle of Bones
Jugan, the Rising Star should be a may
Corrupted Grafstone
Lantern of the Lost
2023-01-26 22:49:43 -06:00
Eduardo MG 35685bb2b2 Bug Fixes to primitives
Gadrak, the Crown-Scourge
Underhanded Designs
Raff, Weatherlight Stalwart
Casting of Bones
Storm World
Mogg Infestation
Pathbreaker Ibex
Mantle of the Wolf
Virulent Wound
Slumbering Tora
Balance of Power
Vandalize
Hull Breach
Cunning
Wishclaw Talisman
Bamboozle
Oath of Lieges
Chandra, Bold Pyromancer
Tyvar Kell
Backdraft Hellkite
2023-01-26 00:19:37 -06:00
Eduardo MG 022378b5a5 Update .travis.yml 2023-01-25 12:01:58 -06:00
Eduardo MG cb81f8a7b0 Update .travis.yml 2023-01-25 11:57:36 -06:00
Eduardo MG 6fde3953cd Update .travis.yml 2023-01-25 11:28:47 -06:00
Eduardo MG 3a6f70bd32 Update .travis.yml 2023-01-25 11:14:52 -06:00
Eduardo MG 1baf82fb47 Update .travis.yml 2023-01-25 11:06:35 -06:00
Eduardo MG 8ca9d42d71 Update .travis.yml 2023-01-25 10:58:59 -06:00
Eduardo MG 87c2416da4 Update .travis.yml 2023-01-25 10:48:40 -06:00
Eduardo MG 9443fac3b5 Revert "Update .travis.yml"
This reverts commit 4b9f7de7c9.
2023-01-25 10:47:43 -06:00
Eduardo MG 4b9f7de7c9 Update .travis.yml 2023-01-25 10:44:31 -06:00
Eduardo MG 4d6d369ec0 Removed cards with no id that were generating a warning 2023-01-24 22:44:20 -06:00
Eduardo MG 067da7a444 Added more cards from sets released in 2022
Thopter Shop
Aggressive Sabotage
Prayer of Binding
Temporary Lockdown
Tura Kenner�d, Skyknight
Tori D'Avenant, Fury Rider
Leaf-Crowned Visionary
Monstrous War-Leech
Blight Pile
Bite Down
Shore Up
Pixie Illusionist
Viashino Branchrider
Tolarian Geyser
Strength of the Coalition
Take Up the Shield
Scout the Wilderness
Research Thief
Tempered in Solitude
Voltage Surge
Runic Shot
Protect the Negotiators
Timely Interference
Coral Colony
Herd Migration
Eerie Soultender
Sunbathing Rootwalla
Phyrexian Missionary
Sprouting Goblin
Meria, Scholar of Antiquity
Zamriel, Seraph of Steel
Maeve, Insidious Singer
Vogar, Necropolis Tyrant
Nogi, Draco-Zealot
Imaryll, Elfhame Elite
Tribute to Urborg
Urborg Repossession
Vineshaper Prodigy
Elvish Hydromancer
Tyrant of Kher Ridges
Transmogrant's Crown
Gaea's Gift
Awaken the Woods
Emergency Weld
Gruesome Realization
Argivian Avenger
Aeronaut's Wings
Tocasia's Welcome
Union of the Third Path
Tocasia's Dig Site
Argothian Sprite
Bushwhack
Spectrum Sentinel
Dwarven Forge-Chanter
Unleash Shell
Brotherhood's End
Fade from History
Urza, Lord Protector
Mishra's Foundry
Iridian Maelstrom
Wilson, Refined Grizzly
Erinis, Gloom Stalker
Sharpshooter Elf
Tiamat's Fanatics
Duke Ulder Ravengard
Ghastly Death Tyrant
Penregon Strongbull
Mishra, Excavation Prodigy
Mishra's Onslaught
Fateful Handoff
Swiftgear Drake
Fortified Beachhead
Bitter Reunion
Urza's Rebuff
Robe of the Archmagi
Emperor Mihail II
Moira, Urborg Haunt
Greensleeves, Maro-Sorcerer
False Floor
Junji, the Midnight Sky
Kami of Restless Shadows
Jin-Gitaxias, Progress Tyrant
Unquenchable Fury
2023-01-24 22:00:39 -06:00
Eduardo MG 489903ad9d Fixes to primitives, removed extra characters
Fixed equipment that attaches itself to a creature when it enters the battlefield, previously it just keep attaching to a creature after the original holder died as long as there was a creature in your battlefield, the free attach its just once when it enters
Ukkima, Stalking Shadow
Lady Sun
Repel Intruders
Exclusion Ritual
Sheoldred, the Apocalypse
2023-01-24 21:31:35 -06:00
Eduardo MG 8a295f3a14 Update .travis.yml
The resources are not being uploaded so changing things
2023-01-22 22:21:39 -06:00
Eduardo MG ccd1a52856 Bug fixes in primitives
Shuffle effect on original Eldrazi Titans is clearer now when it happens
Replaced 'Put a token onto the battlefield' for 'Create a token' in cards text
Expedite
Purge
Gadrak, the Crown-Scourge
Angelic Exaltation
Proud Wildbonder
Guile threeblockers
Raphael, Fiendish Savior
Portable Hole
Dreamshackle Geist
Windreader Sphinx
2023-01-22 10:44:47 -06:00
Eduardo MG ca7882c4da Bug fixes on primitives
The Ur-Dragon
Bloodline Necromancer
Befuddle
Thraben Exorcism
Kogla, the Titan Ape
Malfegor
Festival of the Guildpact
Wall of Resurgence
2023-01-17 11:03:31 -06:00
Eduardo MG 92751a088f Bug fixes in primitives
Coils of the Medusa crash
Well of Knowledge
Heraldic Banner
Retributive Wand
Valiant Rescuer
Tormod, the Desecrator
Angel of the Dawn
Nylea's Huntmaster
Heliod's Intervention
2023-01-09 20:09:39 -06:00
Eduardo MG 9be91880b2 Bug fixes in primitives
Goblin Firebomb
Boneyard Mycodrax
Heartless Pillage
Town-razer Tyrant
orcish hellraiser
Startling Development
Fireflux Squad
Valorous Stance
2022-12-27 00:18:54 -06:00
Eduardo MG 19a01ad90b Primitives from The Brothers' War (BRO)
Also some bug fixes
2022-12-07 11:51:03 -06:00
Eduardo MG db523a8f4d The Brothers' War (BRO), The Brothers' War Commander (BRC) and The Brothers' War Retro Artifacts (BRR)
Adding The Brothers' War (BRO), The Brothers' War Commander (BRC) and The Brothers' War Retro Artifacts (BRR)  sets with their official multiverseID, the images for the sets are also updated in the image downloader
2022-11-29 18:34:01 -06:00
Eduardo MG 5db74fce39 Bug fixes and adding new cards
Adding more cards from Commander Legends: Battle for Baldur's Gate (CLB)
Adding cards with Blitz from Streets of New Capenna (SNC)
Fell Flagship
Vow of Torment
culling scales
Acrobatic Maneuver
Double Major
Tend the Pests
Demon's Disciple
mystical teachings
reoving cards that crash the game
Oracle's Vault crashes the game
Collective Defiance crashes the game
2022-11-19 19:38:45 -06:00
Eduardo MG 956351ef7c Fixes in primitives and more Kamigawa: Neon Dynasty (NEO) cards
Rank Officer
Rienne, Angel of Rebirth
Boreal Elemental
Duelcraft Trainer
Mox Lotus
Recruit the Worthy buyback
Worthy Cause buyback
Blast from the Past buyback
Hamlet Vanguard
secure the scene
Dihada, Binder of Wills
Jared Carthalion
Geralf's Masterpiece
Pilgrim of the Ages
2022-11-14 18:44:11 -06:00
Eduardo MG 30851bb2b2 Adding primitives for sets released in 2022
Sorted using tools from Vitty85, thanks for your contributions

Tested the cards in crappy and incorporated them into the borderline ones

This does not include any Brothers' War cards since it's not yet released with official multiverseID's
2022-11-11 18:03:39 -06:00
Eduardo MG fd59b376e6 Bug fixes in primitives
Berserk Murlodont
Urborg Justice
Beledros Witherbloom
Mirror-Mad Phantasm
Phyrexian Metamorph
Mannichi, the Fevered Dream
The Circle of Loyalty
Riot Ringleader
Rionya, Fire Dancer
Etrata, the Silencer
Natural State
squallmonger
Steward of Solidarity
2022-11-11 12:07:53 -06:00
Eduardo MG f212e633a1 Bug fixes and macros for servo token
Herald of the Forgotten crashed the game, the modifier * seems to work for this effect since it doesn't do anything while targeting instants or sorceries
Karona, False God
Excavating Anurid
Multiple Choice still neds scry 1 with x>=4
Quarantine Field
Optimus Prime, Inspiring Leader subtype
Gate Colossus
Harmonic Prodigy at least give them their own trigger twice
Faerie Artisans
Liliana, Death Wielder
Greven, Predator Captain
Verazol, the Split Current
Thunderstaff
Mask of Immolation
Purraj of Urborg
Ghired, Conclave Exile
Shatter Assumptions
Brawl-Bash Ogre
Tactical Advantage
The Birth of Meletis
Speaker of the Heavens
Superior Numbers
Flames of the Raze-Boar
Crushing Vines
Rite of Belzenlok
sacrifices should not target or else you can't sacrifice a permanent with shroud
2022-11-08 13:51:33 -06:00
Eduardo MG bdd06ab70d Bug Fixes
Static Orb
Anje's Ravager
Sethron, Hurloon General
Vigorspore Wurm
coveted jewel
Island Sanctuary
Aeve, Progenitor Ooze
Ravenous Squirrel
Renegade Krasis
Clambassadors
Sarkhan's Dragonfire
geosurge
Syr Faren, the Hengehammer
Fertile Imagination AI doesn't like to target cards in the second option of a reveal
Deadeye Tormentor
2022-11-06 12:48:14 -06:00
Eduardo MG 0d9c17ab64 Bug fixes. Damage prevention was crashing the game on certain cards
Piston-Fist Cyclops
Leapfrog
Burrenton Forge-Tender was crashing the game
damage prevention doesn't work in the stack Burrenton Forge-Tender, Prahv, Spires of Order
Biblioplex Assistant
Rhonas's Monument was crashing the game
2022-11-03 23:53:40 -06:00
Eduardo MG b171381b35 Bug fixes, changed counter(-1/-1,1) to counter(-1/-1)
Changed counter(-1/-1,1) to counter(-1/-1) since is the same thing with less code
Lord of the Forsaken
Aethersquall Ancient
Traverse the Outlands
Colossus Hammer
Feasting Troll King
Iwamori of the Open Fist
Chainer, Nightmare Adept
said-done
Wall of Corpses
Retrofitter Foundry
Nezahal, Primal Tide
generous gift
Run Away Together
Wulfgar of Icewind Dale
Veyran, Voice of Duality
Icon of Ancestry
Arcane Artisan
Kami of the Painted Road
Promise of Bunrei
2022-11-01 13:06:19 -06:00
Eduardo MG a697c2a3a7 Bug fixes, changes in macros
macros for casting a historic spell
Pyroceratops
Mirko Vosk, Mind Drinker
Savage Gorger
Heraldic Banner
Blight Herder
Dire Wolf Prowler
Chandra, Roaring Flame
Footfall Crater
Supernatural Rescue
Quicksilver Dagger
mana crypt
scavenged blade and others with the rules "enters the battlefield, attach it to target creature you control"
equipment was just getting equiped for free when the hoked creature died
Soulshift stays as is, implementing it with macros lead to bugs
Farmstead Gleaner
Vizier of Tumbling Sands
Doomed Artisan
Frostveil Ambush
Avacyn, guardian angel crashes
2022-10-29 12:15:22 -05:00
Eduardo MG 85aacb9e1e Bug fixes and new macros for tokens
Pithing Needle and similar cards
Chicken Egg
Metalworker
Smothering Tithe
changed donothing' to donothing?
Aetherstorm Roc
Stomp and Howl
Sword of Sinew and Steel
Midnight Clock
Vulshok War Boar
Fendeep Summoner
Dread Summons
Kefnet's Last Word
Crushing Canopy
Genesis Hydra
Pondering Mage
Smell Fear
Tsabo Tavoc
Lithoform Engine
Team Pennant
2022-10-28 12:03:53 -05:00
Eduardo MG 15bdad348b Update appveyor.yml
Trying to make appveyor work
2022-10-26 17:41:10 -05:00
Eduardo MG 61bb41e88a Add _cards.dat files for sets released in 2022
I want to focus on sets with official multiverseId so no promos or secret lairs.
2022-10-26 17:38:49 -05:00
Eduardo MG 68823286a3 Random Commander rule file 2022-10-26 15:56:45 -05:00
Eduardo MG 51ede6a37f Added a new Random Commander game mode and fix to special rarity filter
You get a random legendary creature and get a 99 cards deck at random in the commander colors.

Some limitations by the engine makes you only get cards based on the mana cost of the card, not the full color identity.

Also sometimes you get fewer than 99 cards. Possible that you are getting repeated cards and end up with less than the desired 99?

Special rarity no longer shows basic land types.
2022-10-26 15:49:57 -05:00
Eduardo MG 5c691afe33 Fixes in primitives
Mire in Misery
Mask of Memory
Smiting Helix
Ring of Renewal
Pirate's Cutlass
Trash for Treasure
Sixth Sense
Life's Legacy
Kaseto, Orochi Archmage
Gristle Grinner
Tezzeret, Artifice Master
Commander's Sphere
Journey for the Elixir
Azra Bladeseeker
Indulgent Tormentor
Sidisi, Brood Tyrant
Martyr's Bond
Gruesome Scourger
Pull from Tomorrow
Conqueror's Flail
Trespasser's Curse
Tourach, Dread Cantor
Jerren, Corrupted Bishop
Feral Roar
Release to the Wind
Taborax, Hope's Demise
Magmatic Sinkhole
rage of purphoros
Farbog Boneflinger
Ruin Grinder
2022-10-26 15:40:47 -05:00
Eduardo MG bada76ec85 Macros for loot (draw a card, discard a card.) bug fixes
Macros _LOOT_ for draw a card, discard a card.

Fixed typos in subttype

removed induced amnesia

Yawgmoth, Thran Physician
Rienne, Angel of Rebirth
Teysa, Envoy of Ghosts
Urza's Avenger
Reincarnation
Diabolic Servitude
Gate to the Afterlife
Tana, the Bloodsower
2022-10-24 13:00:38 -05:00
Eduardo MG 04c49f9031 Phyrexian Creature Type Update on tokens
Updated oracle text on tokens, also changing a test since now the creature is a Phyrexian germ, not just a germ.
2022-10-22 18:51:11 -05:00
Eduardo MG c779dc3789 Phyrexian Creature Type Update
Also Ranger Type Update

Soulherder blinks a creature I stole from the opponent and returns it back to my battlefield
Klothys, God of Destiny
Rienne, Angel of Rebirth
Cankerous Thirst
magma jet scry
Grifter's Blade
Nightmare Unmaking
Runebound Wolf
Animating Faerie // Bring to Life
Oakshade Stalker
2022-10-22 11:24:31 -05:00
Eduardo MG 9f51e5b539 Updated "converted mana cost" to "mana value" in the oracle text, also reverted the changes to emerge creatures
The term "mana value" was introduced in Strixhaven: School of Mages. Thereafter, all cards prior to this set have their oracle text updated to reflect this change.

Emerge only functions for the human player not for the AI.

Fixes to:
Snakeskin Veil
King of the Pride
2022-10-21 12:15:05 -05:00
Eduardo MG 46283897da Macros for learn, bug fixes and oracle updates
#AUTO_DEFINE _LEARN_
Cruel Cut
Etali, Primal Storm
plant elemental
type=summon
heroes' podium
other={emerge} name(Emerge) otherrestriction
Epic Downfall
Feed the Swarm
Heartless Act
gateway plaza
Subversive Acolyte update
Frontline Medic
devious cover-up
Kaervek, the Spiteful
Kitesail Corsair this(attacking)
Grasping Scoundrel this(attacking)
Thorned Moloch this(attacking)
Vivid Flying Fish this(attacking)
2022-10-18 17:19:29 -05:00
Eduardo MG 950d80e530 Update Time Spiral Remaster _cards.dat
previous multiverseID was incorrect and caused collisions, will try to not mess with ID established but this set has official multiverseID and they were wrong
2022-10-17 16:55:08 -05:00
Eduardo MG 3a11453aa5 Bug fixes, more token creation macros
A file being borderline really doesn't mean much, also, after some testing, the cards under 'crappy' could be playable

Narfi, Betrayer King
Cavalier of Dawn
Imprisoned in the Moon
Bull's Strength
Bontu the Glorified could attack planeswalkers
Fists of Flame
Barbed-Back Wurm
old rutstein
Delraich restriction
consuming aberration
drowned secrets
ancestral anger
Flood Plain
Bad River
Grasslands
Rocky Tar Pit
Mountain Valley
Basri Ket
Colos Yearling
march of the drowned
2022-10-16 13:11:16 -05:00
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. 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
Vittorio Alfieri c1f3913295 Added a new menu choice to instantly choose all the possible targets (on battlefield) of an ability during its target selection (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-12 15:51:12 +02:00
Vittorio Alfieri 4623167b0f Fixed the Proliferation and Damageable target chooser in order to avoid targeting permanents or players without counters and/or with some protections (e.g. hexproof, shroud and similar), fixed a Travis build toolchain error. 2021-10-09 13:31:30 +02:00
Vittorio Alfieri 4e18b6d799 Fixed the Proliferation and Damageable target chooser in order to avoid targeting permanents or players without counters and/or with some protections (e.g. hexproof, shroud and similar). 2021-10-09 13:03:14 +02:00
Vittorio Alfieri 45b077e930 Fixed "Tergrid, God of Fright" primitive. 2021-10-09 00:50:05 +02:00
Vittorio Alfieri 1f6db30277 Fixed "Force of Vigor" and "Slogurk, the Overslime" primitives. 2021-10-09 00:14:29 +02:00
Vittorio Alfieri fd76775923 Fixed a bug on deck choosing menu when an AI deck has no avatar image (it will be used "baka.jpg"), added new default avatar images for AI decks (up to 200), fixed "_PROLIFERATE_" macro and fixed all primitives with "proliferate" ability, improved the "proliferation" keyword for target chooser in order to avoid targeting permanents or players without counters and/or with some protections (e.g. hexproof, shroud and similar). 2021-10-08 23:01:37 +02:00
Vittorio Alfieri aafaadb76f Removed the previous limit of 99 avatars images, if "avatarXX.jpg" image is not present, for deckXX.txt of AI it will be used "baka.jpg" image instead. 2021-10-07 15:07:00 +02:00
Vittorio Alfieri 99b501105d Fixed primitive "Armament Master" (issue #1075 opened by @remigiusz-suwalski). 2021-10-06 10:34:27 +02:00
Vittorio Alfieri b84745e063 Added "--no-check-certificate" option to download the PSP SDK. 2021-10-01 18:01:19 +02:00
Vittorio Alfieri 89024241a8 Added/fixed primitives, updated the "missing_cards_by_sets" folder. 2021-10-01 17:53:28 +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 d3fad48367 Fixed typos on "Teferi, Who Slows the Sunset" primitive. 2021-09-27 15:01:10 +02:00
Vittorio Alfieri 79d353d3ee Fixed a bug on game achievements percentage calculation. 2021-09-27 11:33:35 +02:00
Vittorio Alfieri 9e3caa635d Added new decks for AI, improved "genrand", "altercost" and "changecost" keywords in order to allow the usage of a variable instead of a simple number (e.g. "altercost(colorless, -phandcount)"). 2021-09-26 12:22:28 +02:00
Vittorio Alfieri 8ae7439978 Fixed changelog after pull merge. 2021-09-24 23:11:37 +02:00
Vittorio Alfieri f9f1f0f53d Fixed changelog after pull merge. 2021-09-24 23:08:45 +02:00
Vittorio Alfieri 1efc38ef0f Merge pull request #1074 from remigiusz-suwalski/refactor-202d46176
Upgrade AI decks 3, 30-36, 38 to modern frames
2021-09-25 00:04:47 +03:00
Vittorio Alfieri 6538f1625e Fixed primitives, fixed MIC set, improved Android downloader, added "Dungeon" and "Emblem" types in "Subtypes.h" enum definition, added a fix in "GameObserver::Affinity()" method in order to avoid a crash when the card is null or if it's a Dungeon in the commandzone. 2021-09-24 23:03:54 +02:00
Remigiusz Suwalski 5810a36610 Upgrade AI decks 3, 30-36, 38 to modern frames
Initially committed in 89dae6523 (Nov 3, 2008) and 202d46176 (Sep 22, 2009).

Major changes done only in deck3:
- Castle -> Builder's Blessing (functional reprint)
- Ironroot Treefolk (vanilla 3/5) -> Spitting Spider (reach, 3/5)
- Thicket Basilisk (deathtouch 2/4) -> Kessig Recluse (reach, deathtouch 2/3)
- Pearled Unicorn (cmc 3, 2/2) -> Ronom Unicorn (cmc 2, 2/2)
- Scryb Sprites (flying 1/1) -> Scute Mob (1/1, +4/+4 with 5 lands)
- Shanodin Dryads -> Jukai Messenger (functional reprint)
- War Mammoth (trample 3/3) -> Rhox Charger (trample, exalted 3/3)

Also deck34 (Kobolds) was kept with original frames because Kobolds were never reprinted.
2021-09-24 19:20:21 +02:00
Vittorio Alfieri cd677111b7 Fixed primitives, improved "@discarded", "@counteradded" and "@counterremoved" triggers in order to user "all(trigger)" target. 2021-09-22 18:56:43 +02:00
Vittorio Alfieri 6be219f586 Added/fixed primitives, replaced all occurrences of "AEther" with "Aether" in each ".txt" and ".dat" file according to the new naming convention (pull request #1072 by @remigiusz-suwalski). 2021-09-22 14:33:54 +02:00
Vittorio Alfieri e2ac10be95 Fixed primitives, fixed STA set, fixed a bug in new background images management. 2021-09-21 09:24:38 +02:00
Vittorio Alfieri 832d033488 Fixed primitives, improved background images management, now it's possbile to add a different background for opponent deck choosing (menupanel2.jpg) and added a new sub-folder "background" for custom themes where it will be possbile to store up to six new background images for battlefield (from "backdrop1.jpg" to "backdrop6.jpg") that will be randomly choosen when match starts. 2021-09-20 15:36:42 +02:00
Vittorio Alfieri e2a1705b3f Fixed a bug on sound tracks for PSP/PSVita devices, removed a test on vampired trigger due to a fake error on test suite. 2021-09-19 18:17:12 +02:00
Vittorio Alfieri ff47c0dd44 Fixed typos in several primitives, updated the "missing_cards_by_sets" folder, fixed MID, MIC and CC2 sets. 2021-09-19 16:54:43 +02:00
Vittorio Alfieri c2482a50f5 Added/fixed primitives, updated the "missing_cards_by_sets" folder, added MID, MIC and CC2 sets, improved Android downloader for new added sets. 2021-09-19 15:54:37 +02:00
Vittorio Alfieri ddda01dd86 Added/fixed primitives, added MID, MIC and CC2 sets, improved Andorid downloader for new added sets. 2021-09-19 14:30:56 +02:00
Vittorio Alfieri 8cc3a5b4e3 Merge pull request #1070 from remigiusz-suwalski/refactor-89dae6523
Upgraded AI decks 7, 9, 10 to modern frames in a human-friendly format.
2021-09-18 18:44:11 +03:00
Vittorio Alfieri 1306a43f33 Added/fixed primitives, updated the "missing_cards_by_sets" folder. 2021-09-18 17:42:21 +02:00
Remigiusz Suwalski 06923a0824 Upgrade AI decks 7, 9, 10 to modern frames
Initially committed in 89dae652 (Nov 3, 2008).
2021-09-17 21:47:31 +02:00
Vittorio Alfieri f671f61713 Fixed primitives, improved sound tracks management, now it's possbile to add a custom tracks for Shop section (Track2.mp3), Option window (Track3.mp3) and Awards section (Track4.mp3) and it's also possible to add two subfolders "MainMenu" and "Battlefield" within "suound" folder where it's possbile to add twenty custom songs ("TrackMenuXX.mp3" and "TrackDuelXX.mp3") that will be played randomly in main menu windows and when match starts. 2021-09-16 22:11:43 +02:00
Vittorio Alfieri 2af470e42b Fixed AFR, STA, STX and J21 sets, fixed "_PROLIFERATE_" macro and fixed primitives with "proliferate" ability, fixed all primitives with "mutate" ability, improved "proliferate" and "duplicatecounters" keywords, added a new target "permanent" to target togheter a player and permanents on battlefield (e.g. cards with "proliferate"). 2021-09-13 18:56:16 +02:00
Vittorio Alfieri 04a6a4bfe2 Added/Fixed primitives, updated the "missing_cards_by_sets" folder, added a new option "keepname" to keep the original name after the copy (e.g. Olag, Ludevic's Hubris), implemented a fix to avoid triggering of oneshot abilities when "flip" ability is used to return from a copy, fixed an issue with colors and "transforms" keyword, implemented a fix to avoid crashes when the card paying extracost has also a cost alteration (e.g. combo with "Pirate's Pillage" and "Ruby Medallion"), added a new keyword "totmanaspent" to return the real amount of mana spent to cast a card (e.g. Memory Deluge), added new keywords "pnumofidentitycols" and "onumofidentitycols" to return the total amount of commander identity colors for controller or opponent (e.g. War Room), improved "totcnt" keyword, added new keywords "totalcololorsinplay" and "oppototalcololorsinplay" to return the total amount of colors on controller or opponent battlefield (e.g. Moonveil Regent), added new keywords "pcoven" and "ocoven" to return if a player controls three or more creatures with different powers (e.g. Augur of Autumn). 2021-09-12 21:18:43 +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 ccae9673e6 Fixed bug that was not correctly showing the full Commander decks list in the deck choosing menu page, added a new gesture for Android to emulate back button pressure: now sliding from down to up for almost all screen size will trigger the back button in game (e.g. pause match in gameplay, going back from shop, and so on). 2021-09-05 01:15:01 +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 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 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 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 e1f91a50f6 Fixed dat file for J21 set, improved Android downloader for J21 set. 2021-08-30 12:15:43 +02:00
Vittorio Alfieri 790f02905a Fixed dat file for MB1, PRM and PSAL sets. 2021-08-29 23:54:35 +02:00
Vittorio Alfieri 32008496b3 Added/fixed primitives, fixed dat file of several sets, updated the "missing_cards_by_sets" folder, updated README.md file, improved Android downloader. 2021-08-29 19:51:13 +02:00
Vittorio Alfieri ebc281da6e Added/fixed primitives, improved the way to limit the number of total primitives to load at startup using the file named LimitedCardList.txt (that has to be copied in User folder). This should help to run the game even on older devices with low RAM such as PSP-3000 (It needs also a lighter graphics sub-folder in Res folder). 2021-08-28 16:34:22 +02:00
Vittorio Alfieri 8d6e0122bb Added/fixed primitives. 2021-08-27 23:47:47 +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 bbc25e2727 Added/fixed primitives, Improved AI: now it can plays cards using morph cost too. 2021-08-25 15:30:44 +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 6331b1daf4 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:26:16 +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 cd9e5fb2e5 Fixed "Cunning Rhetoric". 2021-08-20 09:39:28 +02:00
Vittorio Alfieri 7d465bfbc4 Fixed a crash on "Tevesh Szat, Doom of Fools" primitive. 2021-08-19 23:51:26 +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 d3167bb4f4 Added/fixed primitives, renamed "The Monarch" and "City's Blessing" cards in CN2 and RIX sets, added 2 new macros for Monarch abilites, refactoring of all cards with _ASCEND_ and _MONARCH_ macros. 2021-08-19 14:09:57 +02:00
Vittorio Alfieri f4c27968a1 Added/fixed primitives. 2021-08-18 14:46:03 +02:00
Vittorio Alfieri 2f4869434c Added/fixed primitives and macros, fixed RIX and CN2 sets in order to allow images for Monarch and City's Blessing ebmlems, updated all cards with "Monarch" and "Ascend" related abilities, improved "token" keyword in order to allow the usage of "notrigger" option even when we are creating a named token, moved Monarch rules from general txt files to the specific Monarch emblem, improved Android downloader for RIX set. 2021-08-17 23:34:05 +02:00
Vittorio Alfieri cb74126544 Fixed "Migratory Greathorn". 2021-08-16 23:08:36 +02:00
Vittorio Alfieri 2fe8a0e473 Added/fixed primitives and switched "Hound" type to "Dog" type. 2021-08-16 15:32:44 +02:00
Vittorio Alfieri 73d9173aa0 Fixed "Fabled Passage". 2021-08-15 14:28:20 +02:00
Vittorio Alfieri f7ce614df8 Fixed "Chance Encounte" and "Tavern Scoundrel". 2021-08-15 13:40:37 +02:00
Vittorio Alfieri d85f3f7743 Fixed "Shadowspear" and other primitives related to shroud abilities. 2021-08-15 13:09:58 +02:00
Vittorio Alfieri 54b6aa0437 Fixed J21 set, added/fixed primitives. 2021-08-13 23:43:37 +02:00
Eduardo b84ddc5687 Misspell Battalion 2021-08-12 20:22:54 -05:00
Eduardo b7f80f3851 New macros and primitives fixes
Fixes to whenever you draw your second card each turn, batallion
2021-08-12 20:16:29 -05:00
Vittorio Alfieri a296db349c Fixed "Pox" and "Blast Zone". 2021-08-12 20:19:56 +02:00
Vittorio Alfieri 1e0928b227 Added a way to limit the number of total primitives to load at startup using a file named LimitedCardList.txt (that has to be copied in User folder). This should help to run the game even on older devices with low RAM such as PSP-3000 and PSVita (with Adrenaline). 2021-08-12 19:10:48 +02:00
Vittorio Alfieri ecc5ddfe28 Fixed "Tevesh Szat, Doom of Fools". 2021-08-11 12:18:50 +02:00
Eduardo 730ddd2b50 Changes to Random modes and improved filters
Improved search restriction by type, allow you to search for "enchantment creature" or "legendary artifact", the engine no longer excludes or prevents searching two "types".
2021-08-10 23:36:23 -05:00
Vittorio Alfieri b3b127ac2f Fixed "Tergrid, God of Fright" and fixed some typos in primitives. 2021-08-10 20:08:22 +02:00
Vittorio Alfieri 3219360cd7 Added ZNR showcase cards, improved Android downloader for ZNR set, fixed primitives: "Tyrite Sanctum", "Tergrid, God of Fright" and "Liliana, Dreadhorde General". 2021-08-10 15:42:57 +02:00
Eduardo cd55b4342c Fixes to primitives
Deep Forest Hermit
Elvish Rejuvenator
Force of Virtue
Potion of Healing
Quakefoot Cyclops
the mending of dominaria
titan hunter
valiant knight
Mausoleum Turnkey
Infested Roothold  is cast not just ETB
Treasured Find should be exiled
Mu Yanling, Sky Dancer + ability
2021-08-09 13:52:47 -05:00
Vittorio Alfieri 1727e11091 Fixed Plaguecrafter and Steel Hellkite. 2021-08-09 12:09:02 +02:00
Vittorio Alfieri 9db4b9e2d4 Improved Android downloader for J21 set. 2021-08-08 00:53:14 +02:00
Vittorio Alfieri b7e0fc6d8b Added/fixes primitives. 2021-08-07 17:32:51 +02:00
Vittorio Alfieri 0f9b4c6ab2 Added J21 set and added/fixed primitives. 2021-08-07 15:55:28 +02:00
Vittorio Alfieri a82636b099 Fixed "Jolrael, Mwonvuli Recluse", fixed "Corrosive Ooze", added new keyword "all(myeqp)" in order to target all the equipments attached to a creature (e.g. Corrosive Ooze). 2021-08-07 13:42:28 +02:00
Eduardo b97bd275e4 Macros for Enraged and Blocked
Removing macros that are not necessary.
Added enrage and blocked macross.

Corrosive Ooze didn't have a code and was causing problems.
2021-08-06 20:36:03 -05:00
Vittorio Alfieri b70e03a5cf Added/fixed primitives. 2021-08-05 17:33:25 +02:00
Vittorio Alfieri 946557acf2 Fixed Muxus, Goblin Grandee, fixed Time Wipe. 2021-08-05 14:11:07 +02:00
Eduardo f792729f80 Primitive fiexes and macros replacements
Removing typos in firststrike, @@ and ==.
death's-head buzzard didn't gave creatures -1/-1
ponyback brigade morphed created 6 tokens
Cavalier of Flame wasn't working
Duplicate ability in Lone Revenant
Macros for:
_ADDENDUM_
CONSTELLATION_
_FEROCIOUS_
_POPULATE_
_RALLY_
2021-08-04 19:57:55 -05:00
Vittorio Alfieri 4458a6e780 Fix Mulligan when Human player is not the first one. 2021-08-04 15:24:21 +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 e6ffd056b5 Fixed MED and THB sets and fixed Liliana, the last Hope. 2021-08-04 09:07:37 +02:00
Eduardo 46ec7dc0c6 Adding missing Planeswalkers to Mythic Edition and replaced code for _ATTACKING_
WAR OF THE SPARK MYTHIC EDITION  8 Cards missing
Replaced @combat(attacking) source(this): for _ATTACKING_all
2021-08-03 18:58:30 -05:00
Eduardo 8ab49e021f Fixed Flipwalkers and some macros replacements
Legendary creatures that transforms into planeswalkers.

_LANDFALL_
_HEROIC_

If Lotus Field enters the battlefield while you control fewer than two other lands, you must sacrifice each land you control, including Lotus Field.
2021-08-02 20:38:25 -05:00
Eduardo fb64821e0c Fixes to primitives
kykar, winds's fury
Portal of Sanctuary
Arasta of the Endless Web
The Binding of the Titans exiles opponent cards to my zone
miscast
Greenbelt Rampager
increasing ambition
Brago, king eternal no return of the king
enshrined memories
izzet charm loot
said // done
gallia of the endless dance
shatter the sky is green
Arasta of the Endless Web
Nylea, keen-eye puts creature into field instead of hand
2021-08-02 13:23:46 -05:00
Vittorio Alfieri ef3e743980 Fixed primitives. 2021-07-30 14:30:14 +02:00
Eduardo cffda7421f Fixes to Primitives
lesser masticore
auto=auto replaced for auto
Lady Caleria: Human Archer -> Elf Archer
Ridgescale Tusker: Beast -> Pangolin Beast
Yawgmoth, Thran Physician abilities=protection from(human)
Subtlety targets a spell not a permanent
dwarven mine and other similar lands from Eldraine
Gingerbread Cabin
Idyllic Grange
Mystic Sanctuary
Witch's Cottage
Blinding Radiance
Trial of Ambition should target
grasping scoundrel
Eater of the Dead exiles itself
corpseweft exiles itself
blur of blades
radiant destiny choose a creature type not a color
brush with death
amorphous axe
Excavation Technique
Conqueror's Foothold
shipwreck looter and other cards that loot (draw then discard)
rabid bite
2021-07-30 00:33:47 -05:00
Vittorio Alfieri bb5a9dd31e Fixed issue #1065 by @DoidArthas: now on Flip keyword we try to keep auras and equipments effects on transformed card basic abilities (e.g. Pacifism on Werevolwf). 2021-07-29 10:06:28 +02:00
Vittorio Alfieri 2cbb011fe3 Added/fixed primitives, fixed crash with Taj-Nar Swordsmith, Fixed monarch switch after player takes combat damage, fixed allsubtypes in transforms keyword, fixed controllerdamager and opponentdamager keywords and all primitives using them, fixed Emerge alternative cost restriction, fixed Kinship condition on same creature subtype, added alterexperience keyword and fixed all primitives that use experience counters, fixed all primitives using ability counters from Ikoria, fixed mypoolsave keyword in order to don't finish effect at the end of turn, fixed all primitives using mypoolsave (e.g. Omnath, Locus of Mana), fixed Gravepurge and Daretti, Scrap Savant, in order to allow the player to discard zero cards while using their effects. 2021-07-29 03:33:33 +02:00
Vittorio Alfieri d2fbaaf320 Improved Cursed Scroll and Magus of the Scroll, added/fixed primitives, solved Werewolf's Issues #1064 by @DoidArthas. 2021-07-27 14:37:18 +02:00
Eduardo 1c9da2e6e6 Fixes to primitives and oracle text update
Changed the subtype Hound to Dog
Added Bard and Ranger subtype

Kalitas, Traitor of Ghet
Champion of Stray Souls
Gingerbread Cabin
Idyllic Grange
Barrage Tyrant missing '}'
Lesser Masticore
Gisa and Geralf
Eliminate space in instances of "target ("
2021-07-27 00:39:01 -05:00
Vittorio Alfieri d8f1ff33de Fixed promo sets order index. 2021-07-26 14:34:28 +02:00
Vittorio Alfieri c1404ff082 Added PLG21 set, improved Android downloader, fixed Nicol Bolas, God-Pharaoh (issue #1063 by @DoidArthas) 2021-07-26 10:53:10 +02:00
Vittorio Alfieri f499a1e52f Improved Cursed Scroll and Magus of the Scroll, fixed Android downloader. 2021-07-25 21:54:39 +02:00
Eduardo 9bdf0e0690 Fixes to primitives and useless comments removed
stingerfling spider
cliffhaven kitesail
Enlarge
The Akroan War second ability does nothing
Silas Renn, you still have to pay the cost
Urza's Saga shouldn't lose previous abilities
Rocky Tar Pit and similar fetchlands got interrupted
Grand Architect didn't turn creature blue
component pouch
scrapyard recombiner
Harmony of Nature
porcuparrot didn't work with (player,creature,planeswalker), other cards seems to work with that syntaxis
Taranika, Akroan Veteran
Elspeth Conquers Death
Phyrexian Ingester can exile opponents cards
Taborax, Hope's Demise (never use "another" to specify "other" target)
Inniaz, the Gale Force doesn't fly
frost titan
Gustrider Exuberant flying
Kasmina, Enigmatic Mentor crashes the game when the AI tries to use it
2021-07-25 14:09:40 -05:00
Eduardo 7e2162bcc3 Replacing for macros _DIES_
Replacing the string "@movedto(this|graveyard) from(battlefield):" for the macros _DIES_ for readability, consistency and bugs reduction.
2021-07-25 13:54:21 -05:00
Vittorio Alfieri 57b8178d86 Fixed primitives. 2021-07-24 00:03:26 +02:00
Eduardo b2a4edae9f token(The Atropal)
token(The Atropal)
2021-07-21 18:47:31 -05:00
Eduardo 35a79cb723 Restore to previous modifications in borderline and bug fixes
Metamorphose should put cards at top of library
Dark-Dweller Oracle missing closing parenthesis
Chandra, Bold Pyromancer -3
Militant Angel before attacks used to create a token
Typos in some operators, (never should be a '=>')
2021-07-21 18:41:09 -05:00
Vittorio Alfieri 0057269361 Fixed "The Atropal" token card in AFR set, improved Android downloader. 2021-07-21 18:15:05 +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
Eduardo cabc0757be Bug Fixes and replaced instances of a creature dying for the macros _DIES_
Errors Fixed:

Vicious Rumors doesn't mill
Barrin, Tolarian Archmage should not return itself
Thassa, Deep-Dwelling is wrong
Bruse Tarl, Boorish Herder
Spiteful Sliver targets creatures
Karn, Scion of Urza -2 ability
Grand Master of Flowers was blue
Forsaken Monument has CMC of zero
Shadowspear can't equip
You Happen On a Glade
Disease Carriers
Desperate Castaways
Grim Physician targets a card in graveyard
Legion's Judgment had a typo
2021-07-21 00:17:54 -05:00
Vittorio Alfieri 23fa7f9f6e Added/fixed primitives. 2021-07-18 14:21:39 +02:00
Vittorio Alfieri 3442e7cb16 Fix proliferate ability. 2021-07-17 02:56:15 +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
Eduardo d98956a1b8 Fixes to primitives
Dwarven Mine, no need to tap for red since it's a mountain
Mystic Sanctuary, no need to tap for blue since it's an island
Earthshaker Giant does not work
Ranger-Captain of Eos puts card into play not into hand
Jorn, God of Winter has wrong stats
Enemy of Enlightenment subtype misspell
Heavenly Qilin subtype misspell
Urza's Saga subtype misspell
Spirit of the Aldergard subtype misspell
dire tactics loses life even with human on board
piercing rays taps 2 creatures
shipwreck moray should grant +2/-2
sorin, vampire lord text is wrong
spontaneous artist grants 2 energy
Spinerock Knoll does nothing
2021-07-09 20:32:16 -05:00
Vittorio Alfieri f0ee95b483 Fixed Mana Drain (issue #1060 by @Gourajiro), fixed Reinterpret, fixed the taskboard menu choice during game. 2021-06-29 16:38:58 +02:00
Vittorio Alfieri 5b7d8662b7 Improved in-game menu (now the Cancel choice is on top and it's possibile to open/close the taskboard during game), improved add/remove "counter" keyword in order to avoid the trigger if needed (e.g. loop avoidance), fixed Italian and Spanish languages. 2021-06-18 12:22:16 +02:00
Vittorio Alfieri 5f0883943a Added H1R set, added/fixed prmitives, improved Android downloader. 2021-06-17 11:14:09 +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 55edfc6374 Added HA5 set and imnproved Android downloader. 2021-05-22 20:40:04 +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 ac273b1947 Fixed a bug: It's not allowed to turn side of double faced cards when they are on battlefield. 2021-04-27 21:08:51 +02:00
Vittorio Alfieri 8b358b3d1c Fixed a bug: AI does not have to use the doubleside ability to avoid loops. 2021-04-27 17:44:41 +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 e265dc3e7f Completed STX set, fixed/added primitives, improved Android downloader, implemented the usage of ^ instead of , char (e.g. target multiple zones within transforms keyword), improved the code to avoid the multiple triggers in case of abilities gained from other cards (e.g. Kasmina, Enigma Sage). 2021-04-26 19:23:31 +02:00
Vittorio Alfieri 68a64238cb Added/fixed primitives, added new keywords "fourtimes", "fivetimes", "thirdpaid", fixed Tavis-CI build. 2021-04-21 18:27:33 +02:00
Vittorio Alfieri abe8b580c8 Fixed Travis-CI build. 2021-04-21 11:41:59 +02:00
Vittorio Alfieri 71ff7baf85 Fix error import QTOpenGL 2021-04-21 11:32:13 +02:00
Vittorio Alfieri 286ccaafb2 Fixed Travis-CI build 2021-04-21 11:13:49 +02:00
Vittorio Alfieri 2c80570cf4 Fixed Travis-CI build 2021-04-21 11:12:02 +02:00
Vittorio Alfieri 6a311f2cd6 Fixed Travic-CI build. 2021-04-21 11:08:55 +02:00
Vittorio Alfieri 2028c5c79d Update travis-script.sh 2021-04-21 11:05:59 +02:00
Vittorio Alfieri a6bec1a96e Update .travis.yml 2021-04-21 10:56:21 +02:00
Vittorio Alfieri d11ac6cf8b Update .travis.yml 2021-04-21 10:52:12 +02:00
Vittorio Alfieri ff63f98b56 Update .travis.yml 2021-04-21 10:45:57 +02:00
Vittorio Alfieri e8f853eb37 Try to change java version. 2021-04-21 10:42:54 +02:00
Vittorio Alfieri 568dd65173 Update .travis.yml 2021-04-21 10:38:43 +02:00
Vittorio Alfieri 2a45b9f8df Update .travis.yml 2021-04-21 10:34:08 +02:00
Vittorio Alfieri 372715fab7 Update .travis.yml 2021-04-21 10:32:04 +02:00
Vittorio Alfieri 59c3926f16 Update .travis.yml 2021-04-21 10:30:02 +02:00
Vittorio Alfieri 03fbbbb2bb Update .travis.yml 2021-04-21 10:27:20 +02:00
Vittorio Alfieri 74da665ec9 Changed target and source java version from 1.5 to 1.6 2021-04-21 09:58:25 +02:00
Vittorio Alfieri 8d2cc7124e Fixed Travis-CI build. 2021-04-21 09:21:53 +02:00
Vittorio Alfieri 7ae1a6137e Update .travis.yml 2021-04-21 09:18:57 +02:00
Vittorio Alfieri c802be4a9d Test Travis-CI compilation. 2021-04-21 09:13:33 +02:00
Vittorio Alfieri 9ba9008126 Update .travis.yml 2021-04-21 09:05:42 +02:00
Vittorio Alfieri 8ee1d185d5 Try to solve Travis-CI environment problems. 2021-04-21 08:53:30 +02:00
Vittorio Alfieri 66e0a88809 Update .travis.yml
Fix compilation issue.
2021-04-21 00:10:43 +02:00
Vittorio Alfieri 34765237e0 Update .travis.yml
Fix compilation issue.
2021-04-21 00:07:49 +02:00
Vittorio Alfieri 5153c3b9c0 Update .travis.yml
Test to fix compilation.
2021-04-21 00:01:05 +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 d7838829ad Added/fixed primitives. 2021-03-12 17:06:51 +01:00
Vittorio Alfieri cea45370a6 Added/fixed primitives. 2021-03-11 21:56:03 +01: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 37ce334688 Added TSR and HA4 sets, added/fixed primitives, improved Android downloader, fixed a crash when AI pays a Convoke alternative cost, fixed a random crash on Windows when opening zip files, fixed a random crash in destroy ability method (e.g. blasphemous act). 2021-03-09 19:07:31 +01:00
Vittorio Alfieri 2abb218164 Fixed Synthetic Destiny. 2021-02-24 18:25:06 +01:00
Vittorio Alfieri c8f763173d Improved AI: now during opponent's turn it will not search just for instant cards from hand but it can also play cards with "flash" ability from all the other available zones (e.g. "flash" cards from graveyards which have "canplayfromgraveyard" of Flashback and/or Retrace cost). 2021-02-23 12:59:22 +01:00
Vittorio Alfieri 81d4b3d84f Improved AI: now it can plays cards using alternative cost too, fixed thisturn restriction in some primitives. 2021-02-22 19:16:54 +01:00
Vittorio Alfieri 8d740c6bc1 Fixed Hero of Bretagard. 2021-02-19 22:23:26 +01:00
Vittorio Alfieri d3379c9c08 Fixed a crash when AI try to activate a combo (caused by new ANYTYPEOFMANA management), fixed the Visual C++ project file descriptor, fixed ELD set DAT file, improved Andorid downloader, fixed primitives. 2021-02-19 18:50:25 +01:00
Vittorio Alfieri 89cdeead88 Fixed some borderline primitives. 2021-02-18 19:03:46 +01:00
Vittorio Alfieri 17d6860505 Improved AI: now it can cast spells from graveyard using thier Flashback and Retrace costs, fixed a crash in Deck Editor stats loader when a card ability contains some "add" substrings (e.g. "counteradded" followed by "restriction{"), added/fixed primitives. 2021-02-18 12:48:59 +01:00
Vittorio Alfieri bc9142ad6e Improved AI: now it can activate abilities of cards in all zones such as commandzone, hand, graveyard and exile using the keywords "autohand", "autocommandzone", "autograveyard" and "autoexile" just as normal Human player does. 2021-02-17 15:31:31 +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 ed330fa70c Fixed Lukka, Coppercoat Outcast. 2021-02-15 20:56:52 +01:00
Vittorio Alfieri 7bce2a19e2 Fixed Lukka, Coppercoat Outcas. 2021-02-15 20:06:15 +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 f383d0b8a5 Fixed some primitives. 2021-02-13 18:54:15 +01:00
Vittorio Alfieri b17eb2c870 Fixed primitives with "scry" and "reveal" abilities. 2021-02-12 17:00:20 +01: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 a72c35a693 Fixed all cards with "scry" ability, fixed all cards with "surveil" ability, fixed all cards with "explores" ability, fixed all cards with "adventure" ability. 2021-02-10 22:29:08 +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 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 a858ed405f Fixed some primitives with "Suspend" ability. 2021-02-06 17:31:13 +01:00
Vittorio Alfieri 8f432718cf Fixed primitives with "preventalldamage from" ability. 2021-02-05 22:27:30 +01:00
Vittorio Alfieri f1ee227b84 Fixed deck selection in Deck Editor Menu (now it shows both Classical Decks and Commander Decks using a CMD suffix) and fixed deck selection in Demo Mode (now it filters decks according to game mode as it happens in normal game mode). 2021-02-05 11:25:04 +01:00
Vittorio Alfieri 8c031585cf Fixed some borderline primitives. 2021-02-04 18:29:49 +01:00
Vittorio Alfieri 74ddb33239 Fixed "anyzone" keyword: now it includes commandzone, reveal and sideboard too. 2021-02-04 12:54:22 +01:00
Vittorio Alfieri a00919cc02 Added/fixed primitives. 2021-02-02 18:39:23 +01:00
Vittorio Alfieri 6fe1e4d351 Fixed some borderline primitives. 2021-02-01 16:58:52 +01:00
Vittorio Alfieri f6274dc914 Fixed C18 set, fixed primitives from KHM set, improved Android downloader. 2021-01-31 15:28:35 +01:00
Vittorio Alfieri 783bcf1142 Added KHM and KHC sets, improved Android downloader, fixed/added primitives, improved "hascnt" keyword, added "myhandexilegrave" and "opponenthandexilegrave" zone targeters. 2021-01-31 00:59:15 +01:00
Vittorio Alfieri b9d6410aba Fixed Garruk's Harbinger and Gishath, Sun's Avatar (issue #1052 by @ranger7271). 2021-01-28 21:59:47 +01:00
Vittorio Alfieri b35e503a0f Fixed Flamerush Rider, added battleready option to "clone with" keyword. 2021-01-28 15:56:15 +01:00
Vittorio Alfieri 024e015dfc Fixed primitives, fixed a random crash in ActionStack.cpp, added a way to search wallpaers in theme folder before to search them in the default folder, improved the keyword to retrieve the highest power and toughness of creatures in play, now it's possibile to use "pwr:" and "ths:" instead of "power:" and "toughness:", so it's possibile to use this keyword in variable{} construct too. 2021-01-27 11:16:41 +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 c60f8787d1 Added a new keyword "excessdamage" to retrieve theamount of exceeded damage to creature or planeswalker, fixed an issue on planeswalker damage count, added a new keyword "genrand" to generate a random number between 0 and a specific number (e.g. "genrand3"), improved Flip ability in order to allow the flip back from copy for a generic card name (e.g. "flip(myorigname) undocpy)" 2021-01-25 17:24:15 +01:00
Vittorio Alfieri 4bdc1fdfe1 Fixed Treasure token, added boast trigger event, added new keyword "hascnt" to retrieve the amount of specific counter type on a card (e.g. hascntloyalty). 2021-01-24 20:37:14 +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 2b7baf7fc8 Improved foretell mechanics, added a trigger for foretold cards, added a new keyword "snowdiffmana" to compare snow mana pool and mana cost of a target card, improved phaseaction "checkexile" condition. 2021-01-22 19:37:09 +01:00
Vittorio Alfieri 5184132e8b Fixed primitives, added "notshare!" keyword (e.g. to search cards with different names), improved decks selection according to chosen game mode (e.g. Game will show commander decks only in commander mode and it will hide them in other modes). 2021-01-22 14:15:43 +01:00
Vittorio Alfieri 3a38e7f4ab Added/fixed primitives, implemented a new keyword to count the greatest number creatures that share same subtype (creatures with changeling counts as +1 for all creature types) 2021-01-21 15:53:27 +01:00
Vittorio Alfieri 17fdc5bc9f Fixed primitives, fixed multiple snow mana cost payments, added keywords to count snow mana pool (total and single colors). 2021-01-20 18:27:20 +01:00
Vittorio Alfieri 0b5f375df6 Fixed primitives, fixed multiple snow mana cost payments, added keywords to count snow mana pool (total and single colors). 2021-01-20 18:11:56 +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 177541b30c Added/fixed primitives, improved "@draw" trigger, added a "@scryed" trigger for scry ability, added a new keyword "placefromthetop" to put a card in a specifc position of owners library from the top. 2021-01-16 16:35:18 +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 77c48dc1d5 Fixed/refactored primitives after the parser has been improved in order to allow the usage of "^" instead of "," char in a lot of abilities (e.g. to use the token, flip, rampage, phasealter, becomes keywords inside transforms or to target a card with a "," char in its name). 2021-01-15 00:43:13 +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 69885cf90a Added/Fixed primitives, improved PAYZERO rule for commandzone. 2021-01-11 16:53:14 +01:00
Vittorio Alfieri 6229de7c55 Fixed MB1 set, added/fixed primitives, improved Android downloader, improved keywords to remove and add counters. 2021-01-10 17:48:08 +01:00
Vittorio Alfieri 7c8b634086 Added a new game option to allow the user to decide how to sort sets in filter and award section (by sector, by name or by release date). 2021-01-09 13:34:42 +01:00
Vittorio Alfieri 7a6c4b2c15 Added ATH and DDN sets, refactored all sets to add a new tag for better sorting in set filter and award section, improved Android downloader. 2021-01-09 02:26:38 +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
Vittorio Alfieri 4c00dfb3b6 Fixed Duplicant primitives. 2021-01-06 18:59:08 +01:00
Vittorio Alfieri fe1a89e67a Improved the Imprint keyword ability and fixed Duplicant primitive. 2021-01-06 16:32:14 +01:00
Vittorio Alfieri 5dbe6f8c9c Fixed primitives. 2021-01-06 11:46:38 +01:00
Vittorio Alfieri 0fce1c591f Improved "can play land" restriction used for double-face modal cards from Zendikar Rising set. 2021-01-05 22:25:40 +01:00
Vittorio Alfieri d9e3101212 Fix for IP Address resolution on Wondows for 2 Players mode. 2021-01-03 14:19:16 +01:00
Vittorio Alfieri 21b5308420 Fixed code trying to make the 2 Players mode work better. 2021-01-03 01:07:18 +01:00
Vittorio Alfieri 0d31ec5b21 Added missing graphics for game modes unlock, fixed italian lang, fixed awards dat file, fixed a bug on Game Award section, refactoring for AllAbilities.h file. 2021-01-01 16:14:58 +01:00
Vittorio Alfieri 65bf650868 Improved and added new "starting life" related keywords, fixed all primitives related to "starting life" keywords. 2021-01-01 03:47:02 +01:00
Vittorio Alfieri e3aff3c23a Fixed trophy image rendering for hi-res quality, fixed all primitives with XX cost, added some missing primitives from ol sets. 2020-12-31 17:32:34 +01:00
Vittorio Alfieri 1444ed6b7c fixed bug causing AI never play a card there are one or more cards in graveyard or other zones, fixed and improved removemana ability, fixed/added primitives. 2020-12-30 17:52:06 +01:00
Vittorio Alfieri 1f98173197 Avoided a memory allocation error of SDL EnginePlayer on Android version when loading more than 32 audio samples at same time. 2020-12-27 01:08:51 +01:00
Vittorio Alfieri b7c6725b44 Fixed Italian and Spanish lang, fized Commander award condition. 2020-12-26 22:14:58 +01:00
Vittorio Alfieri f9e0746e1c Increased Android SDK and NDK version for Android 10, updated Italian and Spanish lang files, patch boost dependencies for TIME_UTC definition, fixed import for usleep. 2020-12-26 17:19:02 +01:00
Vittorio Alfieri b2c55e307c Updated spanish lang, Improved Commander rules and award, fized/added all primitives with divide damage between one or more targets. 2020-12-26 01:45:13 +01:00
Vittorio Alfieri 99033e3fb2 Fixed Edgar Markov, issue #1047 2020-12-25 01:05:10 +01:00
Vittorio Alfieri 053f202f32 Fixed primitives with imprint ability. 2020-12-25 00:00:03 +01:00
Vittorio Alfieri 991625dea4 Fixed Duplicant primitive. 2020-12-24 12:43:32 +01:00
Vittorio Alfieri 0ca310da54 Added feature to allow some cards to copy and flip back at the end of turn, added feature to use type: keyword with chosentype and chosencolor combo, fixed crashes on "can play land" restriction, fixed land primitives with pay life or tap condition to avoid crashes. 2020-12-23 12:39:18 +01:00
Vittorio Alfieri d40d6f319e Fixed/added primitives from older sets. 2020-12-22 17:56:49 +01:00
Vittorio Alfieri 3a8d70ff27 Fixed all primitives with Domain ability, fixed issue #1044 opened by DroidArthas. 2020-12-22 12:38:24 +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
Vittorio Alfieri a801069a3a Improved explores ability, added new trigger to handle the explores event from a card, added/fixed primitives from older sets, fixed RIX dat file. 2020-12-20 23:14:44 +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 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 bf3d35463f Added commander mode achievement and improved its graphic resources, added fixed primitives, fixes RNA set file, added new keyword and events to code the ability of six-side die roll. 2020-12-14 19:20:05 +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 d2ea81bdbc Added/fixed some primitives. 2020-12-10 10:37:32 +01:00
valfieri d4b663220f Fixed compilation issue on AllAbilities.h 2020-12-09 21:12:22 +01:00
valfieri f4353fb0e9 Fix compilation issue. 2020-12-09 20:54:35 +01:00
valfieri 3ec955bf2c Added/fixed primitives. 2020-12-09 20:32:26 +01:00
valfieri 68d21ddd23 Added/fixed primitives and implemented new keywords to count the single color symbols in player's manapool. 2020-12-09 19:28:28 +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 6ef9ecc147 Fixed/added some primitives. 2020-12-01 18:13:59 +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 d751ed3540 Fixed and added some primitives. 2020-11-19 14:12:44 +01:00
valfieri 1202ea609e Added KLR set, fixed some primitives and improved Android downloader. 2020-11-18 19:45:26 +01:00
valfieri 252e66736a Fixed a crash occurring on token clone (e.g. Doubling Season) as described in the issue #1040. 2020-11-18 15:22:25 +01:00
valfieri 42f2c34a46 Changed implementation strategy for altercosat in anyzone for some cards due to some problem. 2020-10-27 11:59:33 +01:00
valfieri c78e90a5b5 Fixed Cursed Scroll primitive. 2020-10-21 21:24:14 +02:00
valfieri a52cd305b7 Added Cursed Scroll primitive. 2020-10-21 18:53:44 +02:00
valfieri 6a00c0ad1d Added EasyPBPRX program to the release to sign PRX up to 8Mb size. 2020-10-20 09:59:09 +02:00
valfieri e6c1f652db Added PLIST set and missing primitives, improved Android downloader and fixed all primitives with Adapt ability. 2020-10-19 22:19:51 +02:00
valfieri 48bdc6c951 Fixed The Great Henge primitive. 2020-10-18 19:08:47 +02:00
valfieri 939dc20855 Fixed all primitives with Escape cost, fixed token creation (the movedto triggers were not activating correctly due to a bug). 2020-10-18 17:28:25 +02:00
valfieri 8c39eac856 Removed FTP transfer due to many failures detected. 2020-10-16 23:48:33 +02:00
valfieri 272199dced Modified the timeout for FTP transfer. 2020-10-16 23:07:17 +02:00
valfieri cab90b8fe2 Set timeout for FTP transfer. 2020-10-16 21:31:28 +02:00
valfieri d5a8b80f5a Improved Modal Double Faced Lands of Zendikar Rising set. 2020-10-16 20:52:30 +02:00
valfieri 4f3a179be4 Added a python script to upload Travis-CI build files on external FTP server. 2020-10-16 18:40:27 +02:00
valfieri 519c90dd9d Improved Modal Double Faced Lands of Zendikar Rising set. 2020-10-16 15:55:05 +02:00
valfieri 3d46b41efc Fixed travis.yml file for Travis-CI build.
Fixed travis.yml file for Travis-CI build.
Fixed travis.yml file for Travis-CI build.
2020-10-16 11:46:39 +02:00
valfieri fbf1f9e1e0 Updated the python script to upload the Travis-CI build results to a specific GitHub release. 2020-10-16 00:27:08 +02:00
Vittorio Alfieri d0cd6e8b21 Update .travis.yml 2020-10-15 17:04:32 +02:00
Vittorio Alfieri 90c51fbb2d Update .travis.yml 2020-10-15 17:01:43 +02:00
Vittorio Alfieri edf7714f0c Update .travis.yml 2020-10-15 16:58:58 +02:00
Vittorio Alfieri 77241ee496 Update .travis.yml
Updated GitHub variables
2020-10-15 16:56:24 +02:00
Vittorio Alfieri ad0e8383e4 Update .travis.yml 2020-10-15 16:32:29 +02:00
Vittorio Alfieri 795debeb0d Update .travis.yml
test secure variables
2020-10-15 16:27:26 +02:00
Vittorio Alfieri b7a7efd9db Update .travis.yml
Test with new token and github user
2020-10-15 16:24:20 +02:00
Vittorio Alfieri d005aefdc7 Update .travis.yml
test variables
2020-10-15 16:17:06 +02:00
valfieri 30647615f2 Fixed Archfiend's Vessel and Orah, Skyclave Hierophant primitives. 2020-10-15 13:58:47 +02:00
valfieri 3ee3aaf7d8 Fixed Relic Viel sacrifice ability. 2020-10-15 11:59:37 +02:00
valfieri a2403e4eee Fixed Enhanced Surveillance primitive. 2020-10-14 21:59:31 +02:00
Xawotihs 3e618c062a Update README.md 2020-10-14 17:35:36 +02:00
Xawotihs b1bc13cb0d Switched badge from travis-ci.org to travis-ci.com 2020-10-14 16:14:24 +02:00
valfieri fe60f5fe81 Fix mana cost of Relic Vial. 2020-10-14 14:19:06 +02: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 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 1b860218e0 Fix primitive from Zendikar Rising set. 2020-10-12 21:29:35 +02:00
valfieri 75347a2f37 Fixed a crash on counterremoved trigger, fixed/add some primitives that have ability to double the damage to any target. 2020-10-12 17:20:07 +02:00
valfieri 29985718a7 Added missing cards from GRN sets, improved mutation trigger, improved Surveil ability, implemented trigger and offset on surveil ability to allow combo with other cards (see issue #1037 opened by luisguerin). 2020-10-12 01:25:34 +02:00
valfieri 8cf2b7ab69 Fixed primitives list contained in issue #1037 opened by luisguerin. 2020-10-11 00:32:20 +02: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 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 ad26450151 Improved Android downloader, fixed snow mana cost, merged opponentlifetotal and oplifetotal keywords 2020-10-06 19:00:39 +02:00
valfieri e4f5d7784a Fixed typos in some primitive's restrictions. 2020-10-05 14:06:21 +02:00
valfieri 023816aa65 Fixed and added cards with kicker, multi-kicker, replicate and strive costs. 2020-10-05 02:56:16 +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 1b320d5325 Fixed party counter routine and removed tabbed chars from cpp file. 2020-10-01 18:29:20 +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 00ce669edb Fixed primitives and tokens, implemented count for party of creatures in Zendikar cards. 2020-09-29 18:12:24 +02:00
valfieri 61dc3013f4 Added ZNR, ZNE, ZNC sets, fixed some primitives and improved Android downloader. 2020-09-27 22:54:35 +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
valfieri 495e5f1429 Fixed primitives. 2020-09-20 21:57:39 +02:00
valfieri 827f5a71bc Fixed primitives. 2020-09-19 22:26:23 +02:00
valfieri 573c72f72d Merged with last master commit, fixed primitives and languages. 2020-09-16 11:32:43 +02:00
Eduardo 612be9737d Changes to some game modes I created and fixes to primitives
Some minor changes to some game modes, by the way, can we make it easier to unlock the random modes?
2020-09-09 22:47:21 -05:00
valfieri 4bc339e82b Fixed primitives and planeswalkers. 2020-09-07 13:24:29 +02:00
valfieri 668fc41862 Fixed and added macros for primitives. 2020-08-31 09:04:34 +02:00
Eduardo 457b8c3bf2 Merge branch 'master' of https://github.com/WagicProject/wagic 2020-08-28 12:13:04 -05:00
Eduardo 135f2a1e45 Bug fixes on primitives, borderline and planeswalkers
Changes tested, fixes to buggy cards or cards that used to crash the game.

Using comma inbetween brackets crashes the game, attributes must be separated by semicolon.

WRONG target(creature[attacking,blocking]|battlefield)
RIGHT    target(creature[attacking;blocking]|battlefield)
2020-08-28 12:12:49 -05:00
valfieri 2d9cab915a Fixed some primitives and merged with last GIT commit. 2020-08-26 09:25:49 +02:00
Eduardo 22d8d16b71 Merge branch 'master' of https://github.com/WagicProject/wagic 2020-08-25 12:46:58 -05:00
valfieri 453906e350 Added AKR and ANB sets, Fixed Aftermath primitives and DAT files for AKH and HOU sets, Added extended art cards to 2XM set and improved Android downloader. 2020-08-15 20:45:50 +02:00
Eduardo 5e16e0d1ba Fixes to borderline cards mostly and to rules.cpp
-----fix-----
magosi,
astroblade
sinew and steel
echo of eons
spy network
drudge sentinel
crash of rhino
crashing footfalls
kelsien
Crumbling Vestige
make obsolete
desperate cast
gravebreaker lamia
2020-08-10 20:13:01 -05:00
valfieri 1c09918225 Fixed and added some card prmitives. 2020-08-10 10:17:52 +02:00
valfieri 251e1634f7 Fixed tokens and planeswalkers primitives. 2020-08-09 12:21:49 +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 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 fc40971dc7 Added JMP, SSR and M21 sets, fixed C14 set, added new primitives and improved Android downloader. 2020-07-04 22:29:09 +02:00
valfieri ccc26f400d Fixed crash on Dread Presence and added new primitives. 2020-06-24 21:20:39 +02:00
valfieri 210a250dce Added new primitives and added a new menu choice to toggle all creature to attacking mode during attack phase. 2020-06-22 22:35:33 +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 2b398b425d Fixed Sliding Menu for Android App, added new primitives and fix mutating cards. 2020-06-12 16:47:11 +02:00
Vittorio Alfieri 67c7102687 Fix !share!types! keyword 2020-06-11 00:10:41 +02:00
Vittorio Alfieri 6212af0f48 Fix !share!types! keyword 2020-06-11 00:09:32 +02:00
Vittorio Alfieri 5688b28981 Fix !share!types! problem for creatures with no subtypes 2020-06-10 23:50:07 +02:00
valfieri c162eff8cf Fix build error to_string 2020-06-10 23:36:49 +02:00
valfieri 60e6d314e0 Fixed some primitives and fixed a problem with share!types! keyword. 2020-06-10 23:13:18 +02:00
Vittorio Alfieri 7cf722114b Fix VERSION_GAME macro for 3 params.
Error on build.
2020-06-10 00:26:52 +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 275eb9e06e Merged and sorted all primitives in their respective files. 2020-05-09 15:31:46 +02:00
valfieri 60b4bb31f5 Added more C20 primitives. 2020-05-08 23:23:41 +02:00
valfieri a5eb2eba37 Fixed C20 set file and improved Android downloader. 2020-05-08 18:29:31 +02:00
valfieri a00cf2a1d1 Added borderless images support on Android card images downloader. 2020-04-19 17:22:14 +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 21778de9fb Fix primitives with Escalation keyword. 2020-03-30 11:15:31 +02:00
valfieri c81eecf6d2 Fix on primitives with Explores and Escalation keywords. 2020-03-29 16:28:57 +02:00
valfieri 402323a990 Fix primitives with Explores and Escalation keywords. 2020-03-28 16:35:08 +01:00
valfieri 75b335e59c Fixed some primitives. 2020-03-23 19:51:24 +01:00
valfieri 9f69336c94 Added HA2 set and improved Android downloader. 2020-03-17 20:57:21 +01:00
valfieri 331e54a732 Added THB and UND sets, improved Android image downloader. 2020-03-12 18:58:24 +01:00
valfieri 3d25630dd6 Added MB1 set and improved Android downloader. 2019-12-11 00:22:13 +01:00
valfieri 5b652ba688 Removed MB1 set. 2019-12-09 23:02:19 +01:00
valfieri c60df6c99d Fixed MB1 set and improved Android downloader. 2019-12-09 17:04:18 +01:00
valfieri 8bef671a70 Added MB1 set and improved Android downloader. 2019-12-08 16:43:15 +01:00
valfieri 9df8e90ab6 Reverted .travis.yml 2019-12-08 12:38:48 +01:00
valfieri 45d7cecaf3 Test Travis secure vars. 2019-12-08 12:30:22 +01:00
valfieri 730c8479f9 Test travis secure vars. 2019-12-08 12:02:42 +01:00
valfieri 1dca08a33b Fixed Android Downloader. 2019-12-06 11:37:07 +01:00
valfieri 233cec7a9f Added CN2, ME1 and SLD set, fixed primitives, fixed test and improved Android Downloader. 2019-12-06 11:32:27 +01:00
valfieri 08f69dc832 Added HA1 set, fixed primitives and improved Android downloader. 2019-11-22 22:22:25 +01:00
valfieri 464a6ff1b8 Fixed GN2 set/primitives and improved Android downloader. 2019-11-15 18:04:44 +01:00
valfieri c664760359 Removed duplicated card in Guild Kit sets and improved Android downloader. 2019-11-09 16:47:09 +01:00
valfieri f180b8cc56 Added GK1_AZORIU, GK1_BOROS, GK1_DIMIR, GK1_GOLGAR, GK1_IZZET, GK1_SELESN, GK2_GRUUL, GK2_ORZHOV, GK2_RADKOS, GK2_SIMIC, GN2, PAL00, PAL01, PAL02, PAL03, PAL04, PAL05, PAL06, PAL99, PARL sets, improved Android downloader, added new primitives and updated the release version to 0.22.2 2019-11-08 16:54:05 +01:00
valfieri 044bbb3d4b Fixed MH1 set and primitives. 2019-11-04 17:05:52 +01:00
valfieri c4884e4715 Added DPA, PDP10, PDP11, PDP12, PDP13, PDP14, PMPS, PMPS06, PMPS07, PMPS07, PMPS08, PMPS09, PMPS10, PMPS11 sets and improved Android downloader. 2019-11-03 14:16:15 +01:00
valfieri 253be9e9bd Fixed Flaxen Intruder primitives of ELD set. 2019-11-01 22:56:31 +01:00
valfieri db517858fa Added PS11, PSAL sets and improved Android downloader. 2019-11-01 21:12:42 +01:00
valfieri 923a8e8fd9 Fixed primitives. 2019-10-25 23:56:03 +02:00
valfieri 8d395620a1 Fixed ELD set. 2019-10-25 21:19:45 +02:00
valfieri a547591608 Added ANA, H17, HTR, HTR17, MPS, PGRU, PHPR, PI13, PI14, PIDW and improved Android downloader. 2019-10-25 18:08:09 +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
valfieri f44ad43413 Added PZ2 set and improved Android Downloader. 2019-10-22 19:16:37 +02:00
valfieri 1ec448daef Fixed ELD Adventure primitives. 2019-10-13 15:50:25 +02:00
valfieri adee84d60f Fix GRN and RIX primitives. 2019-10-12 22:17:47 +02:00
valfieri a46786eb28 Fixed a GRN primitive. 2019-10-12 18:14:25 +02:00
valfieri 5c7b4b7618 Fixed ELD primitive. 2019-10-12 17:56:43 +02:00
valfieri bdcb10a54f Fixed primitives of GRN and ELD sets. 2019-10-12 17:25:30 +02:00
valfieri 6083ad76d6 Fixed Midnight Reaper primitive in GRN set. 2019-10-10 23:26:25 +02:00
valfieri b66674492b Fixed Crash on Dread Presence deletion, Fixed primitives for ELD set. 2019-10-08 22:20:53 +02:00
valfieri 0f0e627cf5 Fixed M20 primitives. 2019-10-07 19:40:45 +02:00
valfieri 83e7bfffd0 Fixed primitives of ELD, GRN and M20 sets. 2019-10-06 20:59:57 +02:00
valfieri 28b1c0e86f Fixed primitives for ELD and XLN sets. 2019-10-06 17:11:23 +02:00
valfieri d0e4aa635b Fixed M20 primitives. 2019-10-06 16:21:43 +02:00
valfieri a82a2e3571 Fixed some primitives for M20 and ELD sets. 2019-10-06 15:51:47 +02:00
valfieri 68161b2aaa Added new primitives for ELD set. 2019-10-06 00:29:07 +02:00
valfieri 4e7463c77e Added PZ1 set and improved Android downloader. 2019-10-05 16:02:38 +02:00
valfieri 8ab7212aa2 Added new primitives for PRM and ELD sets, removed some duplicated primitives. 2019-10-04 21:24:55 +02:00
valfieri 16d989e8ca Added ELD set and improved Android downloader. 2019-10-01 18:29:58 +02:00
valfieri 0c8e51693a Added PRM and TD0 set and Improved Android Downloader. 2019-09-27 19:14:01 +02:00
valfieri 9f4e7fb7b2 Fixed image name search bug on Android Downloader. 2019-09-25 19:44:59 +02:00
valfieri 9dd5807cae Added TPR set and improved Android Downloader. 2019-09-22 11:33:06 +02:00
valfieri 7441ae2e8b Added VMA set and Improved Android Downloader. 2019-09-21 15:27:03 +02:00
valfieri c8869f4048 Fix Yawgmoth, Thran Physician 2019-09-20 18:54:22 +02:00
valfieri 21440c977d Fix Android Downloader. 2019-09-19 19:06:40 +02:00
valfieri 06ccc923ea Added GS1 set and Improved Android Downloader. 2019-09-19 17:58:32 +02:00
valfieri c82fc3b5ce Added GNT set and Improved Android Downloader 2019-09-17 14:07:51 +02:00
valfieri 7a19ae8f40 Fix Android Downloader, Added zombie to 10E set, fixed Liliana the Last Hope. 2019-09-17 00:14:34 +02:00
valfieri 43be15e832 Fixed Loxodon Lifechanter 2019-09-16 20:57:51 +02:00
valfieri 4ce2a5c36e Fixed Liliana of the Veil, Bloodthirsty Aerialist and Twinblade Paladin. Improved Android Downloader 2019-09-16 16:59:51 +02:00
valfieri 82e53a8c39 Added MD1/V16/W16 sets and updated Android Downloader. 2019-09-14 09:51:00 +02:00
valfieri dcc7e23b84 Fix Resources zip filename on Android downloader. 2019-09-13 19:48:21 +02:00
Vittorio Alfieri 54e4d881a7 Merge pull request #1027 from Vitty85/master
Added TD2 set, increased Wagic version to 0.22.1, fixed some bugs in Android Java wrapper.
2019-09-13 19:01:27 +02:00
valfieri 83f8d1c5d7 Added TD2 set, increased Wagic version to 0.22.1, fixed some bugs in Android Java wrapper. 2019-09-13 18:35:23 +02:00
Xawotihs cf738e76d3 Merge pull request #1026 from Vitty85/master
Removed almost all duplicated primitives fixed life gain loop adding new keyword "except", added PCA/W17/DDR sets and merged the PSP graphic Folder with PC/Android one
2019-09-12 13:33:25 +02:00
valfieri 744e380df9 Added DDR set and improved Android Downloader. 2019-09-12 00:27:00 +02:00
Xawotihs 8970fa673b Should fix broken QT build 2019-09-11 22:30:03 +02:00
valfieri 88e09bbd05 Added W17 set 2019-09-11 19:40:04 +02:00
valfieri 7d86578152 fix missing bracket 2019-09-11 19:00:36 +02:00
valfieri 6fd6f9061c Added several ifdef PSP for different resolution image to merge the graphics folders. 2019-09-11 18:39:42 +02:00
valfieri ba918b27ee merged the graphics dir with PSP one, modified code with ifdef PSP in order to load different resolution images for different devices. 2019-09-11 17:22:28 +02:00
valfieri 0b90a471d6 Correctly renamed PSP menu background image for deck selection 2019-09-11 00:56:40 +02:00
valfieri 24fd17ecf8 Added testcases for new keyword except used by Angel of Vitality. 2019-09-10 19:59:35 +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
xawotihs 4e4752856b Removed mac specific build files 2019-09-09 23:39:54 +02:00
Xawotihs bc79115985 Added a build specific for mac 2019-09-09 22:16:40 +02:00
valfieri 6ecd762d18 Added Vitty85 to credits. 2019-09-09 20:38:22 +02:00
valfieri 0fa1f04e71 Fixed Angel of Vitality primitive (still a bit buggy but not looping) 2019-09-09 17:50:21 +02:00
valfieri 225be4d9aa Added PCA set to Resources 2019-09-09 11:53:19 +02:00
Xawotihs 29b89ba562 Removes -qt=qt5 for osx 2019-09-09 00:00:59 +02:00
Xawotihs 7d51b985a6 Sorting the qmake path 2019-09-08 23:47:19 +02:00
Xawotihs 91bfa11a4f we build res if we build psp, removed the ref to the mac script 2019-09-08 23:27:47 +02:00
Xawotihs 46834a6ee9 Let's build the res zip only if needed 2019-09-08 23:11:31 +02:00
valfieri 07119b88f6 Fix Glacial Revelation primitives in MH1.txt 2019-09-08 20:45:29 +02:00
Xawotihs 95af76a3b2 installing ant on osx as well 2019-09-08 20:18:46 +02:00
valfieri 0132f7aa5e Removed almost all duplicated primitives 2019-09-08 18:59:08 +02:00
xawotihs 4df34c82c2 Fied typo for osx 2019-09-08 18:49:34 +02:00
xawotihs 50d49e47e7 Merge branch 'master' into matrix 2019-09-08 18:31:39 +02:00
xawotihs b29c37eb25 Should fix a typo 2019-09-08 18:30:59 +02:00
xawotihs c7d09d8389 First try on matrix without cmake 2019-09-08 18:17:51 +02:00
Xawotihs 87ce6df145 Merge pull request #1025 from Vitty85/master
Fix for PSP/Android and added new sets M20/MH1/SS2/C19 and fixed UST/V17 sets
2019-09-08 17:49:11 +02:00
valfieri f5a20110c4 Removed duplicated Tireless Tracker 2019-09-08 17:02:45 +02:00
valfieri 264183a42a Recompilef libs wtih JDK 1.7 2019-09-08 13:10:45 +02:00
valfieri af0de566fe Set travis toolchain android target to 23 2019-09-08 12:36:33 +02:00
valfieri 480adfe83a Target android back to 29 2019-09-08 12:26:51 +02:00
valfieri ce5b07b5b1 Removed java.util.stream dependency because not supported in Travis CI Android compiler. 2019-09-08 10:15:15 +02:00
valfieri 09098893e6 Removed dependencies from java.nio package and decreased target android version from 29 to 13 2019-09-08 09:57:00 +02:00
valfieri 414d99525d Fix Prismatic Vista card 2019-09-08 01:56:55 +02:00
valfieri 4f42ddadb5 Restored 29 target platform for Android 2019-09-07 23:17:13 +02:00
valfieri 901a7ca984 Revert TIME_UTC_ to TIME_UTC because Travis CI compile errors. 2019-09-07 22:38:46 +02:00
valfieri d3feccff75 restored gnustl_static flag for android compile since travis toolchain doesn't support c++_static flag 2019-09-07 22:26:50 +02:00
valfieri ccd17d32d0 Restored Android version to 16, Removed modification to boost, fixed primitives MH1 and M20, Fixed Snow mana issue. 2019-09-07 22:05:01 +02:00
valfieri 5c67d11aa6 fix spaces 2019-09-06 08:41:27 +02:00
Vitty85 7a529bac6d Merge branch 'master' into master 2019-09-06 08:38:04 +02:00
valfieri 2c62cfd487 replaced tabs with 4 spaces. 2019-09-06 08:31:39 +02:00
Xawotihs a27216c317 Deactivating mac/ios build as currently broken 2019-09-05 22:24:33 +02:00
xawotihs 8315acbe86 Removed death_grasp.txt and ai/goblin_artillery.txt from the testsuite (see issue#1023) 2019-09-04 22:39:41 +02:00
Xawotihs 7a2f23db45 Using trusty dist as it seems the only one supported for Android. 2019-09-04 16:01:50 +02:00
Xawotihs 711f52e5ce Updating JDK to 7 2019-09-03 23:15:48 +02:00
valfieri 91f50009e1 Fix 2 cards mana cost in MH1 set. 2019-09-03 22:52:08 +02:00
Xawotihs 0cf8c1a970 Installing ant for android build 2019-09-03 22:40:11 +02:00
Xawotihs 2750b34b4f Trying to fix python dependencies 2019-09-03 22:24:39 +02:00
xawotihs b023dd89b6 - Should remove an error with the PSP compiler 2019-09-03 22:09:44 +02:00
valfieri 9504027fdc Fix on token image saving in Android Downloader 2019-09-03 18:18:25 +02:00
valfieri 5c7528dbcf Fix timeout on image database download. 2019-09-03 14:04:07 +02:00
valfieri e856538259 Added retries on image and database file download for Android Downloader program. 2019-09-02 19:52:46 +02:00
valfieri 1749330e8a Fix on some token images. 2019-09-02 12:01:45 +02:00
valfieri 893e64e4f7 Fix on 439538t token image 2019-09-01 17:04:22 +02:00
valfieri 169467158a Fix for some duplicated token on Android Image Downloader. 2019-09-01 16:59:59 +02:00
valfieri ab0a5496b0 Set socket timeout on Android Downloader and fixed some minor exceptions. 2019-09-01 13:12:56 +02:00
valfieri 0c4deea3ed Fix names of Tokens in Android Image downloader. 2019-09-01 00:50:13 +02:00
valfieri dd785a872e Fix some token names on Android Downloader 2019-08-31 14:15:20 +02:00
valfieri c8603204ac Removed one comment on old IFDEF PSP 2019-08-31 11:23:56 +02:00
valfieri ae81568463 Fixed a bug on set name when using the fast download method 2019-08-31 10:52:33 +02:00
valfieri 2fe9924fe5 Improved the Android downloader, now it's a lot faster because all the image urls have been indexed. 2019-08-31 01:23:36 +02:00
valfieri 818233213e Fix on UST card download image 2019-08-29 21:11:24 +02:00
valfieri d9019c0808 Fix on some indexes on image donwloader. 2019-08-29 19:20:11 +02:00
valfieri fdaed6503a Fixed V17 set total card numbers from 16 to 29 in dat file. Improved Android card image downloader. 2019-08-29 17:54:26 +02:00
valfieri e10213a373 Improved Android Downloader: Bug Fixing and boosted token searching algorithm. 2019-08-28 23:55:36 +02:00
valfieri 34732a5f54 Improved Android downloader: the token searching algorithm has been boosted in terms of speed and reliability. 2019-08-28 17:35:40 +02:00
valfieri d8d6025652 Fixed minor bugs on downloader. 2019-08-28 00:46:08 +02:00
valfieri 01117f4cb7 Improved Token searching algorithm and fixed some image URLs with higher resolution from DeckmMster and ScryFall. 2019-08-28 00:12:53 +02:00
valfieri a25448cde7 Improved downloader, added pause/resume. 2019-08-27 12:02:55 +02:00
valfieri ef4b18b394 Fix on UST set for Android Downloader and fix on StopDownload action. 2019-08-26 19:30:58 +02:00
valfieri 683b2fbed8 Improved Android Downloader, fix on UST set. 2019-08-26 17:19:28 +02:00
valfieri cdfadec38b Improved Android Downloader and bug fixing 2019-08-26 17:08:23 +02:00
valfieri 7b434f33e8 Improved Android Downloader: added Image Resolution chooser and fixed several bugs. 2019-08-26 15:36:26 +02:00
valfieri 29f1420abc Improved Android Downloader and added the multiple set selection in the download option menu. 2019-08-26 00:44:12 +02:00
valfieri 39884d9711 Improved Dowloader: Set Async thread and displayed a progress bar for resource loading and card image downloading. 2019-08-25 22:29:24 +02:00
valfieri a5c9f877f7 Improved Downloader and Option Menu handlers. 2019-08-25 00:52:05 +02:00
valfieri c603765908 Improved Android Image Downloader adding execptions and errors handling 2019-08-24 23:58:59 +02:00
valfieri a0b4a1f77c Improved Android Image Downloader 2019-08-24 23:54:42 +02:00
valfieri e0a2a45037 Improvement on token search algorithm, not it even uses deckmaster website. 2019-08-23 23:00:46 +02:00
valfieri 4c6f5126a6 Improved token search algorithm. 2019-08-23 16:17:16 +02:00
valfieri 50da2fef42 Fix on C19 _cards.dat file (added double cards such as dusk/dawn, etc.) 2019-08-23 15:24:31 +02:00
valfieri 9dfd513ad3 Fix on Android downloader and code indent 2019-08-23 12:58:10 +02:00
valfieri 30622010df Fix Exception on Android downloader. 2019-08-23 12:45:17 +02:00
valfieri f4d9de9490 Added the C19 set and primitives 2019-08-23 01:27:03 +02:00
valfieri 1092d4121a Improved Downloader adding retries and a better token search algorithm. 2019-08-22 18:52:40 +02:00
valfieri 2ec4b78a8a Improved the Image Downloader (now Zip works at the end of download!) 2019-08-22 04:26:38 +02:00
valfieri 1b88f7d3f9 Improved Image Downloader (but still zipper not working on Android) 2019-08-22 00:50:02 +02:00
valfieri 2ac3ec6f09 Added SS2 set. 2019-08-20 15:27:07 +02:00
valfieri 73138d2176 Downloader for Card Images now working on Android version with OptionMenuButton (no zip) 2019-08-20 00:49:38 +02:00
valfieri 7cb0d8b843 Retored Option Menu Android and added a draft of card images downloader (not working yet) 2019-08-19 00:20:02 +02:00
valfieri 1dc5c48ff6 Separated graphics of PSP from PC/Android version 2019-08-18 17:48:06 +02:00
valfieri 42754fd83c Fix on Primitives and Fix Android 2019-08-18 17:44:07 +02:00
valfieri 301de0f6f7 Android Fix 2019-08-18 17:33:00 +02:00
valfieri 9be1d44788 Android Fix 2019-08-18 17:11:20 +02:00
valfieri 7328c45013 Added PSP res file, fixed bug for PSP version and added M20, MH1 and UST sets and primitives. 2019-08-10 01:10:26 +02:00
Eduardo 3d9526a1dd Commander Anthology (CMA) Correction 2019-05-08 16:37:47 -05:00
Eduardo 1b8157ef0e Merge branch 'master' of https://github.com/WagicProject/wagic 2019-05-05 21:17:22 -05:00
Eduardo 8d20fd6483 Fixes to primitives 2019-05-05 21:17:15 -05:00
Eduardo 66741957c3 Revert "Fixes to primitives"
This reverts commit eb7d8850f4.
2019-05-05 21:14:27 -05:00
Eduardo eb7d8850f4 Fixes to primitives 2019-05-05 21:13:48 -05:00
Eduardo MG 934b9d2856 Delete CM1.zip 2019-05-04 15:57:56 -05:00
Eduardo MG 0af443b753 Commander's Arsenal (CM1)
Commander's Arsenal (CM1) had the wrong name, this is the correct name and set code.
2019-05-04 15:53:57 -05:00
Eduardo MG 41e160ae34 War of the Spark _cards.dat 2019-05-01 17:57:12 -05:00
Eduardo 8b620627d9 Major Corrections to WAR and removing crashing cards
Cards that check the colors of mana that lands on the opponent battlefield crashes the game, hard to reproduce but happens often enought that I decided to remove them.

Minor fixes in set and Major fixes in WAR primitives
2019-05-01 17:19:01 -05:00
Eduardo d943778309 Double face cards should be marked as tokens 2019-05-01 17:09:27 -05:00
Eduardo 06cb835a5b Teaching AI proliferate and shocklands
Some minor changes, corrections to XLN and C17, changing name of game mode from horde to tribal wars
2019-05-01 17:00:48 -05:00
Eduardo f1a529576e Preparing for a release, bug fixes and adjustments to game modes
Updating macros and new cards marked as borderline
2019-04-25 18:03:41 -05:00
Eduardo MG 1af3cff419 Uploading sets since Amonkhet until War of the spark
These are graded as borderline, each set has it's individual txt file, not integrated to the main mtg.txt to make them easier to manage, with the appropiate tools and more testing the files can be integrated. 

Includes standard sets(expansions) and supplemental products(masters sets, commander) since Amonkhet.
2019-04-25 17:53:49 -05:00
Eduardo 5db6b807ba Set limited game mode, AI changes, primitives and _cards.dat corrections
New set limited ,where you get a deck two random sets.

Still playing with the AI values and hueristics.

Cards fixes. Masters Edition should be named ME1 and the Mythic Edition is MED, the cards multiverse ids are still the same so the decks and references should not change.
2019-04-20 15:51:52 -05:00
Eduardo MG 1c6b0bdfd5 New game modes
Rules for several new game modes and rules

horde, get a random tribe and summon a creature from your deck each turn
paradise, lands tap for all mana
false god, exchange permanents at upkeep
morinfen, lose 1 life for every permanent you control at upkeep, starts at 50 life
2019-04-20 12:25:58 -05:00
Eduardo 3dfcc65fa6 Bug fix for the biggest crash and fixes to the primitives
I figured a while ago that the cause of the crash was a rendering issue, not an engine issue, since you could copy spells in the stack if you didn't targeted them. The crash was most likely in ActionStack, just had to follow the trace. It doesn't affect anithing else, that line was trying to render something in the stack that's a permanent but it always had bad ptrs.
2019-04-17 20:28:43 -05:00
Eduardo c3937ce517 Fixing primitives and mayor bugs report
Game crashes when AI plays a card with cost {X} and that targets a player, this cards can be coded around that restriction and still work as per the rules.

The BIGGEST BUG the game has now is that crashes occur when a PERMANENT TARGETS A SPELL IN THE STACK, sometimes the AI can make this cards work (WTH!?) but never the player.

Effects like mirari and similar could be coded so that you don't target the spell but trigger and copy the source of the trigger, look at the code of mirari for this to be more clear.

This effect used to work for many many years I remember  Glen Elendra Archmage being one of my favorite cards back in the day. This bug has been present since god knows when, as early as october 2016: https://wololo.net/forum/viewtopic.php?f=4&t=66296&start=150#p98160

Also freaking Lemures caused the AI to just keep repeating the effect so I put a limit on activations on them.
2019-04-14 21:56:20 -05: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
Eduardo 6eca5bea2f Last March Update
Some bug fixing to the primitives, the fetchlands are so buggy that I restored to a simple version

Some minor UI improvements
2019-03-31 20:53:13 -06:00
Rolzad73 e4d73d95ec - removing debug info after travis build fix 2019-03-27 22:50:10 -04:00
Rolzad73 363383df6d - try to fix travis build travis script debug pt 7 (groovy, Java 8 incompatibility) 2019-03-27 22:15:48 -04:00
Rolzad73 0d05804376 - try to fix travis build travis script debug pt 6 (ant error log too long) 2019-03-27 22:04:11 -04:00
Rolzad73 cdd36a404b - try to fix travis build travis script debug pt 5 2019-03-27 21:42:37 -04:00
Rolzad73 64c509980c - fix bad commit travis.yml 2019-03-27 21:39:38 -04:00
Rolzad73 46ba018201 - try to fix travis build travis script debug pt 4 2019-03-27 21:37:38 -04:00
Rolzad73 0cb931e6e2 - try to fix travis build travis script debug pt 3 2019-03-27 21:25:26 -04:00
Rolzad73 58af6f73d9 - try to fix travis build travis script debug pt 2 2019-03-27 21:12:46 -04:00
Rolzad73 e81f1299cb - try to fix travis build travis script debug 2019-03-27 21:03:40 -04:00
Rolzad73 9b5f9684b0 - try to fix travis build android dependancies pt 3 2019-03-27 20:48:21 -04:00
Rolzad73 d934c0948c - try to fix travis build android dependancies pt 2 2019-03-27 20:45:05 -04:00
Rolzad73 917a3a88df - try to fix travis build android dependancies 2019-03-27 20:38:51 -04:00
Rolzad73 dc5b8a8c52 - try to fix travis build 2019-03-27 15:50:08 -04:00
Eduardo MG d2b44e652b Uploading a couple of years of sets
RNA Guild Kit		Set Code: GK2
Ravnica Allegiance	Set Code: RNA
Ultimate Box Topper Set Code: PUMA
Ultimate Masters	Set Code: UMA
GRN Guild Kit		Set Code: GK1
Guilds of Ravnica	Set Code: GRN
Commander 2018	Set Code: C18
Core Set 2019		Set Code: M19
Signature 
Spellbook: Jace	Set Code: SS1
Battlebond 		Set Code: BBD
Commander Anthology 
Volume II			Set Code: CM2
Dominaria		Set Code: DOM
Duel Decks: Elves 	
vs. Inventors		Set Code: DDU
Masters 25 		Set Code: A25
Rivals of Ixalan	Set Code: RIX
Unstable			Set Code: UST
Explorers of Ixalan   Set Code: E02
From the Vault: 
Transform		Set Code: V17
Iconic Masters		Set Code: IMA
Duel Decks: Merfolk
vs. Goblins		Set Code: DDT
Ixalan			Set Code: XLN
Commander 2017	Set Code: C17
Hour of Devastation Set Code: HOU
Archenemy: Nicol 
Bolas			Set Code: E01
Commander Anthology	Set Code: CMA
Amonkhet			Set Code: AKH
Amonkhet 
Invocations			Set Code: MP2
Duel Decks: Mind 
vs. Might			        Set Code: DDS
Modern Masters 2017	Set Code: MM3
2019-03-26 20:35:45 -06:00
Eduardo 1ce3b469e7 Update primitives
Added the supertype Legendary to Planeswalkers.

When you pay life the code should be {L:1}  not just {L} or else the cards ave very buggy.

Several bug fixes, card corrections and typos.
2019-03-26 16:50:34 -06:00
Anthony Calosa 07e6d90c98 Merge pull request #975 from kevlahnota/master
Some fixes
2017-08-06 13:33:07 +08:00
Anthony Calosa 85231cda01 Fix Nissa's Chosen
Code seems workaround, it needs hardcoded...
2017-08-05 22:09:49 +08:00
Anthony Calosa 8549b7b1b4 Interrupt targetted abilities
This should have an option...
2017-08-05 18:52:27 +08:00
Anthony Calosa 9f58ef9916 small fixes for primitives 2017-08-05 18:16:47 +08:00
Anthony Calosa c734ee9fd1 Add exert Indicator
"*" signifies exert
2017-08-05 18:16:24 +08:00
Anthony Calosa 77d87902d9 Add restriction for exert
hasexerted and notexerted
2017-08-05 18:15:44 +08:00
Anthony Calosa b5c8656ac9 Fix Blink 2017-08-05 18:15:13 +08:00
Anthony Calosa 28f6b73da6 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-08-03 20:03:26 +08:00
Anthony Calosa 521b505543 Merge pull request #974 from kevlahnota/master
Fix morbid
2017-08-03 19:54:35 +08:00
Anthony Calosa c5a3310103 quick Fix for zerodead 2017-08-03 18:32:16 +08:00
Anthony Calosa 0c053c713a fix morbid
also added zerodead restriction - returns true if you dont have any
creature that died this turn
2017-08-03 18:27:45 +08:00
Anthony Calosa bc06f93aae Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-08-03 15:52:56 +08:00
Anthony Calosa 8e919aeeb1 Merge pull request #973 from kevlahnota/master
Support for AKH/HOU Mechanics
2017-08-03 10:36:15 +08: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 1f670b9919 Merge pull request #12 from WagicProject/master
Update unsuported cards, set a condition for showing poison counters …
2017-08-03 09:16:30 +08:00
punkeduard c805a58fb0 Update unsuported cards, set a condition for showing poison counters and energy counter, added tribal al card type check, show the amount o 2017-08-02 18:42:52 -05:00
Anthony Calosa 34517004df Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-05-09 12:38:59 +08:00
Anthony Calosa b0506bcd96 Merge pull request #968 from kevlahnota/master
readded fixes by punkeduard
2017-05-09 12:29:16 +08:00
Anthony Calosa 7a3a6c04a6 readded fixes by punkeduard 2017-05-09 12:28:07 +08:00
Anthony Calosa 54e4b08e1f Merge pull request #11 from WagicProject/master
test pull
2017-05-09 12:25:45 +08:00
Anthony Calosa 67c22c5186 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-05-09 12:09:12 +08:00
punkeduard 87aba86fa8 Revert "Fixing bugs in the primitives"
This reverts commit 665f8ce755.
2017-05-08 22:17:27 -05:00
Rolzad73 28ea300f42 - fix forward declaration 2017-05-08 19:39:32 -04:00
Rolzad73 858c26b46a Merge pull request #966 from WagicProject/key_bind_changes
Key bind changes
2017-05-08 19:03:03 -04:00
Rolzad73 70a6c7149c - semi cleanup 2017-05-08 19:01:41 -04:00
Rolzad73 b4a34216c8 - updated Qt keybinding translation 2017-05-08 18:58:47 -04:00
Anthony Calosa 3868f4eb98 Merge pull request #965 from kevlahnota/master
Minor Corrections
2017-05-08 12:15:44 +08:00
Anthony Calosa 44304ee5b3 minor corrections 2017-05-08 11:41:00 +08:00
Anthony Calosa 9f4b8d65c8 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-05-08 11:33:57 +08:00
punkeduard 665f8ce755 Fixing bugs in the primitives
Daring Sleuth was crashing the game in the collection
2017-05-03 14:42:10 -05:00
Anthony Calosa e1d5348f23 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-20 11:37:01 +08:00
Anthony Calosa b596dc9eea Merge pull request #964 from kevlahnota/master
Add some cards
2017-03-20 06:09:04 +08:00
Anthony Calosa eb8370b86b add some cards
also added countb() - countedbamount..
2017-03-19 21:57:59 +08:00
Anthony Calosa fa69686f0a Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-19 08:59:21 +08:00
Rolzad73 3fe5372d28 non-commit to test build 2017-03-18 11:27:20 -04:00
Anthony Calosa 3058d42b49 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-16 20:58:36 +08:00
Anthony Calosa 4975ee0028 Merge pull request #963 from kevlahnota/master
Bushido, Modular points
2017-03-16 17:53:14 +08: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 c73d08187b Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-16 06:11:27 +08:00
Anthony Calosa 4382c34539 Merge pull request #962 from kevlahnota/master
minor fixes
2017-03-15 12:54:44 +08:00
Anthony Calosa cb173b7bf9 update unsupported 2017-03-15 11:46:47 +08: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 417c1af21e hide action stack
if there's a human player and a menu object
2017-03-15 06:31:39 +08:00
Anthony Calosa 00bccd02da Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-15 06:16:46 +08:00
punkeduard 8596443da5 Fixing card primitives
Add flying to an angel and corrected some values on mana costs
2017-03-14 12:53:29 -06:00
Anthony Calosa a2eda76a26 fix prefetch options 2017-03-14 17:06:14 +08:00
Anthony Calosa b4e25838bd update targetchooser 2017-03-14 09:15:14 +08:00
Anthony Calosa 44d703887c Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-14 09:12:05 +08:00
Anthony Calosa 29fd3e4c96 Merge pull request #961 from kevlahnota/master
Totem Armor
2017-03-14 05:39:38 +08:00
Anthony Calosa 0778b13e2b Totem Armor 2017-03-14 03:40:29 +08:00
Anthony Calosa bef1f6d8b8 aura parent 2017-03-13 18:16:22 +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 87ae60f323 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-12 22:14:59 +08:00
Anthony Calosa 85df061701 Merge pull request #960 from kevlahnota/master
Update Rules
2017-03-12 12:14:09 +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 54f0cd7864 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-12 07:36:00 +08:00
Rolzad73 4f523b1b9b Non-commit to test build system 2017-03-11 12:01:07 -05:00
Anthony Calosa d492481a4f Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-11 22:10:28 +08:00
Anthony Calosa 3975a45858 Merge pull request #959 from kevlahnota/master
Hide action stack & Sorted Filter
2017-03-11 10:48:17 +08:00
Anthony Calosa 5f2fbb370c fix 2017-03-11 07:57:54 +08:00
Anthony Calosa d9bd6bbb32 cascade, cascade 2017-03-10 19:25:54 +08:00
Anthony Calosa 31814bda37 sort filter 2017-03-10 19:24:49 +08:00
Anthony Calosa 8f61b590f8 Hide Action stack if there's a menu object 2017-03-10 19:24:39 +08:00
Anthony Calosa 37642c1f78 rageform
rageform, lightform & cloudform support. withenchant is for only these
cards...
2017-03-10 14:14:02 +08:00
Anthony Calosa 8ea7b4d4cb Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-10 13:43:31 +08:00
Anthony Calosa 245f5c6e93 Merge pull request #958 from kevlahnota/master
Ripple Cards
2017-03-10 12:58:02 +08:00
Anthony Calosa 88d1c29621 safe delete 2017-03-10 08:49:35 +08:00
Anthony Calosa 44926393ac Ripple cards 2017-03-10 07:19:29 +08:00
Anthony Calosa 5d790c9406 moved lastcontroller override 2017-03-10 07:19:15 +08:00
Anthony Calosa 66261b0f51 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-10 07:08:56 +08:00
Anthony Calosa e99a9abacd Merge pull request #957 from kevlahnota/master
Provoke
2017-03-09 19:34:10 +08:00
Anthony Calosa b01c1455f5 Provoke
also add aicode for Amplify cards
2017-03-09 18:37:55 +08:00
Anthony Calosa 650d794eec Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-09 14:33:29 +08:00
Anthony Calosa acf74e7f6e Merge pull request #956 from kevlahnota/master
Manifest Cards & corrections
2017-03-09 09:07:45 +08:00
Anthony Calosa 53f0c2421d manifest support
also fix guiplay
2017-03-09 07:44:06 +08:00
Anthony Calosa 01d46615a7 fix credits 2017-03-09 02:01:08 +08:00
Anthony Calosa 57f55e4270 corrections 2017-03-08 22:44:34 +08:00
Anthony Calosa 5c159e86d7 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-08 20:52:04 +08:00
Anthony Calosa fb03037923 Merge pull request #955 from kevlahnota/master
Adjust stack display & game credits
2017-03-08 16:14:09 +08:00
Anthony Calosa ff6e4aec9a adjust stack display & game credits
the stack will display the latest object always on TOP so we can see
which will resolve first, the last to resolve will always be on
bottom... also increase credit bonus. default is 500 credits and for
momir will be 800 credits.
2017-03-08 13:38:19 +08:00
Anthony Calosa c78db0eb26 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-08 05:46:00 +08:00
Anthony Calosa 324e206b74 Merge pull request #954 from kevlahnota/master
Deck Sideboard and Wish Cards
2017-03-08 02:37:09 +08:00
Anthony Calosa 030dca051a support for wish cards and deck sideboard 2017-03-07 23:42:34 +08:00
Anthony Calosa 24e3fd3267 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-07 15:47:18 +08:00
Anthony Calosa a28f6b1194 Merge pull request #953 from kevlahnota/master
Etched Affinity stalling the game
2017-03-07 05:32:38 +08:00
Anthony Calosa 38e97aa79f fix etched affinity stalling the game
add an alias for glimmervoid and removed the hold combo hint for
glimmervoid, just tried etched affinity vs etched affinity on demo for
50 games... it doesn't stall anymore. it seems there's a conflict
somewhere parsing hint combo? not really sure... also in momir the ai
don't click choose a color command, noticed on lotus cobra so i changed
the chooseacolor to abilty$! add{mana} ...
2017-03-06 17:52:44 +08:00
Anthony Calosa 8adfd1b10b Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-06 12:52:58 +08:00
Anthony Calosa ffda7a53fe Merge pull request #952 from kevlahnota/master
Prefetching as options
2017-03-06 11:19:53 +08:00
Anthony Calosa 20ddd9157f prefetching options 2017-03-06 10:41:52 +08:00
Anthony Calosa a3f329bd7a Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-06 10:40:25 +08:00
Anthony Calosa 13c6837b60 Merge pull request #951 from kevlahnota/master
Show large images on grid deck view user option
2017-03-06 06:25:03 +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 e5ec92ac2a corrected order of options 2017-03-05 22:09:12 +08:00
Anthony Calosa 12155f9390 forgot this 2017-03-05 21:56:54 +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 f205de7205 minor fix 2017-03-04 09:15:50 +08:00
Anthony Calosa f782c535f9 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-04 06:49:06 +08:00
Anthony Calosa 030d6bc4bb Merge pull request #950 from kevlahnota/master
Swap zones - exile and library for opponent
2017-03-04 05:42:34 +08:00
Anthony Calosa 9c10574e49 replaced some overlay 2017-03-04 04:24:40 +08:00
Anthony Calosa 9512e5c3db fix overlapping of phaseinfo/phase bar
the opponent cards will stack according to handsize
2017-03-04 04:24:10 +08:00
Anthony Calosa 8686fef96a enstacking of card during combat
during combat damage, the cards will not move/enstack so we can see what
happened to those creatures...
2017-03-04 04:23:19 +08:00
Anthony Calosa 06285c11c7 swap zone position for opponent
swap position of opponent exile zone and opponent library zone, since a
lot of codes use reveal for library, and hand, it's much easier to
target the exile . Also cards that display from the top of library is
not blocked anymore.
2017-03-04 04:21:43 +08:00
Anthony Calosa 3b58790c96 Add files via upload 2017-03-04 02:34:33 +08:00
Anthony Calosa a8b494f960 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-04 02:28:51 +08:00
Anthony Calosa 72c6f448d0 Merge pull request #949 from kevlahnota/master
Support for playing the top card of library
2017-03-03 22:57:37 +08:00
Anthony Calosa ce3c75817c draw line when attacking planeswalker 2017-03-03 22:20:38 +08:00
Anthony Calosa 56c943d6d1 bug fix
reset will attack player/planeswalker
2017-03-03 22:20:13 +08:00
Anthony Calosa 21b0b4c524 Play the Top Card of Library 2017-03-03 18:49:36 +08:00
Anthony Calosa 51daf691b3 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-03 11:20:39 +08:00
punkeduard e889aff42c Merge branch 'refs/heads/Mine' 2017-03-02 20:37:48 -06:00
punkeduard df07b6dc9e Corrected some text on cards primitives 2017-03-02 20:34:30 -06:00
Anthony Calosa 63c15b54d6 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-03 06:31:41 +08:00
Anthony Calosa b76a231083 Merge pull request #948 from kevlahnota/master
Attack Menu
2017-03-03 06:06:57 +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 dcbe0c40b0 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-02 18:59:07 +08:00
Anthony Calosa f384d75de8 Merge pull request #947 from kevlahnota/master
Fix Aura/Equipment on Illegal Objects
2017-03-02 16:51:11 +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 0150796064 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-02 14:10:01 +08:00
Anthony Calosa f91186ffa4 Merge pull request #946 from kevlahnota/master
lastcontroller & card update
2017-03-02 10:50:43 +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 a66fced2f7 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-03-01 18:51:26 +08:00
Anthony Calosa 33492602fb Merge pull request #945 from kevlahnota/master
Updated attack rule & revert some activated "lord" to use "all"
2017-03-01 18:49:02 +08:00
Anthony Calosa b7dae1025b Refactored PW Attack Rule 2017-03-01 17:53:40 +08:00
Anthony Calosa 7627a00dce arboria 2017-03-01 16:09:31 +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 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 5f1874edae planeswalker attack 2017-03-01 06:36:10 +08:00
Anthony Calosa 22376e873e corrections
seems lord is persistent now
2017-02-28 21:45:34 +08:00
Anthony Calosa 02d882a7c3 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-28 18:22:59 +08:00
Anthony Calosa d878e0c450 Merge pull request #944 from kevlahnota/master
Momir Indicator (non PSP)
2017-02-28 18:12: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 5a3493c0c9 update spelltargettype 2017-02-28 16:19:59 +08:00
Anthony Calosa 911f8f6de6 update scry then draw
also moved "show token in editor" in general settings
2017-02-28 10:41:46 +08:00
Anthony Calosa fe8fbd058b Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-28 06:50:13 +08:00
Anthony Calosa c4529a0949 Merge pull request #943 from kevlahnota/master
Filter View
2017-02-28 06:23:21 +08:00
Anthony Calosa 6ec3a68f0a update some cards 2017-02-27 22:52:33 +08:00
Anthony Calosa 458731778d add options show tokens
you can display tokens in editor (show tokens and choose 0 manacost) but
you can't add them, useful for tracking missing images...
2017-02-27 21:50:15 +08:00
Anthony Calosa 64547271dc Filter View
Tokens are excluded in deck editor, filter and adjust filter menu
2017-02-27 13:21:35 +08:00
Anthony Calosa 9e584951ac Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-27 06:50:31 +08:00
Anthony Calosa c859fdd08e Merge pull request #942 from kevlahnota/master
Crash fix and some card update
2017-02-27 00:34:16 +08:00
Anthony Calosa 1380ee6f20 equal
typo fix
2017-02-26 23:21:23 +08:00
Anthony Calosa 2da2272a53 update some cards 2017-02-26 23:13:45 +08:00
Anthony Calosa 17b6996ae4 tokens
cant buy and/or add tokens in deck editor and shop...
also adjust filter menu
2017-02-26 21:21:11 +08:00
Anthony Calosa 0f82b6efba crash fix mana ability filter 2017-02-26 15:22:16 +08:00
Anthony Calosa 178fcb9717 update some cycled cards 2017-02-26 09:38:11 +08:00
Anthony Calosa 19f0c653d1 add 1k to steal credits
maxglee profile
2017-02-26 09:36:32 +08:00
Anthony Calosa 7dc76876e4 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-25 20:48:07 +08:00
Anthony Calosa 60457886cc Merge pull request #941 from kevlahnota/master
Customlen
2017-02-25 12:19:25 +08:00
Anthony Calosa ec078b6ccc customLen
for formatting text on booster shop, we pass the desired length from
getformatted text with noremove(no removal of {}) enabled, if its not
enabled then default the value to zero(passing zero means use the
default values)
2017-02-25 07:27:57 +08:00
Anthony Calosa ec730a4383 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-25 07:22:27 +08:00
Anthony Calosa b2b3255f59 Merge pull request #940 from kevlahnota/master
Booster Shop
2017-02-24 22:21:22 +08:00
Anthony Calosa df925cfcb0 booster shop enhancement 2017-02-24 21:45:43 +08:00
Anthony Calosa 5b96f30b1a reversed 2017-02-24 18:22:01 +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 efac298eb0 revert jtypes 2017-02-24 15:03:28 +08:00
Anthony Calosa 453c5b0d6e Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-24 10:06:00 +08:00
Anthony Calosa 816010582a Merge pull request #939 from kevlahnota/master
Update some cards
2017-02-24 08:55:00 +08:00
Anthony Calosa a260eb11a8 crash fix 2017-02-24 07:25:38 +08:00
Anthony Calosa b1d271f1c2 add forced interrupt 2017-02-24 07:25:19 +08:00
Anthony Calosa 3faa959c09 updated some cards 2017-02-24 06:02:00 +08:00
Anthony Calosa a12a5e1637 test swap 2017-02-23 19:05:37 +08:00
Anthony Calosa 7c6d59a292 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-23 19:04:15 +08:00
Anthony Calosa 9836d8595c Merge pull request #938 from kevlahnota/master
Refactor efficiency
2017-02-23 18:17:15 +08:00
Anthony Calosa c9d5dfaf1b minor adjustments 2017-02-23 18:16:23 +08:00
Anthony Calosa 028f6cbb4e u32 2017-02-23 17:11:42 +08:00
Anthony Calosa c56d1b0bec pixel type
psp
2017-02-23 16:33:38 +08:00
Anthony Calosa 2e61f6c13d test pixel_type 2017-02-23 16:08:04 +08:00
Anthony Calosa 8437467320 refactor revealed efficiency
it's based now on actual aicode if it's available.
2017-02-23 14:10:27 +08:00
Anthony Calosa 039be43c2b set the current controller to do action
let the controller of the action do the abilty, also fix casted cards
that's been casted using castcard and be put into its owner's graveyard
2017-02-23 14:04:16 +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 4ce37964f4 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-22 22:26:28 +08:00
Anthony Calosa c1cdfa78d3 Merge pull request #937 from kevlahnota/master
update some cards
2017-02-22 22:06:31 +08:00
Anthony Calosa ff4911116c update some cards
removed phasedout trigger
add phasedoutbonus - ability
2017-02-22 18:25:39 +08:00
Anthony Calosa bb9d98cc0c AI ignore sphinx of jwar isle 2017-02-20 23:23:13 +08:00
Anthony Calosa 2d93d9b3cc moved this block for PSP
maybe we can fix the GUI for psp, low priority for now
2017-02-20 22:08:09 +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 11b3989615 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-20 10:08:28 +08:00
Anthony Calosa c9f26a48c7 Merge pull request #936 from kevlahnota/master
update some cards
2017-02-19 23:23:06 +08:00
Anthony Calosa 75cbaf0f06 update mana producer
change && to andability
2017-02-19 22:44:33 +08:00
Anthony Calosa de1dc6828d try to fix phase name
sometimes its invalid phase name
2017-02-19 22:11:54 +08:00
Anthony Calosa e6bf23e536 add saclands cost
sacrifice all lands {saclands} cost
2017-02-19 22:11:16 +08:00
Anthony Calosa 5b16ff4a69 bypass update when reveal display is still active 2017-02-19 21:11:24 +08:00
Anthony Calosa ed42c3fd29 support andability in mana producer
so cards that parse mana abilities can be read (reflecting pool. etc..
fixes issue #700 but we need to update the code from add{mana} && do
something to add{mana} and!( do something)! )
2017-02-19 21:11:02 +08:00
Anthony Calosa 9cd67eedc1 refactor canproducemana 2017-02-19 21:08:07 +08:00
Anthony Calosa acc589bdb6 universal border 2017-02-19 10:16:25 +08:00
Anthony Calosa 2d78512ca2 bypass gamestate check
when there is an opened display for reveal... it will update after its
finished...
2017-02-19 10:14:43 +08:00
Anthony Calosa 84023a5f66 test fix 2017-02-18 21:36:38 +08:00
Anthony Calosa 443f378d1b updated some card
a lot of cards needs update though...
2017-02-18 21:20:45 +08:00
Anthony Calosa d4989d7576 replaced alphabeta 2017-02-17 21:31:41 +08:00
Anthony Calosa 860b0b64e3 Adjust Extracost string 2017-02-17 19:17:23 +08:00
Anthony Calosa ba40253a46 Phase out Event & Trigger 2017-02-17 14:25:33 +08:00
Anthony Calosa 95b81b6425 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-17 05:26:28 +08:00
Anthony Calosa b664c2bed1 Merge pull request #935 from kevlahnota/master
Some New Changes
2017-02-16 22:33:58 +08:00
Anthony Calosa c6c4c17b30 try to fix parenthesis
:(
2017-02-16 21:57:17 +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 da874738d6 castcard generated card 2017-02-16 17:10:06 +08:00
Anthony Calosa 0a68a056d8 refactor canproducemana 2017-02-16 16:55:13 +08:00
Anthony Calosa 5a3a32462d first set of changes
updated some cards
2017-02-16 02:44:42 +08:00
Anthony Calosa c70762f871 readded modified rule 2017-02-16 02:39:03 +08:00
Anthony Calosa 6c28496dd8 reduced efficiency 2017-02-16 00:42:54 +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 a9b42127d1 added mypos
mypos returns cards zpos (zone position)
2017-02-15 07:30:13 +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 2d383e237f hiddenview
if the target is in library and the source has the hiddenface ability
then hide it
2017-02-14 05:09:28 +08:00
Anthony Calosa 143b3d98b1 modified guiopponenthand 2017-02-13 20:11:07 +08:00
Anthony Calosa 6f4377de76 Inverted this
we transform with no value.. get the value first then transform it to
lower...
2017-02-13 17:54:55 +08:00
Anthony Calosa 722056e78a moved this 2017-02-13 10:43:22 +08:00
Anthony Calosa 21710ddfb3 refactor AAMover getmenu text 2017-02-13 09:35:05 +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 d604ae2d77 add gravecast restriction
if gravecast then do something
-> translates when this card was cast from a graveyard
2017-02-13 07:49:37 +08:00
Anthony Calosa 7a35c253cb refine display 2017-02-12 19:43:10 +08:00
Anthony Calosa b5129f702e add multi target quads
stack displays target quads up to 10 targets. also displays actual
number of targets...
2017-02-12 10:29:13 +08:00
Anthony Calosa 6b1e51b4f6 revised masks 2017-02-12 07:08:31 +08:00
Anthony Calosa 3776bff594 add effeciency to use the reveal ability
aicode overrides this on resolve and it seems most cards that have this
has possitive effect
2017-02-11 22:04:20 +08:00
Anthony Calosa 3afcc7fdf9 fix hang aicode ability controller
aicode should be dedicated for AI only...
2017-02-11 18:25:45 +08:00
Anthony Calosa e74921cbdf fix crash for multiple andAbility 2017-02-11 16:17:31 +08:00
Anthony Calosa e9c33e3bea revised shocklands 2017-02-11 01:28:14 +08:00
Anthony Calosa 36d4db49ca bug fix 2017-02-11 00:04:17 +08:00
Anthony Calosa 2c40c77403 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-11 00:02:22 +08:00
Anthony Calosa 15febaf851 Merge pull request #934 from kevlahnota/master
Crash fix
2017-02-10 23:02:33 +08:00
Anthony Calosa 02dce1af2e crash fix
transform getaicustomcode to lower
2017-02-10 21:00:18 +08:00
Anthony Calosa 5915ceb0a5 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-10 17:36:55 +08:00
Anthony Calosa d6f666d9a0 Merge pull request #933 from kevlahnota/master
added AER Cards
2017-02-10 16:53:28 +08:00
Anthony Calosa 37fa69fc39 added AER cards 2017-02-10 16:10:15 +08:00
Anthony Calosa 8e47927805 some corrections 2017-02-10 16:03:03 +08:00
Anthony Calosa f1c1161da5 added AER set 2017-02-10 16:02:29 +08:00
Anthony Calosa 392382e3e3 missing AER 2017-02-10 16:00:03 +08:00
Anthony Calosa d6403918b6 crash fix
corrected some cards that crashes the game
2017-02-10 13:57:46 +08:00
Anthony Calosa fc9b0b233c add attacker mask 2017-02-10 10:50:09 +08:00
Anthony Calosa f16755b86b Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-10 09:20:00 +08:00
Anthony Calosa f45e975b14 add remake keyword
alternative for becomes for use inside transforms...
ex. emblem transforms((,newability[target(land)
remake(creature:1/2:red)])) forever dontremove
2017-02-09 22:38:00 +08:00
Anthony Calosa b3de6a283d Merge pull request #932 from kevlahnota/master
Some bug fixes
2017-02-09 21:48:51 +08:00
Anthony Calosa 7fa204fc9c forgot to change this 2017-02-09 19:15:32 +08:00
Anthony Calosa f284a9691b some fixes
fixes fabricate
fixes lorded lands
add propagate keyword (like proliferate but it increases all counters)
cards with proliferate can choose a player now
2017-02-09 15:22:10 +08:00
Anthony Calosa 9bb63a68f5 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-08 21:34:15 +08:00
Rolzad73 77d20e89c8 - fixed upload-binaries error from bad debug trace 2017-02-07 20:58:32 -05:00
Anthony Calosa 66f664207a Merge pull request #931 from kevlahnota/master
Changes
2017-02-07 22:12:39 +08:00
Anthony Calosa bac69f95d8 some changes
change keyword "makecardt" alternative token creator to "create" keyword
add lifeleech - gain life lost with target
2017-02-07 21:22:49 +08:00
Anthony Calosa 75e372ac9b adjust enstack attackers
so we have small room for the phase wheel for touch enabled device
2017-02-07 17:00:37 +08:00
Anthony Calosa ef31192f33 modified flickleft for android
if you flick/swipe left or right when the closedhand option is visible
in Android, you simulate scroll up/down.
example scenario at opponent's turn with a spell on the stack, swipe
down to interrupt then do something, if you open a zone like library or
graveyard or exile and you want to interract from the zone there (like
casting spell or doing ability from that zone, you can flick left or
right to close that zone so you can tap for mana or any other extra
costs for that spell, you can open the zone if possible just by tapping
it like it used to.)
2017-02-07 16:59:19 +08:00
Anthony Calosa fde707b726 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-07 16:52:04 +08:00
Anthony Calosa e158e95245 Merge pull request #930 from kevlahnota/master
auto close
2017-02-07 14:08:54 +08:00
Anthony Calosa 5b23cc2e33 auto close 2017-02-07 13:10:58 +08:00
Anthony Calosa c72cdff0f1 Merge pull request #929 from kevlahnota/master
Some Bug Fixes
2017-02-06 22:25:59 +08:00
Anthony Calosa 831c8f73b0 some bug fixes
fix where the copier is treated as the same copied card, also fixes the
display ability of momir (forced), disabled reveal for AI if aicode is
not found (should add alternate for ai).
2017-02-06 21:48:41 +08:00
Anthony Calosa 2dc6c62acb Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-06 21:47:48 +08:00
Anthony Calosa 9e1d1a056c Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-06 05:56:00 +08:00
Rolzad73 9a32ae2c6d Merge pull request #928 from WagicProject/appveyor_testing
Just adding some console output to Appveyor build
2017-02-05 16:23:10 -05:00
Anthony Calosa b1a2003a84 Merge pull request #927 from kevlahnota/master
Modified Momir
2017-02-05 22:57:38 +08:00
Anthony Calosa e2c1d62552 modified Momir 2017-02-05 22:14:20 +08:00
Anthony Calosa db0f6d6c0b Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-05 21:08:37 +08:00
Xawotihs bc44ee8056 And again 2017-02-05 11:48:30 +01:00
Xawotihs 65a9bd55d8 Tries to fix iOS/MacOSX builds 2017-02-05 11:03:51 +01:00
Anthony Calosa 2aa0668c28 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-05 16:45:13 +08:00
Rolzad73 9f5e37a03c - added even more meaning to release upload script case 2017-02-05 01:13:38 -05:00
Rolzad73 f27763870c Merge pull request #926 from WagicProject/qt_test_crash_fix
small QT build CI fix
2017-02-05 01:00:52 -05:00
Rolzad73 ab22e02db8 - cleaned up error msg bug 2017-02-05 00:38:37 -05:00
Rolzad73 257afd3525 - added more meaning to release upload script case 2017-02-05 00:29:00 -05:00
Rolzad73 eec38de558 - testing appveyor env vars 2017-02-05 00:04:47 -05:00
Rolzad73 35de677999 - stop mysterious ~QNetworkConfiguration() SIGSEGV issue at end of console testsuite run 2017-02-04 23:09:13 -05:00
Anthony Calosa 8b9dfdf96d bug fix 2017-02-05 08:07:12 +08:00
Anthony Calosa c830ef88ca Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-05 07:11:05 +08:00
Anthony Calosa ba0daed776 Merge pull request #924 from kevlahnota/master
Refactor countManaProducedby
2017-02-05 06:38:05 +08:00
Anthony Calosa f37d946b4e Removed unused variable 2017-02-04 23:33:08 +08:00
Anthony Calosa 477419cc32 Refactor countManaProducedby
cards that uses this should not crash anymore with lorded mana producer
from instants like rain of filth...
2017-02-04 22:37:21 +08:00
Anthony Calosa 70e8d1c4b3 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-04 20:47:05 +08:00
Rolzad73 732f795be4 - fixing last commit broke no QT builds 2017-02-03 21:05:14 -05:00
Rolzad73 00536fa3d9 - Qthread include fix for console QT build method and QT TESTSUITE target 2017-02-03 19:42:55 -05:00
Anthony Calosa 042f00cc58 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-03 22:31:33 +08:00
Anthony Calosa acef89ea03 Merge pull request #923 from kevlahnota/master
Revert Functionality
2017-02-03 21:46:21 +08:00
Anthony Calosa d7770d285f not needed anymore 2017-02-03 20:55:32 +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 c4eac5e62b Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-03 15:55:27 +08:00
Anthony Calosa 763bd60e74 Merge pull request #922 from kevlahnota/master
Some Fixes
2017-02-03 15:12:17 +08:00
Anthony Calosa 3fa52e7ac5 corrections 2017-02-03 14:26:26 +08:00
Anthony Calosa 9104afdef7 Cleanup 2017-02-03 10:39:45 +08:00
Anthony Calosa 942c95e736 revised copier copied abilities
the clone should copy original abilities only
2017-02-03 10:31:10 +08:00
Anthony Calosa dc696a0f45 fix random segmentation fault
should fix the crash -> rain of filth in test suite
2017-02-03 10:30:14 +08:00
Anthony Calosa d26e9da6c4 add some restrictions 2017-02-03 07:59:13 +08:00
Anthony Calosa ea09b1f6bc Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-03 02:35:24 +08:00
Rolzad73 da033eb28e Merge pull request #919 from WagicProject/key_bind_changes
key binding related
2017-02-02 11:18:46 -05:00
Rolzad73 b2a0ccba05 - removed leftover trace log 2017-02-02 10:08:58 -05:00
Anthony Calosa 3f146c94e5 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-02 13:46:21 +08:00
Anthony Calosa 9d92bdcd75 Merge pull request #918 from kevlahnota/master
Refactor PW Rule & some bug fixes
2017-02-02 13:21:57 +08:00
Anthony Calosa 6354d8ccca revised pw rule
also fixed where planeswalker can use its ability after it was
transformed/flipped by activation ex. Garruk Relentless... You can’t
activate a loyalty ability of Garruk Relentless and later that turn
after he transforms activate a loyalty ability of Garruk, the
Veil-Cursed.
2017-02-02 11:58:51 +08:00
Rolzad73 1d0237f15d - added ability to reload default key bindings
- reverted keybindings display back to action names instead of PSP key equivalent (see commit commit 168154b52d)
2017-02-01 22:53:01 -05:00
Anthony Calosa c535d033ec fix Dark Depths
there should a window for the triggered sacrifice and legend rule.
2017-02-02 11:08:17 +08:00
Anthony Calosa fcf900c5e0 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-02 11:05:20 +08:00
Anthony Calosa c265ce8222 Bug Correction
PermanentAbility to ListMaintainerAbility in Legend Rule, it seems It's
finally fixed even with a lot of targetchooser and copy effects.
2017-02-02 09:58:38 +08:00
Anthony Calosa 658b90067a Merge pull request #917 from kevlahnota/master
Crew Bonus & Bug Fix
2017-02-02 03:09:11 +08:00
Anthony Calosa 80b6496780 bug fix 2017-02-01 22:37:00 +08:00
Anthony Calosa 711934a249 Crew Corrections 2017-02-01 18:40:09 +08:00
Anthony Calosa ea5e397595 Crew Ability Cost & Crewbonus
Revised cards to use {crew(targetchooser)} (modified taptargetcost) so
it can use crewbonus ability from other creatures.
2017-02-01 17:11:55 +08:00
Anthony Calosa c8dc416071 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-01 17:08:02 +08:00
Anthony Calosa 30026fc307 Merge pull request #916 from kevlahnota/master
refactor Legend Rule and other Bug fixes
2017-02-01 10:40:02 +08:00
Anthony Calosa 7b0fdcd721 refactor Legendary Rule 2017-02-01 09:49:36 +08:00
Anthony Calosa c0afb3b95e added WEventGameStateBasedChecked 2017-02-01 09:48:40 +08:00
Anthony Calosa 5504bf23d1 corrected dimir doppelganger 2017-02-01 09:47:31 +08:00
Anthony Calosa 28b51d3335 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-02-01 09:33:35 +08:00
Rolzad73 fb91726c35 Merge pull request #915 from WagicProject/test_suite_function_fix
- fixed small compiling error for a function in testsuite
2017-01-31 13:10:19 -05:00
Anthony Calosa a97a7edca6 minor refactor 2017-01-31 22:01:19 +08:00
Anthony Calosa 92b4909fc8 add some cards 2017-01-31 21:19:34 +08:00
Anthony Calosa 3998c21178 fix persist on copied card 2017-01-31 20:11:59 +08:00
Anthony Calosa 41d925d7c9 add support for activated copier
thespian stage etc...
2017-01-31 20:11:09 +08:00
Anthony Calosa 7029636291 some corrections 2017-01-31 04:16:47 +08:00
Rolzad73 a916c1067f - fixed small compiling error for a function in testsuite
- indentation formatting on DebugRoutines
2017-01-30 14:02:25 -05:00
Anthony Calosa 7322d4da8b fix castcard opponent spell
the casted non-permanent card from opponent will now move to its owner
graveyard...
2017-01-30 07:09:21 +08:00
Anthony Calosa 31f15b12cb Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-01-29 20:16:09 +08:00
Anthony Calosa 4d3e463aba Merge pull request #913 from kevlahnota/master
Revised AACopier and Fix Legend Rule
2017-01-29 17:17:04 +08:00
Anthony Calosa 166526dbbe Fix Legend Rule
Should fix the the move to graveyard effect with targetchooser
ability...
2017-01-29 16:30:13 +08:00
Anthony Calosa 348ada3f0d revised aacopier
I think we still need to change legend to a trigger once it detects
multiple legends in play then trigger it at once with targetchooser to
select which cards to sacrifice as state based... vector of  unique
names or id or mtgcardinstance?
2017-01-29 16:09:49 +08:00
Anthony Calosa 2c5f6d8332 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-01-29 10:29:10 +08:00
Anthony Calosa e128d548f4 disable andAbility for aacopier
so it will not conflict with original legend rule...
2017-01-29 10:27:18 +08:00
Rolzad73 bb2ab1c1fe Merge pull request #911 from Rolzad73/x11_fixes
X11 build fixes
2017-01-28 13:17:50 -05:00
Rolzad73 715bedb71a - Travis PSP build broke, attempt to fix 2017-01-28 05:05:35 -05:00
Rolzad73 8fed9e47d1 - Travis PSP build broke, attempt to fix 2017-01-28 04:50:07 -05:00
Rolzad73 89f8f7e25e Merge pull request #910 from WagicProject/travis_edit
Test travis QT build artifact zipped for upload
2017-01-28 04:43:06 -05:00
Rolzad73 7bbba293a6 - reverted Travis test 2017-01-28 04:42:42 -05:00
Rolzad73 d57a694d3c - last commit small clean 2017-01-28 04:32:39 -05:00
Rolzad73 f31d5c04c8 - revert android gamepad log change for mergable x11 fixes 2017-01-28 04:29:47 -05:00
Rolzad73 85f66a8fec X11 build fixups
- fixed -Werror=misleading-indentation warning
- fixed -Werror=nonnull-compare warning on xll and QT builds
- PNG_LIBPNG_VER backward compatibily changes
- giflib backward compatibily changes
- resolved some undefs for X11 build
- silenced some small compile warnings in JGE Makefile
- added -DTIXML_USE_STL to remaining build types (PSP had it added)
- fixed x11 Boost incompatibility issue part of #548
- reworked PrecompiledHeader.h platforms used
2017-01-28 04:19:46 -05:00
Rolzad73 48ec606bc5 - attempt to break build upload sequence 2017-01-28 04:09:03 -05:00
Rolzad73 75cc809b16 - travis QT build artifact zipped for upload 2017-01-28 02:16:03 -05:00
Anthony Calosa 2a27a491e7 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-01-28 13:23:44 +08:00
Anthony Calosa 3e75d70632 revert this
I introduce more bugs than helped. I think there's alternative method
for this,,,
2017-01-28 13:23:30 +08:00
Anthony Calosa cf2d094df6 Merge pull request #905 from kevlahnota/master
Added KLD primitives
2017-01-28 12:41:10 +08:00
Rolzad73 18a7955240 Merge pull request #907 from WagicProject/travis_edit
attempt to add release upload from Travis CI for QT Linux variant
2017-01-27 23:36:51 -05:00
Rolzad73 22ebc27997 - attempt to add release upload from Travis CI for QT Linux variant 2017-01-27 22:57:21 -05:00
Anthony Calosa c53ee24b5b Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-01-28 07:38:50 +08:00
Anthony Calosa 25e681c04a test fix ensnaring bridge 2017-01-28 07:38:45 +08:00
Anthony Calosa 365e0b49ae cleanup 2017-01-28 07:38:27 +08:00
Rolzad73 e3dc78b28e - created proper branch on separate fork for dev work 2017-01-27 11:58:59 -05:00
Rolzad73 e3319f6fe4 Merge pull request #2 from WagicProject/master
Pulling changes from original project to forked version
2017-01-27 11:34:01 -05:00
Rolzad73 0a9b006a94 Merge pull request #906 from Rolzad73/master
Merge pull request #1 from WagicProject/master
2017-01-27 11:28:28 -05:00
Anthony Calosa 5692be3b66 remove 2 duplicate
Stone Quarry & Woodland Stream
2017-01-27 23:25:48 +08:00
Anthony Calosa 6ea5dea849 Added KLD primitives 2017-01-27 23:19:01 +08:00
Anthony Calosa 8debcf0fa2 KLD missing cards 2017-01-27 23:18:28 +08:00
Anthony Calosa 1cf4845cb2 added KLD set 2017-01-27 23:17:15 +08:00
Anthony Calosa b9d1292add Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-01-27 22:15:27 +08:00
Anthony Calosa 19063fd8db some refactor
change some card from using "all" to "lord"
2017-01-27 22:15:03 +08:00
Rolzad73 76cf732100 Merge pull request #904 from WagicProject/build_clean
Simple build.xml cleanup
2017-01-26 23:17:13 -05:00
Anthony Calosa 30a7eef611 some corrections 2017-01-27 11:01:28 +08:00
Rolzad73 99f0020583 fix build.xml wrap error 2017-01-26 20:48:38 -05:00
Rolzad73 f2e0da47ed - minor whitespace and duplicate task (build.meego.changelog) cleanup of mtg ant build file 2017-01-26 20:05:19 -05:00
Anthony Calosa ca66a428d8 C16 missing list 2017-01-27 06:18:36 +08:00
Anthony Calosa f077a4e074 Merge pull request #903 from kevlahnota/master
KLD & AER support
2017-01-27 06:00:58 +08:00
Anthony Calosa e46631a960 Merge branch 'master' of https://github.com/kevlahnota/wagic 2017-01-26 23:18:43 +08:00
Anthony Calosa 2da1957c70 Added C16 primitives 2017-01-26 23:18:37 +08:00
Anthony Calosa ad6c48688d Added C16 set 2017-01-26 23:18:34 +08:00
Anthony Calosa 71da7fb384 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2017-01-26 23:11:52 +08:00
Anthony Calosa 0159e0e41e added some fixes 2017-01-26 22:34:07 +08:00
Anthony Calosa 457a3fdc7a Merge pull request #902 from WagicProject/travis_java_build_fix
Travis java build fix
2017-01-26 21:28:17 +08:00
Anthony Calosa 8507c0138d crash fix
when loading collection and shop
2017-01-26 21:02:12 +08:00
Anthony Calosa 4f7901b946 minor refactor 2017-01-26 21:01:45 +08:00
Anthony Calosa e239dc039b fix phaseinfo/fakebar graphics
it should look nice now.. :)
2017-01-26 18:33:04 +08:00
Anthony Calosa 1428eeba06 fix copier token image 2017-01-26 15:32:17 +08:00
Anthony Calosa adcf6fb86d refactor some equipments 2017-01-26 09:45:18 +08:00
Anthony Calosa de2d663968 unattach animated equipment
another bug found is when the equipment becomes a creature, its ability
is granted to itself...
2017-01-26 02:12:02 +08:00
Anthony Calosa 60f6c683a3 test fix equipment
also added some primitive fixes, added macro for fabricate
2017-01-25 18:29:27 +08:00
Rolzad73 f8009672e9 - Travis build fix cleanup 2017-01-24 15:30:34 -05:00
Rolzad73 9fe5ac1994 - attempt forced JVM version setting for travis build 2017-01-24 14:51:03 -05:00
Rolzad73 58efb51c07 - attempt forced JDK version setting for travis build 2017-01-24 13:56:40 -05:00
Anthony Calosa 5c3a064746 aicode and revised legendary rule
added aicode for cards that uses reveal. since reveal cancels for ai,
aicode is the alternative code. use basic code only.
aicode=activate dosomething...
aicode - use with caution, its very basic atm and you must test each
card that uses it as it can cause crash.
legendary rule moved to game state based effect so it will not conflict
with cards with copy effects and andability. the legendary check applies
only when  legendrule is found.
2017-01-24 16:10:35 +08:00
Anthony Calosa 94aefa6dba notany attribute
anytypeofmana makes manacost colorless... wip
2017-01-23 18:32:58 +08:00
Anthony Calosa 7f6e96459c added "energized" event
energizedof(player):do something
energizedfoeof(player):do something
also some fixes in the primitives
2017-01-23 11:41:19 +08:00
Anthony Calosa 6fe57be115 fix for cards with restrictions 2017-01-22 00:14:46 +08:00
Anthony Calosa 37b3f28065 additional fixes 2017-01-21 04:30:00 +08:00
Anthony Calosa 0b9468da1b add EXP
Zendikar Expeditions
2017-01-20 16:49:00 +08:00
Anthony Calosa e558f21ebc add penergy & oenergy
count energy counters available
2017-01-20 15:39:27 +08:00
Anthony Calosa 71c1512ef2 some fixes
primitve corrections
2017-01-20 15:37:36 +08:00
Anthony Calosa d03ebdace8 Support for KLD and AER
Kaladesh & Aether Revolt
2017-01-18 22:13:51 +08:00
Anthony Calosa d86b9119a4 fix castcard interaction to reveal window
uses afterrevealed and becomes
2017-01-17 18:24:50 +08:00
Anthony Calosa 0ab872e152 Additional primitive fixes 2017-01-16 06:48:07 +08:00
Anthony Calosa 5e7f81678d Added some fixes by Toben
thanks Toben
2017-01-14 10:33:49 +08:00
Anthony Calosa ff510248e9 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-09-08 06:01:40 +08:00
Anthony Calosa bba5d4380d Merge pull request #897 from kevlahnota/master
revised tnum attribute
2016-09-08 05:53:32 +08:00
Anthony Calosa 39ad95d4db revised tnum attribute
so it can be used inside makecardt, also
2016-09-08 05:13:52 +08:00
Anthony Calosa e9adde8ac6 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-09-06 21:29:55 +08:00
Anthony Calosa 8fc120d9f9 Merge pull request #895 from kevlahnota/master
revised "steal" ability
2016-09-06 16:38:39 +08:00
Anthony Calosa 7f8339aedf revised "steal" ability
steal - gain control of target/s until it leaves battlefield or  its
current controller loses control of the "stealer"...
2016-09-06 15:47:09 +08:00
Anthony Calosa d2183f3b91 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-09-06 15:08:32 +08:00
Anthony Calosa 11b4aa7308 Merge pull request #894 from kevlahnota/master
Sorted & Updated Primitives
2016-09-05 19:44:42 +08:00
Anthony Calosa 51481daf03 Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-09-05 18:20:14 +08:00
Anthony Calosa 1bdd0f6e26 Sorted & Updated Primitives,
also added some cards
2016-09-05 18:20:05 +08:00
Anthony Calosa 1de492973e update missing cards by sets 2016-09-05 17:54:41 +08:00
Anthony Calosa eea96dac73 Added CNS 2016-09-05 15:25:17 +08:00
Anthony Calosa ebc378a620 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-09-05 15:22:42 +08:00
Anthony Calosa 3d08ca0cc1 Merge pull request #893 from kevlahnota/master
revised "colorless" attribute in targetchooser
2016-09-04 14:35:48 +08:00
Anthony Calosa f11cc41df8 revised "colorless" attribute in targetchooser
also fix worldly tutor
2016-09-04 13:14:19 +08:00
Anthony Calosa 19ce59b1b4 Merge pull request #890 from kevlahnota/master
Add some C15 cards
2016-09-03 22:38:38 +08:00
Anthony Calosa 5101ac9d8e add some C15 cards 2016-09-03 21:38:24 +08:00
Anthony Calosa 5149882bb5 Add files via upload 2016-09-02 23:49:03 +08:00
Anthony Calosa 26222ee853 Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-09-02 10:12:55 +08:00
Anthony Calosa 0394e2cda9 Add files via upload 2016-09-02 10:12:42 +08:00
Anthony Calosa 501b310efa add some C14 cards 2016-09-02 10:11:51 +08:00
Anthony Calosa 53e0b1b81c Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-09-01 19:19:17 +08:00
Anthony Calosa 81be616847 Merge pull request #888 from kevlahnota/master
Add some missing cards from CMD
2016-08-31 16:19:33 +08:00
Anthony Calosa b9b2c9afb0 Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-08-31 14:03:36 +08:00
Anthony Calosa 848cd9a485 Add files via upload 2016-08-31 14:03:22 +08:00
Anthony Calosa 75921e1130 add some cards from CMD to C13 2016-08-31 14:02:16 +08:00
Anthony Calosa 0b14639c66 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-31 01:48:52 +08:00
Anthony Calosa 5c54f85de4 Merge pull request #887 from kevlahnota/master
Add some cards from BFZ to EMN
2016-08-31 01:30:36 +08:00
Anthony Calosa 0202313bc8 Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-08-31 00:01:00 +08:00
Anthony Calosa 2671826b19 add some cards from BFZ to EMN 2016-08-31 00:00:43 +08:00
Anthony Calosa 7dc89ad090 Add files via upload 2016-08-31 00:00:16 +08:00
Anthony Calosa c54f0ea329 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-30 22:04:00 +08:00
Anthony Calosa d90f3ce309 Merge pull request #886 from kevlahnota/master
Add some cards from KTK block
2016-08-30 18:23:50 +08:00
Anthony Calosa bcc6ced47c Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-08-30 17:37:45 +08:00
Anthony Calosa 1b5c61a285 added some cards from KTK sets
Also fix typos reported by sage. Thanks.
2016-08-30 17:37:38 +08:00
Anthony Calosa ca95192de3 Add files via upload 2016-08-30 17:37:35 +08:00
Anthony Calosa c2e04443e3 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-30 07:40:47 +08:00
Anthony Calosa f4f8c94c6a Merge pull request #885 from kevlahnota/master
add custom name for generic reveal ability
2016-08-29 22:42:35 +08:00
Anthony Calosa f957fca162 add custom name for generic reveal 2016-08-29 20:58:55 +08:00
Anthony Calosa 9671711bf5 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-29 09:05:15 +08:00
zethfoxster ea3d4c67f8 Merge pull request #883 from zethfoxster/master
getting master
2016-08-28 10:05:51 -04:00
Anthony Calosa cab1f59181 Merge pull request #882 from kevlahnota/master
Add missing cards from THS
2016-08-28 14:39:25 +08:00
Anthony Calosa 8c01611850 Add files via upload 2016-08-28 12:42:31 +08:00
Anthony Calosa d6b682ab88 update/fix some card codes
also add some missing cards from THS block
2016-08-28 12:41:41 +08:00
zethfoxster d2beaa0ab9 Merge pull request #51 from WagicProject/master
getting master
2016-08-27 14:19:59 -04:00
Anthony Calosa ce0fafd45b Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-27 20:28:26 +08:00
Anthony Calosa c0dbd00b74 Merge pull request #881 from kevlahnota/master
fix halfup logic when used on negation
2016-08-27 20:16:31 +08:00
Anthony Calosa a556aed34f Add files via upload 2016-08-27 19:32:48 +08:00
Anthony Calosa 8d19ee8ab3 add some missing cards 2016-08-27 19:31:27 +08:00
Anthony Calosa 8c4c80731c fix halfup logic when used on negation
halfup is computation is correct but when used in negation, you must use
the halfdown, example if you have 5 life and you pay half your life
rounded up, you must have 3 life, so life:-halfdownlifetotal. if you use
halfup you will lose 3 life...
2016-08-27 16:23:42 +08:00
Anthony Calosa de6619b383 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-27 16:17:44 +08:00
Anthony Calosa 941dc253fb Merge pull request #880 from kevlahnota/master
fix some cards and add some missing
2016-08-27 15:55:54 +08:00
Anthony Calosa 25705a6b02 Add files via upload 2016-08-27 14:58:09 +08:00
Anthony Calosa 4d56269130 fix some cards and add some missing
it seems " add " inside name causes issue when parsed (cause crash in
deck editor like arlinn kord), renaming it fixes it...
2016-08-27 14:56:54 +08:00
zethfoxster 96236df293 Merge pull request #50 from WagicProject/master
getting master
2016-08-26 18:55:33 -04:00
Anthony Calosa f447482e32 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-26 18:02:27 +08:00
Anthony Calosa 401b8fc496 Merge pull request #878 from kevlahnota/master
Add some cards (various from SHM to ROE)
2016-08-26 16:11:38 +08:00
Anthony Calosa 2e2a2aaf03 cleanup card.dat 2016-08-26 15:33:38 +08:00
Anthony Calosa 66c2ab38ed fix some cards 2016-08-26 14:20:02 +08:00
Anthony Calosa 6e0b7e2c23 add missing break 2016-08-26 14:20:02 +08:00
Anthony Calosa f335623f69 update missing cards by sets
Shadowmoor, Alara, Zendikar blocks
2016-08-26 12:11:28 +08:00
Anthony Calosa f8369ee39a add some missing cards
from SHM to ROE
2016-08-26 11:31:48 +08:00
Anthony Calosa 2a1bacdfa4 add "abilitycontroller" for dynamicability
for use inside ability$! dynamicability<who> !$ who
2016-08-26 11:23:52 +08:00
Anthony Calosa a93dd6586d Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-25 22:26:56 +08:00
Anthony Calosa f3dd1be125 rebounded trigger
for use with rebound cards only
2016-08-25 22:25:34 +08:00
Anthony Calosa 5b49530df9 add reset alternate cost paid 2016-08-25 22:22:55 +08:00
zethfoxster 00555e3c75 Merge pull request #49 from WagicProject/master
getting master
2016-08-24 21:13:03 -04:00
Anthony Calosa 972746d388 Merge pull request #877 from kevlahnota/master
Fix enters tapped cards, add some missing cards from LRW
2016-08-25 04:23:23 +08:00
Anthony Calosa db3aaf96c7 add LRW & MOR missing cards by sets 2016-08-25 03:42:24 +08:00
Anthony Calosa e12c87b869 add some missing cards from lorwyn
also fix card enters tapped
2016-08-25 03:40:38 +08:00
Anthony Calosa ad80b000c9 find missing art on stored source card
when tokencreator is used inside ability$!!$ who, try to get the token
images and id from stored source
2016-08-25 03:40:38 +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 3e6d207bf0 Merge pull request #876 from kevlahnota/master
Add some missing cards
2016-08-25 01:06:23 +08:00
Anthony Calosa 6c836e0fde update missing cards by sets
from ravnica to timespiral blocks
2016-08-25 00:23:24 +08:00
Anthony Calosa 5f9e123571 added some cards
from ravnica, ice age and time spiral blocks
2016-08-25 00:21:48 +08:00
Anthony Calosa 20ba624de2 commented out this
commented out the the spelltargettypes (I think I added these before for
debugging purposes)
2016-08-25 00:20:52 +08:00
Anthony Calosa 12426cf8a7 added nonplaynonexile
for use inside transforms since we cant use commas
2016-08-25 00:20:18 +08:00
Anthony Calosa 1cd6f00c59 add manapool count
also add getStringValue for menutext
2016-08-25 00:17:16 +08:00
Anthony Calosa 365d5784b7 Merge pull request #875 from kevlahnota/master
update PPR
2016-08-23 12:22:37 +08:00
Anthony Calosa a90cddf589 update PPR
also fix cards  "when you cast" triggers, They must trigger when cast,
not when it resolves...
2016-08-23 11:27:40 +08:00
zethfoxster 5f71017142 Merge pull request #48 from WagicProject/master
getting master
2016-08-22 21:31:19 -04:00
Anthony Calosa c81402b8ce Merge pull request #874 from kevlahnota/master
Add some cards from SOK
2016-08-23 07:27:20 +08:00
Anthony Calosa 6122410db1 Add files via upload 2016-08-23 06:51:22 +08:00
Anthony Calosa 42e240c9ab add some cards from kamigawa 2016-08-23 06:49:57 +08:00
Anthony Calosa 01459b7759 Merge pull request #873 from kevlahnota/master
Fix granted flashback, add flashback indicator
2016-08-22 11:33:33 +08:00
Anthony Calosa cd2f4480f4 alternate token creator
uses ":" instead of comma, makecardt(name:type:p/t:ability:color) ex.
makecardt(Eldrazi Horrors:Creature Eldrazi Horror:3/2:haste:battleready)
2016-08-22 10:21:00 +08:00
Anthony Calosa ce92679be0 add AACloner andAbility 2016-08-22 10:18:23 +08:00
Anthony Calosa e9705b2cc5 fix crash temporary flashback
should fix snapcaster mages ability and the likes
2016-08-22 10:17:48 +08:00
Anthony Calosa a2007dd59e border indicator flashback 2016-08-22 10:17:05 +08:00
Anthony Calosa d6052b718e Merge pull request #872 from kevlahnota/master
cleanup
2016-08-22 09:18:11 +08:00
Anthony Calosa 6bfc79fb03 test
test if the name is the cause of this...
2016-08-22 08:30:13 +08:00
Anthony Calosa e9a5f30c71 cleanup 2016-08-22 07:36:23 +08:00
Anthony Calosa 9a61b7f13b Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-22 07:27:34 +08:00
Anthony Calosa 2073f3d7ed Merge pull request #870 from kevlahnota/master
Battleready token for Hanweir
2016-08-21 22:13:00 +08:00
Anthony Calosa 774cd46892 Hanweir the Writhing Township token
battleready and fix Make Mischief
2016-08-21 22:10:14 +08:00
Anthony Calosa f593ee7c9f Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-21 14:13:25 +08:00
Anthony Calosa 47d35446e2 Merge pull request #869 from kevlahnota/master
Add some cards & fix
2016-08-21 13:10:59 +08:00
Anthony Calosa 3e16969808 update missing cards by sets
ODY to 5DN
2016-08-21 12:28:02 +08:00
Anthony Calosa 3e95f5cd05 add some cards 2016-08-21 12:26:21 +08:00
Anthony Calosa 15a8437d79 check imprinted card
fix crash
2016-08-21 11:28:17 +08:00
Anthony Calosa 6a213bffa6 Domain count 2016-08-21 11:27:50 +08:00
Anthony Calosa 5be01a7577 add percentage on awards 2016-08-21 08:56:39 +08:00
zethfoxster 89b8eabe0c Merge pull request #47 from WagicProject/master
getting master
2016-08-20 13:54:25 -04:00
Anthony Calosa 3cecc34a9c Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-20 17:54:42 +08:00
Anthony Calosa 9e76214be8 Merge pull request #867 from kevlahnota/master
Added some cards from INV & MRQ
2016-08-20 16:46:48 +08:00
Anthony Calosa 5b059f974f update missing cards by sets 2016-08-20 16:07:11 +08:00
Anthony Calosa ecb4f64f91 added some cards
I think I added abilitycontroller before, I just forgot to add a card
that can use it (Gerrard's Verdict)
2016-08-20 16:04:17 +08:00
zethfoxster 992121c659 Merge pull request #46 from WagicProject/master
getting master
2016-08-19 21:25:18 -04:00
Anthony Calosa cbc41214d8 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-20 04:32:19 +08:00
Anthony Calosa 53c7a81666 Merge pull request #866 from kevlahnota/master
change naming convention
2016-08-20 04:03:53 +08:00
Anthony Calosa a63065b44f try to fix 2016-08-20 03:04:58 +08:00
Anthony Calosa cec4494ce6 fix can produce mana
limited for land...
2016-08-20 00:21:58 +08:00
Anthony Calosa 60411027ca change plandtype & olandtype parsing 2016-08-19 23:34:01 +08:00
Anthony Calosa 8d7b9293b5 change naming convention
to avoid confusion
2016-08-19 20:29:41 +08:00
Anthony Calosa 2133dfd80c Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-19 18:53:27 +08:00
Anthony Calosa 1a75f51aa6 Merge pull request #865 from kevlahnota/master
update missing cards by sets
2016-08-19 18:51:13 +08:00
Anthony Calosa 2a8c036c63 moved rayne to borderline
@targeted needs update for player targets
2016-08-19 18:18:18 +08:00
Anthony Calosa c90f357bff added myzones & oppzones 2016-08-19 18:08:36 +08:00
Anthony Calosa 4d381452b5 added rath & artifact cycle in missing cards 2016-08-19 18:07:08 +08:00
zethfoxster 087b53c1c5 Merge pull request #45 from WagicProject/master
getting master
2016-08-18 23:08:21 -04:00
Anthony Calosa 58a2769f2b Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-19 07:22:52 +08:00
Anthony Calosa ce38c3e5c5 Merge pull request #864 from kevlahnota/master
re added my previous changes
2016-08-18 21:48:19 +08:00
Anthony Calosa 12f7d5e4b6 added missing cards by sets
todo... since i'll recheck all expansions
2016-08-18 21:43:54 +08:00
Anthony Calosa fd703dd4d1 re added my previous changes 2016-08-18 21:40:38 +08:00
Anthony Calosa 3ef4c1f6e0 Merge pull request #863 from kevlahnota/master
Added the Missing EMN and other cards
2016-08-18 20:04:19 +08:00
Anthony Calosa 0e95444552 added the EMN cards 2016-08-18 20:02:02 +08:00
Anthony Calosa aca90db2c2 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-18 19:13:41 +08:00
Anthony Calosa 09edd055e6 Merge pull request #862 from kevlahnota/master
"blocked" attribute & add some cards
2016-08-18 18:55:28 +08:00
Anthony Calosa 892ef6b1b3 Add CD Blocked & some cards
cd "blocked" should fix Smite , Tattermunge Witch
2016-08-18 17:57:14 +08:00
Anthony Calosa ed838815ef Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-18 06:19:42 +08:00
Anthony Calosa 8d8c4d1a95 Merge pull request #861 from kevlahnota/master
Balance cards & Kozilek
2016-08-17 20:50:03 +08:00
Anthony Calosa debdf917ea Added "Balance" cards & Fix Kozilek
Added Balance, Balancing Act, Natural Balance & Restore Balance. Fix
Kozilek, the Great Distortion autostack ability
2016-08-17 20:48:51 +08:00
Anthony Calosa f03961bc19 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-17 18:42:43 +08:00
Anthony Calosa fb4572264d Merge pull request #860 from kevlahnota/master
Fixed OGW cards & Sorted Primitives
2016-08-17 05:27:08 +08:00
Anthony Calosa d7445a70f9 Fix OGW cards & Sorted Primitives
todo recheck BFZ
2016-08-17 04:49:50 +08:00
Anthony Calosa 78bcf9a738 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-17 04:24:53 +08:00
zethfoxster d71c85412f Merge pull request #859 from zethfoxster/master
pushing to master
2016-08-16 13:38:42 -04:00
zethfoxster f5c9ab72ef adding eldrich moon cards, and part 1 of my unsupport scan through...these are not sorted and are added at the bottom.
there are way more in unsupported that need checking, im going through it slowly but thought i should add this
2016-08-16 13:34:14 -04:00
zethfoxster 5c4cd74c39 Merge pull request #44 from WagicProject/master
getting master
2016-08-16 13:29:59 -04:00
Anthony Calosa 5a1daf5dc9 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-16 18:32:43 +08:00
Anthony Calosa 4de2a45195 Merge pull request #858 from kevlahnota/master
add CD geared attribute
2016-08-16 17:28:01 +08:00
Anthony Calosa 91d3a6ecb7 Minor Cleanup 2016-08-16 16:11:44 +08:00
Anthony Calosa 763918e129 added CD geared attribute 2016-08-16 15:42:22 +08:00
Anthony Calosa 525c166f62 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-16 14:30:02 +08:00
Anthony Calosa 6b2ed24fc3 Merge pull request #857 from kevlahnota/master
Fixed some cards
2016-08-16 13:17:07 +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
zethfoxster 755cfe19d5 Merge pull request #43 from WagicProject/master
getting master
2016-08-14 22:58:36 -04:00
Anthony Calosa 559331cf82 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-15 10:29:03 +08:00
Anthony Calosa 18fddb1537 Merge pull request #856 from kevlahnota/master
adjust p/t & fix copying animated land
2016-08-14 22:11:53 +08:00
Anthony Calosa 861620cb6e fix AI deck129 invalid mtgid 2016-08-14 21:53:54 +08:00
Anthony Calosa 568f3ae94f fix copying man lands 2016-08-14 21:26:33 +08:00
Anthony Calosa 0af00a313e adjust p/t box when tapped only 2016-08-14 21:26:19 +08:00
Anthony Calosa ff52f020e2 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-14 21:21:22 +08:00
Anthony Calosa 55bf7bcbda Merge pull request #855 from kevlahnota/master
Minimal Graphics mod
2016-08-14 15:51:32 +08:00
Anthony Calosa bccb740c45 Minimal mod card scale
it's a minimal graphics mod so it's easier to debug. It's a smaller card
scale of big render so we have more space to view in game.
2016-08-14 14:59:49 +08:00
Anthony Calosa b7307adc10 fix copier copying a copier 2016-08-14 14:28:14 +08:00
Anthony Calosa edb71dcef0 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-14 09:32:42 +08:00
Anthony Calosa 7ddf232615 Merge pull request #854 from kevlahnota/master
Re upload sets
2016-08-14 09:27:41 +08:00
Anthony Calosa a7cdb0a514 re upload sets 2016-08-14 09:24:15 +08:00
Anthony Calosa 7157e571c8 fateshaper flying 2016-08-14 09:22:11 +08:00
Anthony Calosa d073b7b3c0 remove sets with no carriage returns
will reupload the new ones
2016-08-14 09:21:47 +08:00
zethfoxster 27d67398fb Merge pull request #42 from WagicProject/master
getting master
2016-08-13 12:49:52 -04:00
Anthony Calosa cc6ced9197 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-13 23:31:50 +08:00
Anthony Calosa 712e42c71f Merge pull request #853 from kevlahnota/master
Carriage Returns
2016-08-13 23:29:09 +08:00
Anthony Calosa 53efc96e30 add carriage returns
it's not visible but instead of lf, replaced it with crlf
2016-08-13 23:26:58 +08:00
Anthony Calosa 5b2ac0f022 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-13 23:20:37 +08:00
Anthony Calosa b5cdcc29bc Merge pull request #852 from kevlahnota/master
Revert my Graphic changes and other fixes
2016-08-13 21:41:56 +08:00
Anthony Calosa df3e6e5fb7 fix flip and image 2016-08-13 21:14:43 +08:00
Anthony Calosa 27145bdabe revised fix for copier 2016-08-13 20:12:55 +08:00
Anthony Calosa 71aedfd96d this must be copy 2016-08-13 17:39:11 +08:00
Anthony Calosa 8530292fef Revert my Graphic changes
I think it's the one who cause those crashes
2016-08-13 16:45:46 +08:00
Anthony Calosa f1bc268f58 add mycastingzone & oppcastingzone
to simplify code
2016-08-13 10:55:58 +08:00
Anthony Calosa 2e79f5a369 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-12 20:47:48 +08:00
Anthony Calosa 1427b1709a Merge pull request #851 from kevlahnota/master
remove changes AACopier
2016-08-12 20:14:51 +08:00
Anthony Calosa 960d4d35fb remove my changes in aacopier
since I introduce a weird crash bug with it.
2016-08-12 17:14:52 +08:00
Anthony Calosa 7a467ce860 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-12 17:01:42 +08:00
Anthony Calosa cd46314b4e Merge pull request #850 from kevlahnota/master
Fix Deathbringer Liege
2016-08-12 16:26:25 +08:00
Anthony Calosa 9c81acff53 Fix Deathbringer Liege 2016-08-12 16:25:37 +08:00
zethfoxster d8b2e2873b Merge pull request #41 from WagicProject/master
getting master
2016-08-11 23:27:16 -04:00
Anthony Calosa 98cd6675d9 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-12 10:00:11 +08:00
Anthony Calosa 002085ad32 Merge pull request #849 from kevlahnota/master
Add Game/Player Info
2016-08-12 09:18:32 +08:00
Anthony Calosa 2e525dfdcc exclude card that copied a token.
I added a new search for tokens just below this
2016-08-12 07:44:59 +08:00
Anthony Calosa a378e3a72d fix extracosts on cumulative upcost
since Manacost::copy copies, extracost, if this is enabled, extracost is
doubled. tested with Aboroth
2016-08-12 07:43:39 +08:00
Anthony Calosa 7e14b2fc5a exception testsuite
the current implementation was clone must be recognized by id in the
scripted test.
2016-08-11 21:05:00 +08:00
Anthony Calosa 51016f9258 revised AACopier 2016-08-11 18:52:18 +08:00
Anthony Calosa adad723110 game mode info 2016-08-11 14:26:41 +08:00
Anthony Calosa a10e7ab279 Revert "copy/flip limit"
This reverts commit 0c124327de.
2016-08-11 11:03:37 +08:00
Anthony Calosa 0c124327de copy/flip limit
if the copy/flip is activated, it means it's already in the battlefield,
so "enters the battlefield" must not trigger...
2016-08-10 19:49:31 +08:00
zethfoxster 6c5f706064 Merge pull request #40 from WagicProject/master
getting master
2016-08-09 22:14:58 -04:00
Anthony Calosa 2422e72713 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-10 09:51:23 +08:00
Anthony Calosa e49e4a5e67 Merge pull request #848 from kevlahnota/master
Fix SOI cards
2016-08-10 08:28:52 +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 d3305cadb6 quick sliver typo 2016-08-10 07:18:46 +08:00
Anthony Calosa 17c28ca584 revised Quick Sliver & Shimmer Myr 2016-08-10 06:39:09 +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
Anthony Calosa ab49ea07e8 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-09 13:28:52 +08:00
Anthony Calosa 8e436e6b55 Merge pull request #847 from kevlahnota/master
Fix Hint
2016-08-09 04:56:06 +08:00
Anthony Calosa de5414ec19 Fix Etched Affinity Combo
Fix Glimmervoid Combo Hint
2016-08-09 02:58:48 +08:00
Anthony Calosa e5d71579af Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-09 02:57:43 +08:00
Anthony Calosa 5ec4c9714c Merge pull request #846 from kevlahnota/master
adjust rendered card
2016-08-09 01:15:18 +08:00
Anthony Calosa eafb2558c2 adjust rendered card 2016-08-09 00:38:33 +08:00
Anthony Calosa 4cefcb26c2 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-08 20:28:53 +08:00
Anthony Calosa 8a86e7d0f7 Merge pull request #845 from kevlahnota/master
border & mask
2016-08-08 18:45:44 +08:00
Anthony Calosa b20fb61e1c border & mask
add border to alternate render, fix mask shadow
2016-08-08 18:13:00 +08:00
Anthony Calosa feeed99c62 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-08 18:11:48 +08:00
Anthony Calosa aa5008f865 Merge pull request #844 from kevlahnota/master
Fix cards reported on forums
2016-08-08 15:44:57 +08:00
Anthony Calosa c4ce2aa977 fix Forgotten Creation and Fable of Wolf And Owl
Forgotten Creation typo and Fable of Wolf and Owl ability clashing
2016-08-08 15:42:35 +08:00
Anthony Calosa 7cc31a473c Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-08 15:41:33 +08:00
Anthony Calosa a8193012aa Merge pull request #843 from kevlahnota/master
tnum:number parameter for token images
2016-08-08 15:11:18 +08:00
Anthony Calosa eb0ecedecf revised token id (tnum:num parameter)
this should not conflict like earlier version.
ex:
[card]
name=Fable of Wolf and Owl
auto=@movedTo(*[green]|mystack):may token(Wolf,Creature
Wolf,2/2,green,tnum:11)
auto=@movedTo(*[blue]|mystack):may token(Bird,Creature
Bird,1/1,flying,blue,tnum:12)
text=Whenever you cast a green spell, you may put a 2/2 green Wolf
creature token onto the battlefield. -- Whenever you cast a blue spell,
you may put a 1/1 blue Bird creature token with flying onto the
battlefield.
mana={3}{GU}{GU}{GU}
type=Enchantment
[/card]
tnum uses -source id  & tnum (concatenated)
2016-08-08 13:49:24 +08:00
Anthony Calosa de44abd529 Revert "fix token names with ",""
This reverts commit 65ef1f384c.
2016-08-08 11:29:04 +08:00
Anthony Calosa 9807ca99f9 Revert "multi tokens images on same source"
This reverts commit 8c9d2d6f1d.
2016-08-08 11:20:25 +08:00
Anthony Calosa 8c9d2d6f1d multi tokens images on same source
you can specifiy tnum:number on token parameters and it will concatenate
the default token id and the specified number. example: token(Saproling,
Creature Saproling, 1/1, green, tnum:15) if the source id is 12345, the
default token id will be -12345, concat tnum, id will be -1234515 and
the game will try to find the image 1234515t.jpg
2016-08-08 10:37:27 +08:00
Anthony Calosa 65ef1f384c fix token names with "," 2016-08-08 10:15:50 +08:00
Anthony Calosa bf2cc36719 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-08 09:30:33 +08:00
Anthony Calosa 34ffe7eefa Merge pull request #842 from kevlahnota/master
resized avatar
2016-08-07 22:37:57 +08:00
Anthony Calosa b756c8b9ec resize avatar 2016-08-07 22:33:40 +08:00
Anthony Calosa 19a98c9ad6 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-07 22:26:39 +08:00
Anthony Calosa e159025ebb Merge pull request #841 from kevlahnota/master
Fix Master Transmuter & Westvale Abbey
2016-08-07 19:46:56 +08:00
Anthony Calosa 05e81ad923 Fix Westvale Abbey and Master Transmuter 2016-08-07 19:42:56 +08:00
Anthony Calosa 8e1a0eb20f Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-07 15:29:23 +08:00
Anthony Calosa a881b8fa5a Merge pull request #840 from kevlahnota/master
Minor adjustment
2016-08-07 14:08:51 +08:00
Anthony Calosa 6982030013 Minor adjustment 2016-08-07 14:08:09 +08:00
Anthony Calosa 01da4c6af5 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-07 14:06:22 +08:00
Anthony Calosa a42805d4cc Merge pull request #839 from kevlahnota/master
Fix Enstack Attackers
2016-08-07 13:24:54 +08:00
Anthony Calosa 01145c4581 new adjustments 2016-08-07 13:24:14 +08:00
Anthony Calosa 4d1dfb58ff Fix Enstack Attackers
If you have 40+ tokens as attackers in play, stack them on the attackers
tightly...
2016-08-07 11:49:57 +08:00
Anthony Calosa 43f44a4142 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-07 11:47:32 +08:00
Anthony Calosa b314d3cafe Merge pull request #838 from kevlahnota/master
corrected typo
2016-08-07 11:21:43 +08:00
Anthony Calosa 9bbf28e44b correction 2016-08-07 11:21:07 +08:00
Anthony Calosa d995d25f69 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-07 10:37:31 +08:00
Anthony Calosa 1f58b8e6a7 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-07 10:30:42 +08:00
Anthony Calosa eeb881cdc2 Merge pull request #837 from kevlahnota/master
AACopier andAbility support
2016-08-07 10:29:06 +08:00
Anthony Calosa 807874ce5d add andAbility support for AACopier
the granted ability must exists only if you copy a card, if you don't
copy any card, the source doesn't have any granted abillities.
2016-08-07 10:15:11 +08:00
punkeduard 213d11c8e9 Changes to primitives
name=Ojutai, Soul of Winter
name=Atarka, World Render
name=Kolaghan, the Storm's Fury
name=Savageborn Hydra
2016-08-06 21:03:23 -05:00
Anthony Calosa dfd0761506 Corrected cards reported from forums 2016-08-07 09:59:59 +08:00
Anthony Calosa 4c30086896 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-06 21:28:57 +08:00
Anthony Calosa 1efdca399e Merge pull request #836 from kevlahnota/master
re enabled token quads
2016-08-06 20:29:09 +08:00
Anthony Calosa 4f27c8051a forgot these 2016-08-06 19:55:18 +08:00
Anthony Calosa d43693fef0 when ingame, try finding the quad
for copier/cloner when copying token generated cards...
2016-08-06 19:41:34 +08:00
Anthony Calosa 88f0202b16 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-06 19:06:57 +08:00
Anthony Calosa be98e0b543 Update CardGui.cpp
Disabled temporary...
2016-08-06 01:40:21 -05:00
Rolzad73 8a907bb3f3 Merge pull request #835 from WagicProject/android_tweaks
Android tweaks
2016-08-06 00:25:36 -04:00
Anthony Calosa 1b34a478a1 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-06 08:04:15 +08:00
Anthony Calosa cda0bba555 Merge pull request #834 from kevlahnota/master
Copied token images
2016-08-05 22:26:57 +08:00
Anthony Calosa dae1b10de1 Copied Token Image
If the image is not found, try finding the token counterpart by Id
2016-08-05 21:52:46 +08:00
Rolzad73 0c4e72ece2 - attempt to fix storage location list issue on Android 4.3+ 2016-08-04 14:53:52 -04:00
Rolzad73 77dfd51b28 - Android debug logging organization 2016-08-04 13:15:49 -04:00
Rolzad73 b601a549d0 - added option for Android x86 build types 2016-08-04 11:26:41 -04:00
Anthony Calosa c4907edd76 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-04 21:19:32 +08:00
Anthony Calosa dcf4148d75 Merge pull request #831 from kevlahnota/master
fix code monk token
2016-08-04 21:02:34 +08:00
Anthony Calosa 8afeef568f update ability
prowess +1/+1 is ueot
2016-08-04 20:55:36 +08:00
Rolzad73 dd5635d9cd - only minor whitespace formatting Android 2016-08-04 08:32:17 -04:00
Rolzad73 62a6ddf3ca - update android gitignore
- update android launcher icons
2016-08-04 08:02:32 -04:00
Anthony Calosa 195daa97f3 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-04 13:59:34 +08:00
Anthony Calosa b1c5c87443 Merge pull request #830 from kevlahnota/master
Fix AttackCost & BlockCost, Add nonCombatDamage count
2016-08-04 12:16:48 +08:00
Anthony Calosa 1ab88940f9 add nonCombatDamage count 2016-08-04 09:56:53 +08:00
Anthony Calosa 8ba97b8a74 Fix attackcost & blockcost
thanks zeth
2016-08-04 09:50:09 +08:00
Anthony Calosa e7f5442a64 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-04 09:29:45 +08:00
Rolzad73 066dd866b1 - reverting debuggable attribute removal 2016-08-03 20:36:34 -04:00
Anthony Calosa fa0722a9e2 Merge pull request #828 from kevlahnota/master
some card corrections
2016-08-04 05:50:00 +08:00
Anthony Calosa 5f276f6b22 blockcost and attackcost
counter{1%1} -> value
2016-08-04 05:46:23 +08:00
Anthony Calosa c45b5751af cantattack
change some cards since -cantattack overrides cantattack. If there is an
effect that makes creatures can't attack, you can just activate the
ability to remove -cantattack...
2016-08-04 05:41:22 +08:00
Rolzad73 161802cf9d minor Android tweaks
- removed ads reference no longer used in manifest
- removed redundant android:debuggable attribute
- cleared EGL debug warning log spamming issue #581
2016-08-03 16:01:43 -04:00
Anthony Calosa 0679832b04 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-04 03:20:24 +08:00
Anthony Calosa b20d6f8820 Merge pull request #827 from kevlahnota/master
TokenAndAbility for AACloner & AACopier
2016-08-04 03:17:26 +08:00
Anthony Calosa 52fb40d543 AACloner & AACopier TokenAndAbility
if the token has andAbility, the cloner/copier also has that andAbility
also...
2016-08-04 02:12:59 +08:00
Anthony Calosa 067279d2e8 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-04 02:02:12 +08:00
Anthony Calosa a0bbed6c6c Merge pull request #826 from kevlahnota/master
fix crash when copying tokens
2016-08-04 00:41:31 +08:00
Anthony Calosa 9371125eb0 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-04 00:40:01 +08:00
Anthony Calosa 0a0f6cdce9 fix crash
wrong parenthesis
2016-08-04 00:36:49 +08:00
Rolzad73 fc350be3a1 Update README.md 2016-08-03 12:36:25 -04:00
Anthony Calosa be731a99c0 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-03 23:09:13 +08:00
Anthony Calosa c65fd1d7ae Merge pull request #825 from kevlahnota/master
corrections
2016-08-03 23:06:45 +08:00
Anthony Calosa be899159f3 correction 2016-08-03 23:03:32 +08:00
Anthony Calosa 2400e6578b Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-03 22:34:05 +08:00
Anthony Calosa 1aac2b8e75 Update AllAbilities.cpp
Try to fix IOS/MAC compilation
2016-08-03 21:23:38 +08:00
Anthony Calosa c7581220b8 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-03 20:40:12 +08:00
Anthony Calosa f3968215e0 Merge pull request #824 from kevlahnota/master
andAbility on ATokenCreator, Extend AAFlip
2016-08-03 18:46:46 +08:00
Anthony Calosa 56a8011b78 revert 2016-08-03 18:44:41 +08:00
Anthony Calosa adccae7937 switched places 2016-08-03 18:11:29 +08:00
Anthony Calosa 1c63c1937a Update some cards 2016-08-03 16:28:49 +08:00
Anthony Calosa 4753f7bb51 andAbility on ATokenCreator, Extend AAFlip, 2016-08-03 16:10:53 +08:00
Anthony Calosa d7fec7d10a Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-02 12:34:06 +08:00
Anthony Calosa 3c90a29b1e Merge pull request #823 from kevlahnota/master
Border size and color, Copier/Token Indicator
2016-08-01 23:17:12 +08:00
Anthony Calosa 98de361bf4 change comment
enable the indicator at all modes...
2016-08-01 22:34:28 +08:00
Anthony Calosa c1df10e064 Minor Proportioning 2016-08-01 22:17:53 +08:00
Anthony Calosa 3743e0bc03 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-01 21:40:22 +08:00
Anthony Calosa 12e6a4d0ae Merge pull request #822 from kevlahnota/master
Some Corrections
2016-08-01 15:32:07 +08:00
Anthony Calosa 969511953a vector count of abilities
remove unused ones
2016-08-01 14:45:57 +08:00
Anthony Calosa 223e2e04b0 Correction 2016-08-01 11:44:07 +08:00
Anthony Calosa 0b0368ffcc Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-01 08:23:16 +08:00
Anthony Calosa 9e4684b524 Merge pull request #821 from kevlahnota/master
Fix transforms for non-permanent
2016-08-01 06:52:38 +08:00
Anthony Calosa d825c7e4ea parenthesis 2016-08-01 04:49:04 +08:00
Anthony Calosa c38c996773 Revised "putinplay" in castcard 2016-08-01 04:43:54 +08:00
Anthony Calosa 71a9ef00ee Support transforms for nonpermanent
fix startled awake to persistent nightmare
2016-08-01 03:52:10 +08:00
Anthony Calosa 89a30ae5ee Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-08-01 03:02:01 +08:00
zethfoxster 94bd0e057b Merge pull request #39 from WagicProject/master
getting master
2016-07-31 10:46:46 -04:00
Anthony Calosa 0efc6338bb Merge pull request #820 from kevlahnota/master
Fix Cloner
2016-07-31 21:38:10 +08:00
Anthony Calosa 3b98da1d86 Fix Cloner ability 2016-07-31 18:46:07 +08:00
Anthony Calosa 6927c68811 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-31 18:06:12 +08:00
Anthony Calosa f0909ba3a0 Merge pull request #819 from kevlahnota/master
minor fix
2016-07-31 13:30:15 +08:00
Anthony Calosa 2f7d2873f7 @at to @each 2016-07-31 13:28:55 +08:00
Anthony Calosa 7a6b6aa335 Change copier copy 2016-07-31 13:24:18 +08:00
Anthony Calosa 2861ef0c73 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-31 13:13:26 +08:00
Anthony Calosa 059fc06f3a Merge pull request #818 from kevlahnota/master
Fix Chandra, Flamecaller & Cryptolith Rite
2016-07-31 08:20:09 +08:00
Anthony Calosa a971576de0 Fix Chandra, Cryptolith Rite 2016-07-31 08:16:25 +08:00
Anthony Calosa a4e059e3ec Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-31 08:14:28 +08:00
Anthony Calosa 07408b7bc3 Merge pull request #817 from kevlahnota/master
Added EMA & Revert Stormtide Leviathan code
2016-07-31 08:09:09 +08:00
Anthony Calosa 9722f7b71e Added Eternal Masters 2016-07-31 08:06:53 +08:00
Anthony Calosa 45d8413d59 Revert Stormtide Leviathan code 2016-07-31 07:58:26 +08:00
Anthony Calosa 5c400457a9 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-31 07:32:08 +08:00
zethfoxster 3e9ee5890f Merge pull request #816 from zethfoxster/master
add some handling of reveal to avoid a crash in demo for AI.
2016-07-30 10:51:26 -04:00
zethfoxster 1acdb40498 add some handling of reveal to avoid a crash in demo for AI. 2016-07-30 10:50:31 -04:00
zethfoxster 1dc0b00133 Merge pull request #815 from zethfoxster/master
same applies for scry
2016-07-30 10:20:48 -04:00
zethfoxster f2208389bd same applies for scry 2016-07-30 10:20:19 -04:00
zethfoxster ab92c3e15b Merge pull request #814 from zethfoxster/master
pushing to master
2016-07-30 10:14:54 -04:00
zethfoxster 018e35295a fixed a crash in revealing, not sure why I thought it was a good idea to test testdestroy something that I just removed from the game. if anyone can find another crash with it, let me know which card causes it. 2016-07-30 10:13:58 -04:00
zethfoxster 2c9e90eee0 Merge pull request #38 from WagicProject/master
getting master
2016-07-30 08:29:45 -04:00
Anthony Calosa 847f21f7dc Merge pull request #813 from kevlahnota/master
Centered Power/Toughness
2016-07-30 15:05:57 +08:00
Anthony Calosa b90dfbe3b0 Centered P/T inside P/T box 2016-07-30 15:04:34 +08:00
Anthony Calosa c230794c82 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-30 15:03:08 +08:00
Anthony Calosa 7f83aa7253 Merge pull request #812 from kevlahnota/master
small adjustment
2016-07-30 12:14:24 +08:00
Anthony Calosa 1039815017 small adjustment
meld card have a little space between. reduce render big display.
2016-07-30 10:21:39 +08:00
Anthony Calosa 2c43eac80d Merge pull request #811 from kevlahnota/master
change enstack & scale
2016-07-30 09:18:44 +08:00
Anthony Calosa 4aa6ad3203 small scale 2016-07-30 08:13:30 +08:00
Anthony Calosa 730b05ad1b change enstack attackers
their x position is the same in their "default" horizontal stack, so
when attacking it always start at left side, not in the middle. Please
report if you have bugs...
2016-07-30 07:07:35 +08:00
Anthony Calosa 5a7b2c5029 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-30 07:02:49 +08:00
zethfoxster 7ae551de9d Merge pull request #37 from WagicProject/master
getting master
2016-07-29 17:44:56 -04:00
Anthony Calosa 96dd3faef0 Merge pull request #810 from kevlahnota/master
Meld card size
2016-07-30 03:49:06 +08:00
Anthony Calosa ffdc8cd9ff meld card size 2016-07-30 03:05:24 +08:00
Anthony Calosa 8256ac3bee Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-30 01:41:43 +08:00
Anthony Calosa 037ab83519 Merge pull request #809 from kevlahnota/master
Border corrections
2016-07-30 00:10:28 +08:00
Anthony Calosa a56e77310d Border Corrections
Removed other border render, and use the one in cardgui::drawcard...
2016-07-29 23:10:01 +08:00
Anthony Calosa 5350fb7f5d Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-29 18:47:51 +08:00
Anthony Calosa 9161f89057 Merge pull request #808 from kevlahnota/master
alphabeta border & scale
2016-07-29 18:40:38 +08:00
Anthony Calosa 1d2abeb20b Minor Border changes
Also added copier values if it has copied a token or not...
2016-07-29 18:37:03 +08:00
Anthony Calosa 833c21192a Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-29 18:30:20 +08:00
Anthony Calosa 86168e454f Merge pull request #807 from kevlahnota/master
Add test and Fix unused variable error
2016-07-29 08:11:05 +08:00
Anthony Calosa a20c2ce29a Unused variable 2016-07-29 07:30:20 +08:00
Anthony Calosa 874b27c56d Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-07-29 07:00:46 +08:00
Anthony Calosa a7dc44e4e1 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-29 07:00:07 +08:00
zethfoxster 047d08882e Merge pull request #806 from zethfoxster/master
pushing to master
2016-07-28 18:55:03 -04:00
zethfoxster 52df1ad963 the fix for the sacrifice trigger was a ton easier than expected.
treat it like a spell. 
the card after contains all the info we need to determine if it should trigger.
2016-07-28 18:48:47 -04:00
Anthony Calosa c2cec37928 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-29 06:36:51 +08:00
Anthony Calosa 239a186b36 Update _tests.txt 2016-07-28 21:36:21 +08:00
Anthony Calosa 5aeb2ebc05 Create TirelessGraf.txt 2016-07-28 21:35:43 +08:00
zethfoxster a7e87aaae5 Merge pull request #36 from WagicProject/master
Getting master
2016-07-28 09:11:55 -04:00
zethfoxster eb545eca57 Merge pull request #804 from zethfoxster/master
Merge pull request #35 from WagicProject/master
2016-07-28 08:02:00 -04:00
Anthony Calosa 44ab1827bf Merge pull request #803 from kevlahnota/master
Update test and Corrected Graf Mole
2016-07-28 19:39:05 +08:00
Anthony Calosa 96b4f024b4 Update test and Corrected Graf Mole 2016-07-28 19:34:50 +08:00
Anthony Calosa b070035770 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-28 19:28:05 +08:00
Anthony Calosa 1b0c3d8c00 Merge pull request #802 from kevlahnota/master
Attempt to fix my mess
2016-07-28 19:25:42 +08:00
Anthony Calosa 2e71cb08d0 I hope this is correct 2016-07-28 19:24:01 +08:00
Anthony Calosa 3da5d12bee Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-28 17:31:51 +08:00
Anthony Calosa e8019bbb92 Merge pull request #801 from kevlahnota/master
Fix Compilation and add Tireless Tracker Test
2016-07-28 17:09:34 +08:00
Anthony Calosa 30dab27202 Fix Compilation 2016-07-28 16:38:16 +08:00
Anthony Calosa cc7077d783 Fix compilation and add Tireless Tracker test 2016-07-28 16:37:38 +08:00
Anthony Calosa fda7e9f39d Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-28 11:20:40 +08:00
zethfoxster e178533493 Merge pull request #35 from WagicProject/master
getting master
2016-07-27 23:04:19 -04:00
zethfoxster e3ad9296bc Merge pull request #800 from zethfoxster/master
getting master
2016-07-27 23:03:37 -04:00
Anthony Calosa 01042a62ae Merge pull request #799 from kevlahnota/master
revert
2016-07-28 10:30:49 +08:00
Anthony Calosa 7bd940ddb3 Revert "revised legendary"
This reverts commit 193d7accb4.
2016-07-28 10:28:54 +08:00
Anthony Calosa f168702aad Revert "moved sac event"
This reverts commit 2a33c0c375.
2016-07-28 10:28:27 +08:00
Anthony Calosa 2a33c0c375 moved sac event 2016-07-28 10:26:25 +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
zethfoxster afb98a374c updated codes for changes 2016-07-27 19:58:32 -04:00
Anthony Calosa ed0d28eaf6 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-28 07:02:36 +08:00
Anthony Calosa 50345101e5 Merge pull request #798 from kevlahnota/master
Revised Legendary
2016-07-28 06:44:14 +08:00
zethfoxster c0e4010c88 Merge pull request #34 from WagicProject/master
getting master
2016-07-27 18:42:54 -04:00
Anthony Calosa 193d7accb4 revised legendary 2016-07-28 06:42:47 +08:00
Anthony Calosa a9be34c627 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-28 06:33:30 +08:00
Anthony Calosa 0e14226968 Merge pull request #797 from kevlahnota/master
Alpha-Beta Small-Inner Border
2016-07-27 18:13:11 +08:00
Anthony Calosa 068b03a0bb Alpha-Beta small inner border 2016-07-27 17:12:11 +08:00
Anthony Calosa b99f9ae752 alpha beta small border 2016-07-27 17:10:26 +08:00
Anthony Calosa 3519871f80 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-27 17:07:24 +08:00
Anthony Calosa e9db853f28 Merge pull request #796 from kevlahnota/master
Fix Flip/Transform Cards, Fix Copier
2016-07-27 16:07:05 +08:00
Anthony Calosa a6fdd89e1d Fix Copier 2016-07-27 15:19:11 +08:00
Anthony Calosa b8bfe7acc1 Fix Flip/Transform Cards
If the card is a copier or a token, it cannot be transformed since it's
not a double face card. Also the copied card must be the "active" part
of a double faced card. Flip cards (kamigawa block) is not restricted by
this since its a single sided card. If the transformed card is cda, take
any damage into account (PT bonus is already in effect for cda)..
2016-07-27 14:39:39 +08:00
Anthony Calosa dd5d5589ff Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-27 12:41:38 +08:00
zethfoxster 7d460e093c Merge pull request #795 from zethfoxster/master
pushing to master
2016-07-26 22:47:07 -04:00
zethfoxster 54e86915b0 Merge pull request #33 from WagicProject/master
getting master
2016-07-26 22:46:06 -04:00
Anthony Calosa ab2effd776 Merge pull request #794 from kevlahnota/master
Event for token sacrifice
2016-07-27 09:19:16 +08:00
zethfoxster 4f0da67a83 fixed a condition where scry core wasnt triggering its after effect 2016-07-26 19:35:10 -04:00
Anthony Calosa 014ca36a4a force event for token sacrifice 2016-07-27 07:11:30 +08:00
Anthony Calosa 2971e64182 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-27 07:11:10 +08:00
Anthony Calosa d7737c13ff Merge pull request #793 from kevlahnota/master
Fix CDA vs Flip/Transforms
2016-07-27 07:07:47 +08:00
Anthony Calosa eebcc9c925 Fix CDAACTIVE & transformed card colors
cdaactive has its own computation, so exclude it on flip/transform cards
ability
2016-07-27 06:31:03 +08:00
Anthony Calosa 0c90b39a96 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-27 02:57:42 +08:00
Anthony Calosa 4f3f96337f Merge pull request #792 from kevlahnota/master
Fix Legendary (Mirror Gallery) & Enters Tapped cards
2016-07-27 02:34:56 +08:00
Anthony Calosa e855ca72aa Fix Mirror Gallery & enters "tapped" cards
If Mirror Gallery leaves play, you must check for legendary status.
Fix some cards that enters tapped.
2016-07-27 01:44:18 +08:00
Anthony Calosa 8ff47bf8e2 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-26 23:18:35 +08:00
Anthony Calosa 9d75f69a79 Merge pull request #791 from kevlahnota/master
granted flashback
2016-07-26 11:21:28 +08:00
Anthony Calosa ae33977e10 Add Snapcaster Mage Ability
tempflashback - flashback using manacost
2016-07-26 09:56:13 +08:00
Anthony Calosa 07b5f35b98 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-26 09:39:47 +08:00
Anthony Calosa c4acf006dd Merge pull request #790 from kevlahnota/master
Clue tokens
2016-07-26 09:27:24 +08:00
Anthony Calosa 12b80307a7 Update Living_Death.txt
Use Living Death and Clone
2016-07-26 08:51:46 +08:00
Anthony Calosa 43fd399d10 Update _tests.txt 2016-07-26 07:46:18 +08:00
Anthony Calosa cc5d8940bf Clue tokens 2016-07-26 07:43:13 +08:00
Anthony Calosa 09ed1ab683 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-25 10:42:49 +08:00
Anthony Calosa 26c85fd18a added Eldritch Moon 2016-07-25 06:32:49 +08:00
Anthony Calosa 894615bee6 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-25 05:15:38 +08:00
zethfoxster aeed094be0 Merge pull request #789 from zethfoxster/master
big whoops here, this would be a disastrous change.
2016-07-24 11:12:45 -04:00
zethfoxster 61068ee166 big whoops here, this would be a disastrous change. 2016-07-24 11:12:13 -04:00
zethfoxster bdce25cb8c Merge pull request #788 from zethfoxster/master
pushing to master
2016-07-24 11:09:18 -04:00
zethfoxster 6a71bf5653 Merge pull request #32 from WagicProject/master
getting master
2016-07-24 11:08:51 -04:00
zethfoxster 3007ddc093 added oplifetotal...or readded, i swear this was already in a long time ago when I added lifetotal as a variable. either way. 2016-07-24 11:08:08 -04:00
Anthony Calosa 4495e1649f Merge pull request #787 from kevlahnota/master
Little border adjustments
2016-07-24 21:19:57 +08:00
Anthony Calosa f960cdea9b A little border adjustment
no more very thin borders on awards and in game...
2016-07-24 20:25:20 +08:00
Anthony Calosa b70b2a65bc Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-07-24 20:20:31 +08:00
Anthony Calosa 4a73e90da8 remove test
temporarily
2016-07-24 20:19:58 +08:00
Anthony Calosa fc59bef156 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-24 19:41:58 +08:00
zethfoxster 512f4ca4e4 Merge pull request #786 from zethfoxster/master
pushing to master
2016-07-24 07:33:17 -04:00
zethfoxster f254ca57c6 Merge pull request #31 from WagicProject/master
getting master
2016-07-24 07:32:06 -04:00
Anthony Calosa 5e35dac1da Update Living_Death.txt 2016-07-24 17:51:26 +08:00
Anthony Calosa 44cbd408ce Update _tests.txt 2016-07-24 14:25:08 +08:00
Anthony Calosa 6fbe9de1a8 Create Living_Death.txt 2016-07-24 14:24:11 +08:00
Anthony Calosa 3b1410f913 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-24 14:21:15 +08:00
Anthony Calosa f9265923a9 Merge pull request #784 from kevlahnota/master
Border Adjustment & Added repeat depleter/ingest cards
2016-07-24 13:29:26 +08:00
Anthony Calosa 3282848631 Normalized Big Quad Border
Hopefully all Big Quads have identical border sizes: In Game, Deck
Editor Carousel and Trophies .
2016-07-24 13:12:40 +08:00
Anthony Calosa f142363bfa smaller scaled big quad and forced border
Ingame big quads are scaled smaller
2016-07-24 12:40:41 +08:00
Anthony Calosa c0e9800179 added scalpelexis, sphinx's tutelage, grindstone, primal surge 2016-07-24 12:31:16 +08:00
Anthony Calosa 97308ca31c Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-24 11:24:02 +08:00
zethfoxster 02992954c2 Merge pull request #30 from WagicProject/master
getting master
2016-07-23 09:19:12 -04:00
Anthony Calosa 78d4f178a3 Merge pull request #783 from kevlahnota/master
Fix Flying vs Moat (multiples of them). Fixes issue #526
2016-07-23 10:16:47 +08:00
Anthony Calosa fe577d9dd0 fix flying and multiple moat in play
putrid imp that gains temporary flying cant attack if the opponent has
multiple moat in play, this should fix it.
2016-07-23 09:45:12 +08:00
Anthony Calosa 007010067b Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-23 09:06:56 +08:00
zethfoxster bc2d8dab31 corrected my logic for emerge, originally I thought the cost was the same as the original cost, while coding i noticed it can have a completely different cost than the real manacost.
moved the extra cost check for "offerings" to a location before canafford in alternative reacttoclick, the reason for this is that the 2 offering cost we have handle the can afford calls, and even cast the card in the dopay. not placing this before it causes the card to not react to click if there is a different manacost attached to the emerge/kill 
test codes below.
mana={g}{g}{g}
other={emerge}(r}{4} name(emerge)

mana={6}
other={k(giant|mybattlefield)}

fixed memleaks in killoffering code.

note to devs, remember to make diff costs a variable that you can safe_delete, it creates a manacost object that will become a leak otherwise.
do not use it directly as a function.
source->controller()->getManaPool()->canAfford(source->getManaCost()->Diff(target->getManaCost()))
this will leave a memleak every single time ai checks this cost, or a player accesses the cost even if you cant pay it.
2016-07-22 19:10:06 -04:00
zethfoxster 296f8645fb Merge pull request #782 from zethfoxster/master
pushing to master
2016-07-22 18:05:35 -04:00
zethfoxster 2d76c8ff0d Merge pull request #29 from WagicProject/master
getting master
2016-07-22 18:05:16 -04:00
zethfoxster 0a3d9f9876 flipped the logic of the 2 deck editor menu buttons left and right, it was a nightmare making an ai deck with the tiny buttons to navigate. having my finger slip slightly off the button made it travel the opposite direction from the button, which was confusing and felt very buggy. 2016-07-22 17:46:52 -04:00
Anthony Calosa 2a1d0b19ce Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-22 21:35:23 +08:00
Anthony Calosa a99c57ab1a Merge pull request #780 from kevlahnota/master
OK quad and COMBATTOUGHNESS for attackers/blockers
2016-07-22 16:34:15 +08:00
Anthony Calosa 6832049ccc reserve size 2016-07-22 16:00:29 +08:00
Anthony Calosa 6d72753216 OK quad and COMBATTOUGHNESS for attackers/blockers
support doubled res for OK quad, AI should consider toughness as power
if it has COMBATTOUGHNESS ability
2016-07-22 15:38:38 +08:00
Anthony Calosa b6b3898536 Merge pull request #10 from WagicProject/master
pull from master
2016-07-22 14:20:39 +08:00
Anthony Calosa 99922d38e2 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-22 14:15:50 +08:00
zethfoxster 161623a8d2 Merge pull request #779 from zethfoxster/master
pushing to master
2016-07-21 22:31:17 -04:00
zethfoxster 155a7a6582 Merge pull request #28 from WagicProject/master
getting master
2016-07-21 22:29:58 -04:00
zethfoxster 6aafe9dee0 added lifegain and oplifegain variable used the same as lifelost, but stores the value of life gained this turn. 2016-07-21 21:11:15 -04:00
zethfoxster 680c9d64cb Merge pull request #778 from zethfoxster/master
getting master
2016-07-21 20:47:28 -04: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
Anthony Calosa ea920d352f Merge pull request #777 from kevlahnota/master
Award images
2016-07-21 15:50:58 -05:00
Anthony Calosa 0c0031455b Add files via upload 2016-07-21 15:49:32 -05:00
Anthony Calosa a8a9893ce4 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-22 04:22:34 +08:00
Anthony Calosa 5143743661 unlocked images 2016-07-21 22:58:27 +08:00
Anthony Calosa 88a42b25cc Add files via upload 2016-07-21 02:39:51 -05:00
Anthony Calosa b371bf6efa Merge pull request #776 from kevlahnota/master
psp fix 3
2016-07-21 02:37:47 -05:00
Anthony Calosa 3bc7ed6f8c Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-07-21 15:36:22 +08:00
Anthony Calosa f996510969 psp fix 3 2016-07-21 15:36:16 +08:00
Anthony Calosa 58fd119636 Add files via upload 2016-07-21 02:36:16 -05:00
Anthony Calosa f275792604 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-21 15:23:17 +08:00
zethfoxster 9f8ead5e4e added other={cost}
other={emerge}
2016-07-20 20:06:18 -04:00
zethfoxster a35ccbbe5b Merge pull request #775 from zethfoxster/master
pushing to master
2016-07-20 19:01:10 -04:00
zethfoxster 9a60a8838f Merge pull request #27 from WagicProject/master
getting master
2016-07-20 19:00:08 -04:00
zethfoxster bb9e02da6b fixed a debug assert i introduced. 2016-07-20 18:58:29 -04:00
Anthony Calosa 0fd0c5ecc1 Merge pull request #774 from kevlahnota/master
psp fix 2
2016-07-20 17:36:02 -05:00
Anthony Calosa c89961ebf0 Add files via upload 2016-07-20 17:35:03 -05:00
Anthony Calosa 0f81e82206 psp fix 2 2016-07-21 06:34:14 +08:00
Anthony Calosa 7c7c8c4f34 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-21 06:02:56 +08:00
xawotihs 3d7362aa9d Merge branch 'master' of https://github.com/WagicProject/wagic 2016-07-20 22:16:23 +01:00
Anthony Calosa f3061a2526 Merge pull request #773 from kevlahnota/master
Semicolon
2016-07-20 11:40:24 -05:00
Anthony Calosa 2657af1aef semicolon 2016-07-21 00:38:01 +08:00
Anthony Calosa dd03ed4b30 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-21 00:37:50 +08:00
Anthony Calosa 64c6b05963 Merge pull request #772 from kevlahnota/master
try to fix psp
2016-07-20 19:19:56 +08:00
Anthony Calosa 05017b0236 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-20 19:17:36 +08:00
Anthony Calosa efd9cce4ef try to fix psp platform 2016-07-20 19:16:48 +08:00
Anthony Calosa 144c78fa4b Add files via upload 2016-07-20 19:12:06 +08:00
Anthony Calosa 3147aa539c Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-20 09:42:16 +08:00
zethfoxster ad4532932b Merge pull request #771 from zethfoxster/master
pushing to master
2016-07-19 20:44:40 -04:00
zethfoxster ffac3462af Merge pull request #26 from WagicProject/master
Merge pull request #770 from zethfoxster/master
2016-07-19 20:44:06 -04:00
zethfoxster 7c163592b5 removed the changes I made to selectAbility and created a new function which handles sending an ability and card to have AI do the ability of that card.
found a selectability call after blockers that was the cause of a race condition debug assert, but most importantly, the reason AI would sometimes block a creature, then immediately decide not to block. causing it to sometimes take preventable damage, and sometime cause AI to stack a ton of blockers on a single card even tho it did not have a chance to actually kill the creature.
this is still a thing, but wont happen so grossly incorrect now.
2016-07-19 20:16:22 -04:00
Anthony Calosa 37987ddb57 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-19 10:47:53 +08:00
Rolzad73 9568fe7d4d Merge pull request #1 from WagicProject/master
Update fork with original
2016-04-14 11:36:57 -04:00
1078 changed files with 621158 additions and 200097 deletions
+38
View File
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.
+10
View File
@@ -0,0 +1,10 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''
---
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+40 -26
View File
@@ -1,39 +1,44 @@
language: cpp language: cpp
dist: xenial
branches: branches:
except: only:
- latest-master - master
before_install: before_install:
- export BUILD_PSP=YES - export BUILD_PSP=YES
- export BUILD_ANDROID=YES - export BUILD_ANDROID=YES
- export BUILD_Qt=YES - export BUILD_Qt=YES
- export BUILD_MAC=NO - export BUILD_MAC=NO
- echo -e "machine github.com\n login $GH_TOKEN2" > ~/.netrc
- git lfs pull
# Only building on Mac when not handling pull request # Only building on Mac when not handling pull request
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then # - if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
export BUILD_MAC=YES; # export BUILD_MAC=YES;
fi # fi
- sudo apt-get update -qq - sudo apt-get update -qq
# Building for PSP here # Building for PSP here
- if [ "$BUILD_PSP" == "YES" ]; then - if [ "$BUILD_PSP" == "YES" ]; then
export PSPDEV="$TRAVIS_BUILD_DIR/opt/pspsdk" && export PSPDEV="$TRAVIS_BUILD_DIR/opt/pspsdk" &&
export PSPSDK="$PSPDEV/psp/sdk" && export PSPSDK="$PSPDEV/psp/sdk" &&
export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin" && export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin" &&
wget -O sdk.lzma http://superb-sea2.dl.sourceforge.net/project/minpspw/SDK%20%2B%20devpak/pspsdk%200.11.2/minpspw_0.11.2-amd64.tar.lzma; wget --no-check-certificate -O sdk.lzma http://downloads.sourceforge.net/project/minpspw/SDK%20%2B%20devpak/pspsdk%200.11.2/minpspw_0.11.2-amd64.tar.lzma;
fi fi
# Building for Qt here # Building for Qt here
- if [ "$BUILD_Qt" == "YES" ]; then - if [ "$BUILD_Qt" == "YES" ]; then
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty universe" && sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu xenial universe" &&
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty main" && sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu xenial main" &&
sudo apt-get -qq update && sudo apt-get -qq update &&
sudo apt-get -qq install qt5-qmake qtbase5-dev qtdeclarative5-dev qttools5-dev qtmultimedia5-dev pulseaudio libpulse-dev && sudo apt-get -qq install qt5-qmake qtbase5-dev qtdeclarative5-dev qttools5-dev qtmultimedia5-dev libqt5opengl5 libqt5opengl5-dev pulseaudio libpulse-dev &&
export QMAKE="qmake -qt=qt5"; export QMAKE="qmake -qt=qt5";
fi fi
# Building for Android here # Building for Android here
- if [ "$BUILD_ANDROID" == "YES" ]; then - if [ "$BUILD_ANDROID" == "YES" ]; then
export ANDROID="android-sdk-linux/tools/android" && export ANDROID="android-sdk-linux/tools/android" &&
if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch jq; fi && if [ `uname -m` = x86_64 ]; then
wget http://dl.google.com/android/ndk/android-ndk-r9-linux-x86_64.tar.bz2 -nv && sudo dpkg --add-architecture i386 && sudo apt-get update &&
wget http://dl.google.com/android/android-sdk_r24.3.4-linux.tgz -nv; sudo apt-get install -qq --force-yes libgd2-xpm-dev libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1 jq ant; fi &&
wget https://dl.google.com/android/repository/android-ndk-r22-linux-x86_64.zip -nv &&
wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz -nv;
fi fi
install: install:
@@ -41,25 +46,34 @@ install:
tar -x --xz -f sdk.lzma; tar -x --xz -f sdk.lzma;
fi fi
- if [ "$BUILD_ANDROID" == "YES" ]; then - if [ "$BUILD_ANDROID" == "YES" ]; then
tar --absolute-names -jxf android-ndk-r9-linux-x86_64.tar.bz2 && unzip android-ndk-r22-linux-x86_64.zip &&
tar -zxf android-sdk_r24.3.4-linux.tgz && tar -zxf android-sdk_r24.4.1-linux.tgz &&
$ANDROID list sdk --extended -a && $ANDROID list sdk --extended -a &&
echo yes | $ANDROID update sdk -a -t tools,platform-tools,build-tools-23.0.1,android-10 --no-ui --force --no-https; echo yes | $ANDROID update sdk -a -t tools,platform-tools,build-tools-23.0.1,android-23 --no-ui --force --no-https;
sudo apt-get install openjdk-8-jdk;
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64;
export PATH=$JAVA_HOME/bin:$PATH;
fi fi
- sudo pip install pyjavaproperties
- sudo pip install github3.py
- sudo pip install cpp-coveralls
env: - curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
global: - sudo python2 get-pip.py
- secure: "EBzr1+qjQsOhn0s+tcFmXR1jP9B0xiOSXuXbRXWZ1OEHNvp8+A5/pS84LYVFlaZqmxr5dApxvPtwhgLIUbQ3EPXm8LpC3KgSD4dS+9/QMbxhe5TK4oczgFRGcDTMJQZsCzhOh7hp3tbcbJg5Gp+VT7aFjFQSHDGwhzSJXsXwh/8=" - sudo python2 -m pip install --upgrade pip
- secure: "X5dTQfofqAutnXxmu11Ep2MQ5QYnMN8m0AITRtwymhEF2UclcOudI1+skPtuhAGbWQnSO+lhunV3cvMfw2/Ml3k/VDz6VdFSKFrzAu7ja1VLJfcxr7chi0s8q30pVBb66tGydjIBac3B+RQyqgmZQW1frbRrhC/kPFQ6wPWOJdQ=" - sudo python2 -m pip install setuptools-rust
- secure: "T97NUPnxCpVZ/c5HH0zfo0FO3DPSRMSmze58ubW5EUTZOjAMtEt+OFdsrNZvUTCugUj2M1agtonZbAbczpaAL+lgZcHDgXgWMkfO0pMnsWX1yyCNqMuE/iTMpJr/xsLQeyWlftWjJLsseQU45abZsd1XVmda/G+ZhrDLF1y55SA=" - sudo python2 -m pip install pyOpenSSL
- sudo python2 -m pip install pyjavaproperties
- sudo python2 -m pip install github3.py
- sudo python2 -m pip install cpp-coveralls
- sudo python2 -m pip install certifi
before_script:
- export REQUESTS_CA_BUNDLE=/usr/local/lib/python2.7/dist-packages/certifi/cacert.pem
script: "tools/travis-script.sh" script: "tools/travis-script.sh"
after_success: after_success:
- coveralls -b . -e JGE/src -e JGE/include -i projects/mtg/include -i projects/mtg/src --gcov-options '\-lp' - coveralls -b . -e JGE/src -e JGE/include -i projects/mtg/include -i projects/mtg/src --gcov-options '\-lp'
- python tools/upload-binaries.py -t $GH_TOKEN -s $TRAVIS_COMMIT -l core.zip -r Wagic-core.zip -b $TRAVIS_BRANCH - export VERSION=$(grep "=" projects/mtg/build.number.properties | sed 's/.*=//' | tr -d '\n\t\r ')
- python tools/upload-binaries.py -t $GH_TOKEN -s $TRAVIS_COMMIT -l projects/mtg/Android/bin/Wagic-debug.apk -r Wagic-android.apk -b $TRAVIS_BRANCH - python2 tools/upload-binaries.py -t $GH_TOKEN2 -s $TRAVIS_COMMIT -l core.zip -r Wagic-core-$VERSION.zip -b $TRAVIS_BRANCH
- python tools/upload-binaries.py -t $GH_TOKEN -s $TRAVIS_COMMIT -l projects/mtg/psprelease.zip -r Wagic-psp.zip -b $TRAVIS_BRANCH - python2 tools/upload-binaries.py -t $GH_TOKEN2 -s $TRAVIS_COMMIT -l projects/mtg/Android/bin/Wagic-debug.apk -r Wagic-$VERSION.apk -b $TRAVIS_BRANCH
- python2 tools/upload-binaries.py -t $GH_TOKEN2 -s $TRAVIS_COMMIT -l projects/mtg/psprelease.zip -r WagicPSP-$VERSION.zip -b $TRAVIS_BRANCH
- python2 tools/upload-binaries.py -t $GH_TOKEN2 -s $TRAVIS_COMMIT -l qt-gui-build/linuxqtrelease.zip -r WagicLinux-$VERSION.zip -b $TRAVIS_BRANCH
- python2 tools/upload-binaries.py -t $GH_TOKEN2 -s $TRAVIS_COMMIT -l projects/mtg/CardImageLinks.csv -r CardImageLinks.csv -b $TRAVIS_BRANCH
+2 -2
View File
@@ -20,7 +20,7 @@ namespace boost {
enum xtime_clock_types enum xtime_clock_types
{ {
TIME_UTC=1 TIME_UTC_=1
// TIME_TAI, // TIME_TAI,
// TIME_MONOTONIC, // TIME_MONOTONIC,
// TIME_PROCESS, // TIME_PROCESS,
@@ -68,7 +68,7 @@ inline xtime get_xtime(boost::system_time const& abs_time)
inline int xtime_get(struct xtime* xtp, int clock_type) inline int xtime_get(struct xtime* xtp, int clock_type)
{ {
if (clock_type == TIME_UTC) if (clock_type == TIME_UTC_)
{ {
*xtp=get_xtime(get_system_time()); *xtp=get_xtime(get_system_time());
return clock_type; return clock_type;
+2 -2
View File
@@ -350,7 +350,7 @@ namespace boost
cond.timed_wait(lock, xt); cond.timed_wait(lock, xt);
# endif # endif
xtime cur; xtime cur;
xtime_get(&cur, TIME_UTC); xtime_get(&cur, TIME_UTC_);
if (xtime_cmp(xt, cur) <= 0) if (xtime_cmp(xt, cur) <= 0)
return; return;
} }
@@ -365,7 +365,7 @@ namespace boost
BOOST_VERIFY(!pthread_yield()); BOOST_VERIFY(!pthread_yield());
# else # else
xtime xt; xtime xt;
xtime_get(&xt, TIME_UTC); xtime_get(&xt, TIME_UTC_);
sleep(xt); sleep(xt);
# endif # endif
} }
+8 -8
View File
@@ -20,8 +20,8 @@ const int NANOSECONDS_PER_MICROSECOND = 1000;
inline void to_time(int milliseconds, boost::xtime& xt) inline void to_time(int milliseconds, boost::xtime& xt)
{ {
int res = 0; int res = 0;
res = boost::xtime_get(&xt, boost::TIME_UTC); res = boost::xtime_get(&xt, boost::TIME_UTC_);
BOOST_ASSERT(res == boost::TIME_UTC); BOOST_ASSERT(res == boost::TIME_UTC_);
xt.sec += (milliseconds / MILLISECONDS_PER_SECOND); xt.sec += (milliseconds / MILLISECONDS_PER_SECOND);
xt.nsec += ((milliseconds % MILLISECONDS_PER_SECOND) * xt.nsec += ((milliseconds % MILLISECONDS_PER_SECOND) *
@@ -57,8 +57,8 @@ inline void to_timespec_duration(const boost::xtime& xt, timespec& ts)
{ {
boost::xtime cur; boost::xtime cur;
int res = 0; int res = 0;
res = boost::xtime_get(&cur, boost::TIME_UTC); res = boost::xtime_get(&cur, boost::TIME_UTC_);
BOOST_ASSERT(res == boost::TIME_UTC); BOOST_ASSERT(res == boost::TIME_UTC_);
if (boost::xtime_cmp(xt, cur) <= 0) if (boost::xtime_cmp(xt, cur) <= 0)
{ {
@@ -88,8 +88,8 @@ inline void to_duration(boost::xtime xt, int& milliseconds)
{ {
boost::xtime cur; boost::xtime cur;
int res = 0; int res = 0;
res = boost::xtime_get(&cur, boost::TIME_UTC); res = boost::xtime_get(&cur, boost::TIME_UTC_);
BOOST_ASSERT(res == boost::TIME_UTC); BOOST_ASSERT(res == boost::TIME_UTC_);
if (boost::xtime_cmp(xt, cur) <= 0) if (boost::xtime_cmp(xt, cur) <= 0)
milliseconds = 0; milliseconds = 0;
@@ -110,8 +110,8 @@ inline void to_microduration(boost::xtime xt, int& microseconds)
{ {
boost::xtime cur; boost::xtime cur;
int res = 0; int res = 0;
res = boost::xtime_get(&cur, boost::TIME_UTC); res = boost::xtime_get(&cur, boost::TIME_UTC_);
BOOST_ASSERT(res == boost::TIME_UTC); BOOST_ASSERT(res == boost::TIME_UTC_);
if (boost::xtime_cmp(xt, cur) <= 0) if (boost::xtime_cmp(xt, cur) <= 0)
microseconds = 0; microseconds = 0;
+1579 -1
View File
File diff suppressed because it is too large Load Diff
@@ -77,6 +77,13 @@ SDL_AtomicTryLock(SDL_SpinLock *lock)
: "=&r" (result) : "r" (1), "r" (lock) : "cc", "memory"); : "=&r" (result) : "r" (1), "r" (lock) : "cc", "memory");
return (result == 0); return (result == 0);
#elif defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
int result;
__asm__ __volatile__(
"lock ; xchgl %0, (%1)\n"
: "=r" (result) : "r" (lock), "0" (1) : "cc", "memory");
return (result == 0);
#else #else
/* Need CPU instructions for spinlock here! */ /* Need CPU instructions for spinlock here! */
__need_spinlock_implementation__ __need_spinlock_implementation__
+1 -1
View File
@@ -474,7 +474,7 @@
#ifndef PNG_VERSION_INFO_ONLY #ifndef PNG_VERSION_INFO_ONLY
/* include the compression library's header */ /* include the compression library's header */
#include "zlib.h" #include "../include/zlib.h"
#endif #endif
/* include all user configurable info, including optional assembler routines */ /* include all user configurable info, including optional assembler routines */
+3 -2
View File
@@ -32,6 +32,7 @@ HGE_OBJS = src/hge/hgecolor.o src/hge/hgeparticle.o \
CXXFLAGS = -W -Wall -Werror -Wno-unused CXXFLAGS = -W -Wall -Werror -Wno-unused
CXXFLAGS += -DTIXML_USE_STL CXXFLAGS += -DTIXML_USE_STL
CXXFLAGS += -Wno-deprecated-declarations -Wno-sign-compare
ifdef DEBUG ifdef DEBUG
CXXFLAGS += -ggdb3 CXXFLAGS += -ggdb3
@@ -82,8 +83,8 @@ ifeq ($(TARGET_ARCHITECTURE),linux)
OBJS = $(GENERIC_OBJS) $(LINUX_OBJS) OBJS = $(GENERIC_OBJS) $(LINUX_OBJS)
TARGET_LIB = libjge.a TARGET_LIB = libjge.a
TARGET_HGE = libhgetools.a TARGET_HGE = libhgetools.a
INCDIR = $(shell freetype-config --cflags 2> /dev/null) -I/usr/X11/include -I../Boost -Isrc/zipFS -Iinclude/ INCDIR = $(shell freetype-config --cflags 2> /dev/null) -I/usr/X11/include -I/usr/include/boost -Isrc/zipFS -Iinclude/
CXXFLAGS += -DLINUX $(FMOD) CXXFLAGS += -DLINUX -DNETWORK_SUPPORT $(FMOD)
CXXFLAGS += $(INCDIR) CXXFLAGS += $(INCDIR)
LIBDIR = lib/linux LIBDIR = lib/linux
endif endif
+11 -11
View File
@@ -18,9 +18,9 @@ using namespace std;
template <class T> template <class T>
std::string ToHex(T* pointer) std::string ToHex(T* pointer)
{ {
std::ostringstream stream; std::ostringstream stream;
stream << hex << showbase << setfill('0') << setw(8) << (uint64_t) pointer; stream << hex << showbase << setfill('0') << setw(8) << (uint64_t) pointer;
return stream.str(); return stream.str();
} }
#ifdef LINUX #ifdef LINUX
@@ -42,9 +42,9 @@ std::string ToHex(T* pointer)
#else // CAPTURE_STDERR #else // CAPTURE_STDERR
#define DebugTrace(inString) \ #define DebugTrace(inString) \
{ \ { \
std::ostringstream stream; \ std::ostringstream stream; \
stream << inString; \ stream << inString; \
qDebug("%s", stream.str().c_str()); \ qDebug("%s", stream.str().c_str()); \
} }
#endif // CAPTURE_STDERR #endif // CAPTURE_STDERR
@@ -52,16 +52,16 @@ std::string ToHex(T* pointer)
#include <android/log.h> #include <android/log.h>
#define DebugTrace(inString) \ #define DebugTrace(inString) \
{ \ { \
std::ostringstream stream; \ std::ostringstream stream; \
stream << inString; \ stream << inString; \
__android_log_write(ANDROID_LOG_DEBUG, "Wagic", stream.str().c_str());\ __android_log_write(ANDROID_LOG_DEBUG, "Wagic", stream.str().c_str());\
} }
#else #else
#define DebugTrace(inString) \ #define DebugTrace(inString) \
{ \ { \
std::ostringstream stream; \ std::ostringstream stream; \
stream << inString << std::endl; \ stream << inString << std::endl; \
OutputDebugStringA(stream.str().c_str()); \ OutputDebugStringA(stream.str().c_str()); \
} }
#endif // QT_CONFIG #endif // QT_CONFIG
#endif // Win32, Linux #endif // Win32, Linux
@@ -71,7 +71,7 @@ std::string ToHex(T* pointer)
#ifndef DebugTrace #ifndef DebugTrace
#define DebugTrace(inString) \ #define DebugTrace(inString) \
{ \ { \
std::cerr << inString << std::endl; \ std::cerr << inString << std::endl; \
} }
#endif //DEBUG #endif //DEBUG
#endif #endif
+1
View File
@@ -394,6 +394,7 @@ class JGE
void SetJNIEnv(JNIEnv * env, jclass cls); void SetJNIEnv(JNIEnv * env, jclass cls);
void sendJNICommand(std::string command); void sendJNICommand(std::string command);
std::string getFileSystemLocation(); std::string getFileSystemLocation();
std::string getFileUserFolderPath();
#endif #endif
protected: protected:
+1
View File
@@ -30,6 +30,7 @@ const int kInfoMenuID = -200;
const int kRandomPlayerMenuID = -11; const int kRandomPlayerMenuID = -11;
const int kRandomAIPlayerMenuID = -12; const int kRandomAIPlayerMenuID = -12;
const int kEvilTwinMenuID = -14; const int kEvilTwinMenuID = -14;
const int kCommanderMenuID = -33;
class JGuiListener class JGuiListener
{ {
Binary file not shown.
Binary file not shown.
+13 -6
View File
@@ -16,9 +16,14 @@ User folder is the only one that is really needed to guarantee both read and wri
The content that users should not be touching. The content that users should not be touching.
*/ */
#ifndef PSP #if defined (ANDROID)
#include "PrecompiledHeader.h" #include "PrecompiledHeader.h"
#endif //PSP #endif //ANDROID
#if defined (LINUX)
#include "../../projects/mtg/include/PrecompiledHeader.h"
#endif //LINUX
#ifdef WIN32 #ifdef WIN32
#pragma warning(disable : 4786) #pragma warning(disable : 4786)
@@ -126,10 +131,11 @@ JFileSystem::JFileSystem(const string & _userPath, const string & _systemPath)
systemPath = [[documentsDirectory stringByAppendingString: @"/Res/"] cStringUsingEncoding:1]; systemPath = [[documentsDirectory stringByAppendingString: @"/Res/"] cStringUsingEncoding:1];
#elif defined (ANDROID) #elif defined (ANDROID)
userPath = JGE::GetInstance()->getFileSystemLocation(); userPath = JGE::GetInstance()->getFileUserFolderPath();
systemPath = ""; systemPath = JGE::GetInstance()->getFileSystemLocation();
DebugTrace("User path " << userPath); DebugTrace("User path " << userPath);
DebugTrace("System path " << systemPath);
#elif defined (QT_CONFIG) #elif defined (QT_CONFIG)
QDir sysDir(RESDIR); QDir sysDir(RESDIR);
@@ -254,6 +260,7 @@ void JFileSystem::clearZipCache()
bool JFileSystem::AttachZipFile(const string &zipfile, char *password /* = NULL */) bool JFileSystem::AttachZipFile(const string &zipfile, char *password /* = NULL */)
{ {
#ifndef WIN32
if (mZipAvailable && mZipFile.is_open()) if (mZipAvailable && mZipFile.is_open())
{ {
if (mZipFileName != zipfile) if (mZipFileName != zipfile)
@@ -261,7 +268,7 @@ bool JFileSystem::AttachZipFile(const string &zipfile, char *password /* = NULL
else else
return true; return true;
} }
#endif
mZipFileName = zipfile; mZipFileName = zipfile;
mPassword = password; mPassword = password;
+34 -3
View File
@@ -249,6 +249,7 @@ u32 JGE::BindKey(LocalKeySym sym, JButton button)
u32 JGE::UnbindKey(LocalKeySym sym, JButton button) u32 JGE::UnbindKey(LocalKeySym sym, JButton button)
{ {
for (keycodes_it it = keyBinds.begin(); it != keyBinds.end(); ) for (keycodes_it it = keyBinds.begin(); it != keyBinds.end(); )
{
if (sym == it->first && button == it->second) if (sym == it->first && button == it->second)
{ {
keycodes_it er = it; keycodes_it er = it;
@@ -256,7 +257,8 @@ u32 JGE::UnbindKey(LocalKeySym sym, JButton button)
keyBinds.erase(er); keyBinds.erase(er);
} }
else ++it; else ++it;
return keyBinds.size(); }
return keyBinds.size();
} }
u32 JGE::UnbindKey(LocalKeySym sym) u32 JGE::UnbindKey(LocalKeySym sym)
@@ -666,7 +668,7 @@ string JGE::getFileSystemLocation()
if (env == NULL) if (env == NULL)
{ {
DebugTrace("An Error Occurred in getting the JNI Environment whie trying to get the system folder location. Defaulting to /mnt/sdcard/net.wagic.app/Wagic"); DebugTrace("An Error Occurred in getting the JNI Environment whie trying to get the system folder location. Defaulting to /mnt/sdcard/net.wagic.app/Wagic");
return "/mnt/sdcard/Wagic"; return "/mnt/sdcard/Wagic/Res";
}; };
jclass jniClass = env->FindClass("org/libsdl/app/SDLActivity"); jclass jniClass = env->FindClass("org/libsdl/app/SDLActivity");
@@ -675,7 +677,36 @@ string JGE::getFileSystemLocation()
if (methodId == 0) if (methodId == 0)
{ {
DebugTrace("An Error Occurred in getting the JNI methodID for getSystemFolderPath. Defaulting to /mnt/sdcard/Wagic"); DebugTrace("An Error Occurred in getting the JNI methodID for getSystemFolderPath. Defaulting to /mnt/sdcard/Wagic");
return "/mnt/sdcard/Wagic"; return "/mnt/sdcard/Wagic/Res";
};
jstring systemPath = (jstring) env->CallStaticObjectMethod(jniClass, methodId);
// Now convert the Java String to C++ char array
const char* cstr = env->GetStringUTFChars(systemPath, 0);
string retVal (cstr);
env->ReleaseStringUTFChars(systemPath, cstr);
env->DeleteLocalRef(systemPath);
return retVal;
}
string JGE::getFileUserFolderPath()
{
JNIEnv * env = getJNIEnv();
if (env == NULL)
{
DebugTrace("An Error Occurred in getting the JNI Environment whie trying to get the system folder location. Defaulting to /mnt/sdcard/net.wagic.app/Wagic");
return "/mnt/sdcard/Wagic/User";
};
jclass jniClass = env->FindClass("org/libsdl/app/SDLActivity");
jmethodID methodId = env->GetStaticMethodID( jniClass, "getUserFolderPath", "()Ljava/lang/String;");
if (methodId == 0)
{
DebugTrace("An Error Occurred in getting the JNI methodID for getSystemFolderPath. Defaulting to /mnt/sdcard/Wagic");
return "/mnt/sdcard/Wagic/User";
}; };
jstring systemPath = (jstring) env->CallStaticObjectMethod(jniClass, methodId); jstring systemPath = (jstring) env->CallStaticObjectMethod(jniClass, methodId);
+1 -1
View File
@@ -197,7 +197,7 @@ bool JGuiController::CheckUserInput(JButton key)
mObjects[mCurr]->Entering(); mObjects[mCurr]->Entering();
} }
mEngine->LeftClickedProcessed(); mEngine->LeftClickedProcessed();
mEngine->ResetInput(); mEngine->ResetInput();
return true; return true;
} }
mEngine->LeftClickedProcessed(); mEngine->LeftClickedProcessed();
-2
View File
@@ -87,8 +87,6 @@ WagicWrapper::~WagicWrapper()
int main(int argc, char* argv[]) int main(int argc, char* argv[])
{ {
QCoreApplication a(argc, argv);
int result = 0; int result = 0;
WagicWrapper* wagicCore = new WagicWrapper(); WagicWrapper* wagicCore = new WagicWrapper();
MTGCollection()->loadFolder("sets/primitives/"); MTGCollection()->loadFolder("sets/primitives/");
+21 -5
View File
@@ -18,6 +18,11 @@
#include <stdexcept> #include <stdexcept>
#include <iostream> #include <iostream>
#include <math.h> #include <math.h>
#ifndef WIN32
#include <unistd.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#if (defined FORCE_GLES) #if (defined FORCE_GLES)
#undef GL_ES_VERSION_2_0 #undef GL_ES_VERSION_2_0
@@ -53,6 +58,7 @@ JGameLauncher* g_launcher = NULL;
#ifdef ANDROID #ifdef ANDROID
JNIEnv * mJNIEnv = NULL; JNIEnv * mJNIEnv = NULL;
jclass * mJNIClass = NULL; jclass * mJNIClass = NULL;
int SDL_ResumeSyncTime = 0;
#endif #endif
class SdlApp; class SdlApp;
@@ -78,6 +84,7 @@ extern "C" void Java_org_libsdl_app_SDLActivity_nativeResume(
{ {
if (!g_engine) if (!g_engine)
return; return;
SDL_ResumeSyncTime = 100000;
g_engine->Resume(); g_engine->Resume();
} }
@@ -136,8 +143,16 @@ public:
if(!g_engine->IsPaused()) if(!g_engine->IsPaused())
OnEvent(&Event); OnEvent(&Event);
} }
if(!g_engine->IsPaused()) if(!g_engine->IsPaused()){
#ifdef ANDROID
// Fix for SDL crash on resuming Android app from background.
if(SDL_ResumeSyncTime){
usleep(SDL_ResumeSyncTime);
SDL_ResumeSyncTime = 0;
}
#endif
OnUpdate(); OnUpdate();
}
} }
} }
@@ -293,17 +308,18 @@ static const struct { LocalKeySym keysym; JButton keycode; } gDefaultBindings[]
{ SDLK_DOWN, JGE_BTN_DOWN }, { SDLK_DOWN, JGE_BTN_DOWN },
{ SDLK_LEFT, JGE_BTN_LEFT }, { SDLK_LEFT, JGE_BTN_LEFT },
{ SDLK_RIGHT, JGE_BTN_RIGHT }, { SDLK_RIGHT, JGE_BTN_RIGHT },
{ SDLK_z, JGE_BTN_UP }, { SDLK_w, JGE_BTN_UP },
{ SDLK_d, JGE_BTN_RIGHT },
{ SDLK_s, JGE_BTN_DOWN }, { SDLK_s, JGE_BTN_DOWN },
{ SDLK_q, JGE_BTN_LEFT }, { SDLK_a, JGE_BTN_LEFT },
{ SDLK_a, JGE_BTN_PREV }, { SDLK_d, JGE_BTN_RIGHT },
{ SDLK_q, JGE_BTN_PREV },
{ SDLK_e, JGE_BTN_NEXT }, { SDLK_e, JGE_BTN_NEXT },
{ SDLK_i, JGE_BTN_CANCEL }, { SDLK_i, JGE_BTN_CANCEL },
{ SDLK_l, JGE_BTN_OK }, { SDLK_l, JGE_BTN_OK },
{ SDLK_SPACE, JGE_BTN_OK }, { SDLK_SPACE, JGE_BTN_OK },
{ SDLK_k, JGE_BTN_SEC }, { SDLK_k, JGE_BTN_SEC },
{ SDLK_j, JGE_BTN_PRI }, { SDLK_j, JGE_BTN_PRI },
{ SDLK_b, JGE_BTN_SOUND },
{ SDLK_f, JGE_BTN_FULLSCREEN }, { SDLK_f, JGE_BTN_FULLSCREEN },
/* old Qt ones, basically modified to comply with the N900 keyboard /* old Qt ones, basically modified to comply with the N900 keyboard
+4 -4
View File
@@ -185,9 +185,9 @@ static const int doubleBufferAttributes[] = {
GLX_RED_SIZE, 1, /* the maximum number of bits per component */ GLX_RED_SIZE, 1, /* the maximum number of bits per component */
GLX_GREEN_SIZE, 1, GLX_GREEN_SIZE, 1,
GLX_BLUE_SIZE, 1, GLX_BLUE_SIZE, 1,
None 0L /* None */
}; };
static Bool WaitForNotify(Display *dpy, XEvent *event, XPointer arg) static int WaitForNotify(Display *dpy, XEvent *event, XPointer arg)
{ {
return (event->type == MapNotify) && (event->xmap.window == (Window) arg); return (event->type == MapNotify) && (event->xmap.window == (Window) arg);
} }
@@ -387,13 +387,13 @@ int main(int argc, char* argv[])
if (XCheckWindowEvent(gXDisplay, gXWindow, KeyPressMask | KeyReleaseMask | StructureNotifyMask, &event)) if (XCheckWindowEvent(gXDisplay, gXWindow, KeyPressMask | KeyReleaseMask | StructureNotifyMask, &event))
switch (event.type) switch (event.type)
{ {
case KeyPress: case 2: /* KeyPress */
{ {
const KeySym sym = XKeycodeToKeysym(gXDisplay, event.xkey.keycode, 1); const KeySym sym = XKeycodeToKeysym(gXDisplay, event.xkey.keycode, 1);
g_engine->HoldKey_NoRepeat(sym); g_engine->HoldKey_NoRepeat(sym);
} }
break; break;
case KeyRelease: case 3: /* KeyRelease */
g_engine->ReleaseKey(XKeycodeToKeysym(gXDisplay, event.xkey.keycode, 1)); g_engine->ReleaseKey(XKeycodeToKeysym(gXDisplay, event.xkey.keycode, 1));
break; break;
case ConfigureNotify: case ConfigureNotify:
+12
View File
@@ -185,6 +185,12 @@ JMusic *JSoundSystem::LoadMusic(const char *fileName)
result = (*engineEngine)->CreateAudioPlayer(engineEngine, &music->playerObject, &audioSrc, &audioSnk, 2, ids, req); result = (*engineEngine)->CreateAudioPlayer(engineEngine, &music->playerObject, &audioSrc, &audioSnk, 2, ids, req);
DebugTrace("result " << result); DebugTrace("result " << result);
if(result == SL_RESULT_MEMORY_FAILURE){
delete music;
mCurrentMusic = NULL;
return NULL;
}
// realize the player // realize the player
result = (*music->playerObject)->Realize(music->playerObject, SL_BOOLEAN_FALSE); result = (*music->playerObject)->Realize(music->playerObject, SL_BOOLEAN_FALSE);
DebugTrace("result " << result); DebugTrace("result " << result);
@@ -303,6 +309,12 @@ JSample *JSoundSystem::LoadSample(const char *fileName)
1, ids, req); 1, ids, req);
DebugTrace("result " << result); DebugTrace("result " << result);
if(result == SL_RESULT_MEMORY_FAILURE){
delete sample;
mCurrentSample = NULL;
return NULL;
}
// realize the player // realize the player
result = (*sample->playerObject)->Realize(sample->playerObject, SL_BOOLEAN_FALSE); result = (*sample->playerObject)->Realize(sample->playerObject, SL_BOOLEAN_FALSE);
DebugTrace("result " << result); DebugTrace("result " << result);
+2 -1
View File
@@ -96,7 +96,8 @@ hgeParticleSystem::hgeParticleSystem(hgeParticleSystemInfo *psi)
{ {
//hge=hgeCreate(HGE_VERSION); //hge=hgeCreate(HGE_VERSION);
memcpy(&info, psi, sizeof(hgeParticleSystemInfo)); if (psi)
memcpy(&info, psi, sizeof(hgeParticleSystemInfo));
vecLocation.x=vecPrevLocation.x=0.0f; vecLocation.x=vecPrevLocation.x=0.0f;
vecLocation.y=vecPrevLocation.y=0.0f; vecLocation.y=vecPrevLocation.y=0.0f;
+53 -6
View File
@@ -1804,7 +1804,7 @@ static void PNGCustomReadDataFn(png_structp png_ptr, png_bytep data, png_size_t
{ {
png_size_t check; png_size_t check;
JFileSystem *fileSystem = (JFileSystem*)png_ptr->io_ptr; JFileSystem *fileSystem = (JFileSystem*)png_get_io_ptr(png_ptr);
check = fileSystem->ReadFile(data, length); check = fileSystem->ReadFile(data, length);
@@ -1887,7 +1887,7 @@ int JRenderer::LoadPNG(TextureInfo &textureInfo, const char *filename, int mode
//fclose(fp); //fclose(fp);
fileSystem->CloseFile(); fileSystem->CloseFile();
png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL); png_destroy_read_struct(&png_ptr, NULL, NULL);
return JGE_ERR_PNG; return JGE_ERR_PNG;
} }
@@ -1896,11 +1896,15 @@ int JRenderer::LoadPNG(TextureInfo &textureInfo, const char *filename, int mode
png_set_sig_bytes(png_ptr, sig_read); png_set_sig_bytes(png_ptr, sig_read);
png_read_info(png_ptr, info_ptr); png_read_info(png_ptr, info_ptr);
png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, int_p_NULL, int_p_NULL); png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, NULL, NULL);
png_set_strip_16(png_ptr); png_set_strip_16(png_ptr);
png_set_packing(png_ptr); png_set_packing(png_ptr);
if (color_type == PNG_COLOR_TYPE_PALETTE) png_set_palette_to_rgb(png_ptr); if (color_type == PNG_COLOR_TYPE_PALETTE) png_set_palette_to_rgb(png_ptr);
#if PNG_LIBPNG_VER >= 10400
if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) png_set_expand_gray_1_2_4_to_8(png_ptr);
#else
if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) png_set_gray_1_2_4_to_8(png_ptr); if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) png_set_gray_1_2_4_to_8(png_ptr);
#endif
if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) png_set_tRNS_to_alpha(png_ptr); if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) png_set_tRNS_to_alpha(png_ptr);
png_set_filler(png_ptr, 0xff, PNG_FILLER_AFTER); png_set_filler(png_ptr, 0xff, PNG_FILLER_AFTER);
@@ -1910,7 +1914,7 @@ int JRenderer::LoadPNG(TextureInfo &textureInfo, const char *filename, int mode
//fclose(fp); //fclose(fp);
fileSystem->CloseFile(); fileSystem->CloseFile();
png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL); png_destroy_read_struct(&png_ptr, NULL, NULL);
return JGE_ERR_MALLOC_FAILED; return JGE_ERR_MALLOC_FAILED;
} }
@@ -1932,7 +1936,7 @@ int JRenderer::LoadPNG(TextureInfo &textureInfo, const char *filename, int mode
for (y = 0; y < (int)height; y++) for (y = 0; y < (int)height; y++)
{ {
png_read_row(png_ptr, (BYTE*) line, png_bytep_NULL); png_read_row(png_ptr, (BYTE*) line, NULL);
for (x = 0; x < (int)width; x++) for (x = 0; x < (int)width; x++)
{ {
DWORD color32 = line[x]; DWORD color32 = line[x];
@@ -1955,7 +1959,7 @@ int JRenderer::LoadPNG(TextureInfo &textureInfo, const char *filename, int mode
free (line); free (line);
png_read_end(png_ptr, info_ptr); png_read_end(png_ptr, info_ptr);
png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
fileSystem->CloseFile(); fileSystem->CloseFile();
@@ -1998,8 +2002,15 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
GifFileType *GifFileIn = NULL; GifFileType *GifFileIn = NULL;
ColorMapObject *palette; ColorMapObject *palette;
int ExtCode; int ExtCode;
#if GIFLIB_MAJOR >= 5
if ((GifFileIn = DGifOpen(handle, readFunc, NULL)) == NULL)
return 1;
#else
if ((GifFileIn = DGifOpen(handle, readFunc)) == NULL) if ((GifFileIn = DGifOpen(handle, readFunc)) == NULL)
return 1; return 1;
#endif
*bgcolor = 0; *bgcolor = 0;
textureInfo.mWidth = 0; textureInfo.mWidth = 0;
textureInfo.mHeight = 0; textureInfo.mHeight = 0;
@@ -2008,7 +2019,11 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
do { do {
if (DGifGetRecordType(GifFileIn, &RecordType) == GIF_ERROR) if (DGifGetRecordType(GifFileIn, &RecordType) == GIF_ERROR)
{ {
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn); DGifCloseFile(GifFileIn);
#endif
return 1; return 1;
} }
@@ -2017,12 +2032,20 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
{ {
if (DGifGetImageDesc(GifFileIn) == GIF_ERROR) if (DGifGetImageDesc(GifFileIn) == GIF_ERROR)
{ {
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn); DGifCloseFile(GifFileIn);
#endif
return 1; return 1;
} }
if((palette = (GifFileIn->SColorMap != NULL) ? GifFileIn->SColorMap : GifFileIn->Image.ColorMap) == NULL) if((palette = (GifFileIn->SColorMap != NULL) ? GifFileIn->SColorMap : GifFileIn->Image.ColorMap) == NULL)
{ {
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn); DGifCloseFile(GifFileIn);
#endif
return 1; return 1;
} }
textureInfo.mWidth = GifFileIn->Image.Width; textureInfo.mWidth = GifFileIn->Image.Width;
@@ -2030,7 +2053,11 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
*bgcolor = gif_color32(GifFileIn->SBackGroundColor); *bgcolor = gif_color32(GifFileIn->SBackGroundColor);
if((LineIn = (GifRowType) malloc(GifFileIn->Image.Width * sizeof(GifPixelType))) == NULL) if((LineIn = (GifRowType) malloc(GifFileIn->Image.Width * sizeof(GifPixelType))) == NULL)
{ {
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn); DGifCloseFile(GifFileIn);
#endif
return 1; return 1;
} }
textureInfo.mTexWidth = getNextPower2(GifFileIn->Image.Width); textureInfo.mTexWidth = getNextPower2(GifFileIn->Image.Width);
@@ -2040,7 +2067,11 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
if((p32 = (DWORD *)malloc(sizeof(PIXEL_TYPE) * textureInfo.mTexWidth * textureInfo.mTexHeight)) == NULL) if((p32 = (DWORD *)malloc(sizeof(PIXEL_TYPE) * textureInfo.mTexWidth * textureInfo.mTexHeight)) == NULL)
{ {
free((void *)LineIn); free((void *)LineIn);
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn); DGifCloseFile(GifFileIn);
#endif
return 1; return 1;
} }
DWORD * curr = p32; DWORD * curr = p32;
@@ -2052,7 +2083,11 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
{ {
free((void *)p32); free((void *)p32);
free((void *)LineIn); free((void *)LineIn);
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn); DGifCloseFile(GifFileIn);
#endif
return 1; return 1;
} }
for (GifWord j = 0; j < GifFileIn->Image.Width; j ++) for (GifWord j = 0; j < GifFileIn->Image.Width; j ++)
@@ -2081,7 +2116,11 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
} }
if(LineIn != NULL) if(LineIn != NULL)
free((void *)LineIn); free((void *)LineIn);
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn); DGifCloseFile(GifFileIn);
#endif
return 1; return 1;
} }
while (Extension != NULL) { while (Extension != NULL) {
@@ -2094,7 +2133,11 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
} }
if(LineIn != NULL) if(LineIn != NULL)
free((void *)LineIn); free((void *)LineIn);
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn); DGifCloseFile(GifFileIn);
#endif
return 1; return 1;
} }
} }
@@ -2109,7 +2152,11 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
if(LineIn != NULL) if(LineIn != NULL)
free((void *)LineIn); free((void *)LineIn);
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn); DGifCloseFile(GifFileIn);
#endif
return 0; return 0;
} }
+3 -1
View File
@@ -48,7 +48,9 @@ JSocket::JSocket(string ipAddr)
#ifdef WIN32 #ifdef WIN32
unsigned int addr_dest = inet_addr(ipAddr.c_str()); unsigned int addr_dest = inet_addr(ipAddr.c_str());
hostentptr=gethostbyaddr((char*) &addr_dest, 4, AF_INET); hostentptr = gethostbyaddr((char*) &addr_dest, 4, AF_INET);
if (hostentptr == NULL)
hostentptr = gethostbyname(ipAddr.c_str()); // Fix for Windows if IP Address cannot be resolved.
#elif LINUX #elif LINUX
hostentptr = gethostbyname(ipAddr.c_str()); hostentptr = gethostbyname(ipAddr.c_str());
#endif #endif
+2 -2
View File
@@ -631,8 +631,8 @@ streamoff filesystem::CentralDirZipped(std::istream & File, std::streamoff begin
std::streamoff eof = begin + size; std::streamoff eof = begin + size;
// Look for the "end of central dir" header. Start minimum 22 bytes before end. // Look for the "end of central dir" header. Start minimum 22 bytes before end.
if (! File.seekg(eof - 22, ios::beg)) if (! File.seekg(eof - 22, ios::beg))
return -1; return -1;
streamoff EndPos; streamoff EndPos;
streamoff StartPos = File.tellg(); streamoff StartPos = File.tellg();
+2 -2
View File
@@ -258,8 +258,8 @@ inline void izfstream::open(const char * FilePath, filesystem * pFS) {
if (pFS) if (pFS)
m_pFS = pFS; m_pFS = pFS;
if (m_pFS != NULL) if (m_pFS != NULL)
m_pFS->Open(* this, FilePath); m_pFS->Open(* this, FilePath);
} }
inline void izfstream::close() { inline void izfstream::close() {
+2 -2
View File
@@ -76,8 +76,8 @@ bool zbuffer::use(std::streamoff Offset, std::streamoff Size)
return false; return false;
//Don't use a buffer already used; //Don't use a buffer already used;
if (m_Used) if (m_Used)
return false; return false;
// adjust file position // adjust file position
if (! m_ZipFile.seekg(Offset, ios::beg)) if (! m_ZipFile.seekg(Offset, ios::beg))
+2 -2
View File
@@ -1,7 +1,7 @@
#Wagic the Homebrew #Wagic the Homebrew
[![Build Status](https://travis-ci.org/WagicProject/wagic.png?branch=master)](https://travis-ci.org/WagicProject/wagic) [![Build Status](https://travis-ci.org/WagicProject/wagic.png?branch=master)](https://travis-ci.com/WagicProject/wagic)
[![Build status](https://ci.appveyor.com/api/projects/status/7j4fbr6m62aqej59/branch/master)](https://ci.appveyor.com/project/xawotihs/wagic/branch/master) [![Build status](https://ci.appveyor.com/api/projects/status/7j4fbr6m62aqej59/branch/master)](https://ci.appveyor.com/project/xawotihs/wagic/branch/master)
[![Coverage Status](https://coveralls.io/repos/WagicProject/wagic/badge.png?branch=master)](https://coveralls.io/r/WagicProject/wagic?branch=master) [![Coverage Status](https://coveralls.io/repos/WagicProject/wagic/badge.png?branch=master)](https://coveralls.io/r/WagicProject/wagic?branch=master)
@@ -20,7 +20,7 @@ It is highly customizable and allows the player to tweak the rules / create thei
Info, downloads, discussions and more at http://wololo.net/forum/index.php Info, downloads, discussions and more at http://wololo.net/forum/index.php
-![alt text](http://wololo.net/wagic/wp-content/uploads/2009/10/shop.jpg "Screenshot") ![alt text](http://wololo.net/wagic/wp-content/uploads/2009/10/shop.jpg "Screenshot")
+2 -2
View File
@@ -22,8 +22,8 @@ environment:
# scripts that run after cloning repository # scripts that run after cloning repository
install: install:
- ps: (new-object net.webclient).DownloadFile('https://bootstrap.pypa.io/get-pip.py', 'C:/get-pip.py') - powershell -Command "& {(new-object net.webclient).DownloadFile('https://bootstrap.pypa.io/get-pip.py', 'C:/get-pip.py')}"
- "C:/Python27/python.exe C:/get-pip.py" - powershell -Command "& {C:/Python27/python.exe C:/get-pip.py}"
- "C:/Python27/Scripts/pip.exe install pyjavaproperties" - "C:/Python27/Scripts/pip.exe install pyjavaproperties"
- "C:/Python27/Scripts/pip.exe install github3.py" - "C:/Python27/Scripts/pip.exe install github3.py"
+1
View File
@@ -1,3 +1,4 @@
/gen /gen
/bin /bin
/libs
+25 -15
View File
@@ -1,18 +1,28 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?> <?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="0201" android:versionName="@string/app_version" package="net.wagic.app"> <manifest xmlns:android="http://schemas.android.com/apk/res/android"
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/> android:versionCode="0240"
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> android:installLocation="preferExternal"
<uses-permission android:name="android.permission.INTERNET"/> android:versionName="@string/app_version"
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> package="net.wagic.app">
<application android:debuggable="false" android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"> <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<activity android:configChanges="keyboard|keyboardHidden|orientation" android:label="@string/app_name" android:name="org.libsdl.app.SDLActivity" android:screenOrientation="sensorLandscape"> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<intent-filter> <uses-permission android:name="android.permission.INTERNET" />
<action android:name="android.intent.action.MAIN"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<category android:name="android.intent.category.LAUNCHER"/> <application android:icon="@drawable/icon"
</intent-filter> android:label="@string/app_name"
</activity> android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
<activity android:configChanges="keyboard|keyboardHidden|orientation" android:name="com.google.ads.AdActivity" android:screenOrientation="sensorLandscape"/> <activity android:debuggable="false"
</application> android:configChanges="keyboard|keyboardHidden|orientation"
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10"/> android:label="@string/app_name"
android:name="org.libsdl.app.SDLActivity"
android:screenOrientation="sensorLandscape">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-sdk android:minSdkVersion="10"
android:targetSdkVersion="29" />
</manifest> </manifest>
+1 -1
View File
@@ -8,4 +8,4 @@
# project structure. # project structure.
# Project target. # Project target.
target=android-10 target=android-23
+2 -1
View File
@@ -12,7 +12,7 @@ BOOST_PATH := $(MY_WAGIC_ROOT)/Boost
JPEG_PATH := $(JGE_PATH)/Dependencies/libjpeg JPEG_PATH := $(JGE_PATH)/Dependencies/libjpeg
PNG_PATH := $(JGE_PATH)/Dependencies/libpng PNG_PATH := $(JGE_PATH)/Dependencies/libpng
LOCAL_CFLAGS += -DLINUX -DANDROID -DSDL_CONFIG LOCAL_CFLAGS += -DLINUX -DANDROID -DSDL_CONFIG -DNETWORK_SUPPORT
LOCAL_CFLAGS += -D_STLP_USE_SIMPLE_NODE_ALLOC -DTIXML_USE_STL LOCAL_CFLAGS += -D_STLP_USE_SIMPLE_NODE_ALLOC -DTIXML_USE_STL
LOCAL_CFLAGS += -D__arm__ -D_REENTRANT -D_GLIBCXX__PTHREADS LOCAL_CFLAGS += -D__arm__ -D_REENTRANT -D_GLIBCXX__PTHREADS
LOCAL_STATIC_LIBRARIES := libpng libjpeg LOCAL_STATIC_LIBRARIES := libpng libjpeg
@@ -133,6 +133,7 @@ LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.cpp \
$(MTG_PATH)/src/WFilter.cpp \ $(MTG_PATH)/src/WFilter.cpp \
$(MTG_PATH)/src/WFont.cpp \ $(MTG_PATH)/src/WFont.cpp \
$(MTG_PATH)/src/WGui.cpp \ $(MTG_PATH)/src/WGui.cpp \
$(MTG_PATH)/src/WParsedInt.cpp \
$(MTG_PATH)/src/WResourceManager.cpp \ $(MTG_PATH)/src/WResourceManager.cpp \
$(MTG_PATH)/src/DeckView.cpp \ $(MTG_PATH)/src/DeckView.cpp \
$(MTG_PATH)/src/CarouselDeckView.cpp \ $(MTG_PATH)/src/CarouselDeckView.cpp \
+3 -2
View File
@@ -1,7 +1,8 @@
APP_PROJECT_PATH := $(call my-dir)/.. APP_PROJECT_PATH := $(call my-dir)/..
APP_CPPFLAGS += -frtti -fexceptions APP_CPPFLAGS += -frtti -fexceptions
APP_ABI := armeabi armeabi-v7a APP_ABI := armeabi-v7a
APP_STL := gnustl_static #APP_ABI := x86 # mainly for emulators
APP_STL := c++_static
APP_MODULES := libpng libjpeg main SDL APP_MODULES := libpng libjpeg main SDL
#APP_OPTIM is 'release' by default #APP_OPTIM is 'release' by default
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -11,4 +11,4 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target. # Project target.
target=android-10 target=android-23
Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

+1
View File
@@ -4,6 +4,7 @@
android:id="@+id/mainLayout" android:id="@+id/mainLayout"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:keepScreenOn="true"
> >
<TextView <TextView
android:layout_width="fill_parent" android:layout_width="fill_parent"
+2 -2
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<string name="app_name">Wagic</string> <string name="app_name">Wagic</string>
<string name="app_version">0.20.1</string> <string name="app_version">0.20.0</string>
<string name="info_text">Wagic v0.20.1\\nAll Rights Reserved.</string> <string name="info_text">All Rights Reserved.</string>
</resources> </resources>
@@ -11,14 +11,13 @@ import android.util.Log;
public class DeckImporter public class DeckImporter
{ {
public static String importDeck( File f, String mypath, String activePath ) public static String importDeck( File f, String mypath, String activePath )
{ {
String message = ""; String message = "";
String deck = ""; String deck = "";
String deckname = ""; String deckname = "";
String prefix = "#SB:"; String prefix = "";
int cardcount = 0; int cardcount = 0;
if(f.exists() && !f.isDirectory()) if(f.exists() && !f.isDirectory())
{ {
deckname = f.getName(); deckname = f.getName();
@@ -36,91 +35,90 @@ public class DeckImporter
while (scanner.hasNext()) while (scanner.hasNext())
{ {
String line = scanner.nextLine(); String line = scanner.nextLine();
line = line.trim(); line = line.trim();
if (!line.equals("") && cardcount < 61) // don't write out blank lines if (line.equals("")) {
{ line = scanner.nextLine();
String[] slines = line.split("\\s+"); prefix = "#SB:"; // Sideboard started from next card.
String arranged = ""; if (line.equals("")) {
for(int idx = 1; idx < slines.length; idx++) line = scanner.nextLine(); // Sometimes there are 2 blank lines from main deck and sideboard.
{ }
arranged += slines[idx] + " "; }
} if (!line.equals("")) // don't write out blank lines
if ((isNumeric(slines[0])) && arranged != null) {
{ String[] slines = line.split("\\s+");
if (slines[1] != null && slines[1].startsWith("[")) String arranged = "";
{ for (int idx = 1; idx < slines.length; idx++)
arranged = arranged.substring(5); {
slines[1] = slines[1].replaceAll("\\[", "").replaceAll("\\]",""); arranged += slines[idx] + " ";
deck += arranged + " (" + renameSet(slines[1]) + ") * " + slines[0] + "\n"; }
} if ((isNumeric(slines[0])) && arranged != null)
else {
{ if (slines[1] != null && slines[1].startsWith("["))
deck += arranged + "(*) * " + slines[0] + "\n"; {
} arranged = arranged.substring(5);
cardcount += Integer.parseInt(slines[0]); slines[1] = slines[1].replaceAll("\\[", "").replaceAll("\\]", "");
} deck += prefix + arranged + " (" + renameSet(slines[1]) + ") * " + slines[0] + "\n";
} } else
} {
File profile = new File(activePath+"/Res/settings/options.txt"); deck += prefix + arranged + "(*) * " + slines[0] + "\n";
if(profile.exists() && !profile.isDirectory()) }
{ cardcount += Integer.parseInt(slines[0]);
String profileName = getActiveProfile(profile); }
if(profileName != "Missing!") }
{ }
File rootProfiles = new File(activePath+"/Res/profiles/"+profileName); File profile = new File(activePath + "/User/settings/options.txt");
if(rootProfiles.exists() && rootProfiles.isDirectory()) String profileName = "Default";
{ if (profile.exists() && !profile.isDirectory())
//save deck profileName = getActiveProfile(profile);
int countdeck = 1; File rootDecks = null;
File[] files = rootProfiles.listFiles(); if (!profileName.equalsIgnoreCase("Default"))
for (int i = 0; i < files.length; i++) rootDecks = new File(activePath + "/User/profiles/" + profileName);
{//check if there is available deck... else
if(files[i].getName().startsWith("deck")) rootDecks = new File(activePath + "/User/player/");
countdeck++; if (rootDecks.exists() && rootDecks.isDirectory())
} {
File toSave = new File(rootProfiles+"/deck"+countdeck+".txt"); //save deck
try int countdeck = 1;
{ File[] files = rootDecks.listFiles();
FileOutputStream fop = new FileOutputStream(toSave); for (int i = 0; i < files.length; i++)
{//check if there is available deck...
if (files[i].getName().startsWith("deck"))
countdeck++;
}
File toSave = new File(rootDecks + "/deck" + countdeck + ".txt");
try
{
FileOutputStream fop = new FileOutputStream(toSave);
// if file doesn't exists, then create it // if file doesn't exists, then create it
if (!toSave.exists()) { if (!toSave.exists())
toSave.createNewFile(); {
} toSave.createNewFile();
// get the content in bytes }
byte[] contentInBytes = deck.getBytes(); // get the content in bytes
fop.write(contentInBytes); byte[] contentInBytes = deck.getBytes();
fop.flush(); fop.write(contentInBytes);
fop.close(); fop.flush();
message = "Import Deck Success!\n"+cardcount+" total cards in this deck\n\n"+deck; fop.close();
} message = "The deck has been successfully imported as: " + toSave.getName() + "\n" + cardcount + " total cards in this deck\n\n" + deck;
catch (IOException e) } catch (IOException e)
{ {
message = e.getMessage(); message = e.getMessage();
} }
} } else
else {
{ message = "Problem opening decks folder: " + rootDecks.getAbsolutePath();
message = "Missing Folder!"; }
} } else
} {
} message = "No errors, and file EMPTY";
else }
{ } catch (IOException e)
message = "Invalid Profile!"; {
} message = e.getMessage();
} }
else }
{ return message;
message = "No errors, and file EMPTY";
}
}
catch(IOException e)
{
message = e.getMessage();
}
}
return message;
} }
private static boolean isNumeric(String input) private static boolean isNumeric(String input)
@@ -149,12 +147,12 @@ public class DeckImporter
} }
else else
{ {
return "Missing!"; return "Default";
} }
} }
catch(IOException e) catch(IOException e)
{ {
return "Missing!"; return "Default";
} }
return name; return name;
} }
@@ -278,5 +276,4 @@ public class DeckImporter
else else
return set; return set;
} }
} }
File diff suppressed because it is too large Load Diff
@@ -14,6 +14,7 @@ import android.util.Log;
public class StorageOptions public class StorageOptions
{ {
private static final String TAG = StorageOptions.class.getCanonicalName();
private static ArrayList<String> mMounts = new ArrayList<String>(); private static ArrayList<String> mMounts = new ArrayList<String>();
private static ArrayList<String> mVold = new ArrayList<String>(); private static ArrayList<String> mVold = new ArrayList<String>();
@@ -22,7 +23,7 @@ public class StorageOptions
public static int count = 0; public static int count = 0;
public static String defaultMountPoint; public static String defaultMountPoint;
public static void determineStorageOptions() public static void determineStorageOptions(android.content.Context mContext)
{ {
initializeMountPoints(); initializeMountPoints();
if (findForcemount()){ if (findForcemount()){
@@ -35,6 +36,16 @@ public class StorageOptions
} }
compareMountsWithVold(); compareMountsWithVold();
testAndCleanMountsList(); testAndCleanMountsList();
File[] externalStorageVolumes = mContext.getExternalFilesDirs("");
for(int i = 0; i < externalStorageVolumes.length; i++){
mMounts.add(externalStorageVolumes[i].getAbsolutePath());
}
for(int i = 0; i < mMounts.size(); i++){
for(int j = 0; j < mMounts.size(); j++){
if(i!=j && mMounts.get(i).startsWith(mMounts.get(j)))
mMounts.remove(i);
}
}
setProperties(); setProperties();
} }
@@ -77,11 +88,11 @@ public class StorageOptions
} catch (FileNotFoundException fnfex) } catch (FileNotFoundException fnfex)
{ {
// if proc/mount doesn't exist we just use // if proc/mount doesn't exist we just use
Log.i(StorageOptions.class.getCanonicalName(), fnfex.getMessage() + ": assuming " + defaultMountPoint + " is the only mount point"); Log.i(TAG, fnfex.getMessage() + ": assuming " + defaultMountPoint + " is the only mount point");
mMounts.add(defaultMountPoint); mMounts.add(defaultMountPoint);
} catch (Exception e) } catch (Exception e)
{ {
Log.e(StorageOptions.class.getCanonicalName(), e.getMessage() + ": unknown exception while reading mounts file"); Log.e(TAG, e.getMessage() + ": unknown exception while reading mounts file");
mMounts.add(defaultMountPoint); mMounts.add(defaultMountPoint);
} }
} }
@@ -111,11 +122,11 @@ public class StorageOptions
} catch (FileNotFoundException fnfex) } catch (FileNotFoundException fnfex)
{ {
// if proc/mount doesn't exist we just use // if proc/mount doesn't exist we just use
Log.i(StorageOptions.class.getCanonicalName(), fnfex.getMessage() + ": assuming " + defaultMountPoint + " is the only mount point"); Log.i(TAG, fnfex.getMessage() + ": assuming " + defaultMountPoint + " is the only mount point");
mMounts.add(defaultMountPoint); mMounts.add(defaultMountPoint);
} catch (Exception e) } catch (Exception e)
{ {
Log.e(StorageOptions.class.getCanonicalName(), e.getMessage() + ": unknown exception while reading mounts file"); Log.e(TAG, e.getMessage() + ": unknown exception while reading mounts file");
mMounts.add(defaultMountPoint); mMounts.add(defaultMountPoint);
} }
} }
@@ -144,11 +155,11 @@ public class StorageOptions
} catch (FileNotFoundException fnfex) } catch (FileNotFoundException fnfex)
{ {
// if vold.fstab doesn't exist we use the value gathered from the Environment // if vold.fstab doesn't exist we use the value gathered from the Environment
Log.i(StorageOptions.class.getCanonicalName(), fnfex.getMessage() + ": assuming " + defaultMountPoint + " is the only mount point"); Log.i(TAG, fnfex.getMessage() + ": assuming " + defaultMountPoint + " is the only mount point");
mMounts.add(defaultMountPoint); mMounts.add(defaultMountPoint);
} catch (Exception e) } catch (Exception e)
{ {
Log.e(StorageOptions.class.getCanonicalName(), e.getMessage() + ": unknown exception while reading mounts file"); Log.e(TAG, e.getMessage() + ": unknown exception while reading vold.fstab file");
mMounts.add(defaultMountPoint); mMounts.add(defaultMountPoint);
} }
} }
@@ -178,11 +189,14 @@ public class StorageOptions
* Compare the two lists together and remove items that are not in both lists. * Compare the two lists together and remove items that are not in both lists.
*/ */
for (int i = 0; i < mMounts.size(); i++) if (mVold.size() > 0)
{ {
String mount = mMounts.get(i); for (int i = 0; i < mMounts.size(); i++)
if (!mVold.contains(mount)) {
mMounts.remove(i--); String mount = mMounts.get(i);
if (!mVold.contains(mount))
mMounts.remove(i--);
}
} }
// don't need this anymore, clear the vold list to reduce memory // don't need this anymore, clear the vold list to reduce memory
@@ -206,7 +220,8 @@ public class StorageOptions
} }
if (t == 0 && Build.VERSION.SDK_INT >= 16 && findForcemount()) if (t == 0 && Build.VERSION.SDK_INT >= 16 && findForcemount())
{//if none is found lets force it for Jellybean and above... {
//if none is found lets force it for Jellybean and above...
if (System.getenv("EXTERNAL_STORAGE") != null) if (System.getenv("EXTERNAL_STORAGE") != null)
{ {
File root = new File(System.getenv("EXTERNAL_STORAGE")); File root = new File(System.getenv("EXTERNAL_STORAGE"));
@@ -247,6 +262,7 @@ public class StorageOptions
private static void setProperties() private static void setProperties()
{ {
Log.d(TAG, "setProperties()");
/* /*
* At this point all the paths in the list should be valid. Build the public properties. * At this point all the paths in the list should be valid. Build the public properties.
*/ */
@@ -258,21 +274,22 @@ public class StorageOptions
for (String path : mMounts) for (String path : mMounts)
{//with forcemount menu {//with forcemount menu
if ("/mnt/sdcard".equalsIgnoreCase(path) || "/storage/sdcard0".equalsIgnoreCase(path)) if ("/mnt/sdcard".equalsIgnoreCase(path) || "/storage/sdcard0".equalsIgnoreCase(path))
mLabels.add("Internal SD " + "[" + path + "]"); mLabels.add("Internal SD " + "[" + path + "/]");
else if (path.contains("emulated")) else if (path.contains("emulated"))
mLabels.add("Emulated SD " + " [" + path + "]"); mLabels.add("Emulated SD " + " [" + path + "/]");
else else
mLabels.add("External SD " + " [" + path + "]"); mLabels.add("External SD " + " [" + path + "/]");
} }
} }
else else
{ {
for (String path : mMounts) for (String path : mMounts)
{ // TODO: /mnt/sdcard is assumed to always mean internal storage. Use this comparison until there is a better way to do this {
if ("/mnt/sdcard".equalsIgnoreCase(path)) // TODO: /mnt/sdcard and emulated are assumed to always mean internal storage. Use this comparison until there is a better way to do this
mLabels.add("Built-in Storage"); if ("/mnt/sdcard".equalsIgnoreCase(path) || path.contains("emulated"))
mLabels.add("Built-in Storage " + "[" + path + "/]");
else else
mLabels.add("External SD Card " + i++); mLabels.add("External SD Card " + "[" + path + "/]");
} }
} }
@@ -310,84 +327,97 @@ public class StorageOptions
* *
* @return <code>true</code> if the device is rooted, <code>false</code> otherwise. * @return <code>true</code> if the device is rooted, <code>false</code> otherwise.
*/ */
public static boolean isRooted() { public static boolean isRooted()
// get from build info
String buildTags = android.os.Build.TAGS;
if (buildTags != null && buildTags.contains("test-keys")) {
return true;
}
// check if /system/app/Superuser.apk is present
try {
File file = new File("/system/app/Superuser.apk");
if (file.exists()) {
return true;
}
}
catch (Exception e1) {
// ignore
}
try {
File file = new File("/system/app/Superuser/Superuser.apk");
if (file.exists()) {
return true;
}
}
catch (Exception e1) {
// ignore
}
//SuperSU
try {
File file = new File("/system/app/SuperSU.apk");
if (file.exists()) {
return true;
}
}
catch (Exception e1) {
// ignore
}
try {
File file = new File("/system/app/SuperSU/SuperSU.apk");
if (file.exists()) {
return true;
}
}
catch (Exception e1) {
// ignore
}
// try executing commands
return canExecuteCommand("/system/xbin/which su")
|| canExecuteCommand("/system/bin/which su") || canExecuteCommand("which su");
}
// executes a command on the system
private static boolean canExecuteCommand(String command) {
boolean executedSuccesfully;
try {
Runtime.getRuntime().exec(command);
executedSuccesfully = true;
}
catch (Exception e) {
executedSuccesfully = false;
}
return executedSuccesfully;
}
private static boolean findForcemount(){
try
{ {
File file = new File(System.getenv("EXTERNAL_STORAGE")+"/forcemount"); // get from build info
if (file.exists()) String buildTags = android.os.Build.TAGS;
if (buildTags != null && buildTags.contains("test-keys"))
{ {
return true; return true;
} }
// check if /system/app/Superuser.apk is present
try
{
File file = new File("/system/app/Superuser.apk");
if (file.exists())
{
return true;
}
} catch (Exception e1)
{
// ignore
}
try
{
File file = new File("/system/app/Superuser/Superuser.apk");
if (file.exists())
{
return true;
}
} catch (Exception e1)
{
// ignore
}
//SuperSU
try
{
File file = new File("/system/app/SuperSU.apk");
if (file.exists())
{
return true;
}
} catch (Exception e1)
{
// ignore
}
try
{
File file = new File("/system/app/SuperSU/SuperSU.apk");
if (file.exists())
{
return true;
}
} catch (Exception e1)
{
// ignore
}
// try executing commands
return canExecuteCommand("/system/xbin/which su")
|| canExecuteCommand("/system/bin/which su") || canExecuteCommand("which su");
} }
catch (Exception e1)
// executes a command on the system
private static boolean canExecuteCommand(String command)
{ {
boolean executedSuccesfully;
try
{
Runtime.getRuntime().exec(command);
executedSuccesfully = true;
} catch (Exception e)
{
executedSuccesfully = false;
}
return executedSuccesfully;
}
private static boolean findForcemount()
{
Log.d(TAG, "findForcemount()");
try
{
File file = new File(System.getenv("EXTERNAL_STORAGE") + "/forcemount");
if (file.exists())
{
return true;
}
} catch (Exception e)
{
Log.w(TAG, e.getMessage());
return false;
}
return false; return false;
} }
return false;
}
} }
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+21 -6
View File
@@ -27,7 +27,7 @@ OBJS = objs/InteractiveButton.o objs/AbilityParser.o objs/ActionElement.o\
objs/ThisDescriptor.o objs/Token.o objs/Translate.o objs/TranslateKeys.o\ objs/ThisDescriptor.o objs/Token.o objs/Translate.o objs/TranslateKeys.o\
objs/Trash.o objs/utils.o objs/WEvent.o objs/WResourceManager.o\ objs/Trash.o objs/utils.o objs/WEvent.o objs/WResourceManager.o\
objs/WCachedResource.o objs/WDataSrc.o objs/WGui.o objs/WFilter.o objs/Tasks.o\ objs/WCachedResource.o objs/WDataSrc.o objs/WGui.o objs/WFilter.o objs/Tasks.o\
objs/WFont.o objs/CarouselDeckView.o objs/GridDeckView.o objs/DeckView.o objs/WFont.o objs/WParsedInt.o objs/CarouselDeckView.o objs/GridDeckView.o objs/DeckView.o
DEPS = $(patsubst objs/%.o, deps/%.d, $(OBJS)) DEPS = $(patsubst objs/%.o, deps/%.d, $(OBJS))
RESULT = $(shell psp-config --psp-prefix 2> Makefile.cache) RESULT = $(shell psp-config --psp-prefix 2> Makefile.cache)
@@ -59,7 +59,6 @@ endif
ifeq ($(TARGET_ARCHITECTURE),psp) ifeq ($(TARGET_ARCHITECTURE),psp)
DEFAULT_RULE = 3xx DEFAULT_RULE = 3xx
TARGET_ARCHITECTURE = psp
PSP_FW_VERSION=371 PSP_FW_VERSION=371
BUILD_PRX = 1 BUILD_PRX = 1
SIGN_PRX = 1 SIGN_PRX = 1
@@ -69,24 +68,42 @@ EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Wagic, the Homebrew?! PSP_EBOOT_TITLE = Wagic, the Homebrew?!
PSP_EBOOT_ICON = icon.png PSP_EBOOT_ICON = icon.png
#PSP_EBOOT_ICON1 = icon1.pmf #PSP_EBOOT_ICON1 = icon1.pmf
PSP_LARGE_MEMORY = 1
PSP_EBOOT_UNKPNG = pic0.png PSP_EBOOT_UNKPNG = pic0.png
PSP_EBOOT_PIC1 = pic1.png PSP_EBOOT_PIC1 = pic1.png
INCDIR = ../../JGE/include ../../JGE/src/zipFS ../../JGE/include/psp ../../JGE/include/psp/freetype2 ../../JGE/src ../../projects/mtg/include ../../Boost INCDIR = ../../JGE/include ../../JGE/src/zipFS ../../JGE/include/psp ../../JGE/include/psp/freetype2 ../../JGE/src ../../projects/mtg/include ../../Boost
LIBDIR = ../../JGE/lib/psp LIBDIR = ../../JGE/lib/psp
CFLAGS = -O2 -G0 -DPSPFW3XX -DDEVHOOK -DUSE_PRECOMPILED_HEADERS=1 -DPSP -DTIXML_USE_STL CFLAGS = -O2 -G0 -DPSPFW3XX -DDEVHOOK -DUSE_PRECOMPILED_HEADERS=1 -DPSP -DTIXML_USE_STL
else else
ifeq ($(MAKECMDGOALS),x11)
OBJS += objs/TestSuiteAI.o
INCDIR = -I../../JGE/include -I../../JGE/src -I/usr/X11/include -I../../projects/mtg/include -I/usr/include/boost -I../../JGE/src/zipFS
LIBDIR = -L../../JGE/lib/linux -L../../JGE -L/usr/X11/lib
LIBS = -ljge -lfreetype -ljpeg -lgif -lpng -lz -lm -lstdc++ -lhgetools -lGL -lGLU -lX11 -lpthread $(FMOD)
CFLAGS = $(INCDIR) -DLINUX -DNETWORK_SUPPORT -DUSE_PRECOMPILED_HEADERS=1 -DTIXML_USE_STL -Wno-nonnull-compare
ASFLAGS = $(CXXFLAGS)
all: $(DEFAULT_RULE)
else
OBJS += objs/TestSuiteAI.o OBJS += objs/TestSuiteAI.o
INCDIR = -I../../JGE/include -I../../JGE/src -I/usr/X11/include -I../../projects/mtg/include -I../../Boost -I../../JGE/src/zipFS INCDIR = -I../../JGE/include -I../../JGE/src -I/usr/X11/include -I../../projects/mtg/include -I../../Boost -I../../JGE/src/zipFS
LIBDIR = -L../../JGE/lib/linux -L../../JGE -L/usr/X11/lib -L../../Boost/lib LIBDIR = -L../../JGE/lib/linux -L../../JGE -L/usr/X11/lib -L../../Boost/lib
LIBS = -ljge -lfreetype -ljpeg -lgif -lpng -lz -lm -lstdc++ -lhgetools -lGL -lGLU -lX11 -lboost_thread $(FMOD) LIBS = -ljge -lfreetype -ljpeg -lgif -lpng -lz -lm -lstdc++ -lhgetools -lGL -lGLU -lX11 -lboost_thread $(FMOD)
CFLAGS = $(INCDIR) -DLINUX -DUSE_PRECOMPILED_HEADERS=1 CFLAGS = $(INCDIR) -DLINUX -DNETWORK_SUPPORT -DUSE_PRECOMPILED_HEADERS=1 -Wno-nonnull-compare
ASFLAGS = $(CXXFLAGS) ASFLAGS = $(CXXFLAGS)
all: $(DEFAULT_RULE) all: $(DEFAULT_RULE)
endif
endif endif
CFLAGS := -Wall -W -Werror -Wno-unused $(CFLAGS) CFLAGS := -Wall -W -Werror -Wno-unused -Wno-deprecated-declarations $(CFLAGS)
CXXFLAGS += $(CFLAGS) CXXFLAGS += $(CFLAGS)
# -fno-exceptions # -fno-exceptions
@@ -110,8 +127,6 @@ debug: all
else else
$(TARGET): Makefile.$(TARGET_ARCHITECTURE) $(OBJS) ../../JGE/lib/linux/libjge.a $(TARGET): Makefile.$(TARGET_ARCHITECTURE) $(OBJS) ../../JGE/lib/linux/libjge.a
$(CXX) -o $(TARGET) $(OBJS) $(LIBS) $(LIBDIR) $(CXX) -o $(TARGET) $(OBJS) $(LIBS) $(LIBDIR)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 38 KiB

+21 -72
View File
@@ -7,75 +7,24 @@
# (would've been better to add creatures, but all creatures in the # (would've been better to add creatures, but all creatures in the
# deck were already at 4 pieces)) # deck were already at 4 pieces))
#Spark Elemental # Land(s)
129577 Mountain (8ED) * 20
129577
129577 # Creature(s)
129577 Goblin King (8ED) * 4
#Raging Goblin Goblin Mountaineer (9ED) * 4
129688 Goblin Piker (9ED) * 4
129688 Goblin Striker (MRD) * 4
129688 Hearthfire Hobgoblin (EVE) * 4
129688 Raging Goblin (8ED) * 4
#Goblin Piker Spark Elemental (5DN) * 4
129580
129580 # Artifact(s)
129580 Black Vise (V10) * 4
129580 Howling Mine (8ED) * 3
#Goblin King
129578 # Instant(s)
129578 Lightning Bolt (M10) * 4
129578
129578 # Sorcery(s)
#Goblin Striker Wheel of Fortune (VMA) * 1
48592
48592
48592
48592
#Lightning Bolt
1303
1303
1303
1303
#Wheel of Fate
1326
#Black Vise
1097
1097
1097
1097
#Hearthfire Hobgoblin
157201
157201
157201
157201
#Howling Mine
129598
129598
129598
#Goblin Mountaineer
174938
174938
174938
174938
#Mountain
1390
1390
1390
1390
1390
1390
1390
1390
1390
1390
1390
1390
1390
1390
1390
1390
1390
1390
1390
1390
+1 -1
View File
@@ -1,4 +1,4 @@
#NAME:Smoke and mirrors #NAME:Smoke & Mirrors
Order of the Ebon Hand (FEM) *2 Order of the Ebon Hand (FEM) *2
Combat Medic (FEM) *1 Combat Medic (FEM) *1
Combat Medic (FEM) *1 Combat Medic (FEM) *1
+1 -1
View File
@@ -1,4 +1,4 @@
#NAME:Kill by Numbers #NAME:Kazandu the Redeemed
#DESC:They just keep multiplying. #DESC:They just keep multiplying.
#HINT:castpriority(enchantment,instant,sorcery,artifact,creature) #HINT:castpriority(enchantment,instant,sorcery,artifact,creature)
#HINT:dontattackwith(Rhys the Redeemed) #HINT:dontattackwith(Rhys the Redeemed)
+1 -1
View File
@@ -1,4 +1,4 @@
#NAME:Infected wounds #NAME:Infected Wounds
Forest (UGL) *4 Forest (UGL) *4
Forest (ALA) *1 Forest (ALA) *1
Forest (ALA) *1 Forest (ALA) *1
+1 -1
View File
@@ -1,4 +1,4 @@
#NAME:Red Deck Wins #NAME:Krenko's Hellrider
#DESC:Standard R Aggro #DESC:Standard R Aggro
#DESC:ISD-M13-RTR #DESC:ISD-M13-RTR
#HINT:combo hold(Hellrider|myhand)^until(creature|mybattlefield)^cast(Hellrider|myhand)^restriction{type(creature|mybattlefield)~morethan~2}^totalmananeeded({2}{R}{R}) #HINT:combo hold(Hellrider|myhand)^until(creature|mybattlefield)^cast(Hellrider|myhand)^restriction{type(creature|mybattlefield)~morethan~2}^totalmananeeded({2}{R}{R})
-1
View File
@@ -1,7 +1,6 @@
#NAME:Etched Affinity #NAME:Etched Affinity
#DESC:Modern URB Aggro #DESC:Modern URB Aggro
#HINT:dontattackwith(creature[power<=0]) #HINT:dontattackwith(creature[power<=0])
#HINT:combo hold(Glimmervoid|myhand)^until(artifact|mybattlefield)^cast(Glimmervoid|myhand)^totalmananeeded({0})
#HINT:combo hold(Galvanic Blast|myhand)^cast(Galvanic Blast|myhand)^restriction{type(artifact|mybattlefield)~morethan~2,turn:3}^totalmananeeded({R}) #HINT:combo hold(Galvanic Blast|myhand)^cast(Galvanic Blast|myhand)^restriction{type(artifact|mybattlefield)~morethan~2,turn:3}^totalmananeeded({R})
#25 creatures #25 creatures
+1 -1
View File
@@ -1,4 +1,4 @@
#NAME:Sweep The Tomb #NAME:Wipe them out!
#DESC:Modern RBW Control #DESC:Modern RBW Control
#HINT:castpriority(enchantment,sorcery,artifact,instant) #HINT:castpriority(enchantment,sorcery,artifact,instant)
#HINT:combo hold(Devour Flesh|myhand)^until(creature|opponentbattlefield)^cast(Devour Flesh|myhand)^totalmananeeded({1}{B}) #HINT:combo hold(Devour Flesh|myhand)^until(creature|opponentbattlefield)^cast(Devour Flesh|myhand)^totalmananeeded({1}{B})
+31 -31
View File
@@ -23,23 +23,23 @@
369072 369072
#4 x Armada Wurm (RTR), {2}{g}{g}{w}{w}, Creature Wurm, 5/5, trample; #4 x Armada Wurm (RTR), {2}{g}{g}{w}{w}, Creature Wurm, 5/5, trample;
999009 253587
999009 253587
999009 253587
999009 253587
#2 x Precinct Captain (RTR), {w}{w}, Creature Human Soldier, 2/2, first strike; #2 x Precinct Captain (RTR), {w}{w}, Creature Human Soldier, 2/2, first strike;
999171 270792
999171 270792
#4 x Wayfaring Temple (RTR), {1}{g}{w}, Creature Elemental, 0/0, #4 x Wayfaring Temple (RTR), {1}{g}{w}, Creature Elemental, 0/0,
999260 253539
999260 253539
999260 253539
999260 253539
#1 x Worldspine Wurm (RTR), {8}{g}{g}{g}, Creature Wurm, 15/15, trample; #1 x Worldspine Wurm (RTR), {8}{g}{g}{g}, Creature Wurm, 15/15, trample;
999262 253575
@@ -57,14 +57,14 @@
369060 369060
#2 x Chromatic Lantern (RTR), {3}, Artifact, #2 x Chromatic Lantern (RTR), {3}, Artifact,
999039 290542
999039 290542
#4 x Growing Ranks (RTR), {2}{g/w}{g/w}, Enchantment, #4 x Growing Ranks (RTR), {2}{g/w}{g/w}, Enchantment,
999106 270957
999106 270957
999106 270957
999106 270957
@@ -84,26 +84,26 @@
369018 369018
#4 x Forest (RTR), Basic Land Forest, #4 x Forest (RTR), Basic Land Forest,
999086 289326
999086 289326
999086 289326
999086 289326
#4 x Plains (RTR), Basic Land Plains, #4 x Plains (RTR), Basic Land Plains,
999168 289310
999168 289310
999168 289310
999168 289310
#2 x Temple Garden (RTR), Land Forest Plains, #2 x Temple Garden (RTR), Land Forest Plains,
999238 253681
999238 253681
#4 x Plains (RTR), Basic Land Plains, #4 x Plains (RTR), Basic Land Plains,
999265 289309
999265 289309
999265 289309
999265 289309
+19
View File
@@ -0,0 +1,19 @@
#NAME:Budde's Ponza
#DESC:Deck by Kai Budde, 2003
Dwarven Blastminer *2
Rorix Bladewing *2
Siege-Gang Commander *3
Hammer of Bogardan *2
Lay Waste *4
Molten Rain *4
Pyrite Spellbomb *4
Spark Spray *3
Starstorm *4
Stone Rain (8ED) *4
Talisman of Impulse *4
Mountain (8ED) *4
Mountain (7ED) *4
Mountain (MRD) *4
Mountain (ONS) *4
Mountain (ODY) *4
Forgotten Cave (ONS) *4
+22
View File
@@ -0,0 +1,22 @@
#NAME: Mind Control
#DESC: The Best Counter Deck Ever
Aetherize (*) *4
Artificer's Epiphany (*) *4
Counterspell (*) *2
Dissipate (*) *2
Downsize (*) *3
Elixir of Immortality (*) *3
Essence Scatter (*) *3
Guttersnipe (*) *3
Hydrolash (*) *2
Island (*) *14
Mountain (*) *8
Opportunity (*) *2
Prism Ring (*) *4
Young Pyromancer (*) *3
Cyclonic Rift (*) *3
#SB: Aetherling (*) *1
#SB: Spellheart Chimera (*) *1
#SB: Flashfreeze (*) *3
#SB: Negate (*) *2
+16
View File
@@ -0,0 +1,16 @@
#NAME: Ajani's Chaplain
#DESC: The First M20 Deck
Ajani, Inspiring Leader (M20) *1
Serra's Guardian (M20) *1
Daybreak Chaplain (M20) *4
Fencing Ace (M20) *3
Impassioned Orator (M20) *3
Loxodon Lifechanter (M20) *1
Goldmane Griffin (M20) *2
Angel of Vitality (M20) *3
Dawning Angel (M20) *3
Savannah Sage (M20) *4
Twinblade Paladin (M20) *3
Moment of Heroism (M20) *4
Pacifism (M20) *3
Plains (M20) *25
+28
View File
@@ -0,0 +1,28 @@
#NAME: Phyrexian Asphodel
#DESC: The First MH1 Deck
Bloodghast (*) *4
Geralf's Messenger (*) *4
Phyrexian Obliterator (*) *4
Gray Merchant of Asphodel (*) *4
Yawgmoth, Thran Physician (*) *2
Liliana of the Veil (*) *3
Liliana, the Last Hope (*) *2
Fatal Push (*) *4
Inquisition of Kozilek (*) *4
Thoughtseize (*) *4
Collective Brutality (*) *1
Phyrexian Arena (*) *1
Bloodstained Mire (*) *2
Polluted Delta (*) *2
Verdant Catacombs (*) *2
Marsh Flats (*) *1
Urborg, Tomb of Yawgmoth (*) *1
Snow-Covered Swamp (*) *15
#SB: Surgical Extraction (*) *3
#SB: Collective Brutality (*) *2
#SB: Ashiok, Dream Render (*) *1
#SB: Dead of Winter (*) *2
#SB: Force of Despair (*) *1
#SB: Fulminator Mage (*) *4
#SB: Plague Engineer (*) *2
+37
View File
@@ -0,0 +1,37 @@
#NAME: Urza's Control
#DESC: Hellsau, 1st MTGO
#DESC: Pauper League
Dinrova Horror (*) *1
Stonehorn Dignitary (*) *1
Mnemonic Wall (*) *3
Mulldrifter (*) *4
Condescend (*) *2
Forbidden Alchemy (*) *2
Ghostly Flicker (*) *2
Mystical Teachings (*) *2
Counterspell (*) *2
Impulse (*) *3
Moment's Peace (*) *4
Compelling Argument (*) *1
Pulse of Murasa (*) *2
Expedition Map (*) *4
Prophetic Prism (*) *4
Remote Isle (*) *1
Island (*) *3
Unknown Shores (*) *3
Thornwood Falls (*) *4
Urza's Mine (*) *4
Urza's Power Plant (*) *4
Urza's Tower (*) *4
#SB: Dinrova Horror (*) *1
#SB: Stonehorn Dignitary (*) *1
#SB: Pulse of Murasa (*) *1
#SB: Circle of Protection: Red (*) *2
#SB: Dispel (*) *1
#SB: Electrickery (*) *1
#SB: Hydroblast (*) *2
#SB: Pyroblast (*) *3
#SB: Shattering Pulse (*) *1
#SB: Sprout Swarm (*) *1
#SB: Tangle (*) *1
+31
View File
@@ -0,0 +1,31 @@
#NAME: Modern Snow
#DESC: First Snow Deck
Flooded Strand (*) *2
Misty Rainforest (*) *3
Prismatic Vista (*) *4
Scrying Sheets (*) *1
Snow-Covered Forest (*) *4
Snow-Covered Island (*) *2
Snow-Covered Plains (*) *2
Windswept Heath (*) *2
Glacial Revelation (*) *4
Into the North (*) *4
Abominable Treefolk (*) *4
Boreal Druid (*) *2
Diamond Faerie (*) *2
Ice-Fang Coatl (*) *4
Icehide Golem (*) *4
Ohran Viper (*) *4
Gelid Shackles (*) *1
Force of Negation (*) *4
Search for Azcanta (*) *3
Arcum's Astrolabe (*) *4
#SB: Diamond Faerie (*) *1
#SB: On Thin Ice (*) *4
#SB: Gelid Shackles (*) *3
#SB: Mouth of Ronom (*) *1
#SB: Negate (*) *3
#SB: Scrying Sheets (*) *2
#SB: Search for Azcanta (*) *1
#SB: Spell Pierce (*) *2
+29
View File
@@ -0,0 +1,29 @@
#NAME: Yarok of Pranks
#DESC: The First Eldraine Deck
Midnight Reaper (*) *2
Cavalier of Night (*) *3
Dread Presence (*) *4
Knight of the Ebon Legion (*) *4
Yarok's Fenlurker (*) *4
Foulmire Knight (*) *3
Rankle, Master of Pranks (*) *3
Murderous Rider (*) *4
Ritual of Soot (*) *2
Mausoleum Secrets (*) *1
Command the Dreadhorde (*) *1
Legion's End (*) *2
Swamp (*) *19
Witch's Cottage (*) *4
Castle Locthwain (*) *2
Ugin, the Ineffable (*) *1
Liliana, Dreadhorde General (*) *1
#SB: Massacre Girl (*) *1
#SB: Ayara, First of Locthwain (*) *1
#SB: The Elderspell (*) *1
#SB: Duress (*) *2
#SB: Noxious Grasp (*) *3
#SB: Covetous Urge (*) *2
#SB: Witch's Vengeance (*) *2
#SB: Epic Downfall (*) *2
#SB: The Cauldron of Eternity (*) *1
+26
View File
@@ -0,0 +1,26 @@
#NAME: Selesnya Adventures
#DESC: First Adventure Deck
Edgewall Innkeeper (*) *4
Faerie Guidemother // Gift of the Fae (ELD) *4
Flaxen Intruder // Welcome Home (ELD) *2
Giant Killer // Chop Down (ELD) *4
Lovestruck Beast // Heart's Desire (ELD) *4
Shepherd of the Flock // Usher to Safety (ELD) *1
Venerated Loxodon (*) *4
Emmara, Soul of the Accord (*) *1
Trostani Discordant (*) *2
Forest (*) *8
Plains (*) *8
Castle Ardenvale (*) *1
Temple Garden (*) *4
March of the Multitudes (*) *4
Once Upon a Time (*) *4
Unbreakable Formation (*) *1
Flower // Flourish (*) *4
#SB: Knight of Autumn (*) *2
#SB: Unbreakable Formation (*) *1
#SB: Veil of Summer (*) *3
#SB: Questing Beast (*) *3
#SB: Gideon Blackblade (*) *2
#SB: Devout Decree (*) *4
+30
View File
@@ -0,0 +1,30 @@
#NAME:Turbo Stasis
#DESC:Black Summer 1996
City of Brass (*) *4
Island (*) *13
Underground River (*) *4
Boomerang (*) *4
Force of Will (*) *4
Recall (*) *2
Kismet (*) *2
Land Tax (*) *1
Stasis (*) *4
Despotic Scepter (*) *3
Feldon's Cane (*) *2
Howling Mine (*) *4
Ivory Tower (*) *2
Zuran Orb (*) *1
Black Vise (*) *2
Counterspell (*) *4
Adarkar Wastes (*) *4
#SB: Kismet (*) *1
#SB: Wall of Air (*) *2
#SB: Arcane Denial (*) *4
#SB: Blue Elemental Blast (*) *2
#SB: Disenchant (*) *2
#SB: Hydroblast (*) *2
#SB: Lodestone Bauble (*) *1
#SB: Mana Short (*) *3
#SB: Swords to Plowshares (*) *1
#SB: Lim-Dul's Vault (*) *4
+26
View File
@@ -0,0 +1,26 @@
#NAME:Mutants
#DESC: The First Ikoria Mutation Deck
Arboreal Grazer (*) *4
Pollywog Symbiote (*) *3
Dryad of the Ilysian Grove (*) *2
Vadrok, Apex of Thunder (*) *2
Everquill Phoenix (*) *3
Gemrazer (*) *4
Migratory Greathorn (*) *4
Snapdax, Apex of the Hunt (*) *2
Brokkos, Apex of Forever (*) *2
Illuna, Apex of Wishes (*) *2
Nethroi, Apex of Death (*) *2
Beanstalk Giant // Fertile Footsteps (*) *4
Nissa, Who Shakes the World (*) *2
Breeding Pool (*) *2
Forest (*) *3
Island (*) *2
Mountain (*) *2
Overgrown Tomb (*) *2
Plains (*) *2
Sacred Foundry (*) *2
Steam Vents (*) *1
Stomping Ground (*) *3
Swamp (*) *2
Temple Garden (*) *3
+81
View File
@@ -0,0 +1,81 @@
#NAME:Belbe Commander 2023
#DESC:Deck by apparently (tappedout.net)
#DESC:Refined for Wagic by Bob
#HINT:castpriority(commander,*)
Ancient Stone Idol
Apex Devastator
Archetype of Endurance
Artisan of Kozilek
Bane of Bala Ged
Beacon of Unrest
Bellowing Tanglewurm
Cabal Conditioning
Caller of the Pack
Colossus of Akros
Command Tower
Conduit of Ruin
Copper Myr
Court of Ambition
Cultivate
Dread Defiler
Eldrazi Conscription
Exsanguinate
Farseek
Fierce Empath
Forest (4ED) *4
Forest (NEO) *4
Forest (ONE) *4
Forest (SNC) *4
Garruk's Uprising
Gilanra, Caller of Wirewood
God-Pharaoh's Statue
Grave Betrayal
Helm of the Host
Hooded Blightfang
Horizon Stone
In Garruk's Wake
Josu Vess, Lich Knight
Kodama's Reach (CMD)
Leaden Myr
Leechridden Swamp
Lim-Dul's Hex
Loxodon Warhammer (10E)
Loyal Subordinate
Mardu Shadowspear
Mirror Shield
Night Market Lookout
Oblivion Sower
Pathrazer of Ulamog
Phyrexian Juggernaut
Phyrexian Triniform
Plague Spitter
Planar Bridge
Platinum Emperion
Polyraptor
Pulse Tracker
Rampant Growth
Return of the Wildspeaker
Sanctum of Stone Fangs
Sandstone Oracle
Sandwurm Convergence
Skull Storm
Skyclave Relic
Sol Ring
Staff of Nin
Swamp (ONE) *4
Swamp (NEO) *4
Swamp (SNC) *4
Swamp (4ED) *3
The Immortal Sun
Thornbow Archer
Thought Vessel
Three Visits
Thunderfoot Baloth
Torment of Hailfire
Ulamog's Crusher
Undergrowth Stadium
Urborg, Tomb of Yawgmoth
Vicious Conquistador
Yavimaya, Cradle of Growth
Zendikar Resurgent
#CMD:Belbe, Corrupted Observer (*) *1
+82
View File
@@ -0,0 +1,82 @@
#NAME:Omnath Commander 2023
#DESC:Deck concept by HurricaneHands
#DESC:(tappedout.net)
#DESC:Refined for Wagic by Bob
#HINT:castpriority(commander,*)
Ancient Greenwarden
Avenger of Zendikar
Azusa, Lost but Seeking
Blighted Woodland
Cinder Glade
Circuitous Route
Command Tower
Commander's Sphere
Court of Bounty
Courser of Kruphix
Crash of Rhino Beetles
Crucible of Worlds
Cultivate
Doubling Season
Dragonmaster Outcast
Elvish Reclaimer
Evolving Wilds
Explore
Farseek
Far Wanderings
Feed the Clan
Fiery Emancipation
Forest (ZEN) *4
Forest (ONE) *4
Forest (NEO) *4
Forest (SNC) *4
Forest (M10) *4
Forest
Gaea's Revenge
Gruul Guildgate
Harrow
Incandescent Soulstoke
Khalni Heart Expedition
Liege of the Tangle
Lotus Cobra
Mina and Denn, Wildborn
Mountain (ONE) *4
Mountain (NEO) *4
Mountain *4
Multani, Yavimaya's Avatar
Myriad Landscape
Naturalize (8ED)
Nissa's Renewal
Nissa, Vastwood Seer
Nissa, Worldwaker
Nissa's Zendikon
Nyxbloom Ancient
Phylath, World Sculpture
Phytotitan
Radha, Heart of Keld
Rampaging Baloths
Rampant Growth
Ranger's Path
Rhythm of the Wild
Rites of Flourishing
Roiling Regrowth
Rootbound Crag
Rubblehulk
Sarkhan's Unsealing
Scute Mob
Scute Swarm
Second Harvest
Skyshroud Claim
Sol Ring
Temple of Abandon
Terramorphic Expanse
Terror of the Peaks
Thicket Crasher
Tornado Elemental
Undergrowth Champion
Vandalblast
Warstorm Surge
Where Ancients Tread
Wooded Foothills
Zendikar Incarnate
Zendikar's Roil
#CMD:Omnath, Locus of Rage (*) *1
+104
View File
@@ -0,0 +1,104 @@
#NAME:Ur-Dragon Commander 2023
#DESC:The Ur-Dragon Commander Deck
#DESC:Refined for Wagic by Bob
#HINT:castpriority(commander,*)
Aggravated Assault (*) * 1
Ancient Tomb (*) * 1
Arcane Signet (*) * 1
Atarka, World Render (*) * 1
Balefire Dragon (*) * 1
Bayou
Bladewing the Risen (*) * 1
Bloom Tender (*) * 1
Cascading Cataracts (*) * 1
Chromatic Lantern (*) * 1
Chromatic Orrery (*) * 1
Coalition Relic (*) * 1
Command Beacon (*) * 1
Command Tower (*) * 1
Crucible of Fire (M15)
Crystal Quarry (*) * 1
Cultivate
Curiosity (*) * 1
Cyclonic Rift (*) * 1
Darksteel Ingot
Deathcap Glade
Debtors' Knell (*) * 1
Defense of the Heart (*) * 1
Deserted Beach
Dragonlord Silumgar (*) * 1
Dragonmaster Outcast
Dragon Tempest
Dreamroot Cascade
Elemental Bond
Exotic Orchard
Faeburrow Elder (*) * 1
Farseek (*) * 1
Fearsome Awakening (*) * 1
Fellwar Stone
Force of Will (*) * 1
Growth Spiral
Haunted Ridge
Haven of the Spirit Dragon (*) * 1
Hellkite Charger (ZEN) (*) * 1
Hellkite Tyrant (*) * 1
Indatha Triome (*) * 1
Karrthus, Tyrant of Jund (*) * 1
Keiga, the Tide Star (*) * 1
Ketria Triome (*) * 1
Kokusho, the Evening Star (*) * 1
Lightning Greaves (C17) (*) * 1
Lotus Petal (*) * 1
Malfegor (*) * 1
Mana Confluence (*) * 1
Mana Drain (*) * 1
Mirari's Wake
Mox Amber (*) * 1
Mox Opal (*) * 1
Mox Tantalite (*) * 1
Niv-Mizzet, the Firemind (*) * 1
Overgrown Farmland
Path of Ancestry (*) * 1
Plateau
Prismatic Geoscope (*) * 1
Ramos, Dragon Engine
Raugrin Triome (*) * 1
Rhystic Study
Rockfall Vale
Sarkhan the Masterless
Sarkhan's Unsealing
Savannah
Savage Ventmaw (*) * 1
Savai Triome (*) * 1
Scrubland
Shattered Sanctum
Shipwreck Marsh
Silumgar, the Drifting Death (*) * 1
Skithiryx, the Blight Dragon (*) * 1
Skyclave Relic (*) * 1
Skyshroud Claim (*) * 1
Sol Ring (*) * 1
Spoils of Victory (*) * 1
Stormcarved Coast
Sundown Pass
Swiftfoot Boots (*) * 1
Sword of Feast and Famine (*) * 1
Taiga
Temur Ascendancy (*) * 1
Teneb, the Harvester (*) * 1
Terror of the Peaks (*) * 1
Thrakkus the Butcher
Three Visits (*) * 1
Timeless Lotus
Tropical Island
Tundra
Unburial Rites (*) * 1
Underground Sea
Utvara Hellkite (*) * 1
Vaevictis Asmadi, the Dire (*) * 1
Volcanic Island
Warstorm Surge
Wrathful Red Dragon
Yosei, the Morning Star (*) * 1
Zagoth Triome (*) * 1
#CMD:The Ur-Dragon (*) * 1
+83
View File
@@ -0,0 +1,83 @@
#NAME:Ranar Commander 2023
#DESC:Kaldheim Commander Deck
#DESC:Phantom Premonition
#HINT:castpriority(commander,*)
#HINT:dontattackwith(Ranar the Ever-Watchful)
#HINT:dontblockwith(Ranar the Ever-Watchful)
Angel of Finality (*) * 1
Angel of Serenity (*) * 1
Arcane Artisan (*) * 1
Arcane Signet (*) * 1
Azorius Chancery (*) * 1
Azorius Guildgate (*) * 1
Azorius Signet (*) * 1
Banishing Light (*) * 1
Behold the Multiverse (*) * 1
Brago, King Eternal (*) * 1
Burnished Hart (*) * 1
Cleansing Nova (*) * 1
Cloudblazer (*) * 1
Cloudgoat Ranger (*) * 1
Command Tower (*) * 1
Commander's Sphere (*) * 1
Cosmic Intervention (*) * 1
Cryptic Caves (*) * 1
Curse of the Swine (*) * 1
Day of the Dragons (*) * 1
Eerie Interlude (*) * 1
Empyrean Eagle (*) * 1
Ethereal Valkyrie (*) * 1
Evangel of Heliod (*) * 1
Flickerwisp (*) * 1
Gates of Istfell (*) * 1
Geist-Honored Monk (*) * 1
Ghostly Flicker (*) * 1
Ghostly Prison (*) * 1
Glacial Floodplain (*) * 1
Goldnight Commander (*) * 1
Hero of Bretagard (*) * 1
Inspired Sphinx (*) * 1
Iron Verdict (*) * 1
Island (*) * 12
Kor Cartographer (*) * 1
Marble Diamond (*) * 1
Marshal's Anthem (*) * 1
Meandering River (*) * 1
Meteor Golem (*) * 1
Migratory Route (*) * 1
Mind Stone (*) * 1
Mist Raven (*) * 1
Mistmeadow Witch (*) * 1
Momentary Blink (*) * 1
Mulldrifter (*) * 1
Myriad Landscape (*) * 1
Niko Defies Destiny (*) * 1
Opal Palace (*) * 1
Plains (*) * 13
Ravenform (*) * 1
Replicating Ring (*) * 1
Restoration Angel (*) * 1
Return to Dust (*) * 1
Sage of the Beyond (*) * 1
Saw It Coming (*) * 1
Sea Gate Oracle (*) * 1
Sejiri Refuge (*) * 1
Sky Diamond (*) * 1
Sol Ring (*) * 1
Soulherder (*) * 1
Spectral Deluge (*) * 1
Stoic Farmer (*) * 1
Storm Herd (*) * 1
Sun Titan (*) * 1
Surtland Elementalist (*) * 1
Swiftfoot Boots (*) * 1
Synthetic Destiny (*) * 1
Tales of the Ancestors (*) * 1
Thunderclap Wyvern (*) * 1
Tranquil Cove (*) * 1
Vega, the Watcher (*) * 1
Wall of Omens (*) * 1
Warhorn Blast (*) * 1
Whirler Rogue (*) * 1
Windfall (*) * 1
#CMD:Ranar the Ever-Watchful (*) * 1
+83
View File
@@ -0,0 +1,83 @@
#NAME:Vrondiss Commander 2023
#DESC:Forgotten Realms Commander Deck
#DESC:Draconic Rage
#HINT:castpriority(commander,*)
#HINT:alwaysattackwith(creature[Dragon Spirit])
Bogardan Hellkite (*) *1
Demanding Dragon (*) *1
Dragonmaster Outcast (*) *1
Hoard-Smelter Dragon (*) *1
Opportunistic Dragon (*) *1
Scourge of Valkas (*) *1
Shivan Hellkite (*) *1
Skyline Despot (*) *1
Skyship Stalker (*) *1
Taurean Mauler (*) *1
Terror of Mount Velus (*) *1
Thunderbreak Regent (*) *1
Chameleon Colossus (*) *1
Atarka, World Render (*) *1
Earth-Cult Elemental (*) *1
Anger (*) *1
Dragonlord's Servant (*) *1
Savage Ventmaw (*) *1
Dragonspeaker Shaman (*) *1
Chain Reaction (*) *1
Rishkar's Expertise (*) *1
Shamanic Revelation (*) *1
Rile (*) *1
Cultivate (*) *1
Explore (*) *1
Rampant Growth (*) *1
Magmaquake (*) *1
Spit Flame (*) *1
Decree of Savagery (*) *1
Kindred Summons (*) *1
Return of the Wildspeaker (*) *1
Beast Within (*) *1
Return to Nature (*) *1
Dragon's Hoard (*) *1
Arcane Signet (*) *1
Commander's Sphere (*) *1
Gruul Signet (*) *1
Heirloom Blade (*) *1
Sol Ring (*) *1
Gratuitous Violence (*) *1
Outpost Siege (*) *1
Warstorm Surge (*) *1
Barbarian Class (*) *1
Colossal Majesty (*) *1
Garruk's Uprising (*) *1
Cinder Glade (*) *1
Crucible of the Spirit Dragon (*) *1
Exotic Orchard (*) *1
Game Trail (*) *1
Haven of the Spirit Dragon (*) *1
Mossfire Valley (*) *1
Mosswort Bridge (*) *1
Command Tower (*) *1
Desert (*) *1
Gruul Turf (*) *1
Path of Ancestry (*) *1
Mountain (*) *12
Forest (*) *15
Klauth, Unrivaled Ancient (*) *1
Berserker's Frenzy (*) *1
Chaos Dragon (*) *1
Maddening Hex (*) *1
Vengeful Ancestor (*) *1
Bag of Tricks (*) *1
Druid of Purification (*) *1
Indomitable Might (*) *1
Neverwinter Hydra (*) *1
Wild Endeavor (*) *1
Dragonborn Champion (*) *1
Klauth's Will (*) *1
Wulfgar of Icewind Dale (*) *1
Component Pouch (*) *1
Sword of Hours (*) *1
Underdark Rift (*) *1
#CMD:Vrondiss, Rage of Ancients (*) *1
#DNG:Tomb of Annihilation (*) *1
#DNG:Lost Mine of Phandelver (*) *1
#DNG:Dungeon of the Mad Mage (*) *1
+26
View File
@@ -0,0 +1,26 @@
#NAME: Dungeon Delving
#DESC: New Player D&D Experience
Ranger's Hawk (*) *3
Malakir Blood-Priest (*) *3
Nullpriest of Oblivion (*) *1
Thunderous Orator (*) *3
Triumphant Adventurer (*) *1
Acererak the Archlich (*) *1
Gloom Stalker (*) *2
Nadaar, Selfless Paladin (*) *1
Yuan-Ti Fang-Blade (*) *3
Barrowin of Clan Undurr (*) *3
Veteran Dungeoneer (*) *3
Demonic Gifts (*) *2
Vanishing Verse (*) *1
Silverquill Command (*) *1
Closing Statement (*) *3
Cloister Gargoyle (*) *3
Precipitous Drop (*) *2
Brightclimb Pathway (*) *1
Plains (*) *9
Snowfield Sinkhole (*) *4
Swamp (*) *10
#DNG:Dungeon of the Mad Mage (*) *1
#DNG:Lost Mine of Phandelver (*) *1
#DNG:Tomb of Annihilation (*) *1
+29
View File
@@ -0,0 +1,29 @@
#NAME: Orzhov Dungeons
#DESC:The Second D&D Deck
Silverquill Silencer (*) *4
Triumphant Adventurer (*) *4
Vanishing Verse (*) *4
Nadaar, Selfless Paladin (*) *4
Soul Shatter (*) *4
Silverquill Command (*) *4
Brightclimb Pathway (*) *4
Shineshadow Snarl (*) *4
Acererak the Archlich (*) *3
Lolth, Spider Queen (*) *3
Hive of the Eye Tyrant (*) *3
Pelakka Predation (*) *2
Barrowin of Clan Undurr (*) *2
Kaya the Inexorable (*) *2
Emeria's Call (*) *2
Agadeem's Awakening (*) *1
Plains (*) *6
Swamp (*) *4
#SB:Ray of Enfeeblement (*) *4
#SB:Lithoform Blight (*) *2
#SB:Paladin Class (*) *2
#SB:Fracture (*) *2
#SB:Crippling Fear (*) *2
#SB:Humiliate (*) *3
#DNG:Tomb of Annihilation (*) *1
#DNG:Lost Mine of Phandelver (*) *1
#DNG:Dungeon of the Mad Mage (*) *1
+26
View File
@@ -0,0 +1,26 @@
#NAME:Selesnya Magecraft
#DESC:The Fastest Deck in 2022
Arctic Treeline (*) * 4
Blizzard Brawl (*) * 2
Branchloft Pathway (*) * 4
Charge Through (*) * 4
Clarion Spirit (*) * 4
Clever Lumimancer (*) * 4
Dragonsguard Elite (*) * 4
Guiding Voice (*) * 4
Hall of Oracles (*) * 2
Leonin Lightscribe (*) * 4
Mage Duel (*) * 2
Mavinda, Students' Advocate (*) * 2
Monk of the Open Hand (*) * 4
Show of Confidence (*) * 2
Snakeskin Veil (*) * 4
Snow-Covered Forest (*) * 4
Snow-Covered Plains (*) * 6
#SB:Basic Conjuration (*) * 1
#SB:Containment Breach (*) * 1
#SB:Environmental Sciences (*) * 1
#SB:Expanded Anatomy (*) * 1
#SB:Inkling Summoning (*) * 1
#SB:Mascot Exhibition (*) * 1
#SB:Pest Summoning (*) * 1
+79
View File
@@ -0,0 +1,79 @@
#NAME:Tergrid Commander 2023
#DESC:The Tergrid Commander Deck
#DESC:Refined for Wagic by Bob
#HINT:castpriority(commander,*)
Necrogen Mists (MRD) *1
Animate Dead (VMA) *1
Mind Stone (AFC) *1
Steel Hellkite (C17) *1
Hedron Archive (C19) *1
Blackblade Reforged (SS2) *1
Swamp (2XM) *26
Strip Mine (EXP) *1
Archon of Cruelty (MH2) *1
No Mercy (MP2) *1
Whip of Erebos (THS) *1
Plaguecrafter (C19) *1
Smallpox (M12) *1
Geier Reach Sanitarium (C19) *1
Pox (ME1) *1
Braids, Cabal Minion (EMA) *1
Damnation (MM3) *1
Commander's Sphere (C19) *1
Liliana's Triumph (WAR) *1
Dream Devourer (KHM) *1
Night's Whisper (EMA) *1
Grave Pact (CMD) *1
Bojuka Bog (C19) *1
Chain of Smog (ONS) *1
Memory Jar (FVR) *1
Tinybones, Trinket Thief (JMP) *1
Sol Ring (C19) *1
Dreadhorde Invasion (WAR) *1
Command Beacon (PZ1) *1
Solemn Simulacrum (TSR) *1
Barren Moor (C19) *1
Lotus Petal (MB1) *1
Oppression (7ED) *1
Shadowspear (THB) *1
Worn Powerstone (PZ1) *1
Arcane Signet (AFC) *1
Lightning Greaves (AFC) *1
Tourach, Dread Cantor (MH2) *1
Ravenous Chupacabra (MB1) *1
Ancient Tomb (EXP) *1
Sword of Feast and Famine (MPS) *1
Witch of the Moors (JMP) *1
Thought Vessel (MB1) *1
Urborg, Tomb of Yawgmoth (TSR) *1
Thoughtseize (2XM) *1
Tyrite Sanctum (KHM) *1
Soul Shatter (ZNR) *1
Thran Dynamo (C19) *1
Sangromancer (MBS) *1
Phyrexian Arena (TD0) *1
Liliana, Dreadhorde General (WAR) *1
Crypt Ghast (GTC) *1
Palladium Myr (MB1) *1
Cabal Coffers (MH2) *1
Reliquary Tower (M13) *1
Cabal Stronghold (DOM) *1
Temple of the False God *1
Charcoal Diamond *1
Gilded Lotus *1
Liliana of the Dark Realms *1
Sheoldred, Whispering One *1
Gray Merchant of Asphodel *1
Fell Specter *1
Phyrexian Obliterator *1
Hypnotic Specter *1
Butcher of Malakir *1
The Eldest Reborn *1
Leaden Myr *1
Painful Quandary *1
Corrupt *1
Korlash, Heir to Blackblade *1
Syr Konrad, the Grim *1
Megrim *1
Mox Jet *1
#CMD:Tergrid, God of Fright (KHM) *1
+90
View File
@@ -0,0 +1,90 @@
#NAME:Tatyova Commander 2023
#DESC:The Tatyova Commander Deck
#DESC:Refined for Wagic by Bob
#HINT:castpriority(commander,*)
#HINT:combo hold(Finale of Devastation|myhand)^cast(Finale of Devastation|myhand) targeting(Worldspine Wurm|mylibrary)~totalmananeeded({11}{G}{G})
#HINT:combo hold(Genesis Wave|myhand)^cast(Genesis Wave|myhand)~totalmananeeded({5}{G}{G}{G})
Allosaurus Shepherd (JMP) *1
Rimewood Falls (KHM) *1
Explore (C19) *1
Rampant Growth (PRM) *1
Echoing Truth (C19) *1
Mystic Sanctuary (ELD) *1
Ramunap Excavator (PRM) *1
Prismatic Vista (H1R) *1
Harmonize (PRM) *1
Summer Bloom (POR) *1
Mana Reflection (SHM) *1
Cyclonic Rift (MM3) *1
Upheaval (MH2) *1
Wild Growth (AFC) *1
Narset, Parter of Veils (WAR) *1
Timetwister (PRM) *1
Thrasios, Triton Hero (PZ2) *1
Strip Mine (EXP) *1
Tropical Island (ME4) *1
Avenger of Zendikar (PRM) *1
Harrow (MB1) *1
Kodama's Reach (C17) *1
Fastbond (VMA) *1
Crucible of Worlds (PRM) *1
Force of Will (EMA) *1
Broken Bond (MB1) *1
Command Tower (C19) *1
Sylvan Scrying (MB1) *1
Solemn Simulacrum (MB1) *1
Simic Signet (C15) *1
Reliquary Tower (C19) *1
Genesis Wave (IMA) *1
Khalni Garden (PZ1) *1
Cultivate (PZ1) *1
Yavimaya Elder (UDS) *1
Exploration (PRM) *1
Sol Ring (C19) *1
Koma, Cosmos Serpent (KHM) *1
Simic Growth Chamber (C19) *1
Command Beacon (PZ1) *1
Eternal Witness (PZ1) *1
Kinnan, Bonder Prodigy (IKO) *1
Lotus Cobra (PRM) *1
Island (UNH) *8
Dryad Arbor (TSR) *1
Finale of Devastation (WAR) *1
Arcane Signet (AFC) *1
Flooded Grove (EXP) *1
Crop Rotation (2XM) *1
Forest (2XM) *10
Lightning Greaves (AFC) *1
Scalding Tarn (MH2) *1
Ancient Tomb (EXP) *1
Sakura-Tribe Elder (MB1) *1
Seedborn Muse (C19) *1
Prophet of Kruphix (PRM) *1
Misty Rainforest (ZNE) *1
Wayfarer's Bauble (C17) *1
Tyrite Sanctum (KHM) *1
Gaea's Cradle (USG) *1
Consecrated Sphinx (MBS) *1
Castle Vantress (ELD) *1
Verdant Catacombs (MH2) *1
Primeval Titan (TSR) *1
Rampaging Baloths (C19) *1
Pongify (TSR) *1
Flooded Strand (EXP) *1
Nyxbloom Ancient (THB) *1
Nexus of Fate (M19) *1
Polluted Delta (ONS) *1
Birds of Paradise (PRM) *1
Courser of Kruphix (TSR) *1
Search for Tomorrow (MB1) *1
Worldspine Wurm *1
Decanter of Endless Water *1
Tangled Islet *1
Hinterland Harbor *1
Thran Dynamo *1
Ancient Greenwarden *1
Multani, Yavimaya's Avatar *1
Scute Swarm *1
Oran-Rief Hydra *1
Aesi, Tyrant of Gyre Strait *1
#CMD:Tatyova, Benthic Druid (DOM) *1
+85
View File
@@ -0,0 +1,85 @@
#NAME:Ragavan Commander 2023
#DESC:The Ragavan Commander Deck
#DESC:Refined for Wagic by Bob
#HINT:castpriority(commander,*)
Treasure Nabber (PZ2) *1
Dire Fleet Daredevil (AFC) *1
Trash for Treasure (C16) *1
Tome of Legends (ELD) *1
Helm of the Host (DOM) *1
Coercive Recruiter (CMR) *1
World at War (ROE) *1
Commander's Plate (CMR) *1
Neheb, the Eternal (AKR) *1
Strike It Rich (MH2) *1
Stolen Strategy *1
Shinka, the Bloodsoaked Keep (CHK) *1
Inventors' Fair (KLD) *1
Strip Mine (EXP) *1
Embercleave (ELD) *1
Break Through the Line (FRF) *1
Valakut, the Molten Pinnacle (ZEN) *1
Imperial Recruiter (ME2) *1
Tibalt's Trickery (KHM) *1
Mogg Salvage (NMS) *1
Seize the Day (ODY) *1
Mishra's Bauble (MB1) *1
Hellkite Tyrant (GTC) *1
Goblin Engineer (MH1) *1
Aggravated Assault (ONS) *1
Xorn (AFR) *1
Chromatic Lantern *1
Magda, Brazen Outlaw (KHM) *1
Sensei's Divining Top (EMA) *1
Combat Celebrant (AKR) *1
Blood Moon (2XM) *1
Access Tunnel (STX) *1
Sword of Hearth and Home (MH2) *1
Mox Opal (2XM) *1
Treasure Vault (AFR) *1
Sword of Fire and Ice (2XM) *1
Urza's Saga (MH2) *1
Jeska's Will (CMR) *1
Sol Ring (C19) *1
Seize the Spoils (KHM) *1
Abrade (PLIST) *1
Fury of the Horde (CSP) *1
Valakut Awakening (ZNR) *1
Mountain (UNH) *20
Godo, Bandit Warlord (CHK) *1
Mox Amber (DOM) *1
Breeches, Brazen Plunderer *1
Cursed Mirror (C21) *1
Price of Glory (ODY) *1
Spire of Industry (AER) *1
Vandalblast (AFC) *1
Ancient Tomb (ZNE) *1
Passionate Archaeologist *1
Mana Confluence (CMR) *1
Shatterskull Smashing (ZNR) *1
Thran Dynamo *1
Lightning Greaves (MB1) *1
Pirate's Pillage (RIX) *1
Shatter *1
Sword of Feast and Famine (MPS) *1
Goblin Tunneler *1
War's Toll (BBD) *1
Wayfarer's Bauble (C17) *1
Cathedral of War (M13) *1
Sword of Light and Shadow (2XM) *1
Underworld Breach (THB) *1
Reckless Fireweaver *1
Dockside Extortionist (C19) *1
Mox Diamond (FVR) *1
Bloodstained Mire (ONS) *1
Lightning Bolt (ME1) *1
City of Brass (ME4) *1
Goldspan Dragon (KHM) *1
Ruby Medallion (C14) *1
Sword of the Animist (AFC) *1
Grenzo, Havoc Raiser (PZ2) *1
Ancient Copper Dragon *1
Moraug, Fury of Akoum (ZNR) *1
Wheel of Fortune (VMA) *1
Port Razer (CMR) *1
#CMD:Ragavan, Nimble Pilferer (MH2) *1
+98
View File
@@ -0,0 +1,98 @@
#NAME:Arcades Commander 2023
#DESC:Original Deck by ashby4 (tappedout.net),
#DESC:refined for Wagic by Bob
#HINT:castpriority(commander,*)
Akroma's Will (*) * 1
Arcane Signet (*) * 1
Assault Formation (*) * 1
Aura Shards (*) * 1
Axebane Guardian (*) * 1
Azorius Signet (*) * 1
Bant Panorama (*) * 1
Blossoming Sands (*) * 1
Bountiful Promenade (*) * 1
Branchloft Pathway (*) * 1
Brushland (*) * 1
Canopy Vista (*) * 1
Carven Caryatid (*) * 1
Colossus of Akros (*) * 1
Command Tower (*) * 1
Crashing Drawbridge (*) * 1
Dismantling Wave (*) * 1
Drift of Phantasms (*) * 1
Dusk // Dawn (*) * 1
Farseek (*) * 1
Fell the Mighty (*) * 1
Forest (*) * 4
Fortified Rampart (*) * 1
Fortified Village (*) * 1
Glacial Fortress (*) * 1
Glacial Wall (*) * 1
Hallowed Fountain (*) * 1
High Alert (*) * 1
Hinterland Harbor (*) * 1
Hover Barrier (*) * 1
Irrigated Farmland (*) * 1
Island (*) * 2
Jeskai Barricade (*) * 1
Jungle Barrier (*) * 1
Last March of the Ents (*) *1
Leyline of Vitality (*) * 1
Lightning Greaves (MPS) (*) * 1
Lumithread Field (*) * 1
Meekstone (*) * 1
Mirror Shield (*) * 1
Monastery Flock (*) * 1
Noetic Scales (*) * 1
Oathsworn Giant (*) * 1
Overgrown Battlement (*) * 1
Perimeter Captain (*) * 1
Plains (*) * 4
Port Town (*) * 1
Prairie Stream (*) * 1
Rejuvenating Springs (*) * 1
Sakura-Tribe Elder (*) * 1
Scattered Groves (*) * 1
Sea of Clouds (*) * 1
Seaside Citadel (*) * 1
Selesnya Signet (CMA) (*) * 1
Shield Sphere (*) * 1
Simic Signet (*) * 1
Slagwurm Armor (*) * 1
Slaughter the Strong (*) * 1
Sol Ring (*) * 1
Soulsworn Jury (DIS) (*) * 1
Spidersilk Armor (*) * 1
Stalwart Shield-Bearers (*) * 1
Sunpetal Grove (*) * 1
Sunscape Familiar (*) * 1
Swiftfoot Boots (*) * 1
Swords to Plowshares (*) * 1
Sylvan Caryatid (*) * 1
Temple Garden (*) * 1
Temple of Enlightenment (*) * 1
Temple of Mystery (*) * 1
Temple of Plenty (*) * 1
Tetsuko Umezawa, Fugitive (*) * 1
Teyo, the Shieldmage (*) * 1
Thallid Shell-Dweller (TSR) (*) * 1
Thornwood Falls (*) * 1
Tower Defense (*) * 1
Towering Titan (*) * 1
Tranquil Cove (*) * 1
Tree of Redemption (*) * 1
Treva's Ruins (*) * 1
Vine Trellis (*) * 1
Wall of Blossoms (*) * 1
Wall of Denial (*) * 1
Wall of Faith (*) * 1
Wall of Glare (*) * 1
Wall of Ice (*) * 1
Wall of Junk (*) * 1
Wall of Omens (*) * 1
Wall of Roots (*) * 1
Wall of Stolen Identity (*) * 1
Wall of Tanglecord (*) * 1
Wave of Reckoning (*) * 1
Yavimaya Coast (*) * 1
#CMD:Arcades, the Strategist (*) * 1
+28
View File
@@ -0,0 +1,28 @@
#NAME:Bant Midrange
#DESC:The New Innistrad Deck
Teferi, Who Slows the Sunset (*) *3
Luminarch Aspirant (*) *4
Intrepid Adversary (*) *3
Katilda, Dawnhart Prime (*) *4
Elite Spellbinder (*) *4
Augur of Autumn (*) *1
Briarbridge Tracker (*) *2
Brutal Cathar (*) *4
Sigarda, Champion of Light (*) *4
Tovolar's Huntmaster (*) *2
Fateful Absence (*) *2
Ranger Class (*) *2
Forest (*) *1
Plains (*) *3
Branchloft Pathway (*) *4
Hengegate Pathway (*) *4
Barkchannel Pathway (*) *4
Deserted Beach (*) *4
Lair of the Hydra (*) *1
Overgrown Farmland (*) *4
#SB:Skyclave Apparition (*) *4
#SB:Disdainful Stroke (*) *3
#SB:Negate (*) *3
#SB:Sunset Revelry (*) *2
#SB:Pithing Needle (*) *2
#SB:Ranger Class (*) *1
+135
View File
@@ -0,0 +1,135 @@
#NAME:Krenko Commander 2023
#DESC:Original Deck by AGunWithLegs (tappedout.net),
#DESC:refined for Wagic by Bob
#HINT:castpriority(commander,creature,*)
#HINT:dontattackwith(Krenko, Mob Boss)
#HINT:dontblockwith(Krenko, Mob Boss)
Basilisk Collar (*) * 1
Battle Cry Goblin (*) * 1
Blasphemous Act (*) * 1
Blood Moon (*) * 1
Bloodmark Mentor (SHM) (*) * 1
Boggart Shenanigans (*) * 1
Chancellor of the Forge (*) * 1
Coat of Arms (*) * 1
Dragon Fodder (ALA) (*) * 1
Flamekin Village (*) * 1
Foundry Street Denizen (*) * 1
Goblin Assassin (*) * 1
Goblin Burrows (*) * 1
Goblin Caves (*) * 1
Goblin Chieftain (*) * 1
Goblin Chirurgeon (*) * 1
Goblin Dark-Dwellers (*) * 1
Goblin General (*) * 1
Goblin Grenade (*) * 1
Goblin King (*) * 1
Goblin Lackey (*) * 1
Goblin Oriflamme (*) * 1
Goblin Matron (*) * 1
Goblin Piledriver (*) * 1
Goblin Rally (*) * 1
Goblin Recruiter (*) * 1
Goblin Sharpshooter (*) * 1
Goblin Snowman (*) * 1
Goblin War Strike (*) * 1
Goblin Warchief (*) * 1
Goblin Wardriver (*) * 1
Goblin War Drums (*) * 1
Goblin Wizard (*) * 1
Homeward Path (*) * 1
Horde of Boggarts (*) * 1
Hordeling Outburst (*) * 1
Impact Tremors (*) * 1
Intimidator Initiate (*) * 1
Krenko's Enforcer (*) * 1
Krenko's Command (*) * 1
Krenko, Tin Street Kingpin (*) * 1
Legion Loyalist (*) * 1
Legion Warboss (*) * 1
Lightning Greaves (MRD) (*) * 1
Madblind Mountain (*) * 1
Mask of Avacyn (*) * 1
Mob Justice (*) * 1
Mogg Alarm (*) * 1
Mogg Flunkies (*) * 1
Mogg Maniac (*) * 1
Mogg Raider (*) * 1
Moggcatcher (*) * 1
Mons's Goblin Raiders (*) * 1
Mountain (4ED) (*) * 4
Mountain (M10) (*) * 4
Mountain (ICE) (*) * 4
Mountain (M20) (*) * 4
Mountain (MIR) (*) * 4
Mountain (LEA) (*) * 3
Mountain (5ED) (*) * 3
Pashalik Mons (*) * 1
Prophetic Ravings (*) * 1
Purphoros, God of the Forge (*) * 1
Quest for the Goblin Lord (*) * 1
Rising of the Day (*) * 1
Reckless Bushwhacker (*) * 1
Reckless One (*) * 1
Reliquary Tower (*) * 1
Ruby Medallion (*) * 1
Shared Animosity (*) * 1
Siege-Gang Commander (*) * 1
Skirk Commando (*) * 1
Smash (*) * 1
Smoldering Spires (*) * 1
Sol Ring (*) * 1
Swiftfoot Boots (*) * 1
Valakut, the Molten Pinnacle (*) * 1
Vandalblast (*) * 1
Warren Instigator (*) * 1
Whispersilk Cloak (*) * 1
#CMD:Krenko, Mob Boss (*) * 1
+34
View File
@@ -0,0 +1,34 @@
#NAME:Crimson Marriage
#DESC:The First Crimson Vow Deck
Cemetery Protector (VOW) * 1
Hallowed Haunting (VOW) * 1
Faithbound Judge (VOW) * 1
Katilda, Dawnhart Martyr (VOW) * 1
Lantern Flare (VOW) * 2
Savior of Ollenbock (VOW) * 1
Sigarda's Summons (VOW) * 2
Wedding Announcement (VOW) * 2
Welcoming Vampire (VOW) * 2
Voice of the Blessed (VOW) * 2
Cemetery Gatekeeper (VOW) * 2
Ill-Tempered Loner (VOW) * 2
Chandra, Dressed to Kill (VOW) * 2
Manaform Hellkite (VOW) * 2
Stensia Uprising (VOW) * 2
Volatile Arsonist (VOW) * 2
Kessig Wolfrider (VOW) * 2
Dominating Vampire (VOW) * 2
Creepy Puppeteer (VOW) * 2
Dollhouse of Horrors (VOW) * 1
Odric, Blood-Cursed (VOW) * 2
Sundown Pass (VOW) * 4
Plains (VOW) * 10
Mountain (VOW) * 10
#SB:By Invitation Only (VOW) * 1
#SB:Markov Waltzer (VOW) * 2
#SB:Hopeful Initiate (VOW) * 2
#SB:Sanctify (VOW) * 3
#SB:Thalia, Guardian of Thraben (VOW) * 2
#SB:Kessig Wolfrider (VOW) * 2
#SB:Dominating Vampire (VOW) * 1
#SB:Change of Fortune (VOW) * 2
+97
View File
@@ -0,0 +1,97 @@
#NAME:Edgar Markov Commander 2023
#DESC:Original Deck Concept by DespairFaction (tappedout.net)
#DESC:Designed for Wagic by Bob
#HINT:castpriority(commander,creature,*)
#HINT:alwaysattackwith(Edgar Markov)
Ancient Tomb (*) * 1
Asylum Visitor (*) * 1
Badlands (*) * 1
Basri's Solidarity (*) * 1
Bishop's Soldier (*) * 1
Blackcleave Cliffs (*) * 1
Blade of the Bloodchief (*) * 1
Blood Artist (*) * 1
Blood Burglar (*) * 1
Blood Crypt (*) * 1
Bloodfell Caves (*) * 1
Bloodline Keeper (*) * 1
Bloodmad Vampire (*) * 1
Bold Impaler (*) * 1
Captivating Vampire (*) * 1
Cathars' Crusade (*) * 1
Child of Night (*) * 1
Clifftop Retreat (*) * 1
Coat of Arms (*) * 1
Command Tower (*) * 1
Concealed Courtyard (*) * 1
Cordial Vampire (*) * 1
Crescendo of War (*) * 1
Dark Ritual (*) * 1
Dragonskull Summit (*) * 1
Drana, Liberator of Malakir (*) * 1
Duskborne Skymarcher (*) * 1
Elenda, the Dusk Rose (*) * 1
Exquisite Blood (*) * 1
Falkenrath Exterminator (*) * 1
Falkenrath Noble (*) * 1
Falkenrath Perforator (*) * 1
Gift of Estates (*) * 1
Gifted Aetherborn (*) * 1
Godless Shrine (*) * 1
Guul Draz Vampire (*) * 1
Impact Tremors (*) * 1
Inspiring Vantage (*) * 1
Iroas, God of Victory (*) * 1
Isolated Chapel (*) * 1
Knight of the Ebon Legion (*) * 1
Land Tax (*) * 1
Legion Lieutenant (*) * 1
Legion's Landing (*) * 1
Malakir Cullblade (*) * 1
Markov Baron (*) * 1
Martyr of Dusk (*) * 1
Mountain (*) * 1
Necropolis Regent (*) * 1
Nomad Outpost (*) * 1
Nullpriest of Oblivion (*) * 1
Orcish Oriflamme (EMA) (*) * 1
Path of Ancestry (*) * 1
Path of Bravery (*) * 1
Plains (*) * 3
Plateau (*) * 1
Pulse Tracker (*) * 1
Purphoros, God of the Forge (*) * 1
Quag Vampires (*) * 1
Rising of the Day (*) * 1
Ruthless Cullblade (*) * 1
Sacred Foundry (*) * 1
Sanctum Seeker (*) * 1
Scoured Barrens (*) * 1
Scrubland (*) * 1
Shadow Alley Denizen (*) * 1
Skyblade of the Legion (*) * 1
Skymarcher Aspirant (*) * 1
Smoldering Marsh (*) * 1
Sol Ring (*) * 1
Stensia Masquerade (*) * 1
Stromkirk Captain (*) * 1
Stromkirk Noble (*) * 1
Swamp (ICE) (*) * 4
Swamp (MIR) (*) * 4
Swamp (M20) (*) * 2
Throne of the God-Pharaoh (*) * 1
Tithe (*) * 1
Unholy Officiant (*) * 1
Urborg, Tomb of Yawgmoth (*) * 1
Vampire Cutthroat (*) * 1
Vampire Interloper (*) * 1
Vampire Lacerator (*) * 1
Vampire Neonate (*) * 1
Vampire of the Dire Moon (*) * 1
Vampire Socialite (*) * 1
Vicious Conquistador (*) * 1
Vito, Thorn of the Dusk Rose (*) * 1
Voldaren Stinger (*) * 1
Whispersilk Cloak (*) * 1
Wing-Scarred Crag (*) * 1
#CMD:Edgar Markov (*) * 1
+57
View File
@@ -0,0 +1,57 @@
#NAME:Lord of The Rings Commander 2023
#DESC:Original Deck Concept by ElderKuradio (tappedout.net)
#DESC:Designed for Wagic by Vitty85
#HINT:castpriority(commander,creature,*)
Aragorn and Arwen, Wed (*) * 1
Aragorn, the Uniter (*) * 1
Arwen, Mortal Queen (*) * 1
Elvish Mariner (*) * 1
Frodo, Determined Hero (*) * 1
Galadriel, Gift-Giver (*) * 1
Gandalf the White (*) * 1
Gandalf, White Rider (*) * 1
Gloin, Dwarf Emissary (*) * 1
Gollum, Scheming Guide (*) * 1
Gorbag of Minas Morgul (*) * 1
Gothmog, Morgul Lieutenant (*) * 1
Gwaihir the Windlord (*) * 1
Ioreth of the Healing House (*) * 1
Rangers of Ithilien (*) * 1
Saruman of Many Colors (*) * 1
Saruman the White (*) * 1
Sauron, the Dark Lord (*) * 1
Sauron, the Lidless Eye (*) * 1
Strider, Ranger of the North (*) * 1
Witch-king of Angmar (*) * 1
Witch-king, Bringer of Ruin (*) * 1
Barad-dur (*) * 1
Mount Doom (*) * 1
Mountain (LTR) * 13
Island (LTR) * 10
Swamp (LTR) * 10
Forest (LTR) * 10
Plains (LTR) * 10
Elven Chorus (*) * 1
Fires of Mount Doom (*) * 1
Gift of Strands (*) * 1
Long List of the Ents (*) * 1
Oath of the Grey Host (*) * 1
Scroll of Isildur (*) * 1
War of the Last Alliance (*) * 1
Borne Upon a Wind (*) * 1
Friendly Rivalry (*) * 1
Press the Enemy (*) * 1
Sauron's Ransom (*) * 1
Stern Scolding (*) * 1
You Cannot Pass! (*) * 1
Assault on Osgiliath (*) * 1
Hew the Entwood (*) * 1
Horses of the Bruinen (*) * 1
Last March of the Ents (*) * 1
Shadow Summoning (*) * 1
Shadow of the Enemy (*) * 1
Bilbo's Ring (*) * 1
Glamdring (*) * 1
Palantir of Orthanc (*) * 1
#CMD:Tom Bombadil (*) * 1
+26
View File
@@ -0,0 +1,26 @@
#NAME:Counter Attack
#DESC:Deck Concept by Vitty85
#DESC:Designed for Wagic by Bob
#HINT:castpriority(creature,*)
#HINT:combo hold(Time of Need|myhand)^cast(Time of Need|myhand) targeting(Shalai and Hallar|mylibrary)^restriction{type(Shalai and Hallar|mybattlefield)~lessthan~1}^totalmananeeded({1}{G})
#HINT:combo hold(Basri's Solidarity|myhand)^until(Shalai and Hallar|mybattlefield)^cast(Basri's Solidarity|myhand)^totalmananeeded({1}{W})
#HINT:alwaysattackwith(Kalonian Hydra)
Basri's Solidarity (*) * 4
Birds of Paradise (M12) (*) * 3
Cathars' Crusade (*) * 2
Clifftop Retreat (*) * 3
Essence Warden (*) * 3
Graypelt Refuge (*) * 4
Heliod, Sun-Crowned (*) * 3
Jetmir's Garden (*) * 4
Kazandu Refuge (*) * 2
Prosperous Innkeeper (*) * 2
Razorverge Thicket (*) * 4
Archangel of Thune (*) * 3
Rootbound Crag (*) * 2
Kalonian Hydra (*) * 4
Shalai and Hallar (*) * 4
Soul Warden (*) * 3
Sunpetal Grove (*) * 2
Time of Need (*) * 4
Windswept Heath (*) * 4
+27
View File
@@ -0,0 +1,27 @@
#NAME:Orcs of Mordor
#DESC:Designed for Wagic by Bob
Assault on Osgiliath (*) * 2
Dunland Crebain (*) * 2
Easterling Vanguard (*) * 2
Feed the Swarm (*) * 2
Foray of Orcs (*) * 4
Gothmog, Morgul Lieutenant (*) * 1
Grishnakh, Brash Instigator (*) * 1
March from the Black Gate (*) * 2
Mauhur, Uruk-hai Captain (*) * 2
Mordor Muster (*) * 2
Mountain (LTR) (*) * 4
Mountain (SNC) (*) * 4
Mountain (ONE) (*) * 4
Orcish Bowmasters (*) * 4
Olog-hai Crusher (*) * 2
Sauron, the Lidless Eye (*) * 1
Snarling Warg (*) * 2
Swamp (LTR) (*) * 4
Swamp (SNC) (*) * 4
Swamp (ONE) (*) * 4
Swamp (NEO) (*) * 2
Swarming of Moria (*) * 3
Ugluk of the White Hand (*) * 1
Witch-king, Bringer of Ruin (*) * 1
+1 -1
View File
@@ -1,5 +1,5 @@
#Black/White Deck 10E/RV #Black/White Deck 10E/RV
#NAME:Panda Hive #NAME:The Hive
#DESC:When the last living being #DESC:When the last living being
#DESC:succumbs to the terrible blight #DESC:succumbs to the terrible blight
#DESC:the wasps will rise #DESC:the wasps will rise
+1 -1
View File
@@ -1,4 +1,4 @@
#NAME:Elves #NAME:Wilt-Leaf Liege
#DESC:And here you thought you would enjoy #DESC:And here you thought you would enjoy
#DESC:a little trip in the forest... #DESC:a little trip in the forest...
#DESC: #DESC:
+1 -1
View File
@@ -1,4 +1,4 @@
#NAME:Tsabo #NAME:Undead Infiltrator
#DESC:You may be prepared #DESC:You may be prepared
#DESC:for an army of zombies #DESC:for an army of zombies
#DESC:rising from the graves. #DESC:rising from the graves.
+31 -89
View File
@@ -4,94 +4,36 @@
#DESC:there is no time for dispute #DESC:there is no time for dispute
#DESC:or rivalries #DESC:or rivalries
#DESC:in Eladamri and Gerrard's army #DESC:in Eladamri and Gerrard's army
#2x Black Vise
1097
1097
#2x The Rack
1139
1139
#2x Cockatrice
1238
1238
#2x Craw Wurm
1239
1239
#2x Giant Spider
1249
1249
#2x Grizzly Bears
1250
1250
#2x Ironroot Treefolk
1253
1253
#1x Living Lands
1259
#3x Scryb Sprites
1264
1264
1264
#4x Shanodin Dryads
1265
1265
1265
1265
#2x Thicket Basilisk
1267
1267
#1x War Mammoth
1277
#1x Armageddon
1328
# (PSY) 2x Benalish Hero not available any more, removed (deck has still >60 cards) # (PSY) 2x Benalish Hero not available any more, removed (deck has still >60 cards)
#2x Benalish Hero
#1330
#1330
#2x Castle
1334
1334
#2x Crusade
1341
1341
# (PSY) 2x Mesa Pegasus not available any more, removed (deck has still >60 cards) # (PSY) 2x Mesa Pegasus not available any more, removed (deck has still >60 cards)
#2x Mesa Pegasus
#1354 # Land(s)
#1354 Forest (8ED) * 13
#2x Pearled Unicorn Plains (8ED) * 9
1356
1356 # Creature(s)
#2x Savannah Lions Cockatrice (TSB) * 2
1365 Craw Wurm (9ED) * 2
1365 Giant Spider (AKH) * 2
#2x Serra Angel Grizzly Bears (8ED) * 2
1366 Spitting Spider (8ED) * 2
1366 Ronom Unicorn (CSP) * 2
#2x Wrath of God Savannah Lions (A25) * 2
1372 Scute Mob (ZEN) * 3
1372 Serra Angel (M13) * 2
# Forest (RV) Jukai Messenger (CHK) * 4
1386 Kessig Recluse (DKA) * 2
1386 Rhox Charger (ALA) * 1
1386
1386 # Artifact(s)
1387 Black Vise (V10) * 2
1387 The Rack (DPA) * 2
1387
1387 # Enchantment(s)
1388 Builder's Blessing (AVR) * 2
1388 Crusade (DDF) * 2
1388 Living Lands (ME4) * 1
1388
# Plains (RV) # Sorcery(s)
1395 Armageddon (VMA) * 1
1395 Wrath of God (8ED) * 2
1395
1395
1396
1396
1396
1396
1397
1397
1397
1397
+21 -19
View File
@@ -1,4 +1,4 @@
#NAME:Elfball #NAME:Imperious Vanguard
#DESC:An endless stream #DESC:An endless stream
#DESC:of elvish warriors #DESC:of elvish warriors
#DESC:will overwhelm you, #DESC:will overwhelm you,
@@ -9,21 +9,23 @@
#DESC: #DESC:
#DESC:You have no chance! #DESC:You have no chance!
Llanowar Elves (M10) *4 # Land(s)
Wellwisher (ONS) *4 Forest (M12) * 20
Elvish Vanguard (ONS) *4 Gaea's Cradle (PRM) * 1
Elvish Visionary (M10) *4 Pendelhaven (A25) * 1
Elvish Hexhunter (SHM) *4
Elvish Promenade (LRW) *4 # Creature(s)
Elvish Archdruid (M10) *4 Drove of Elves (SHM) * 1
Imperious Perfect (LRW) *4 Elvish Archdruid (M10) * 4
Drove of Elves (SHM) *1 Elvish Hexhunter (SHM) * 4
Heedless One (ONS) *3 Elvish Vanguard (EMA) * 4
Overrun (10E) *2 Elvish Visionary (ALA) * 4
Forest (10E) *4 Heedless One (PSAL) * 3
Forest (M10) *4 Imperious Perfect (LRW) * 4
Forest (ALA) *4 Llanowar Elves (9ED) * 4
Forest (LRW) *4 Wellwisher (C14) * 4
Forest (RAV) *4
Pendelhaven (LEG) *1 # Sorcery(s)
Gaea's Cradle (USG) *1 Elvish Promenade (LRW) * 4
Overrun (10E) * 2
+23 -17
View File
@@ -3,20 +3,26 @@
#DESC:will sweep through your defenses #DESC:will sweep through your defenses
#DESC:while all your forces can do #DESC:while all your forces can do
#DESC:is watch and gape in awe. #DESC:is watch and gape in awe.
Angelic Chorus (10E) *3 # Land(s)
Honor of the Pure (M10) *4 Plains (M15) * 19
Kitchen Finks (SHM) *4 Quicksand (WWK) * 4
Mesa Enchantress (M10) *4 Serra's Sanctum (*) * 1
Moat (LEG) *3
Pacifism (10E) *4 # Creature(s)
Cage of Hands (CHK) *3 Kitchen Finks (SHM) * 4
Sigil of the Empty Throne (CFX) *4 Mesa Enchantress (PLC) * 4
Swords to Plowshares (ICE) *4
Wrath of God (10E) *3 # Enchantment(s)
Quicksand (10E) *4 Angelic Chorus (10E) * 3
Plains (10E) *4 Cage of Hands (CHK) * 3
Plains (M10) *4 Honor of the Pure (M10) * 4
Plains (ALA) *4 Moat (PRM) * 3
Plains (LRW) *4 Pacifism (A25) * 4
Plains (RAV) *3 Sigil of the Empty Throne (CFX) * 4
Serra's Sanctum (USG) *1
# Instant(s)
Swords to Plowshares (DDF) * 4
# Sorcery(s)
Wrath of God (10E) * 3
+21 -17
View File
@@ -3,20 +3,24 @@
#DESC:and barely present, #DESC:and barely present,
#DESC:but if you let them grow #DESC:but if you let them grow
#DESC:they will crush your army. #DESC:they will crush your army.
Crusade (RV) *4 # Land(s)
Glorious Anthem (10E) *4 Plains (M21) * 23
Honor of the Pure (M10) *4
Armored Ascension (M10) *2 # Creature(s)
Swords to Plowshares (ICE) *4 Kitchen Finks (SHM) * 3
Disenchant (TMP) *3 Knight of Meadowgrain (LRW) * 4
Paladin en-Vec (10E) *2 Paladin en-Vec (10E) * 2
Knight of Meadowgrain (LRW) *4 Stillmoon Cavalier (EVE) * 3
Kitchen Finks (SHM) *3
Spectral Procession (SHM) *4 # Enchantment(s)
Stillmoon Cavalier (EVE) *3 Armored Ascension (SHM) * 2
Plains (10E) *4 Crusade (DDF) * 4
Plains (M10) *4 Glorious Anthem (8ED) * 4
Plains (ALA) *4 Honor of the Pure (M10) * 4
Plains (LRW) *4
Plains (SHM) *4 # Instant(s)
Plains (RAV) *3 Disenchant (TPR) * 3
Swords to Plowshares (DDF) * 4
# Sorcery(s)
Spectral Procession (SHM) * 4
+21 -16
View File
@@ -4,19 +4,24 @@
#DESC: And we will grow stronger #DESC: And we will grow stronger
#DESC: as you keep losing #DESC: as you keep losing
#DESC: your thoughts." #DESC: your thoughts."
The Rack (RV) *4 # Land(s)
Doom Blade (M10) *4 Gargoyle Castle (M10) * 4
Last Gasp (RAV) *4 Swamp (M21) * 19
Hymn to Tourach (FEM) *4 Volrath's Stronghold (TPR) * 1
Black Knight (M10) *4
Hypnotic Specter (10E) *4 # Creature(s)
Nyxathid (CFX) *4 Black Knight (M10) * 4
Graveborn Muse (10E) *4 Graveborn Muse (10E) * 4
Tendrils of Corruption (M10) *4 Hypnotic Specter (M10) * 4
Gargoyle Castle (M10) *4 Nyxathid (CFX) * 4
Volrath's Stronghold (STH) *1
Swamp (10E) *4 # Artifact(s)
Swamp (M10) *4 The Rack (DPA) * 4
Swamp (ALA) *4
Swamp (LRW) *4 # Instant(s)
Swamp (RAV) *3 Doom Blade (M10) * 4
Last Gasp (RAV) * 4
Tendrils of Corruption (TSP) * 4
# Sorcery(s)
Hymn to Tourach (V13) * 4
+36 -30
View File
@@ -1,49 +1,55 @@
#NAME:Kobold Overlord #NAME:Kobold Overlord
#
#DESC:"You may think we are weak #DESC:"You may think we are weak
#DESC: But we are many #DESC: But we are many
#DESC: And sometimes we can hire #DESC: And sometimes we can hire
#DESC: A powerful mercenary!" #DESC: A powerful mercenary!"
#
Mountain (10E) *20
Kher Keep (TSP) *2 # produces kobold tokens
Crimson Kobolds (LEG) *4
Crookshank Kobolds (LEG) *4
Kobold Drill Sergeant (LEG) *4
Kobold Overlord (LEG) *4
Kobold Taskmaster (LEG) *4
Kobolds of Kher Keep (LEG) *4
Battle Squadron (MRQ) *2 # to have a flyer in the deck
Keldon Warlord (RV) *2
# Doesn't fit the theme too well (would a Keldon Warlord really
# work as a mercenary for a Kobold Overlord?), but without it
# the deck would be too weak, and a deck full of weak
# creatures is exactly the environment where a Keldon Warlord
# thrives.
Wheel of Fortune (RV) *1
#To get a new hand (hopefully) full of cheap kobolds once the
#previous hand has been used up. Only 1 because it's
#restricted.
Slate of Ancestry (ONS) *2
#To draw more cards (check whether the AI overuses it and
#decks itself out)
Howling Mine (10E) *4
Mob Justice (STH) *3 # finisher
#
#
# Cards considered, but not included: # Cards considered, but not included:
# Orcish Oriflamme - would match the deck's focus of # Orcish Oriflamme - would match the deck's focus of
# strengthening the creatures, but is too expensive. Perhaps add # strengthening the creatures, but is too expensive. Perhaps add
# it when mana acceleration is possible for this deck. # it when mana acceleration is possible for this deck.
#
# Cards removed from he deck: # Cards removed from he deck:
# 3 x Bravado (USG) (ID 5848) # 3 x Bravado (USG) (ID 5848)
# The card's name and illustration don't really fit the "kobold" # The card's name and illustration don't really fit the "kobold"
# theme, but the effect (strength through numbers) definitely # theme, but the effect (strength through numbers) definitely
# does. # does.
# Removed because the AI casts it on its opponent's creatures. # Removed because the AI casts it on its opponent's creatures.
#
# 4 x Brightstone Ritual (ONS) (ID 39846) # 4 x Brightstone Ritual (ONS) (ID 39846)
# for mana acceleration # for mana acceleration
# Removed because the AI doesn't use the mana. # Removed because the AI doesn't use the mana.
# Also ... only works with goblins. Duh. *blush* # Also ... only works with goblins. Duh. *blush*
# Land(s)
Kher Keep (TSP) * 2 # produces kobold tokens
Mountain (ONS) * 20
# Creature(s)
Battle Squadron (MMQ) * 2
Crimson Kobolds (ME3) * 4
Crookshank Kobolds (ME1) * 4
Keldon Warlord (5ED) * 2
# Doesn't fit the theme too well (would a Keldon Warlord really
# work as a mercenary for a Kobold Overlord?), but without it
# the deck would be too weak, and a deck full of weak
# creatures is exactly the environment where a Keldon Warlord
# thrives.
Kobold Drill Sergeant (ME3) * 4
Kobold Overlord (ME3) * 4
Kobold Taskmaster (ME3) * 4
Kobolds of Kher Keep (ME3) * 4
# Artifact(s)
Howling Mine (7ED) * 4
Slate of Ancestry (ONS) * 2
#To draw more cards (check whether the AI overuses it and
#decks itself out)
# Sorcery(s)
Mob Justice (*) * 3
Wheel of Fortune (VMA) * 1
#To get a new hand (hopefully) full of cheap kobolds once the
#previous hand has been used up. Only 1 because it's
#restricted.

Some files were not shown because too many files have changed in this diff Show More