Commit Graph

7668 Commits

Author SHA1 Message Date
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