Commit Graph

7972 Commits

Author SHA1 Message Date
Eduardo MG
6c599246f6 New cards from Duskmourn: House of Horror (DSK)
Bug fixes:
Backwoods Survivalists
Draconic Intervention
Monstrous Step
Skulking Killer

New cards:
Abandoned Campground
Abhorrent Oculus
Acrobatic Cheerleader
Altanak, the Thrice-Called
Appendage Amalgam
Arabella, Abandoned Doll
Attack-in-the-Box
Balemurk Leech
Balustrade Wurm
Baseball Bat
Bashful Beastie
Bear Trap
Bedhead Beastie
Betrayer's Bargain
Blazemire Verge
Bleeding Woods
Boilerbilges Ripper
Break Down the Door
Broodspinner
Cackling Slasher
Cautious Survivor
Clammy Prowler
Clockwork Percussionist
Commune with Evil
Cracked Skull
Cult Healer
Curator Beastie
Cynical Loner
Daggermaw Megalodon
Dashing Bloodsucker
Defiant Survivor
Deluge of Doom
Demolisher Spawn
Demonic Counsel
Disturbing Mirth
Diversion Specialist
Doomsday Excruciator
Duskmourn's Domination
Emerge from the Cocoon
Enduring Courage
Enduring Curiosity
Enduring Innocence
Enduring Tenacity
Enduring Vitality
Enter the Enigma
Entity Tracker
Erratic Apparition
Etched Cornfield
Exorcise
Fear of Being Hunted
Fear of Exposure
Fear of Failed Tests
Fear of Falling
Fear of Infinity
Fear of Isolation
Fear of Lost Teeth
Fear of Missing Out
Fear of Surveillance
Fear of the Dark
Final Vengeance
Flesh Burrower
Floodfarm Verge
Floodpits Drowner
Formless Genesis
Frantic Strength
Friendly Ghost
Friendly Teddy
Get Out
Ghostly Dancers
Giggling Skitterspike
Give In to Violence
Gleeful Arsonist
Glimmer Seeker
Glimmerburst
Glimmerlight
Gloomlake Verge
Gloomlake Verge
Grasping Longneck
Gremlin Tamer
Hand That Feeds
Hardened Escort
Haunted Screen
Hedge Shredder
Horrid Vigor
House Cartographer
Hushwood Verge
Impossible Inferno
Infernal Phantom
Innocuous Rat
Inquisitive Glimmer
Insidious Fungus
Irreverent Gremlin
Jump Scare
Kaito, Bane of Nightmares
Keys to the House
Kona, Rescue Beastie
Lakeside Shack
Leyline of Hope
Leyline of Mutation
Leyline of Transformation
Lionheart Glimmer
Live or Die
Living Phone
Malevolent Chandelier
Manifest Dread
Marina Vendrell
Marina Vendrell's Grimoire
Metamorphosis Fanatic
Midnight Mayhem
Most Valuable Slayer
Murky Sewer
Neglected Manor
Optimistic Scavenger
Overlord of the Balemurk
Overlord of the Boilerbilges
Overlord of the Floodpits
Overlord of the Hauntwoods
Overlord of the Mistmoors
Patched Plaything
Patchwork Beastie
Peculiar Lighthouse
Peer Past the Veil
Persistent Constrictor
Phenomenon Investigators
Piggy Bank
Piranha Fly
Popular Egotist
Possessed Goat
Ragged Playmate
Raucous Carnival
Razorkin Hordecaller
Razorkin Needlehead
Razortrap Gorge
Redress Fate
Resurrected Cultist
Ripchain Razorkin
Rite of the Moth
Rootwise Survivor
Sadistic Shell Game
Savior of the Small
Say Its Name
Scrabbling Skullcrab
Shardmage's Rescue
Sheltered by Ghosts
Shepherding Spirits
Shrewd Storyteller
Shroudstomper
Skullsnap Nuisance
Slavering Branchsnapper
Soaring Lightbringer
Spectral Snatcher
Spineseeker Centipede
Split Up
Splitskin Doll
Stalked Researcher
Strangled Cemetery
Suspended Sentence
The Jolly Balloon Man
The Swarmweaver
The Wandering Rescuer
Thornspire Verge
Toby, Beastie Befriender
Trapped in the Screen
Tunnel Surveyor
Turn Inside Out
Twist Reality
Twitching Doll
Tyvar, the Pummeler
Unsettling Twins
Unwanted Remake
Ursine Monstrosity
Valgavoth's Faithful
Valgavoth's Lair
Vanish from Sight
Vengeful Possession
Vicious Clown
Vile Mutilator
Violent Urge
Wary Watchdog
Wickerfolk Thresher
Wildfire Wickerfolk
Winter's Intervention
Winter, Misanthropic Guide
Withering Torment
Withering Torment
2024-10-10 18:00:20 -06:00
Eduardo MG
c84be9d674 Duskmourn: House of Horror and Duskmourn: House of Horror Commander
Duskmourn: House of Horror (DSK) and Duskmourn: House of Horror Commander (DSC) _cards.dat
2024-10-09 19:13:54 -06:00
Eduardo MG
7faeab98c2 Merge pull request #1103 from BobCyril/master
Moved AI Commander deck and added new AI Classic deck
2024-10-09 19:08:43 -06:00
BobCyril
3261b8bd10 Update deck150.txt
New AI deck to replace Ragavan Commander deck, now moved to deck34
2024-10-05 20:41:26 +01:00
BobCyril
dbe71fa81a Update deck34.txt
Moving updated Ragavan AI commander deck here to replace very poor AI deck
2024-10-05 20:38:53 +01:00
Eduardo MG
22efb82688 Merge pull request #1102 from BobCyril/master
Update deck149.txt
2024-10-02 15:17:10 -06:00
BobCyril
b09cd93f79 Update deck149.txt
Corrected problematic card interaction by replacing cards.
2024-10-01 04:55:18 +01:00
Eduardo MG
114ab84a9c Merge pull request #1101 from BobCyril/master
New AI commander deck for intermediate players
2024-09-30 18:03:10 -06:00
BobCyril
edcce09448 Update deck26.txt
New AI commander deck for intermediate players
2024-09-30 21:09:09 +01:00
BobCyril
e3e77711d5 Update deck18.txt
Moving deck26 (Kithkin) to here to replace very similar deck, and to make space for new commander deck.
2024-09-30 21:07:48 +01:00
Eduardo MG
480bc46ef4 Changes made to Alchemy Innistrad, bug fixes in primitives
Changes made to alchemy innistrad to have the correct multiverseid values and better image quality
Nahiri, the Unforgiving
Kaervek's Spite
Ox Drover
Volrath, the Shapestealer
Garna, Bloodfist of Keld
2024-09-19 17:28:09 -06:00
Eduardo MG
1421d906ce Tolsimir, Friend to Wolves token was crashing game
Bug fixes:
Floriferous Vinewall
Ghostfire Blade
Goblin Bowling Team
Take Out the Trash
Tolsimir, Friend to Wolves
2024-08-31 19:46:52 -06:00
Eduardo MG
229bc06027 Merge pull request #1100 from BobCyril/master
Two new AI Commander opponents for new players
2024-08-30 15:53:25 -06:00
BobCyril
0369409af0 Update deck55.txt
Add new Commander AI opponent for intermediate players. replacing poor AI deck
2024-08-30 18:57:13 +01:00
BobCyril
f160b6a5a0 Update deck16.txt
Add new Commander AI opponent for beginners, replacing a poor AI deck.
2024-08-30 18:54:19 +01:00
Eduardo MG
872732b5ab New cards
Myojin of Cryptic Dreams
Gourmand's Talent
Fortune Teller's Talent
Perch Protection
Tempt with Bunnies
Tempt with Glory
Tempt with Vengeance
Arthur, Marigold Knight
Mr. Foxglove
Sowing Mycospawn
Depth Defiler
Thraben Charm
Planar Nexus
Trenchpost
Riveteers Overlook
Brokers Hideout
Cabaretti Courtyard
Maestros Theater
Obscura Storefront
Sage of the Maze
Charitable Levy
Chthonian Nightmare
Infested Thrinax
Etherium Pteramander
Cursed Wombat
Witch Enchanter
Witch-Blessed Meadow
Pinnacle Monk
Mystic Peak
Disciple of Freyalise
Garden of Freyalise
Drowner of Truth
Drowned Jungle
Strength of the Harvest
Haven of the Harvest
Glasswing Grace
Age-Graced Chapel
Revitalizing Repast
Old-Growth Grove
Legion Leadership
Legion Stronghold
Razorgrass Ambush
Razorgrass Field
Sink into Stupor
Soporific Springs
Fell the Profane
Fell Mire
Waterlogged Teachings
Inundated Archive
Stump Stomp
Burnwillow Clearing
Bridgeworks Battle
Tanglespan Bridgeworks
Bushy Bodyguard
Heirloom Epic
Starfall Invocation
Otterball Antics
Miriam, Herd Whisperer
Tomb Trawler
Silver Deputy
Outcaster Greenblade
Redrock Sentinel
Obeka, Splitter of Seconds
Hellspur Brute
Ferocification
Quick Draw
Gold Rush
Trick Shot
Roxanne, Starfall Savant
Cactarantula
Furtive Courier
Detective's Satchel
Public Thoroughfare
Dramatic Accusation
Coerced to Kill
Archdruid's Charm
Gnawing Crescendo
Edgewall Inn
Expel the Interlopers
Specter of Mortality
2024-08-29 19:25:34 -06:00
Eduardo MG
2bb75ed466 Updates to _cards.dat
Bug fixes to primitives, updates to CardImageLinks.csv, fixed a typo in createResourceZip.py
2024-08-29 18:58:08 -06:00
Eduardo MG
603d91885f Fix to offspring cards
Escaped Shapeshifter
Pyxis of Pandemonium
Silver-Fur Master
Nashi, Moon Sage's Scion
Barrow Ghoul
Circling Vultures
Collector's Vault
Heavenly Blademaster
Chaos Warp
Master's Rebuke
Diamond Pick-Axe
2024-08-28 00:29:08 -06:00
Eduardo MG
a1266cbba8 Bug fixes to Bloomburrow cards
A-Haywire Mite
Carrot Cake
Mind Drill Assailant
Mindwhisker
Nightwhorl Hermit
Repel Calamity
Sonar Strike
2024-08-23 17:08:45 -06:00
Eduardo MG
6088969245 Bug fixes to BLB cards
Krovikan Whispers
Drillworks Mole
Gossip's Talent
Mabel's Mettle
Sunshower Druid
Ygra, Eater of All
2024-08-22 13:39:15 -06:00
Eduardo MG
3d9b40f903 Random Commander From File Rules
randomCommanderFromFile.txt

The randomcommander from file feature allows players to load a commander deck from a predefined list stored in an external file. Here’s how it works:

File Loading: The game attempts to open a file named commander.txt located in the User/commander/ directory. This file contains a list of possible commander IDs or names.

Default Handling: If the file doesn't exist or is empty, the game creates the file and writes a default commander ID (670972) to it. The file is then re-opened for further processing.

Commander ID Extraction: The game reads each line in the file, ignoring comments (lines starting with #). It validates whether the line is a numeric commander ID. If not, the game tries to convert it from a card name to an ID using function getMTGId().

Filtering and Validation: The game then filters out invalid IDs (e.g., IDs that do not correspond to an existing card in the game's database). If no valid IDs remain, it defaults to using the same commander ID (670972).

Random Selection: Once a list of valid commander IDs is compiled, the game randomly selects one ID from this list to be used as the commander for the player.

Deck Construction: A temporary deck is constructed using the selected commander, along with a predefined number of lands and spells that match the commander's colors.

Summary
The random commander from file feature provides a way to customize and randomize the commander used in a game based on an external file. This adds variety and replayability, as each game can have a different commander selected from the list, allowing for different strategies and experiences.
2024-08-22 10:32:53 -06:00
Eduardo MG
ddd589d3f6 Trying to fix compilation for PSP
Replace nullptr with NULL
2024-08-21 23:02:11 -06:00
Eduardo MG
8793f05cea Random Commander From File
Loads a player with a randomly selected commander from a specified file.

 * This function reads a file ('User/commander/commander.txt') that contains a list of potential commander IDs or names.
 * It selects one randomly to be used as the player's commander. If the file doesn't exist, or no valid commanders are found, a default commander ID (670972) is used.
* Can read the commander name and a multiverseID
* Lines that start with '#' are ignored
2024-08-21 22:33:31 -06:00
Eduardo MG
ec2ef1856b Bug fix this(variable{phalfinitlife}) indestructible
As long as your life total is less than or equal to half your starting life total, this has indestructible
Agrus Kos, Spirit of Justice
Alloy Animist
Bane, Lord of Darkness
Bhaal, Lord of Murder
Fighter Class
Flamerush Rider
Greasefang, Okiba Boss
Hydroid Krasis
=Ilharg, the Raze-Boar
Mangara, the Diplomat
Myrkul, Lord of Bones
Omo, Queen of Vesuva
Ragavan, Nimble Pilferer
Titania's Song
Vedalken Humiliator
Winota, Joiner of Forces
Zara, Renegade Recruiter
Zoraline, Cosmos Caller
Aethermage's Touch
Dragon Mask
Rakalite
Nahiri, the Harbinger
2024-08-21 20:24:54 -06:00
Eduardo MG
fd11dcefe2 Revert "Updating Android ndk"
This reverts commit aa48c9ca4a.
2024-08-19 19:04:06 -06:00
Eduardo MG
190405d43f Revert "Update travis-script.sh"
This reverts commit f6a991a2e6.
2024-08-19 19:04:01 -06:00
Eduardo MG
30505b0e5d Revert "Travis, trying a newer version of android ndk"
This reverts commit 93492ae091.
2024-08-19 19:03:40 -06:00
Eduardo MG
93492ae091 Travis, trying a newer version of android ndk 2024-08-19 18:56:17 -06:00
Eduardo MG
f6a991a2e6 Update travis-script.sh 2024-08-19 18:24:55 -06:00
Eduardo MG
aa48c9ca4a Updating Android ndk
Trying android-ndk-r27/ndk-build
2024-08-19 17:37:58 -06:00
Eduardo MG
8ed4729d82 postcombat to second main, bug fixes in primitives
Had to use the treasure defined as primitive since the Fable of the Mirror-Breaker token won't create a treasure otherwise.

Changes:

Rat Colony
Shadow of the Second Sun
Sphinx of the Second Sun
Viashino is no longer a creature type. The postcombat main phase is now referred to as the second main phase.
Updated Rules.cpp to exclude the Viashino type from random kindred decks.
Bug Fixes:

Fable of the Mirror-Breaker
Rat Colony
Plumb the Forbidden
Oblivion Stone
2024-08-18 17:50:59 -06:00
Eduardo MG
4ebb114a0e Bug fixes, corrections, clarifications on abilities
Tezzeret, Betrayer of Flesh -2 is permanent
2024-08-17 12:08:54 -06:00
Eduardo MG
7e3cf5c009 New cards from Bloomburrow
New cards from Bloomburrow (BLB) and Bloomburrow Commander (BLC)
2024-08-16 16:12:25 -06:00
Eduardo MG
9895148562 Moved reconfigure cards to the end of mtg file
Due to card type association, Dryad Arbor is placed at the end. Any other card that associates two super types in this manner should also be placed at the end of the primitive to avoid changeling thinking that “forest” is a creature type. This applies to reconfigure cards as well, to avoid making changelings equipment.
2024-08-16 16:04:37 -06:00
Eduardo MG
bfa30c10db Add new icons for graveyard and for exile 2024-08-16 12:27:30 -06:00
Eduardo MG
f57f5bfff5 Changed ownerHand to just hand, bug fixes
Changed ownerHand to just hand, inspecting the source code it is the same
Individual cards bug fixes:
Arbiter of the Ideal have to misspell manifest
Curate Must Draw After Surveil
Deface casting restrictions
Discombobulate
Dovin, Grand Arbiter
Downsize
Dragon Throne Of Tarkir
Dragonshift
Dregs of Sorrow
Elder Spawn
Elvish Mariner
Faerie Mastermind
Fecundity
Finale Of Revelation
Flame Channeler
Flameskull
Frostwalk Bastion frozen ability
Gate To The Afterlife
Invade the City is still on the stack while you count your instant and sorcery cards in your graveyard. It doesn't count itself.
Kabira Evangel doesn't seem to work with a may condition
Krosan Verge
Livewire Lash
Meteor Blast
Midnight Clock
Mindlink Mech
Mirror Match
Morality Shift removed
Overwhelming Encounter removed
Peace Talks removed
Quiet Disrepair removed
Ravenous Gigantotherium removed
Reign Of Chaos
Rout
Sanctuary Blade removed
Sculpted Sunburst
Seeds Of Innocence
Shackles Of Treachery
Shared Summons
Sokenzan Smelter
Valiant Endeavor removed
Vraska, Betrayal's Sting
2024-08-16 12:22:13 -06:00
Eduardo MG
e2f6fec09e LTR and LTC _cards.dat and bug fixes in primitives
I had to update the _cards.dat files for The Lord of the Rings: Tales of Middle-earth (LTR) and Tales of Middle-earth Commander (LTC) since they didn't have the correct official multiverse IDs. I'm sorry if this affects past decks, but I had to make these changes because it was difficult to debug cards within the set and obtain their respective tokens.
Hisoka, Minamo Sensei
Ragemonger text
Igneous Inspiration and other instants/serceries that target an opponents permanent
Mind Rake
Keeper of the Accord
Aria Of Flame
Arixmethes, Slumbering Isle, Annoying
Battlefield Scrounger
Bloodchief Ascension
Breathless Knight
Breeches, Brazen Plunderer
Doubling Season
Contaminant Grafter
Cursed Rack was working even after being destroyed
2024-08-14 18:37:30 -06:00
Eduardo MG
f9df303e92 Update CardImageLinks.csv
Including cards from Bloomburrow and its commander set, token updates.
2024-08-13 17:47:48 -06:00
Eduardo MG
42401d749b Double square brackets can cause bugs.
Leovold, Emissary of Trest
soldevi digger
raze-boar returned a card from the graveyard
Hatchery Spider is a cast
Estrid, the Masked had to create a flavorful workaround
Atemsis, All-Seeing not exaclty the effect
Nothic
Thunderwave crashing and not working any iteration
Kuldotha Flamefiend
2024-08-13 16:56:56 -06:00
Eduardo MG
57c59ee0dd Changed some conditions to simpler variables
newability[reach] changed to just reach
Bug fixes
Garruk, Unleashed
2024-08-13 00:13:13 -06:00
Eduardo MG
618a418ea6 Changed 'endofturn' to just 'end'
Same functionality with less code
2024-08-12 23:07:07 -06:00
Eduardo MG
eccd00fd19 Updates to _cards.dat, bug fixes
Bug fixes in primitives
2024-08-12 18:05:28 -06:00
Eduardo MG
4f24b94faa Bug fixes in primitives, planeswalkers minus character
Replaced unusual characters in the planeswalkers file.
2024-08-12 08:35:44 -06:00
Eduardo MG
2588bcd050 Revised the rules files and improved the Titania game mode with new features.
The effect "Whenever one or more +1/+1 counters are put" should be coded as @totalcounteradded(1/1) to to avoid triggering from a single instance that puts multiple counters.

Updated the BLC file to include the alternative layout cards.

Rakdos the Defiler
Jin-Gitaxias, Progress Tyrant
Jousting Lance
Leaf Drum Controlled By The Ai
Spectacle as a macro causes bugs
Sword of the Paruns
Suit Up
Lurrus of the Dream-Den
2024-08-11 12:18:25 -06:00
Eduardo MG
aca7f6d416 Changed cards with "Act of treason" effect
Double square brackets was causing bugs.

Changed cards with the effect "Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. (It can attack and {T} this turn.)"
2024-08-08 08:36:26 -06:00
Eduardo MG
67666e850d Changes to _cards.dat to account for layouts
I had to modify how the _cards.dat files are created to incorporate variant layouts of adventures, aftermath, and split cards. They are now showing in the collection, but you will need to download the images again.
Rootless Yew
Repel Intruders
Resplendent Angel
Karn, Scion of Urza
2024-08-07 23:41:50 -06:00
Eduardo MG
2cef9d8f60 Bug fixes in primitives
when this creature dies, put its counters on target creature you control
Shiny Impetus
Witch of the Moors
Parish-Blade Trainee
Enduring Bondwarden
Marauding Maulhorn
2024-08-07 07:28:59 -06:00
Eduardo MG
34557b3c4f Bug fixes in primitives
Anointer of Valor
Profane Command
confluences
Skeletal Swarming
2024-08-06 19:56:31 -06:00
Eduardo MG
5629240449 Changed how Clue, Food, and Treasure tokens are created.
Since I can now obtain token images, the tokens should correspond to the plane and have different illustrations.
2024-08-06 00:03:25 -06:00
Eduardo MG
9ca59e9afb _PROLIFERATE_ is giving issues
Current implementation is not 100% correct since it forces you to select at least one target
2024-08-02 18:09:25 -06:00