3012 Commits

Author SHA1 Message Date
Eduardo MG
f9d5620d38 Merge pull request #1143 from BobCyril/master
Updates to decks 51-70
2026-01-26 08:35:05 -06:00
BobCyril
53641fc36c Update deck70.txt
Reformatted; replaced cards AI plays poorly; added hint to support strategy
2026-01-18 21:22:44 +00:00
BobCyril
9bbbb9f7d3 Update deck69.txt
Reformatted; replaced one card AI plays poorly
2026-01-18 21:21:19 +00:00
BobCyril
efbdc741f5 Update deck68.txt
New flavor text
2026-01-18 21:20:12 +00:00
BobCyril
923affb250 Update deck67.txt
Previous deck weakened by splashing R to little effect, so rebuilt as mono-G but on same theme
2026-01-18 21:18:44 +00:00
BobCyril
0c6262f9e2 Update deck66.txt
Previous deck had no wincon, so rebuilt with a better strategy but the same theme; added hints to optimise
2026-01-18 21:16:57 +00:00
BobCyril
c771d84b87 Update deck65.txt
Reformatted; new flavor text
2026-01-18 21:14:52 +00:00
BobCyril
526797d9fe Update deck64.txt
Reformatted; on-theme swaps to remove vanilla cards and reduce deck average CMC
2026-01-18 21:13:42 +00:00
BobCyril
b64746db3b Update deck63.txt
Reformatted; minor swaps to prevent AI damaging itself
2026-01-18 21:12:08 +00:00
BobCyril
c8210b060c Update deck62.txt
Reformatted; minor swaps to improve strategy; reduced lands to prevent mana flood
2026-01-18 21:10:34 +00:00
BobCyril
e61e39ae5a Update deck61.txt
Reformatted; replaced cards AI uses incorrectly
2026-01-18 21:08:49 +00:00
BobCyril
25cbe417be Update deck60.txt
Reformatted; renamed; strengthened strategy with new cards; added hint to control board wipes
2026-01-18 21:07:11 +00:00
BobCyril
2af5a68829 Update deck59.txt
Reformatted; added hints to control board wipes
2026-01-18 21:04:42 +00:00
BobCyril
1bca4097b6 Update deck58.txt
Reformatted; new flavor text
2026-01-18 21:03:27 +00:00
BobCyril
920b475f85 Update deck57.txt
Reformatted; replaced cards AI does not use; added hints to control use of X-cost spells
2026-01-18 21:01:56 +00:00
BobCyril
c6f9a6ec47 Update deck56.txt
New flavor text
2026-01-18 21:00:13 +00:00
BobCyril
dcfce60d16 Update deck55.txt
New flavor text
2026-01-18 20:58:45 +00:00
BobCyril
b6cc8a5d1d Update deck54.txt
Reformatted; renamed; new combo and supporting hints added; hints to prevent AI damaging wasting cards
2026-01-18 20:56:46 +00:00
BobCyril
6705a579d5 Update deck53.txt
Reformatted; minor swaps to reduce deck average CMC
2026-01-18 20:53:46 +00:00
BobCyril
44ece02776 Update deck52.txt
Reformatted; added cast prioity and board wipe hints; added graveyard recursion effects
2026-01-18 20:52:04 +00:00
BobCyril
06cf752317 Update deck51.txt
Reformatted; new cards to fit deck theme; cast priority hint added
2026-01-18 20:48:48 +00:00
Eduardo MG
299883cc2c Bug Fixes in primitives, <loose> is wrong, correct use is <lose>
Sunbillow Verge
Murasa Behemoth
Dreams of the dead
Kenrith, the Returned King
Chart a Course
Explosion of Riches
Djeru and Hazoret
Vodalian Merchant
<loose> is wrong, correct is <lose>
Rampaging Baloths
Kraul Whipcracker
Gulf Squid
2026-01-15 07:34:59 -06:00
Eduardo MG
6e9c8e2cff Merge pull request #1123 from BobCyril/master
Updates to decks 41-50
2025-10-16 08:35:43 -06:00
BobCyril
66050dfda0 Update deck50.txt
Reformatted; renamed; added hints to control board wipes and enchantments
2025-08-30 18:27:16 +01:00
BobCyril
420c83c51e Update deck49.txt
Reformatted; added stronger on-theme cards
2025-08-30 18:24:58 +01:00
BobCyril
f4581b050e Update deck48.txt
Reformatted; swapped out off-theme cards for on-theme cards
2025-08-30 18:20:47 +01:00
BobCyril
6afc968e9e Update deck47.txt
Reformatted; added stronger on-theme cards
2025-08-30 18:18:54 +01:00
BobCyril
f68e04cc3e Update deck46.txt
New flavor text
2025-08-30 18:17:33 +01:00
BobCyril
1e45e3117b Update deck45.txt
Previous deck very weak; replaced with a new deck on the same theme
2025-08-30 18:16:09 +01:00
BobCyril
9149d81b35 Update deck44.txt
Previous deck too similar to deck no.43.  Replaced with a new deck with a new strategy, but retaining the same theme.
2025-08-30 18:14:26 +01:00
BobCyril
09baae5a83 Update deck43.txt
Reformatted; added tutor effects and related hints to improve deck speed; rebalanced mana base
2025-08-30 18:11:50 +01:00
BobCyril
28e3ebf8cd Update deck42.txt
Reformatted; added stronger on-theme cards; added hints to optimise attack phase
2025-08-30 18:09:53 +01:00
BobCyril
ae01e2d3fa Update deck41.txt
Reformatted; added stronger on-theme cards; added hint to optimise enchantments
2025-08-30 18:07:52 +01:00
Eduardo MG
481dcdd608 Merge pull request #1121 from BobCyril/master
Updates to decks 31-40
2025-08-03 15:07:41 -06:00
BobCyril
70ac62a115 Update deck40.txt
Reformatted; swapped out vanilla creatures and replaced with better on-theme options
2025-08-03 18:42:38 +01:00
BobCyril
e53d58581a Update deck39.txt
Reformatted; new flavor text; added hint to prevent AI wasting Ball Lightning
2025-08-03 18:40:18 +01:00
BobCyril
74867af693 Update deck38.txt
Reformatted; new flavor text; added hints to control board wipes
2025-08-03 18:38:24 +01:00
BobCyril
6079710051 Update deck37.txt
Minor change to flavor text
2025-08-03 18:36:48 +01:00
BobCyril
78855eac97 Update deck36.txt
Reformatted; minor changes to mana base to improve deck consistency
2025-08-03 18:35:16 +01:00
BobCyril
c3ff1ff750 Update deck35.txt
Reformatted; changed deck from 4 color to 3 color to improve consistency - previously deck splashed white for limited benefit
2025-08-03 18:33:37 +01:00
BobCyril
4e695cafcb Update deck34.txt
New flavor text
2025-08-03 18:31:07 +01:00
BobCyril
871a6f2279 Update deck33.txt
Reformatted; swapped out non-synergistic cards, and replaced them with on-theme cards
2025-08-03 18:29:49 +01:00
BobCyril
f4e143d0e6 Update deck32.txt
Reformatted; new flavor text
2025-08-03 18:27:34 +01:00
BobCyril
f77f87ef76 Update deck31.txt
Reformatted; renamed; added hints to control boad wipes
2025-08-03 18:26:03 +01:00
Eduardo MG
ac1b571c00 Merge pull request #1118 from BobCyril/master
Updates to decks 21-30
2025-06-30 16:20:22 -06:00
BobCyril
d609199b30 Update deck30.txt
Reformatted; added hints to prevent AI wasting strong cards
2025-06-29 09:06:11 +01:00
BobCyril
91931e0027 Update deck29.txt
Reformatted
2025-06-29 09:04:17 +01:00
BobCyril
ed2ec72ae9 Update deck28.txt
Increased land ratio to improve AI performance
2025-06-29 09:02:06 +01:00
BobCyril
5e995db3c8 Update deck27.txt
Increased land ratio to improve AI performance
2025-06-29 08:59:54 +01:00
BobCyril
9a88c63f95 Update deck26.txt
Added new flavor text
2025-06-29 08:58:20 +01:00
BobCyril
8c369f50f2 Update deck25.txt
New deck to replace previous one which was a poor opponent.  New deck retains the previous deck's theme/flavor
2025-06-29 08:56:28 +01:00
BobCyril
65baa13151 Update deck24.txt
Reformatted
2025-06-29 08:53:01 +01:00
BobCyril
3e92846045 Update deck23.txt
Reformatted; renamed; new cards added to improved AI decision making
2025-06-29 08:49:51 +01:00
BobCyril
267290c522 Update deck22.txt
Replaced previous Giants deck with more challenging one on the same theme
2025-06-29 08:46:29 +01:00
BobCyril
012a5f5e3d Update deck21.txt
Reformatted; swapped out one card to improved AI decisions; renamed to better reflect deck theme
2025-06-29 08:43:20 +01:00
Eduardo MG
a371cef279 Blood macros, more kindred changes
Created a macros for blood token, tribal to kindred changes, typo in background on various files,

Bug fixes:
Fiendslayer Paladin
Dire Fleet Poisoner
Shapers of Nature
Raptor Hatchling
Emiel the Blessed
Path of Discovery
Departed Deckhand
2025-05-26 18:46:55 -06:00
Eduardo MG
9c32793eec Merge pull request #1117 from BobCyril/master
Updates to decks 11-20
2025-05-26 14:33:13 -06:00
BobCyril
4eb4a11e77 Update deck20.txt
Deck reformatted; added hint to control behavior of one card
2025-05-25 16:42:04 +01:00
BobCyril
e007ac478e Update deck19.txt
Deck reformatted; added missing titular card to deck
2025-05-25 16:40:18 +01:00
BobCyril
437386a2ec Update deck18.txt
Deck reformatted; added new cards to improve AI performance
2025-05-25 16:38:18 +01:00
BobCyril
af0bb7cbfb Update deck17.txt
Deck reformatted; corrected card spelling errors
2025-05-25 16:36:46 +01:00
BobCyril
90e0895b82 Update deck16.txt
Added new flavor text
2025-05-25 16:34:13 +01:00
BobCyril
3e07cb2a19 Update deck15.txt
Deck reformatted; added a hint to improve AI decision making
2025-05-25 16:32:19 +01:00
BobCyril
959c6d8b39 Update deck14.txt
Deck reformatted; swapped in more efficient cards to improve AI performance
2025-05-25 16:30:08 +01:00
BobCyril
720f337546 Update deck13.txt
Deck reformatted
2025-05-25 16:27:13 +01:00
BobCyril
cd308fe5e9 Update deck12.txt
Deck reformatted
2025-05-25 16:24:53 +01:00
BobCyril
c7e7a54277 Update deck11.txt
Deck reformatted
2025-05-25 16:23:16 +01:00
Eduardo MG
4dfa95194e Everlasting Commander, AKR changes, bug fixes
Renamed Random Commander From File to Everlasting Commander,
Bug fixes:
Case of the Locked Hothouse
Khabal Ghoul
Humble the Brute
2025-05-08 12:08:13 -06:00
Eduardo MG
a1b9d5cb2e Merge pull request #1115 from patrickbabb/master
Various Android fixes
2025-05-06 18:38:21 -06:00
Patrick Babb
17f0f59f38 Update GameStateAwards.cpp
Added a "Back to Main Menu" button to the Trophy Room for touch devices.
2025-05-05 23:09:10 -05:00
Patrick Babb
c19410b4fb Update SDLActivity.java
Added a null check to fix the deck downloader menu option.
2025-05-05 00:10:53 -05:00
Patrick Babb
ccd421598e Update SDLActivity.java
Enabled immersive mode on Android devices during onCreate in the lifecycle.
2025-05-04 23:53:45 -05:00
Patrick Babb
e6a99ca9ac Update build.xml
Reverted the core file download link to the previous path format to allow Android to download from the correct URL.
2025-05-04 23:17:40 -05:00
Eduardo MG
e6243342e2 _cards.dat Updates 2025-05-04 17:31:25 -06:00
Eduardo MG
a9547e419d Exiledeath cards revision, version update
Exiledeath must come before damage or status reduction, also not necessary to specify ueot on instants and sorceries.
New Cards:
Marisi, Breaker of the Coil
Secret Plans
Updated version to 0.25.5
2025-05-04 16:34:56 -06:00
Eduardo MG
41f5aceac4 Tar Fiend rework. Sidisi, Regent of the Mire fix 2025-05-01 17:57:49 -06:00
Eduardo MG
a394397dc0 Update AIPlayerBaka.cpp
Remove the unused variable
2025-04-29 23:10:37 -06:00
Eduardo MG
f93bcb32ef Tarkir: Dragonstorm (TDM) update
Maccros for artifact tokens update
Added cards from TDM and TDC
Bug fixes on exert
Changelings have Every Creature Type but should esclude certain types present on creatures like Clue, Equipment, Food, and Treasure
Cards like Prized Unicorn with abilities=lure prevented the opponent from blocking even if Prized Unicorn was not attacking.
Fixed:
Lure stops from blocking even if the creature with lure is not attacking.
Exerted Creatures Can Be Untapped By Clicking On Them.
2025-04-29 22:05:54 -06:00
Eduardo MG
9cd1fa5757 Add Ugin's Fate (UGIN), Tarkir: Dragonstorm (TDM), and Tarkir: Dragonstorm Commander (TDC)
_cards.dat files for these sets.
2025-04-24 21:45:41 -06:00
Eduardo MG
9b2f59d64f AIPlayerBaka
Changing how the AI selects attackers, considering creatures with evasion
2025-04-24 14:13:25 -06:00
Eduardo MG
c109b2118a Update AIPlayerBaka.h 2025-04-23 19:40:48 -06:00
Eduardo MG
06bd11b0be Revert "Revert "Revert "Update AIPlayerBaka.cpp"""
This reverts commit d892703902.
2025-04-23 19:25:24 -06:00
Eduardo MG
d892703902 Revert "Revert "Update AIPlayerBaka.cpp""
This reverts commit c0e2a1fe40.
2025-04-23 19:23:50 -06:00
Eduardo MG
c0e2a1fe40 Revert "Update AIPlayerBaka.cpp"
This reverts commit 3555ddba33.
2025-04-23 19:16:43 -06:00
Eduardo MG
3555ddba33 Update AIPlayerBaka.cpp
Changing how AI decides to attack with creatures that have some kind of evasion.
Experimenting with how AI decides to block
2025-04-23 18:51:05 -06:00
Eduardo MG
e2b9429b45 Variants, new macros, old type changed to Kindred
Cleaned extra spaces and bugs in primitives
Macros for Crew 2
Removed old obsolete card type and changed it to Kindred
New zone mybattlefieldhand for "Behold a Dragon"
2025-04-23 18:20:32 -06:00
Eduardo MG
c0c03eecc4 Merge pull request #1112 from BobCyril/master
Improvements to decks 1-10
2025-04-18 18:07:21 -06:00
BobCyril
c9cef1567a Update deck10.txt
Reformatted deck 10
2025-04-16 20:56:32 +01:00
BobCyril
4286557026 Update deck9.txt
Reformatted deck 9
2025-04-16 20:54:52 +01:00
BobCyril
13cf8baf24 Update deck8.txt
Reformatted deck 8
2025-04-16 20:53:39 +01:00
BobCyril
ff046cf9d6 Update deck7.txt
Reformated deck 7. Added hints to make deck slightly less self-destructive, but still retaining its strategy and flavor
2025-04-16 20:51:56 +01:00
BobCyril
13a48b5a14 Update deck6.txt
Reformatted deck 6. Replaced cards which hinder the deck's strategy. Added a hint to stablise AI use of one card.
2025-04-16 20:47:13 +01:00
BobCyril
61bf5bc95d Update deck5.txt
Reformatted deck 5
2025-04-16 20:43:58 +01:00
BobCyril
0679cfd076 Update deck4.txt
Reformatted deck 4
2025-04-16 20:42:17 +01:00
BobCyril
19e28f9dca Update deck3.txt
Reformatted deck 3
2025-04-16 20:40:20 +01:00
BobCyril
ee6ad9609c Update deck2.txt
Reformatted deck 2.  Removed rogue W cards from this GR deck
2025-04-16 20:37:31 +01:00
BobCyril
266ae422f1 Update deck1.txt
Reformatted deck 1
2025-04-16 20:34:20 +01:00
Eduardo MG
a89a352e22 "if paid(alternative) then" changed to "alternative" 2025-04-11 19:00:36 -06:00
Eduardo MG
b21964dc46 Strixhaven variants, fix critical bug
Palladia-Mors, the Ruiner
Vanish into Memory
Dakmor Plague and Inferno. all(player,creature) not supported and crashes the game
color=colorless is redundant
Strixhaven: School of Mages (STX) (VARIANTS)
2025-04-10 18:53:41 -06:00
Eduardo MG
6904d6ffd3 Bug fixes on zones and correcting misspells
Summoner's Bond
Regent's Authority
Mind Burst
Thassa's Oracle
2025-04-08 22:09:47 -06:00
Eduardo MG
786a252cf5 Mana symbols to uppercase, bug fixes
Lands that enter tapped unless a player has 13 or less life
Courier Bat
Demon of Death's Gate
Caldaia Guardian
2025-04-04 22:24:18 -06:00
Eduardo MG
863c3f07bc Bad card line 2025-03-31 13:33:38 -06:00
Eduardo MG
e0867dd737 CM2 update, notATarget on clones
Clones shouldn't target.
Cosmotronic Wave
Leyline of Hope
Regal Bloodlord
Protean Raider
Impetuous Devils
Camera Launcher

New cards in previous commit:
Abyssal Harvester
Boneyard Desecrator
Celestial Armor
Crystal Barricade
Dazzling Denial
Felling Blow
Fleeting Flight
Geralf, the Fleshwright
Hare Apparent
Infernal Vessel
Inspiring Paladin
Kaito, Cunning Infiltrator
Kellan, Planar Trailblazer
Kiora, the Rising Tide
Loot, Exuberant Explorer
Owen Grady, Raptor Trainer
Perforating Artist
Permission Denied
Ravenous Amulet
Reality Spasm
Savage Order
Skyknight Squire
Slick Sequence
Spinner of Souls
Spitting Dilophosaurus
Squad Rallier
Sun-Blessed Healer
Valkyrie's Call
2025-03-31 13:13:53 -06:00
Eduardo MG
671b3bae61 Improved riot, INR, MH3, macros. Bug fixes. New cards
Windbrisk Heights
Orchard Strider
Shefet Monitor
Merfolk Sovereign
Alibou, Ancient Witness
Flesh Allergy
Regal Sliver
name=Pilot token, condition to check if there's a vehicle in your battlefield
Painful Quandary needed a condition to check if the affected player has at least one card in hand
Serpentine Curve shouldn't count itself. Serpentine Curve itself is not yet in your graveyard when you determine the value of X.
Rowen was drawing with nonbasics
Thopter Spy Network
Teferi, Temporal Archmage -10 ability, create an emblem
Exert Influence
Dawnglade Regent effect persisted after dying
Molten Echoes
Undergrowth
Haze of Pollen
Oketra's Avenger
Heliod's Intervention
Aura Barbs
Gravestorm
Inspired Sphinx
Retrofitted Transmogrant
Echoing Assault
Citywide Bust
2025-03-28 17:12:41 -06:00
Eduardo MG
02a4726cbf Merge pull request #1110 from patrickbabb/master
Updates to target arm64-v8a Android devices
2025-03-21 22:08:19 -06:00
Patrick Babb
91d588c670 Update spinlock_gcc_arm.hpp
Added logic to use LSE as a primary instead of Swap.
2025-03-18 22:01:55 -05:00
Patrick Babb
4df4422d93 Update Application.mk
Updated ABI target to arm64-v8a.
Added CFLAG for arm8.1-a.
Added CPPFLAG for LSE
2025-03-18 21:58:59 -05:00
Patrick Babb
0b3b33f727 Update SDL_spinlock.c 2025-03-18 21:55:59 -05:00
Eduardo MG
5cdf952623 Stormsurge Kraken fix
It allowed to draw to cards for each creature blocking it
2025-03-12 18:15:18 -06:00
Eduardo MG
9a55e03790 Cards from Aetherdrift and fix to Crested Sunmare
Fixed Crested Sunmare token creation condition.

Add cards:
Alacrian Armory
Broadside Barrage
Broodheart Engine
Chitin Gravestalker
Coalstoke Gearhulk
Collision Course
Haunt the Network
Hellish Sideswipe
Intimidation Tactics
Kolodin, Triumph Caster
Mindspring Merfolk
Ooze Patrol
Spectral Interference
Stock Up
Voyager Glidecar
Wreck Remover
2025-03-10 19:16:04 -06:00
Eduardo MG
4b52e8cf6c Incrementing the build numbers. bug fixes 2025-03-07 18:51:33 -06:00
Eduardo MG
f7eaf5072e New cards mostly from DFT and J25
Aatchik, Emerald Radian
Accursed Duneyard
Adaptive Omnitool
Aetherjacket
Agonasaur Rex
Air Response Unit
Basri, Tomorrow's Champion
Beastrider Vanguard
Bestow Greatness
Bleachbone Verge
Boosted Sloop
Bounce Off
Brigone, Soldier of Meletis
Broadcast Rambler
Burner Rocket
Caelorna, Coral Tyrant
Camera Launcher
Caradora, Heart of Alacria
Chandra, Spark Hunter
Cleon, Merry Champion
Cloudspire Skycycle
Count on Luck
Crash and Burn
Cynette, Jelly Drover
Daring Mechanic
Dawnwing Marshal
Draconautics Engineer
Dropkick Bomber
Eidolon of Astral Winds
Engine Rat
Faithful Pikemaster
Firespitter Whelp
Fuel the Flames
Fumulus, the Infestation
Gallant Strike
Gastal Blockbuster
General Kreat, the Boltbringer
Generous Pup
Gilded Scuttler
Go Forth
Goblin Surprise
Greenbelt Guardian
Grim Bauble
Guidelight Synergist
Haunted Hellride
Hazard of the Dunes
Hearts on Fire
Hinterland Sanctifier
Howler's Heavy
Hungry Megasloth
Jibbirik Omnivore
Kalakscion, Hunger Tyrant
Keen Buccaneer
Lightshield Parry
Locust Spray
Loot, the Pathfinder
Lotusguard Disciple
Magmakin Artillerist
Marauding Mako
March of the World Ooze
Marketback Walker
Maximum Overdrive
Memory Guardian
Migrating Ketradon
Migrating Ketradon
Molt Tender
Mu Yanling, Wind Rider
Nazar, the Velvet Fang
Night Market
Nimble Thopterist
Oviya, Automech Artisan
Pacesetter Paragon
Pactdoll Terror
Pedal to the Metal
Phantasmal Shieldback
Plow Through
Pothole Mole
Priest of the Crossing
Prowcatcher Specialist
Psemilla, Meletian Poet
Regal Imperiosaur
Rhet-Tomb Mystic
Riptide Gearhulk
Risky Shortcut
Riverpyre Verge
Rocketeer Boostbuggy
Sabotage Strategist
Sandstorm Crasher
Saurian Symbiote
Scholar of Combustion
Scourge of the Undercity
Scrap Compactor
Scrounging Skyray
Shardless Outlander
Shefet Archfiend
Shroofus Sproutsire
Silken Strength
Skycrash
Skystreak Engineer
Spectacular Pileup
Spin Out
Spotcycle Scouter
Stall Out
Stampeding Scurryfoot
Starlight Snare
Starnheim Memento
Sunbillow Verge
Sundial, Dawn Tyrant
Sutina, Speaker of the Tajuru
Syphon Fuel
Temmet, Naktamun's Will
Terrian, World Tyrant
Thunderhead Gunner
Thurid, Mare of Destiny
Ticket Tortoise
Trade the Helm
Transit Mage
Trip Up
Tune Up
Tyrox, Saurid Tyrant
Unstoppable Plan
Veteran Beastrider
Voyage Home
Voyager Quickwelder
Wastewood Verge
Waxen Shapethief
Wickerfolk Indomitable
Willowrush Verge
Woodland Liege
Wreckage Wickerfolk
Wretched Doll
Wriggling Grub
2025-03-07 13:07:00 -06:00
Eduardo MG
8df70d43e1 Foundations Jumpstart (J25), Innistrad Remastered (INR), Aetherdrift (DFT), Aetherdrift Commander (DRC) _cards.dat
Foundations Jumpstart (J25)
Innistrad Remastered (INR)
Aetherdrift (DFT)
Aetherdrift Commander (DRC)
2025-03-07 13:03:52 -06:00
Eduardo MG
721f1bc269 set code Y22 has been updated to YMID
The set code Y22 has been updated to YMID, now reflecting its official name: Innistrad: Midnight Hunt. Additionally, this set now includes a multiverseid in the database, aligning it with official standards.

Bug fixes:
Astral Drift
Hulking Metamorph
Exorcise
Pain Distributor
Cleansing Wildfire
Jaya, Venerated Firemage
Great Whale
Jolting Merfolk
Sunbird's Invocation removed
Eerie Interlude
Old-Growth Dryads
Enigma Sphinx
All "God-Eternal" that return to deck
Sorin, Imperious Bloodlord
2025-03-06 19:36:12 -06:00
Eduardo MG
f698d9f96c Foundations Jumpstart (J25) _cards.dat 2025-01-27 19:38:08 -06:00
Eduardo MG
08eeeb3079 Alchemy: Innistrad 2025-01-11 12:30:28 -06:00
Eduardo MG
2851576b31 Moved Foundations planeswakers
Moved Foundations (FDN) planeswakers to it's corresponding file.
2024-12-24 13:25:53 -06:00
Eduardo MG
7d5afbad53 Foundations (FDN) cards and bug fixes
Bug fixes:
Seasoned Dungeoneer
Giggling Skitterspike
Kinetic Augur
Battle of Frost and Fire
Outlaws' Merriment
Ruthless Knave
Overlord of the Balemurk
Malamet War Scribe
Massacre Girl, Known Killer
Slip On the Ring
Eastfarthing Farmer
Shadow Prophecy
Hungry Lynx
Backup Plan - removed, is too buggy and does't do the effect correctly

Special Guests (SPG) DUSKMOURN
2024-12-24 11:10:12 -06:00
Eduardo MG
6caa79bbd4 Upload of the Foundations (FDN) _cards.dat file 2024-12-24 10:43:23 -06:00
Eduardo MG
00332a9df3 Merge pull request #1108 from BobCyril/master
Four new AI opponents
2024-12-17 17:47:24 -06:00
BobCyril
7c0c6355e1 Create deck164.txt
New 60 card AI opponent
2024-12-15 17:19:24 +00:00
BobCyril
db0498fc4d Create deck163.txt
New 60 card AI opponent
2024-12-15 17:17:31 +00:00
BobCyril
69caa05c4e Create deck162.txt
New 60-card AI opponent
2024-12-15 17:15:54 +00:00
BobCyril
636207f46d Update deck138.txt
New AI Commander deck to replace poor AI opponent
2024-12-15 17:13:42 +00:00
Eduardo MG
b34929f703 Merge pull request #1107 from BobCyril/master
New, improved and renamed AI decks
2024-12-06 13:04:11 -06:00
BobCyril
d009bf858c Update deck161.txt
Deck name updated
2024-12-05 21:03:40 +00:00
BobCyril
da77238799 Update deck160.txt
Deck name updated
2024-12-05 21:03:04 +00:00
BobCyril
77c53e1519 Update deck159.txt
Deck name updated
2024-12-05 21:02:25 +00:00
BobCyril
2491453ed0 Update deck155.txt
Deck name updated
2024-12-05 21:01:27 +00:00
BobCyril
f752bd38e7 Update deck153.txt
Deck name updated
2024-12-05 21:00:47 +00:00
BobCyril
51accdcad1 Update deck151.txt
Deck name updated
2024-12-05 21:00:03 +00:00
BobCyril
bb4466d36d Update deck141.txt
Deck name updated
2024-12-05 20:59:19 +00:00
BobCyril
6cbbb1c308 Update deck148.txt
Kor Army deck improved and swapped with Tergrid deck
2024-12-05 20:58:22 +00:00
BobCyril
015481a827 Update deck142.txt
New Lyra Commander deck to replace previous poor AI commander deck
2024-12-05 20:56:59 +00:00
BobCyril
532954f5b2 Update deck140.txt
Wipe Them Out! deck improved and swapped with Belbe deck
2024-12-05 20:55:29 +00:00
BobCyril
9cad9f6309 Update deck124.txt
Belbe Commander deck moved here
2024-12-05 20:53:38 +00:00
BobCyril
c3f8c81d96 Update deck102.txt
Tergrid Commander deck moved here
2024-12-05 20:52:18 +00:00
Eduardo MG
8021be00f9 Merge pull request #1106 from BobCyril/master
Decks 81 and 144 upgraded and swapped, deck 32 and 109 renamed
2024-11-20 19:10:43 -06:00
BobCyril
839c2c4fee Update deck109.txt
Deck109 renamed
2024-11-17 18:41:26 +00:00
BobCyril
05b3692b60 Update deck32.txt
Deck32 renamed.
2024-11-17 18:40:48 +00:00
BobCyril
e4d6d6811b Update deck81.txt
Old deck144 (Vrondiss Commander) moved here.
2024-11-17 18:38:23 +00:00
BobCyril
b9196348bb Update deck144.txt
Old deck81 (Goblin Spike) upgraded and moved here in place of Vrondiss Commander, now moved to deck81 slot.
2024-11-17 18:36:48 +00:00
Eduardo MG
cae9d41885 Merge pull request #1105 from BobCyril/master
New, Updated and Moved AI Decks
2024-11-05 10:19:07 -06:00
BobCyril
83bcefe308 Update deck156.txt
New LotR commander deck to replace previous LotR deck which was a very poor opponent
2024-11-04 19:14:04 +00:00
BobCyril
5bb508f5ec Update deck149.txt
Old deck68 (Shocking Minotaurs) upgraded and moved here to replace Tatyova Commander moved to deck46
2024-11-04 19:12:07 +00:00
BobCyril
45b7288cf8 Update deck143.txt
Old deck46 (Ashenmmor Cohort) upgraded and moved here to replace Ranar Commander deck moved to deck68
2024-11-04 19:09:56 +00:00
BobCyril
a63ebc8396 Update deck68.txt
Moving Ranar Commander deck to here
2024-11-04 19:06:14 +00:00
BobCyril
36985a6b71 Update deck46.txt
Moving Tatyova Commander deck to here.
2024-11-04 19:04:12 +00:00
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
Eduardo MG
4ae355a6ea New cards from CLU, OTJ, DMU, MC3
New cards from CLU, plot cards from OTJ, enlist DMU, MC3
Afterlife Insurance
Aloe Alchemist
Argivian Cavalier
Astor, Bearer of Blades
Ayesha Tanaka, Armorer
Balduvian Berserker
Barkweave Crusher
Beastbond Outcaster
Benalish Faithbonder
Bespoke Battlewagon
Blacksnag Buzzard
Brimstone Roundup
Carnage Interpreter
Cleaving Skyrider
Coalition Skyknight
Coalition Warbrute
Combat Research
Commander Mustard
Conclave Evangelist
Conduit Goblin
Cunning Coyote
Cyclops Superconductor
Demonic Ruckus
Djinn of Fool's Fall
Dust Animus
Ecstatic Electromancer
Etched Slith
Freestrider Commando
Frenzied Gorespawn
Furious Spinesplitter
General Marhault Elsdragon
Guardian of New Benalia
Guide of Souls
Headliner Scarlett
Herald of Ilharg
Hexbane Tortoise
Highway Robbery
Infernal Captor
Irascible Wolverine
Jhoira, Ageless Innovator
Jodah's Codex
Joint Exploration
Keldon Flamesage
Linebreaker Baloth
Loan Shark
Longhorn Sharpshooter
Lonis, Genetics Expert
Monumental Henge
Najal, the Storm Runner
Orca, Siege Demon
Ordruun Mentor
Outcaster Trailblazer
Phoenix Chick
Pillage the Bog
Quirion Beastcaller
Radha's Firebrand
Railway Brawler
Rasputin, the Oneiromancer
Rictus Robber
Riddle Gate Gargoyle
Rise of the Varmints
Rona's Vortex
Rulik Mons, Warren Chief
Rundvelt Hordemaster
Scuttling Sentinel
Senator Peacock
Sheriff of Safe Passage
Slickshot Lockpicker
Slickshot Show-Off
Sludge Titan
Smelted Chargebug
Spinewoods Paladin
Stagecoach Security
Stenn, Paranoid Partisan
Step Between Worlds
Stingerback Terror
Suppressor Skyguard
Torsten, Founder of Benalia
Tribune of Rot
Tumbleweed Rising
Undercover Butler
Unite the Coalition
Unruly Krasis
Unscrupulous Contractor
Visage Bandit
Voda Sea Scavenger
Voltstorm Angel
Walking Bulwark
Weatherlight Compleated
Yavimaya Steelcrusher
2024-08-02 17:40:08 -06:00
Eduardo MG
440d2f28b1 Bloomburrow and Bloomburrow Commander sets
Bloomburrow (BLB) and Bloomburrow Commander (BLC) _cards.dat files
2024-08-02 17:12:38 -06:00
Eduardo MG
2c6c20358d Bug fixes, Adapt, Mentor, and Amass Orcs macros
I added a condition to energy activation to prevent the AI from hanging, trimmed excessive '9s' in 'infinite' conditions, fixed the Adapt, Mentor, and Amass Orcs macros, and implemented mercenary token macros.
Light of the Legion
Myriad Construct
Sheoldred
Neheb, the Eternal
Complete the Circuit
Return to Nature
Diffusion Sliver
Frost Titan
Death Match
Requiem Angel
Wildwood Scourge
Glasspool Mimic
2024-08-02 16:56:24 -06:00
Eduardo MG
a183e9282c Changing "enters the battlefield" to "enters"
Entering will be connected specifically with the battlefield.
2024-07-29 22:39:26 -06:00
Eduardo MG
f83c670630 New cards from DMU, MH3, LCI, WOE, cases from MKM.
Adaptive Gemguard
Admiral Brass, Unsinkable
Ajani Fells the Godsire
Archangel of Wrath
Argent Dais
Bitter Chill
Boggart Bog
Boggart Trawler
Brazen Blademaster
Case of the Crimson Pulse
Case of the Filched Falcon
Case of the Gorgon's Kiss
Case of the Locked Hothouse
Case of the Ransacked Lab
Case of the Shattered Pact
Case of the Shifting Visage
Case of the Stashed Skeleton
Case of the Trampled Garden
Case of the Uneaten Feast
Chancellor of Tales
Charnel Serenade
Confounding Riddle
Copycrook
Court of Ardenvale
Court of Embereth
Court of Garenbrig
Crown of the Ages
Deconstruction Hammer
Deep-Cavern Bat
Detective of the Month
Djinn of the Fountain
Dusk Rose Reliquary
Eladamri, Korvecdal
Explorer's Cache
Family Reunion
Final-Word Phantom
Fires of Victory
Flooded Woodlands
Frogmyr Enforcer
Frostfist Strider
Fungal Fortitude
Galvanic Discharge
Garna, Bloodfist of Keld
Ghostfire Slice
Glimpse the Core
Glorifier of Suffering
Goldfury Strider
Gravedig
Guardian of the Forgotten
Guardian of the Great Door
Howling Galefang
Illicit Masquerade
Impede Momentum
In Thrall to the Pit
Inti, Seneschal of the Sun
Itzquinth, Firstborn of Gishath
Jedit Ojanen, Mercenary
Join the Maestros
Keldon Strike Team
Lethal Throwdown
Malleable Impostor
Mistway Spy
Nelly Borca, Impulsive Accuser
Nettling Nuisance
Ocelot Pride
Ogre Chitterlord
Ohabi Caleria
Ojer Pakpatiq, Deepest Epoch
Ondu Knotmaster // Throw a Line
Orazca Puzzle-Door
Perimeter Enforcer
Pirate Hat
Projektor Inspector
Pyretic Rebirth
Queen's Bay Paladin
Ral and the Implicit Maze
Ray of Ruin
Reckless Pyrosurfer
Refurbished Familiar
Relive the Past
Sage of Days
Salt Road Ambushers
Scroll of Fate
Scurry of Gremlins
Shadow Prophecy
Shadow Puppeteers
Shadow of the Second Sun
Shifting Woodland
Shipwreck Sentry
Silverback Elder
Sleep with the Fishes
Song of Stupefaction
Sorin of House Markov
Sorin, Ravenous Neonate
Soulcoil Viper
Stall for Time
Stronghold Arena
Sunfire Torch
Sunshot Militia
Tamiyo, Inquisitive Student
Tamiyo, Seasoned Scholar
Tear Asunder
Temple of Cyclical Time
Tesak, Judith's Hellhound
The Ancient One
Unlucky Drop
Urborg Lhurgoyf
Vein Ripper
Vodalian Mindsinger
Vohar, Vodalian Desecrator
Voja, Jaws of the Conclave
Warhost's Frenzy
Warm Welcome
Waylaying Pirates
Welcome to Sweettooth
Wumpus Aberration
2024-07-29 18:32:33 -06:00
Eduardo MG
8e6d58f491 Bug fixes, impulse draw macros
_IMPULSEDRAW_
_IMPULSEUENT_
Guardian of Tazeem
Teferi, Master of Time
So Tiny
Eowyn, Fearless Knight
2024-07-29 18:17:48 -06:00
Eduardo MG
b4afc3f3e1 New macros and token substitutions
Bug fixes
abilities simplification
Disciples of the Inferno
Blade of the Bloodchief
Grenzo, Havoc Raiser
Belligerent Brontodon
Weight Advantage
Liliana, Death Mage
Garruk's Warsteed
Ashiok's Forerunner
Liliana, Death Mage
2024-07-27 17:23:07 -06:00
Eduardo MG
7d5e2379be Merge pull request #1098 from BobCyril/master
New AI Commander deck and bugfix to deck160
2024-07-27 17:03:17 -06:00
BobCyril
3cb8a5a360 Create deck161.txt 2024-07-26 21:52:43 +01:00
BobCyril
b01f679452 Update deck160.txt 2024-07-26 21:48:19 +01:00
Eduardo MG
067ae2790d opponenshroud changed to hexproof, new ability canplayenchantmentlibrarytop
New ability "canplayenchantmentlibrarytop" allow to play enchantments from top
sets now include tokens
you no longer draw conspiracy cards in the random
rules file revisions
commander bugs
Eutropia the Twice-Favored
Calculating Lich
Seismic Wave
Rank and File
Professional Face-Breaker
Realmwalker
2024-07-21 18:44:21 -06:00
Eduardo MG
ea6e2b00f6 Bug fixes and abilities simplification
Phlage, Titan of Fire's Fury
Scent of Cinder
Radagast The Brown for the AI
Flood of Recollection
Samwise the Stouthearted
Blood Aspirant
Anax, Hardened in the Forge
Kairi, the Swirling Sky
Mind Rake
Hungering Hydra
Spearpoint Oread
Rampaging Geoderm
Keeper of the Accord
Electropotence
Orochi Merge-Keeper
2024-07-19 19:19:03 -06:00
Eduardo MG
5080fe7811 Update _cards.dat
CMR variants
2024-07-15 21:56:55 -06:00
Eduardo MG
fa872056ae Added new cards from M3C, MKM, LCI, WOE
IKO(GODZILLA SERIES MONSTERS)
New Cards:
Agency Coroner
Agrus Kos, Spirit of Justice
Anim Pakal, Thousandth Moon
Azlask, the Swelling Scourge
Badlands Revival
Barbed Servitor
Belligerent Yearling
Bloodbraid Challenger
Breathe Your Last
Broodmate Tyrant
Caught Red-Handed
Cayth, Famed Mechanist
Chittering Dispatcher
Clandestine Meddler
Connecting the Dots
Convenient Target
Conversion Apparatus
Copy Land
Culvert Ambusher
Dauntless Dismantler
Desert's Due
Disa the Restless
Dreadmaw's Ire
Dreamtide Whale
Drossclaw
Due Diligence
Echoing Deeps
Ego Drain
Eldrazi Confluence
Eldritch Immunity
Elemental Eruption
Envoy of the Ancestors
Essence Reliquary
Expanding Ooze
Expel the Unworthy
Felonious Rage
Final Act
Flare of Cultivation
Flare of Denial
Flare of Duplication
Flare of Fortitude
Flare of Malice
From the Rubble
Grim Servant
Hexgold Slith
Hideous Taskmaster
Hope-Ender Coatl
Horrid Shadowspinner
Hourglass of the Lost
Incriminating Impetus
Inspired Inventor
Inversion Behemoth
It Doesn't Add Up
Jyoti, Moag Ancient
Kozilek's Unsealing
Kudo, King Among Bears
Lion Umbra
Make Your Move
March of the Canonized
Mine Raider
Necromancy
No Witnesses
Obstinate Gargoyle
Omo, Queen of Vesuva
Person of Interest
Petrifying Meddler
Polygoyf
Prosperity Tycoon
Pugnacious Hammerskull
Pyrogoyf
Reasonable Doubt
Redemption Choir
Repeat Offender
Rubblebelt Braggart
Rune-Brand Juggler
Salvation Colossus
Scalestorm Summoner
Selective Obliteration
Serum Visionary
Shilgengar, Sire of Famine
Siege-Gang Lieutenant
Skoa, Embermage
Skullcap Snail
Spawnbed Protector
Spider Food
Stone Idol Generator
Strix Serenade
Talion's Messenger
Tarmogoyf Nest
Temperamental Oozewagg
Ulamog's Dreadsire
Vanguard of the Rose
Voidpouncer
White Orchid Phantom
Wing It
2024-07-15 20:00:13 -06:00
Eduardo MG
4d1a10de75 Bug fixes, oracle text updates
Boneyard Scourge
Sea Hag // Aquatic Ingress
Seton, Krosan Protector
Sinbad
Tandem Lookout
Cunning Strike
Draco
Extraplanar Lens effect persisted even after being destroyed
Detention Vortex
2024-07-15 19:39:28 -06:00
Eduardo MG
deb2e0fa7a Update CardImageLinks.csv
IKO (GODZILLA SERIES MONSTERS)
Image links form recent decks, OTJ, MH3, CLU
2024-07-15 19:30:54 -06:00
Eduardo MG
ccc209d4f2 Oracle changes and subtypes updates
Shuffle your library changed to shuffle
Attack each turn changed to attack each combat
Dog changed to Jackal in specific cards
Ape changed to Monkey in specific cards
Totem Armor changed to Umbra Armor
2024-07-13 11:51:12 -06:00
Eduardo MG
4fb389e698 Bug fixes, oracle text updates
Adriana, Captain of the Guard
Anax, Hardened in the Forge
Arbiter of the Ideal had to change the name of the counter
Armament Of Nyx
Ashcoat of the Shadow Swarm
Ashes of the Abhorrent
Captain N'ghathrod
Cement Shoes
Champion of Wits
Charging Cinderhorn
Circle of Solace
Curious Obsession
Deadshot not really supported
Door of Destinies
Eye of Yawgmoth
Fateful Showdown
Fire // Ice
Heirloom Blade
Hunted Bonebrute
Illithid Harvester // Plant Tadpoles nothing works
In Bolas's Clutches and other "Enchant permanet" cards needed a rework
Infernal Harvest
Iymrith, Desert Doom
Jokulhaups didn't destroyed fire-belly ch
Jolene, Plundering Pugilist
Kagemaro, First to Suffer
Keeper of Fables
Kethek, Crucible Goliath
Lost Jitte
Lukka, Bound to Ruin
Metamorphic Alteration
Mimic Vat
Mind Whip
Necromancer's Stockpile
Peace Talks
Preyseizer Dragon
Primal Wellspring
Reaper of Night // Harvest Fear
Skanos Dragonheart
Soldevi Sentry
Support is a may
Vault Plunderer
Vraska, Betrayal's Sting
Winnow
2024-07-12 23:10:24 -06:00
Eduardo MG
fe2c55e97f Removed the adventure part of cards
Removed the adventure part since wagic does not handle them like that
2024-07-12 18:51:18 -06:00
Eduardo MG
6f1cb5c84b Update to Throne of Eldraine (ELD) _cards.dat
Piper of the Swarm alt version and lands with correct rarity
2024-07-12 17:58:04 -06:00
Eduardo MG
1654fdf8ce Bug fixes and oracle text updates
Ward with a macro is causing too many issues
Chainer, Nightmare Adept
Gluntch, the Bestower
Ikra Shidiqi, The Usurper
Impromptu Raid
Incubation Druid
Invasion Of Ravnica
Invasion Of Tarkir
Kinzu Of The Bleak Coven
Kiora Bests The Sea God
Kiora, Master Of The Depths removed, emblem crashes, don't think is posible and card barely works.
Kodama of the East Tree
Kuon, Ogre Ascendant
Magmasaur
Minthara, Merciless Soul
Momentum
Nimbus Champion
Norn's Decree
Notion Rain I know surveil must be before draw but this is better than not drawing
Nyx Herald
One With The Kami
Pact Weapon
Paladin Class
Phage The Untouchable doesn't check if casted from hand
Pondering Mage
Power Surge does damage equal to number of lands
Prosper, Tome-Bound
Puffer Extract
Quest for Ula's Temple
Quintorius, Loremaster
Rabble-Rouser
Rally The Ancestors
Redcap Raiders
Render Inert not really supported
Repel The Darkness and similar cards rework
Saheeli's Silverwing
Salvage Titan
Sensei Golden-Tail
Shared Animosity
Snow Day
Soul Transfer
Spectacular Showdown
Sporeweb Weaver's Last Ability Triggers Just Once, No Matter How Many Things Deal How Much Damage To It At Once (Most Likely Because Two Or More Creatures Blocked It).
Spreading Insurrection
Storm The Citadel
The First Iroan Games
Tinybones, Trinket Thief
Triskaidekaphobia
Visions Of Ruin
Wicked Akuba
Wine of Blood and Iron
Wingmantle Chaplain
2024-07-08 15:45:50 -06:00
Eduardo MG
4e4108f547 Bug Fixes, code cleanup, macros substitutions for tokens
Adding colorless to a token is redundant since by default is colorless.
"may pay" is redundant when the cost is mana, it's necessary when the cost is life.
Acolyte of Affliction
Ajani, Strength Of The Pride Shouldn't Be Double Triggers
Akiri, Fearless Voyager
Arena Rector
Arrogant Poet
Artificer's Hex just falls off, removed
Body Snatcher When You Have No Creatures In Hand
Bump In The Night
Cacophony Scamp
Captain Eberhart
Chandra, Hope's Beacon
Deem Worthy
Desecrate Reality
Destructive Tampering
Drake Haven
Dredge The Mire
Explosive Welcome
Fungal Rebirth
Giver of Runes
Glissa's Scorn
Gurgling Anointer
Haunted Angel
Hungry Flames
Hypnotic Cloud
Inniaz, the Gale Force
Jukai Naturalist
Lord Windgrace
Nature's Cloak
Nature's Spiral
Rashmi, Eternities Crafter
Rohgahh, Kher Keep Overlord
So Shiny
Sparktongue Dragon
Sprouting Goblin missing a )
Temple Thief
The Grey Havens
The Mending of Dominaria was shuffling itself
Tolarian Contempt, have to misspell "rejection" on the counter name
Two-Handed Axe // Sweeping Cleave
Urborg Panther
Urza's Sylex
Victory Chimes
Vraska, Swarm's Eminence
Warmonger
2024-07-06 17:36:58 -06:00
Eduardo MG
3bbb1cea2c Bug fixes to primitives
Vernal Sovereign
Surge Engine
Nissa's Defeat
Gideon, Battle-Forged
2024-06-28 12:55:56 -06:00
Eduardo MG
f4010508ad Special Guests (SPG) update 2024-06-19 18:47:58 -06:00
Eduardo MG
393b5050f9 Ravnica: Clue Edition (CLU) 2024-06-19 18:46:20 -06:00
Eduardo MG
0937578d96 Clean up of extra space at end of line
Removing unnecessary spaces makes the text or code cleaner and easier to read. Trailing spaces can lead to unexpected behavior or bugs.
2024-06-19 18:00:52 -06:00
Eduardo MG
2fea7d5810 Partial Modern Horizons 3 (MH3) cards
Breaker of Creation
Drownyard Lurker
Eldrazi Ravager
Emrakul, the World Anew
Glaring Fleshraker
It That Heralds the End
Null Elemental Blast
Nulldrifter
Twisted Riddlekeeper
Warped Tusker
Idol of False Gods
Solar Transformer
Vexing Bauble
Winter Moon
Bountiful Landscape
Contaminated Landscape
Deceptive Landscape
Foreboding Landscape
Perilous Landscape
Seething Landscape
Shattered Landscape
Sheltering Landscape
Tranquil Landscape
Twisted Landscape
Snow-Covered Wastes
Urza's Cave
Aerie Auxiliary
Mandibular Kite
Metastatic Evangel
Muster the Departed
Solstice Zealot
Brainsurge
Corrupted Shapeshifter
Emrakul's Messenger
Harbinger of the Seas
Roil Cartographer
Tune the Narrative
Tempest Harvester
Unfathomable Truths
Accursed Marauder
Arcbound Condor
Consuming Corruption
Dreadmobile
Dreamdrinker Vampire
Eviscerator's Insight
Marionette Apprentice
Mindless Conscription
Nethergoyf
Retrofitted Transmogrant
Scurrilous Sentry
Warren Soultrader
Wither and Bloom
Wurmcoil Larva
Eldrazi Linebreaker
Fanged Flames
Furnace Hellkite
Mogg Mob
Molten Gatekeeper
Phyrexian Ironworks
Sarpadian Simulacrum
Spawn-Gang Commander
Siege Smash
Thriving Skyclaw
Colossal Dreadmask
Skittering Precursor
Eldrazi Repurposer
Fanatic of Rhonas
Fowl Strike
Gift of the Viper
Horrific Assault
Malevolent Rumble
Nightshade Dryad
Path of Annihilation
Propagator Drone
Phlage, Titan of Fire's Fury
Snapping Voidcraw
Titans' Vanguard
Sneaky Snacker
Wight of the Reliquary
Writhing Chrysalis
Faithful Watchdog
Cranial Ram
Ugin's Binding
Psychic Frog
Imskir Iron-Eater
2024-06-19 17:05:22 -06:00
Eduardo MG
d1827042d4 Oracle text and creature types updates
Revision of creature type updates, and corrections to extra blank space in oracle text.
2024-06-18 10:31:38 -06:00
Eduardo MG
cc5b8ba829 Creature types and mana pool oracle text updates
Wasteland Strangler bug fix, the effect was lasting forever instead of until end of turn.
Removed "to your mana pool" oracle text since it is deprecated.
Changed:
Cephalid to Octopus
Naga to Snake
Viashino to Lizard
Rakshasas are no longer cats
2024-06-14 11:29:51 -06:00
Eduardo MG
972f17bde5 Modern Horizons 3 _card.dat files
Modern Horizons 3 (MH3) _cards.dat
Modern Horizons 3 Commander (M3C) _cards.dat
2024-06-12 18:52:16 -06:00
Eduardo MG
b60630d814 Bug fixes, learn macros update
Crystalline Nautilus
academic dispute
Soulstinger
Crown of Gondor
Fists of Flame
Imperial Aerosaur
Volatile Rig crashes the game
Kiora Bests the Sea God
Holy Frazzle-Cannon
Illustrious Wanderglyph
Stonespeaker Crystal
Slayer of the Wicked
2024-06-12 13:08:19 -06:00
Eduardo MG
b20484c7de Bug fixes and cards from The Big Score (BIG)
Bug fixes:
Drakuseth, Maw of Flames
Springleaf Drum
Ghost of Ramirez DePietro not supported
Martyr of Bones was crashing the game
Corrupt Court Official
Aggravated Assault
Slaughter Pact, Pact of Negation removed due to making opponent lose
The Mycotyrant
spectacle doesn't seem to work with macros

Cards from The Big Score (BIG):
Angel of Indemnity
Angelic Sell-Sword
Cactus Preserve
Dead Before Sunrise
Vengeful Regrowth
Oltec Matterweaver
Simulacrum Synthesizer
Harvester of Misery
Hostile Investigator
Generous Plunderer
Legion Extruder
Molten Duplication
Sandstorm Salvager
Pest Control
Lost Jitte
Lotus Ring
2024-05-13 18:58:22 -06:00
Eduardo MG
705e1444e0 Cards from Outlaws of Thunder Junction Commander (OTC) and bug fixes
Bug Fixes:
Fiery Conclusion
Intrusive Packbeast
Last March of the Ents
Kels, Fight Fixer

New cards:
Malcolm, the Eyes
Conduit Pylons
Gold Pan
Harrier Strix
Mirage Mesa
Baron Bertram Graywater
Wylie Duke, Atiin Hero
Form a Posse
Jolene, Plundering Pugilist
Kraum, Violent Cacophony
Lavaspur Boots
Goldvein Hydra
Tinybones, the Pickpocket
Vraska Joins Up
Vial Smasher, Gleeful Grenadier
Bonny Pall, Clearcutter
Akul the Unrepentant
Annie Flash, the Veteran
Rakdos Joins Up
Ruthless Lawbringer
Outlaws' Fury
Cactusfolk Sureshot
Embrace the Unknown
Kirri, Talented Sprout
Yuma, Proud Protector
Rumbleweed
Charred Graverobber
Ghired, Mirror of the Wilds
Vihaan, Goldwaker
Back in Town
Tower Winder
Colossal Rattlewurm
Olivia, Opulent Outlaw
2024-05-06 19:57:13 -06:00
Eduardo MG
93faa08ef3 Cards from Outlaws of Thunder Junction (OTJ)
Bug fixes:
Zhulodok, Void Gorger
Engulfing Eruption
Slagstone Refinery

New Cards:
Armored Armadillo
Bovine Intervention
Eriette's Lullaby
High Noon
Holy Cow
Outlaw Medic
Sterling Keykeeper
Sterling Supplier
Thunder Lasso
Wanted Griffin
Canyon Crab
Daring Thunder-Thief
Double Down
Peerless Ropemaster
Razzle-Dazzler
Spring Splasher
Ambush Gigapede
Desperate Bloodseeker
Mourner's Surprise
Neutralize the Guards
Nezumi Linkbreaker
Rakish Crew
Rooftop Assassin
Shoot the Sheriff
Treasure Dredger
Vault Plunderer
Deadeye Duelist
Discerning Peddler
Hellspur Posse Boss
Iron-Fist Pulverizer
Prickly Pair
Reckless Lackey
Rodeo Pyromancers
Scorching Shot
Ankle Biter
Bristlepack Sentry
Bristly Bill, Spine Sower
Full Steam Ahead
Raucous Entertainer
Reach for the Sky
Voracious Varmint
Honest Rutstein
Creosote Heath
Eroded Canyon
Festering Gulch
Forlorn Flats
Jagged Barrens
Lonely Arroyo
Lush Oasis
Sandstorm Verge
Soured Springs
Abraded Bluffs
Bristling Backwoods
Oasis Gardener
Sterling Hound
2024-05-03 17:13:08 -06:00
Eduardo MG
ff59089dcc Bug fixes to primitives
Mana Seism
Ozolith, the Shattered Spire
Born to Drive
Valorous Stance
Gitrog, Horror of Zhava
Spike Rogue
2024-04-26 22:35:08 -06:00
Eduardo MG
60306cf1c2 Outlaws of Thunder Junction and complementary sets
Outlaws of Thunder Junction (OTJ)
Breaking News (OTP)
The Big Score (BIG)
Outlaws of Thunder Junction Commander (OTC)
2024-04-22 10:54:32 -06:00
Eduardo MG
576be28da1 Bug fixes, removed cards that are not supported
Nimana Skydancer
Puppet Raiser
Irreverent Revelers
Cunning Evasion
Symmetry Matrix is not supported
Glint-Nest Crane
Chaplain of Alms was crashing the game while using macros
Urza's Sylex
Study Break
Rankle and Torbran
Ancient Brass Dragon
Old Flitterfang
Crossway Troublemakers
Protean Hulk
torpor orb and similar cards aren't working
2024-04-17 23:38:47 -06:00
Eduardo MG
fa2c130b08 Changed myHand to ownerHand
Bug fixes:
Many Partings
Siren reaver
navigation orb
Pestilent Souleater
Confiscation Coup removed since it crashes the game
Speakeasy Server
Heraldic Banner
2024-03-25 19:07:44 -06:00
Eduardo MG
5500b9a8a5 New cards from recent sets
Morska, Undersea Sleuth
Miner's Guidewing
Sophia, Dogged Detective
Dogged Detective
River Herald Scout
Merchant of Truth
Tangletrove Kelp
On the Trail
Tomik, Wielder of Law
Massacre Girl, Known Killer
Dream Spoilers
Burning Sun Cavalry
2024-02-17 18:20:58 -06:00
Eduardo MG
8b9f34b879 Bug fixes, replacing explores code for the macro
Bruvac the Grandiloquent, not really supported, limiting to once per turn to not break the game
Using _EXPLORES_ macro
Siren reaver
navigation orb
2024-02-17 17:39:26 -06:00
Eduardo MG
607cf5f944 Merge branch 'master' of https://github.com/WagicProject/wagic 2024-02-16 13:09:10 -06:00
Eduardo MG
353b3b1d7f New cards from recent expansions, using _EXPLORES_ macro
Mischievous Pup
Oltec Archaeologists
Marauding Brinefang
Poetic Ingenuity
Grasping Shadows
Relic's Roar
Bennie Bracks, Zoologist
Kindled Heroism
Eriette's Tempting Apple
Xavier Sal, Infested Captain
Out Cold
Long Goodbye
Griffnaut Tracker
Concealed Weapon
Cerebral Confiscation
Seeker of Sunlight
Kinjalli's Dawnrunner
Pathfinding Axejaw
River Herald Guide
2024-02-16 13:08:48 -06:00
Eduardo MG
21a0ee754a Added Special Guests (SPG)
Added Special Guests (SPG) set of reprints with special art.

Special Guests are highly desirable, Masters release–level reprints with art and flavor text matched to the flavor of the plane or set they are included in. They have their own set code (SPG) and expansion symbol
2024-02-16 12:52:51 -06:00
Eduardo MG
a0b3c00211 Fixes to commander damage, deathtouch, MAT card variants.
March of the Machine: The Aftermath (MAT) card variants.
The previous implementation of the deathtouch ability had a bug that destroyed planeswalkers even with any amount of damage. This has been fixed.
If a player has been dealt 21 points of combat damage by a particular Commander during the game, that player loses a game. The damage rule with commanders was incorrect in counting any type of damage, not only combat damage.

Bug fixes:
Athreos, Shroud-Veiled
Endless Atlas
Natural State
Savage Gorger
Kytheon's Irregulars
Lion Sash
Pyrophobia
Minas Tirith
Sakashima of a Thousand Faces
2024-02-16 12:46:41 -06:00
Eduardo MG
603af22b79 Murders at Karlov Manor (MKM) and Murders at Karlov Manor Commander (MKC)
Murders at Karlov Manor (MKM) and Murders at Karlov Manor Commander (MKC) _cards.dat with official multiverseID
2024-02-12 18:31:29 -06:00
Eduardo MG
9cfc4ea321 New cards from recent sets like WOE and Karlov Manor (MKM)
Celebration cards and primitives from Murders at Karlov Manor (MKM)
2024-02-12 18:16:00 -06:00
Eduardo MG
0d05aeb329 Fixes to Kaldheim equipment, cast prevention, AI sacrificing
Kaldheim (KHM) equipment that creates tokens uses an ETB (Enter the Battlefield) ability, not a cast ability.
Cards that use maxCast(anytext)0 simply prevent any type of casting.
The AI sometimes hangs when sacrificing creatures, preventing game continuation. To address this, a restriction has been added to allow only the human player to use this effect.
Other bug fixes:
Doomsday
Perimeter Sergeant
Imposing Grandeur
Sacred armory text
2024-02-12 18:00:35 -06:00
Eduardo MG
667adfadce Bug fixes, Changes to Random Commander
You can now get non-basic lands in random commander, adds more diversity to the mode.
Bug fixes to "Choose one or both" cards
Helm of Kaldra AI just keeps activating the ability
Katsumasa, the Animator
Yidris, Maelstrom Wielder
Prismatic Omen
Retreat to Hagra
Condescend
Unnatural Aggression
Second Breakfast
Kitesail Skirmisher
Ezuri's Predation
Rohgahh, Kher Keep Overlord
Blight-Breath Catoblepas
2024-02-09 20:04:12 -06:00
Eduardo MG
30bef9f840 Bug fixes, adding a token for next MKM set
Devour creatures and similar cards that sacrifice should not target, or else you can't sacrifice permanents with shroud
Cavalier of Night
Titan Hunter
Somberwald Alpha
Irini Sengir
Brand
2024-02-05 19:47:43 -06:00
Eduardo MG
a6fe4a5de6 White vampire token macro, bug fixes and new cards
# White Vampire with lifelink Token
#AUTO_DEFINE _WHITEVAMPIRE_ create(vampire:creature vampire:1/1:white:lifelink)
Added Uchbenbak, the Great Mistake and other cards from WOE and LCI
Bug fixes to:
Aethershield Artificer
Shirei, Shizo's Caretaker still needs some work
The Scarab God
Corpsejack Menace
Lightning Javelin
Furious Bellow
Enemy of Enlightenment
Orcish Captain
Sun-Crested Pterodon
moonlight bargain
Haunted One
Criminal Past
Scion of Halaster
Moldgraf Monstrosity
Ashiok, Nightmare Muse
Thran Spider
Icon of Ancestry
Shark Typhoon
Farid, Enterprising Salvager
Over the Top
2024-01-31 17:22:57 -06:00
Eduardo MG
f0cbff2f91 Added buttons to display menus, new token macros.
Newer Android devices dont have phisical buttons, so added buttons to display menus that have the same behaviour of pressing the back button.
Bug fixes in primitives.
Created macros for Eldrazi Scion and Eldrazi Spawn tokens.
2024-01-20 11:47:28 -06:00
Eduardo MG
11352db948 Innistrad: Midnight Hunt _cards.dat update
Adding variant cards from MID
2024-01-18 08:38:22 -06:00
Eduardo MG
0322e58221 Bug fixes and three new legendary creatures
Spelling errors fixing
Akawalli, the Seething Tower
Alaundo the Seer
Basilica Skullbomb
Bishop of Wings
Dark Bargain
Dire Tactics
Goblin Bowling Team
Golos, Tireless Pilgrim
Hive of the Eye Tyrant
Iron Mastiff
Liliana's Defeat
Mist of Stagnation
Mudhole
Multiple Choice
Myconid Spore Tender
Ominous Sphinx
Prying Blade
Solemn Recruit
The Mouth of Sauron
Thwart the Grave
Virulent Swipe
Welkin Guide
2024-01-14 18:17:11 -06:00
Eduardo MG
682ed43f38 Commander decks by Bob Cyril
Here is a brand new AI commander deck with Graaz the Unstoppable Juggernaut as the commander. 
Here is another new commander deck with Shalai and Hallar as the commander.
2024-01-12 19:25:37 -06:00
Eduardo MG
cee669389e Merge pull request #1092 from Darthagnon/improve-docs
Improve docs
2024-01-12 16:02:46 -06:00
Eduardo MG
adbed735f3 Ravnica Remastered (RVR) image links, more The Lost Caverns of Ixalan (LCI) cards
adding more The Lost Caverns of Ixalan (LCI) cards
Card image links with the new Ravnica Remastered (RVR
Bug fixes
2024-01-12 13:07:52 -06:00
Eduardo MG
aadf372204 Ravnica Remastered (RVR)
Ravnica Remastered (RVR) _cards.dat
2024-01-10 17:15:01 -06:00
Eduardo MG
f5b9d91769 More cards from The Lost Caverns of Ixalan (LCI)
Bug fixes related to cards that need an additional discard to be cast and a typo in the word "veriable" -> "variable"
2024-01-08 18:14:06 -06:00
Eduardo MG
e06cc6ddae More cards from Wilds of Eldraine (WOE)
Bug Fixes to:
Ephara, Ever-Sheltering
Sidisi's Faithful
Supply Caravan
2024-01-07 14:11:24 -06:00
Eduardo MG
19f2267413 Some cards from Wilds of Eldraine (WOE)
Adding a subset of Wilds of Eldraine (WOE) cards, also a bug fix to Elven Chorus
2023-12-27 17:30:53 -06:00
Eduardo MG
96e9eebabb More cards from The Lost Caverns of Ixalan (LCI)
Bug fixes to:
Alpine Guide
Shimmerwing Chimera
Horn of Deafening
2023-12-25 22:56:41 -06:00
Eduardo MG
814fc96ed8 Adding some The Lost Caverns of Ixalan (LCI) primitives
Also bug fixes to Argoth, Sanctum of Nature and Creeperhulk
2023-12-22 12:24:12 -06:00
Eduardo MG
60ae2d5bef Update borderline.txt
leather armor
Cemetery Desecrator
Glamdring
Militia Bugler
Creeperhulk
2023-12-20 12:27:01 -06:00
Eduardo MG
560bb22cd7 Populating LCI and REX _cards.dat 2023-12-16 16:33:04 -06:00
Eduardo MG
298491d416 The Lost Caverns of Ixalan CardImageLinks
Images links for The Lost Caverns of Ixalan (LCI), The Lost Caverns of Ixalan Commander (LCC) and Jurassic World Collection (REX) sets
2023-12-16 12:14:21 -06:00
Eduardo MG
4929ab9991 The Lost Caverns of Ixalan (LCI) _cards.dat
The Lost Caverns of Ixalan (LCI), The Lost Caverns of Ixalan Commander (LCC) and Jurassic World Collection (REX) sets
2023-12-16 12:10:24 -06:00
Eduardo MG
7d4056d9ba Update borderline.txt
Bug fixes in primitives
Archon of Cruelty
Horned Stoneseeker
Loch Dragon
Smothering Tithe
Spectral Hunt-Caller
2023-11-15 18:41:18 -06:00
Eduardo MG
390c25608e Update CardImageLinks.csv
Image links for Wilds of Eldraine (WOE), Wilds of Eldraine: Enchanting Tales (WOT), and Wilds of Eldraine Commander (WOC).
2023-10-02 12:09:26 -06:00
Eduardo MG
4eddbdfc5d Wilds of Eldraine and it's complementary sets
Includes Wilds of Eldraine (WOE), Wilds of Eldraine: Enchanting Tales (WOT), and Wilds of Eldraine Commander (WOC). Only the _cards.dat
2023-10-02 11:58:07 -06:00
Eduardo MG
e1614c073b Bug fixes in primitives
Lead by Example
Aragorn, the Uniter
Clay Revenant
Risen Executioner
Avacyn token from Battle at the Helvault
2023-09-14 18:24:01 -06:00
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
Darren J. de Lima
44cf433b06 Add Discord, archival notice for forums 2023-07-01 18:36:16 +01:00
Darren J. de Lima
1c40e3a889 Fix URLs, minor formatting 2023-07-01 18:31:41 +01:00
Darren J. de Lima
e19519a39c Improve README, add Wiki as submodule
Ensures developers get a full offline copy of documentation when cloning repo.
2023-07-01 18:27:05 +01: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
xawotihs
a6211e371e Revert usage of ant release and remove the DEBUG define in the NDK makefile to remove the testsuite 2016-07-19 22:24:26 +01:00
Xawotihs
775085eca1 Uses now *ant release* to build the APK 2016-07-19 21:30:08 +01:00
xawotihs
b3d580cada Changed Android app manifest to be not debuggable. 2016-07-19 21:03:24 +01:00
Anthony Calosa
37987ddb57 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-19 10:47:53 +08:00
zethfoxster
a56ab4f561 Merge pull request #770 from zethfoxster/master
pushing to master
2016-07-18 22:30:53 -04:00
zethfoxster
6f649bd680 Merge pull request #25 from WagicProject/master
getting master
2016-07-18 22:30:30 -04:00
zethfoxster
6316577ec7 taught AI basic attack and block cost.
added functionality to send specific abilities to AI "selectAbility" to have it find mana, targets, and use a selected ability at our command.
2016-07-18 22:03:16 -04:00
Anthony Calosa
61cd74fcd0 revert psp cache 2016-07-19 09:52:18 +08:00
zethfoxster
37fd0ebbd2 readded the "fakebar" size adjustments based on string lengths.
in debug there is a strange line drawn sometimes on screen, like the buttons on main screen, this is not present in release builds, I'm guessing its some kind of debug related thing with JGE and quads.
2016-07-18 19:02:03 -04:00
zethfoxster
8e987a6718 Merge pull request #769 from zethfoxster/master
pushing to master
2016-07-18 17:24:15 -04:00
zethfoxster
520be9dbe8 Merge pull request #24 from WagicProject/master
getting master
2016-07-18 17:23:54 -04:00
zethfoxster
322e6f7edf Merge pull request #768 from kevlahnota/master
Some changes on Deck Editor & Others
2016-07-18 17:22:16 -04:00
Anthony Calosa
b6eea6fe2e Some Changes to Deck Editor and Others
Some Deck Editor changes
2016-07-19 04:33:23 +08:00
Anthony Calosa
dc84c50ea8 add deck editor graphics 2016-07-19 03:32:22 +08:00
Anthony Calosa
07d7df7271 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-18 23:33:26 +08:00
Anthony Calosa
5b9f3c70dc Merge pull request #767 from kevlahnota/master
minor changes
2016-07-18 14:26:31 +08:00
Anthony Calosa
bd36590084 offquad for offset bg 2016-07-18 13:52:28 +08:00
Anthony Calosa
4e64ff4ff9 center menu title 2016-07-18 13:51:49 +08:00
Anthony Calosa
2dd882a7a5 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-18 13:51:19 +08:00
Anthony Calosa
fe4c102c7d Merge pull request #766 from kevlahnota/master
psp cache
2016-07-18 12:47:01 +08:00
Anthony Calosa
1380bc9940 psp cache 2016-07-18 12:44:19 +08:00
Anthony Calosa
5cc549ad3a Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-18 11:11:51 +08:00
Anthony Calosa
75395f6622 Merge pull request #765 from kevlahnota/master
Fix Deck Menu layer, Change Main Menu Layout, Fix Crash cdaactive on tokens
2016-07-18 11:04:51 +08:00
Anthony Calosa
c9576e260e fix blinking menu item 2016-07-18 11:04:14 +08:00
Anthony Calosa
362d692879 cleanup 2016-07-18 10:53:07 +08:00
Anthony Calosa
acbaa69305 use previous "phaseinfo" as fakebar 2016-07-18 10:38:47 +08:00
Anthony Calosa
592a48c725 add fakebar 2016-07-18 10:38:47 +08:00
zethfoxster
bfaaf7d893 travis int order 2016-07-17 22:37:32 -04:00
zethfoxster
9e73dc9c00 add support for repeater deplete cards.
Scalpelexis
Sphinx's Tutelage
Grindstone
normally I aim for much bigger card groups, but this was requested by one of the only 2 active members we have on the forum.
I'll have the card code for these cards ready when I code eldrich moon set.

to use, use it like any normal depelte except add
name
color
to the front, 
name deplete:4 targetsZone(player)
this will repeat this until the player depletes cards that dont have atleast 2 with the same name.
color deplete:2 target(player)
this will continue to deplete until the player depletes a set of cards that dont share a color with each other lands not included when checking colors.
enjoy.
2016-07-17 22:24:53 -04:00
Anthony Calosa
d37aac0c71 added fakebar.png 2016-07-18 10:15:22 +08:00
Anthony Calosa
8314d4c9ae update GameStateMenu
as Zeth suggested
2016-07-18 09:24:28 +08:00
Anthony Calosa
d860954c32 fix crash with cdaactive and token
cdaactive is forcedalive, if the token dies, forcedestroy it, token/s go
to garbage
2016-07-18 07:32:02 +08:00
Anthony Calosa
0b4b085095 fix layer order 2016-07-18 07:28:31 +08:00
Anthony Calosa
c0334d0c94 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-18 06:07:38 +08:00
zethfoxster
6acd897e16 Merge pull request #23 from WagicProject/master
getting master
2016-07-17 10:39:10 -04:00
Anthony Calosa
2adfc55339 Merge pull request #763 from kevlahnota/master
stats to the right
2016-07-17 20:07:28 +08:00
Anthony Calosa
208b4f68b5 added statsholder 2016-07-17 19:05:00 +08:00
Anthony Calosa
33fd704a00 move stats to the right in deck menu 2016-07-17 19:03:55 +08:00
Anthony Calosa
6d8ece6822 change avatar holder bg color 2016-07-17 19:02:45 +08:00
Anthony Calosa
6b5cbd5f11 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-17 17:35:36 +08:00
Anthony Calosa
ea6017511b Merge pull request #762 from kevlahnota/master
large icons for Android
2016-07-17 15:39:58 +08:00
Anthony Calosa
2477b8a3ea large icons for Android 2016-07-17 15:39:10 +08:00
Anthony Calosa
cdd1075384 Merge pull request #761 from kevlahnota/master
phaseinfo & backdropframe & backdrop
2016-07-17 15:22:58 +08:00
Anthony Calosa
c61c17f19c increased cache 2016-07-17 15:05:53 +08:00
Anthony Calosa
774b79f07e seperated backdrop and backdropframe 2016-07-17 14:44:37 +08:00
Anthony Calosa
002172281b added backdrop frame 2016-07-17 14:42:16 +08:00
zethfoxster
4e9d4bfaf6 minor changes to ai 2016-07-17 02:19:58 -04:00
Anthony Calosa
894e9f244f added phaseinfo graphic 2016-07-17 14:13:57 +08:00
Anthony Calosa
189b45ab9b new backdrop 2016-07-17 14:12:47 +08:00
Anthony Calosa
b0912de788 Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-07-17 14:11:54 +08:00
Anthony Calosa
f435946f66 seperated backdrop and phase info graphic 2016-07-17 14:11:49 +08:00
Anthony Calosa
64d91ccaab Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-17 12:52:12 +08:00
Anthony Calosa
e97fbb2784 Update DeckImporter.java 2016-07-17 11:47:06 +08:00
zethfoxster
0029e0ed43 Merge pull request #22 from WagicProject/master
getting master
2016-07-16 23:13:59 -04:00
Anthony Calosa
088f235f29 Merge pull request #760 from kevlahnota/master
revert build.xml
2016-07-17 08:55:34 +08:00
Anthony Calosa
dd5aa90498 revert build.xml 2016-07-17 08:54:26 +08:00
Anthony Calosa
c866e5dd45 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-17 08:54:01 +08:00
Anthony Calosa
6e8f74af15 Merge pull request #759 from kevlahnota/master
centered unlock awards and double res shop
2016-07-17 08:36:18 +08:00
Anthony Calosa
d70fd8c208 test build number 2016-07-17 08:35:14 +08:00
Anthony Calosa
9551c9bed4 upped build number
don't know if we can compute travis build number minus the last build of
this
2016-07-17 08:02:04 +08:00
Anthony Calosa
06740564f8 centered unlock awards and double res shop
400x100 base scale for the xxx_unlocked.png
2016-07-17 07:42:46 +08:00
Anthony Calosa
ef94c31d42 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-17 06:28:17 +08:00
zethfoxster
093b370903 Merge pull request #758 from zethfoxster/master
stupid case for travis
2016-07-16 16:31:56 -04:00
zethfoxster
542845667a stupid case for travis 2016-07-16 15:59:45 -04:00
zethfoxster
8ce08bc4f4 Merge pull request #757 from zethfoxster/master
more fixes
2016-07-16 14:47:12 -04:00
zethfoxster
69158d55c1 more fixes 2016-07-16 14:46:40 -04:00
zethfoxster
d9a794e186 Merge pull request #756 from zethfoxster/master
pushing to master
2016-07-16 14:44:16 -04:00
zethfoxster
6cc146c0a5 Merge pull request #21 from WagicProject/master
getting master
2016-07-16 14:43:45 -04:00
Anthony Calosa
b490328a45 Merge pull request #755 from kevlahnota/master
backdrop & taskboard
2016-07-16 22:08:13 +08:00
zethfoxster
30df5226df Merge pull request #20 from WagicProject/master
getting master
2016-07-16 09:39:26 -04:00
Anthony Calosa
c8369ce316 replaced backdrop and taskboard 2016-07-16 21:30:09 +08:00
Anthony Calosa
ffb7e5d573 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-16 21:00:14 +08:00
Anthony Calosa
3d41531a84 Merge pull request #754 from kevlahnota/master
support doubled res for awards
2016-07-16 19:50:20 +08:00
Anthony Calosa
f0fa6986d7 support double res award
the 203.f height and 268.f is reserved for small award images, if you
want double res, make the award in scale of 171x192 (example 342x384)
2016-07-16 14:49:57 +08:00
Anthony Calosa
d908606527 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-16 13:30:55 +08:00
Anthony Calosa
886a26aa20 Merge pull request #753 from kevlahnota/master
First set of Graphic Changes ... use default theme
2016-07-16 10:19:37 +08:00
Anthony Calosa
bc77ff45cd Create readme.txt 2016-07-16 09:44:42 +08:00
Anthony Calosa
c1fb884dcd moved old themes 2016-07-16 09:38:20 +08:00
Anthony Calosa
26992828f0 Add files via upload 2016-07-16 09:36:22 +08:00
Anthony Calosa
07670c6bc5 Create readme.txt 2016-07-16 09:32:15 +08:00
Anthony Calosa
b2bc6b7740 remove old theme 2016-07-16 09:25:21 +08:00
Anthony Calosa
c617ede243 First set of Graphic changes
TODO: generate a graph/stats on deck menu to the right, update other
graphics, move detailed info on the right of deck menu...
2016-07-16 09:16:07 +08:00
Anthony Calosa
0d7600d62c revert wallpapers 2016-07-16 09:08:38 +08:00
Anthony Calosa
7a0ef10f9f add new graphics 2016-07-16 09:06:38 +08:00
zethfoxster
2fc52c9abd changed suspend to use castcard. 2016-07-14 21:25:04 -04:00
zethfoxster
9a56817bf8 fixed a bug I introduced 2016-07-14 20:44:21 -04:00
zethfoxster
e81346f881 more work on cascade, I think I figured out what was causing a weird crash. 2016-07-14 20:28:19 -04:00
zethfoxster
01fd8fa406 recoded cascade, the logic was incorrect. also the ability was coded incorrectly. ALL the cards get exiled, then placed on the bottom, the card that cost less is also exiled then MAY be cast otherwise its placed in the library bottom with the rest.
I also now tell AI to ALWAYS use cast card if available. as the effects are always better.
2016-07-13 23:57:30 -04:00
Anthony Calosa
f09e0db311 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-14 10:51:23 +08:00
zethfoxster
5dc72e88fe Merge pull request #19 from WagicProject/master
getting master
2016-07-13 20:08:23 -04:00
Anthony Calosa
169e2b8477 change path again 2016-07-14 01:13:43 +08:00
Anthony Calosa
9fe5ec6068 removed old path 2016-07-14 00:59:46 +08:00
Anthony Calosa
d4e0ca3f03 try to fix build 2016-07-14 00:57:50 +08:00
Anthony Calosa
7690a27e60 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-13 18:50:51 +08:00
Anthony Calosa
748d9ef65d Merge pull request #752 from kevlahnota/master
menubar
2016-07-13 15:25:18 +08:00
Anthony Calosa
d88db28da8 menubar graphic 2016-07-13 14:27:33 +08:00
Anthony Calosa
e95b9f57fa menubar 2016-07-13 14:25:57 +08:00
Anthony Calosa
6c14aa49ea Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-13 13:50:18 +08:00
Anthony Calosa
1859fc87ae Merge pull request #751 from kevlahnota/master
adjust simple menu & textscroller
2016-07-13 13:11:39 +08:00
Anthony Calosa
6c9d2e5db7 tooltip graphic 2016-07-13 13:09:34 +08:00
Anthony Calosa
d6d147187d add tooltip on textscroller 2016-07-13 13:07:29 +08:00
Anthony Calosa
ab75c1d5e2 adjust simple menu
adjust simple menu and fix some cards
2016-07-13 11:43:00 +08:00
Anthony Calosa
992178eb9a Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-07-12 21:40:16 +08:00
Anthony Calosa
f61ce2884a Merge pull request #9 from WagicProject/master
pull
2016-07-12 21:40:03 +08:00
Anthony Calosa
21db8852d6 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-12 21:34:30 +08:00
zethfoxster
2900c1f914 Merge pull request #750 from zethfoxster/master
Pushing fixes
2016-07-12 09:01:04 -04:00
zethfoxster
8dd7bd8912 Merge pull request #18 from WagicProject/master
Getting master
2016-07-12 09:00:25 -04:00
Anthony Calosa
c6f1784d9d Merge pull request #749 from kevlahnota/master
small adjustment
2016-07-12 19:27:57 +08:00
Anthony Calosa
684cb086cc rounded 2016-07-12 17:51:48 +08:00
Anthony Calosa
d2d8b06d97 lowered value 2016-07-12 17:44:57 +08:00
Anthony Calosa
4d346e0ca7 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-12 17:43:47 +08:00
Anthony Calosa
a6cbd10f3b Merge pull request #748 from kevlahnota/master
Update some items
2016-07-12 16:34:16 +08:00
Anthony Calosa
416a49d87f Update some items 2016-07-12 15:49:43 +08:00
zethfoxster
f438548e5c teaching ai to select X on the menu again. 2016-07-11 23:46:03 -04:00
zethfoxster
cc75fc42db fixed a memleak that triggered with cards like vise, we were leaving this funtion without deleting an event that was not being sent. 2016-07-11 19:32:57 -04:00
zethfoxster
66e01b12f8 Merge pull request #17 from WagicProject/master
getting master
2016-07-11 18:53:15 -04:00
Anthony Calosa
b3045726fb Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-12 06:22:49 +08:00
Anthony Calosa
9b2b541e4d Merge pull request #747 from kevlahnota/master
try to fix failed logic here
2016-07-12 05:30:58 +08:00
Anthony Calosa
2d763d106d try to fix failed logic here 2016-07-12 02:27:06 +08:00
Anthony Calosa
37d2feeaa5 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-11 20:01:38 +08:00
Anthony Calosa
66a33cd56e Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-11 19:56:57 +08:00
Anthony Calosa
ae07844a71 a little bit smaller 2016-07-11 19:56:39 +08:00
Anthony Calosa
e00484775e Merge pull request #745 from kevlahnota/master
Add Missing Devoid Cards and change Simple Menu
2016-07-11 19:54:37 +08:00
Anthony Calosa
ed871db1f3 use regular images in grid deck view
i did search for psp-2000 and it has 64mb ram vs psp-1000 32mb ram. use
lowres images for psp to be safe.
2016-07-11 19:16:47 +08:00
Anthony Calosa
3c4f3146c4 fix cards that move on top of library
seems when you search your library, after you put it on top, it shuffles
also the chosen card.
2016-07-11 18:39:21 +08:00
Anthony Calosa
5cde230723 Fix Crash when importing deck
removed "sideboard"
2016-07-11 16:35:57 +08:00
Anthony Calosa
6d4a068453 SImple Menu 2016-07-11 13:54:08 +08:00
Anthony Calosa
248e8e6beb Added some missing Devoid cards 2016-07-11 10:49:43 +08:00
Anthony Calosa
4db11ba324 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-11 08:43:52 +08:00
Anthony Calosa
a97f862641 Merge pull request #744 from kevlahnota/master
Add support for reducing hybrid costs
2016-07-11 08:33:15 +08:00
Anthony Calosa
69db7f7384 Add support for reducing Hybrid cost
it doesn't remove the hybrid icons but it reduces the cost.
2016-07-11 07:55:12 +08:00
Anthony Calosa
a72fb6f01a Merge pull request #8 from WagicProject/master
pull from master
2016-07-11 07:47:58 +08:00
zethfoxster
53766b99c9 Merge pull request #743 from zethfoxster/master
pushing to master
2016-07-10 14:05:51 -04:00
zethfoxster
1b54cf56e0 auto close graveyard when delving and we have exiled enough to pay for the card. 2016-07-10 14:04:27 -04:00
zethfoxster
05a553ffdc Merge pull request #16 from WagicProject/master
getting master
2016-07-10 13:46:43 -04:00
Anthony Calosa
d6ea80843f Merge pull request #742 from kevlahnota/master
Updated Primitives, Corrected Names, Updated Unsupported
2016-07-10 18:08:00 +08:00
Anthony Calosa
8c2ce43053 Cleaned Unsupported 2016-07-10 17:04:04 +08:00
Anthony Calosa
34b33798a7 Corrected some card names 2016-07-10 16:44:39 +08:00
Anthony Calosa
adbef081d0 Update primitives
forcedalive now means forcedalive even when the cards is not in play.
Cloudshift ability is move to exile and move to your battlefield, blink
cannot be used since it moves to exile and then moves to owner
battlefield...
2016-07-10 15:42:36 +08:00
Anthony Calosa
5eb3a86467 Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-07-10 08:59:10 +08:00
Anthony Calosa
bef2b34faa Merge pull request #7 from WagicProject/master
pull changes from master
2016-07-10 08:57:20 +08:00
zethfoxster
7516b44804 Merge pull request #741 from zethfoxster/master
pushing to master
2016-07-09 20:22:52 -04:00
zethfoxster
8b70f5a114 added isochron and spell binder 2016-07-09 20:21:40 -04:00
zethfoxster
c4581a8889 added imprintedcard as a usable name for castcard 2016-07-09 20:20:55 -04:00
zethfoxster
fdde5b7fe9 ok round 3 2016-07-09 18:57:01 -04:00
zethfoxster
d1bc246a35 Merge pull request #740 from zethfoxster/master
Master
2016-07-09 18:30:16 -04:00
zethfox
262779b515 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-09 18:28:08 -04:00
zethfox
78e4407c71 Revert "edge case fix, the issue arises from castcard but I'm fixing it at a higher level since init to zone should always have a valid "player 1" in its first constructor."
This reverts commit d247c53136.
2016-07-09 18:21:52 -04:00
zethfoxster
d247c53136 edge case fix, the issue arises from castcard but I'm fixing it at a higher level since init to zone should always have a valid "player 1" in its first constructor. 2016-07-09 17:55:08 -04:00
zethfoxster
bca9381903 Merge pull request #739 from zethfoxster/master
unused variables.
2016-07-09 13:13:36 -04:00
zethfoxster
a8cbdafe6e unused variables. 2016-07-09 13:12:58 -04:00
zethfoxster
e595f141c1 Merge pull request #738 from zethfoxster/master
pushing to master
2016-07-09 13:09:03 -04:00
zethfoxster
4aa43de54d Merge pull request #15 from WagicProject/master
getting master
2016-07-09 13:06:46 -04:00
zethfoxster
2e92838364 fixed an issue with dredge, where dredge is offered even though theres only one dredger on cards that draw multiple. 2016-07-09 11:38:25 -04:00
Anthony Calosa
283cb64a01 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-09 21:20:31 +08:00
zethfoxster
517fd2d4f4 Merge pull request #737 from zethfoxster/master
merging to master
2016-07-09 09:11:33 -04:00
zethfoxster
3467c976a9 Merge pull request #14 from WagicProject/master
getting master
2016-07-09 08:54:13 -04:00
Anthony Calosa
f3166406ec Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-09 19:56:14 +08:00
Anthony Calosa
b5b930dddb Merge pull request #736 from kevlahnota/master
Add moveto(previousbattlefield) test
2016-07-09 17:31:37 +08:00
Anthony Calosa
11c10f526a Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-07-09 16:51:11 +08:00
Anthony Calosa
cf362f1a6a Update _tests.txt 2016-07-09 16:50:45 +08:00
Anthony Calosa
3b2ea8ea98 Create previousbattlefield.txt 2016-07-09 16:50:07 +08:00
zethfoxster
f82bc39473 ok found the massive draw, it was trenisphere. the card lords every single card in the game a mana modifier. affinity normally didnt see these issues cause the cards effected are just either in your hand or the source themselves. but when trin was put in play it would cause 120 cards to have to update thier cost, which can not be done in acceptible cpu time. anyways, this should solve the issue.
that card is a desaster, please do not add any more code to support it, though with it in its current state im wondering why its not in supported and is placed in borderline.
2016-07-09 01:24:55 -04:00
zethfoxster
b5976035e3 actually i changed my mind, instead lets update affinity after events are processed, that should take into account cards untapping,moving, ect.... 2016-07-09 00:58:19 -04:00
zethfoxster
14f65c55b5 going to try only updating affinity() when cards move from anywhere to anywhere to help minimize the calls to this function. this atleast allows me to debug albeit slowly the follow issue ive been working to fix. not sure when this was introduced but it was not happening when i first coded this function. manacost->copy() did not slow the game to a crawl.
anyways, trinisphere and any card containing 
other={H(land[basic]|mybattlefield)}{1} name(Pay /1/ and Return a Basic Land to Hand)

cost such as this with a CD tc.
2016-07-09 00:48:08 -04:00
zethfoxster
ee91e0698d corrected some logic with computenewcost.
there is a bug im working on with newaffinity and cards that contain targetchoosers with CD tcs. 

experimental change also added with lords. im making the abilities grants by lord forcedalive until the lord is removed from game.
some instances of forcedalive in master primitives did not contain abilities which resolved, meaning they would contenue even though the source had left play.
2016-07-09 00:11:21 -04:00
Anthony Calosa
aa23537354 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-09 06:50:31 +08:00
zethfoxster
242c7b623f Merge pull request #13 from WagicProject/master
getting master
2016-07-08 17:54:14 -04:00
zethfoxster
c0c52e57df what a dumb typo. surprised it was in the engine that way for so long. 2016-07-08 17:48:27 -04:00
Anthony Calosa
dff938e802 Merge pull request #732 from kevlahnota/master
"previousbattlefield" for mover
2016-07-09 04:33:41 +08:00
Anthony Calosa
847e9dffc2 revised 2016-07-08 22:57:47 +08:00
Anthony Calosa
10d81bd47a try to fix segmentation fault 2016-07-08 18:46:07 +08:00
Anthony Calosa
3aa64697d2 "previousbattlefield" for mover 2016-07-08 17:39:47 +08:00
Anthony Calosa
fecaf64eec Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-08 17:30:51 +08:00
Anthony Calosa
20cb8e4ead Merge pull request #731 from kevlahnota/master
Softcoded some cards alias
2016-07-08 16:20:33 +08:00
Anthony Calosa
cb6e5a5e54 Update changes 2016-07-08 15:47:01 +08:00
Anthony Calosa
366de00950 Softcoded some card alias 2016-07-08 15:32:13 +08:00
Anthony Calosa
f80b7a32c1 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-08 12:48:55 +08:00
Anthony Calosa
67f3d956f4 Merge pull request #730 from kevlahnota/master
Updated Primitives
2016-07-08 11:47:37 +08:00
Anthony Calosa
607301b35d Update _tests.txt
added test for lifetap vs shocklands
2016-07-08 10:19:29 +08:00
Anthony Calosa
9f5c3e9942 Create lifetap2.txt 2016-07-08 10:18:00 +08:00
Anthony Calosa
d34ecff3aa Updated Primitives
for cards that use tap(noevent)
2016-07-08 10:02:54 +08:00
zethfoxster
0ff7e54ff4 this is a good enough fix as waste is colorless which is artifact, and all we do is barrow the kbitmask from land. 2016-07-07 20:47:25 -04:00
Anthony Calosa
c4e508a090 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-08 08:37:09 +08:00
zethfoxster
58f15184b8 Merge pull request #729 from zethfoxster/master
pushing to master
2016-07-07 20:17:16 -04:00
zethfoxster
61d22eb498 added a modifier for "tap" for cards that say "enters the battlefield tapped", they are supposed to be tapped when put in play, which mean they should not trigger @tapped(.
for cards with the line or options "do/pay MANA or this card enters the battlefield tapped"
simply change it to tap(noevent)
it will simulate the card being placed into play already tapped.
2016-07-07 19:02:41 -04:00
zethfoxster
34d10bba3c Merge pull request #12 from WagicProject/master
getting master
2016-07-07 18:14:06 -04:00
Anthony Calosa
5ba8cc3439 Merge pull request #727 from kevlahnota/master
Sorted Primitives and Cleanup Tabs
2016-07-07 14:02:33 +08:00
Anthony Calosa
4da7f77089 Cleanup tabs 2016-07-07 13:25:36 +08:00
Anthony Calosa
c544206437 Sorted Primitives 2016-07-07 13:10:30 +08:00
Anthony Calosa
7a65a7da1e Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-07 12:18:54 +08:00
zethfoxster
014a153e49 Merge pull request #726 from zethfoxster/master
push to master
2016-07-06 23:07:23 -04:00
zethfoxster
066c40d9c1 close library, exile, or graveyard after we "move" cards from it. 2016-07-06 22:04:59 -04:00
Anthony Calosa
5f7f4a23aa Merge pull request #6 from WagicProject/master
pull from master
2016-07-07 09:19:21 +08:00
Anthony Calosa
e39dee6e1d Revert "Zeth Fixes"
This reverts commit 78d3828f1e.
2016-07-07 09:16:03 +08:00
Anthony Calosa
cf71f84e49 Revert "Sorted Primitives"
This reverts commit 2f4c00c602.
2016-07-07 09:15:57 +08:00
zethfoxster
8265253388 fixed a issue with dredge where it was entering the stack even tho dredging itself is a replacement effect. 2016-07-06 20:26:18 -04:00
zethfoxster
b1293b70cf Merge pull request #725 from zethfoxster/master
push to wagicproject
2016-07-06 19:40:38 -04:00
zethfoxster
7b8b197a35 another fix 2016-07-06 19:08:41 -04:00
zethfoxster
867e1b8731 fixes 2016-07-06 18:24:45 -04:00
zethfoxster
5cdcf47994 merged my changes to the base 2016-07-06 18:08:33 -04:00
zethfoxster
a500920bb2 Merge pull request #11 from WagicProject/master
got it
2016-07-06 17:57:38 -04:00
zethfoxster
a748e0337d trying to get my commit in 2016-07-06 17:56:17 -04:00
Anthony Calosa
2f4c00c602 Sorted Primitives 2016-07-06 16:09:54 +08:00
Anthony Calosa
78d3828f1e Zeth Fixes
Memleaks and others
2016-07-06 16:05:29 +08:00
Anthony Calosa
4505f51fbd Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-06 13:13:40 +08:00
zethfoxster
2ca7b2310b trying to manuelly add changes 2016-07-06 00:43:11 -04:00
zethfoxster
861366dd71 Fixed the memleaks caused by computeNewCost, moved them to gameobserver where affinity takes place, removed repeative code that was in game observer, moved the game observer components into computenewcost, removed the calls for "new mana" in all alternative play type that were added with this function. 2016-07-06 00:02:15 -04:00
Anthony Calosa
4cada08cbe Merge pull request #723 from kevlahnota/master
Deckstats Mana Rendering and Others
2016-07-06 09:09:32 +08:00
Anthony Calosa
1d80d97d22 Shackled highlight border 2016-07-06 07:55:10 +08:00
Anthony Calosa
935849142c replaced alias with shackler 2016-07-06 06:37:27 +08:00
zethfoxster
4e048f775d Merge pull request #8 from WagicProject/master
getting master
2016-07-05 18:37:14 -04:00
Anthony Calosa
f45adb5b9e removed alias 1111 2016-07-06 06:28:42 +08:00
Anthony Calosa
d4cc7ca232 removed alias that display chosen color 2016-07-06 06:21:45 +08:00
Anthony Calosa
51d06d8234 removed alias for overload 2016-07-06 05:23:25 +08:00
Anthony Calosa
16f7ae54b8 Fix Deck Mana Symbol Rendering
deckmanaColors was increased to 7, made this >=6 so it's compatible with
old deck stats
2016-07-06 04:26:01 +08:00
Anthony Calosa
e15734d17e White border for Deckmaster Set 2016-07-06 04:24:07 +08:00
Anthony Calosa
2cb773dd48 Added Yisan and Zameck 2016-07-06 04:23:46 +08:00
Anthony Calosa
09672ce89b Added Delver of Secrets & Tasigur 2016-07-05 23:33:55 +08:00
Anthony Calosa
c476262288 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-05 17:21:59 +08:00
Anthony Calosa
84c73bb11f Merge pull request #722 from kevlahnota/master
Added some missing reveal cards
2016-07-05 17:09:50 +08:00
Anthony Calosa
f8b5519ced Added some reveal cards 2016-07-05 15:13:19 +08:00
Anthony Calosa
01b7f36750 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-05 11:50:50 +08:00
Anthony Calosa
759c5222ac Merge pull request #721 from kevlahnota/master
Added C15 and MMA
2016-07-05 10:55:05 +08:00
Anthony Calosa
9847edbce1 Added MMA 2016-07-05 10:07:07 +08:00
Anthony Calosa
19789b6d90 Added Commander 2015 set 2016-07-05 08:22:43 +08:00
Anthony Calosa
7b2ba7f3b1 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-05 08:20:13 +08:00
Anthony Calosa
9a5ed11c83 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-05 06:34:36 +08:00
Anthony Calosa
3fc8b6fc5c Merge pull request #720 from kevlahnota/master
Add missing cards that uses producecolor
2016-07-05 06:27:19 +08:00
zethfoxster
c018e3dcc2 fixed a ton of memleaks, narrowed down the memleaks to just the computeNewCost function.
still working on a fix for this.
2016-07-04 15:13:35 -04:00
zethfoxster
2b8f1b350c added bonus events for eldrazi and werewolves 2016-07-04 11:18:07 -04:00
zethfoxster
806c82c30c Merge pull request #7 from WagicProject/master
getting master
2016-07-04 10:46:36 -04:00
zethfoxster
76f1591b58 removed WParsedInt "morethanfour", "plusone","plustwo","plusthree"
added 2 things
first plus/plusend, minus/minusend
written many ways damage:type:*:myhandminus2minusend
would deal damage equal to the cards in my hand -2
damage:type:creature:mybattlefieldplustype:creature:opponentbattlefieldplusend
damage equal to the number of creatures in my battlefield plus the number of creatures in opponents battlefield.

now there are special cases where we need to know the value BEFORE applying multipliers. life: is one of them. I added "math/mathend"

auto=@each opponent upkeep:target(opponent) life:-mathtype:*:myhandminustype:*:opponenthandminusendmathend opponent
in the example above, without "math" the "-" would be used for the first section of the minus parsed int, instead of being applied as a multiplier for the total of the number.

this is extremely flexible, and can contain any Wparsed int in both parts, you can add or subtract and use the differences between to values as the value of the parsedInt.
2016-07-04 10:43:07 -04:00
Xawotihs
2a5fc931b6 Should fix pull request Travis error 2016-07-04 16:09:46 +02:00
Anthony Calosa
a392e631d0 Update cards that has both tap and sacrifice 2016-07-04 21:30:42 +08:00
Anthony Calosa
f3da8f7353 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-04 21:07:58 +08:00
Anthony Calosa
fda4d43678 added missing cards Mirari's Wake and the likes 2016-07-04 19:55:19 +08:00
Anthony Calosa
a09868c397 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-04 19:54:32 +08:00
zethfoxster
fdddee415f Merge pull request #6 from WagicProject/master
getting master
2016-07-04 07:04:41 -04:00
Anthony Calosa
d239048817 Added V15 2016-07-04 18:58:41 +08:00
Anthony Calosa
88e146f4ba Added CMA 2016-07-04 18:56:07 +08:00
Anthony Calosa
a709a7fec0 Merge pull request #719 from kevlahnota/master
Fixed Madness, Removed Duplicates, Updated Unsupported, Sorted Primitives & Updated Premium Deck Series
2016-07-04 14:32:18 +08:00
Anthony Calosa
8d5d7bdf8d Update changelog 2016-07-04 14:30:10 +08:00
Anthony Calosa
ffe3317228 Updated and Cleaned Unsupported 2016-07-04 13:28:14 +08:00
Anthony Calosa
71adcb338d Fixed Madness moveto(ownergraveyard) and Remove Duplicates 2016-07-04 12:06:29 +08:00
Anthony Calosa
62b46f6ef5 remove Duplicate 2016-07-04 11:16:12 +08:00
Anthony Calosa
65149ece6c Sorted Primitivs
7-14-2016
2016-07-04 10:34:33 +08:00
Anthony Calosa
b0318f6939 Updated Premium Series 2016-07-04 10:27:08 +08:00
Anthony Calosa
b98fe6bda5 Merge pull request #5 from WagicProject/master
pull new changes from zeth
2016-07-04 10:12:16 +08:00
Anthony Calosa
6e6274a2dd Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-04 09:52:48 +08:00
zethfoxster
52988f154b Merge pull request #717 from zethfoxster/master
Fails but I have no idea why
2016-07-03 21:49:40 -04:00
zethfoxster
b590ea8caa Merge pull request #5 from WagicProject/master
getting master
2016-07-03 21:38:54 -04:00
Anthony Calosa
3c7570aab9 Merge pull request #715 from kevlahnota/master
Updated Sets
2016-07-04 06:18:59 +08:00
Anthony Calosa
3b8c92f5c2 Updated Planechase, Archenemy, Chronicles, Commander 2016-07-04 06:16:57 +08:00
Anthony Calosa
164cf79613 added MM2 2016-07-04 05:37:11 +08:00
zethfoxster
a216a6989b more fixes 2016-07-03 17:07:22 -04:00
zethfoxster
050bf5f73c updated test for new X rules. 2016-07-03 15:24:05 -04:00
Anthony Calosa
8ff94669f2 added C14 2016-07-03 19:39:18 +08:00
zethfoxster
775f9eb6b3 unused variable 2016-07-02 23:44:14 -04:00
zethfoxster
aeff6b60e9 forgot to remove this. 2016-07-02 23:20:51 -04:00
zethfoxster
94989a1109 Merge pull request #4 from WagicProject/master
get master
2016-07-02 23:07:40 -04:00
Anthony Calosa
e1c6c4e6b6 Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-07-03 10:46:11 +08:00
Anthony Calosa
48bd49cf2f Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-03 10:45:26 +08:00
zethfoxster
385a48bb43 fixed a bug where {t}{s(creature|mybattlefield)} or similar cost were not allowed to select the source to pay for the cost.
as long as the cost are not similar, the source is a valid target.
{s}{s(creature|mybattlefield)}
or
{t}{t(creature)}
or when the card states specifically that the source is not valid such as 
"{t},sacrifice another creature you control:draw a card"
2016-07-02 22:39:45 -04:00
Anthony Calosa
ad2b9a3640 Added Zendikar vs Eldrazi 2016-07-03 09:22:41 +08:00
Anthony Calosa
df249895e6 Added C13 2016-07-03 09:19:43 +08:00
zethfoxster
c7005ef933 cards for commit 2016-07-02 21:08:24 -04:00
zethfoxster
2489be93a3 added setting the value of X as you cast a spell with X.
this does not cover abilities yet.
2016-07-02 13:38:07 -04:00
zethfoxster
fa916c4fab Merge pull request #3 from WagicProject/master
updating from master
2016-07-02 09:08:13 -04:00
Anthony Calosa
a8fcb909fe Added Deckmasters 2016-07-02 20:41:59 +08:00
Anthony Calosa
1262c5e8ff Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-02 20:20:18 +08:00
Anthony Calosa
6edc3bcd02 Merge pull request #714 from kevlahnota/master
Updated Masters, Beginners, Duels and Vault Sets
2016-07-02 19:52:24 +08:00
Anthony Calosa
4e9e709816 Updated Vaults Block 2016-07-02 18:57:52 +08:00
Anthony Calosa
d24bc0cf94 Added V14 2016-07-02 18:57:24 +08:00
Anthony Calosa
a4bb0f40cc Added From the Vault Legends 2016-07-02 18:42:32 +08:00
Anthony Calosa
37d7693e3c Added Elspeth vs Kiora 2016-07-02 18:28:56 +08:00
Anthony Calosa
9fd1c4bb0a Added Speed vs Cunning 2016-07-02 18:21:28 +08:00
Anthony Calosa
9561cea8f9 Added Jace vs Vraska 2016-07-02 18:17:51 +08:00
Anthony Calosa
cfdfe6e567 Updated Duel Decks 2016-07-02 18:06:53 +08:00
Anthony Calosa
c3736f8dd8 Added Heroes vs Monsters 2016-07-02 18:03:40 +08:00
Anthony Calosa
6232c2e894 Added Sorin vs Tibalt 2016-07-02 17:54:54 +08:00
Anthony Calosa
a2cce876db Updated Beatdown and Battle Royale 2016-07-02 16:46:09 +08:00
Anthony Calosa
d3791e1316 Updated Un-Serious Sets 2016-07-02 09:49:34 +08:00
Anthony Calosa
9cbbdc422f Updated Beginner Sets 2016-07-02 09:40:04 +08:00
zethfoxster
f76c28fa64 convoke
other={convoke} name(Convoke)
delve
other={delve}
they might be able to be added directly to the real manacost.

added an ability that grants an ability while the source remains tapped
grant ability grantend...

added dethrone
abilities=dethrone

added support of multitargeting to extra cost, it acts the same as normal multitargeting, repeats dopay() the effects for each.
2016-07-01 21:29:51 -04:00
Anthony Calosa
cabc3e2441 Updated Masters Block 2016-07-02 09:12:43 +08:00
Anthony Calosa
f208e755c2 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-02 07:32:27 +08:00
zethfoxster
9841ce32ae Merge pull request #2 from WagicProject/master
get master
2016-07-01 17:01:15 -04:00
Anthony Calosa
4f6456635e Merge pull request #713 from kevlahnota/master
Cleaned and Sorted all Core and Expansion Sets
2016-07-01 22:44:52 +08:00
Anthony Calosa
6dc69ded22 parse "total" cards in set infor 2016-07-01 22:09:08 +08:00
Anthony Calosa
6ce67a95a2 transformed cards as tokens
so they cannot be bought in the deck editor
2016-07-01 22:03:01 +08:00
Anthony Calosa
6cc943d15d Update Shadows over Innistrad Meta 2016-07-01 21:25:42 +08:00
Anthony Calosa
b23314b408 Updated Battle for Zendikar Block 2016-07-01 21:21:48 +08:00
Anthony Calosa
9c32e4d66a Updated Khans of Tarkir Block 2016-07-01 21:16:09 +08:00
Anthony Calosa
1b9ddabcab Updated Theros Block 2016-07-01 20:59:04 +08:00
Anthony Calosa
6259333a70 Updated Return to Ravnica Block 2016-07-01 20:46:18 +08:00
Anthony Calosa
bedb28c073 Update Innistrad Block 2016-07-01 20:29:32 +08:00
Anthony Calosa
65d93267a9 Updated Scars of Mirrodin Block 2016-07-01 19:37:16 +08:00
Anthony Calosa
6ee041b374 Updated Zendikar Block 2016-07-01 19:29:08 +08:00
Anthony Calosa
c46a6d3440 Updated Shards of Alara Block 2016-07-01 19:16:59 +08:00
Anthony Calosa
92fc016f20 Updated Shadowmoor Block 2016-07-01 19:05:39 +08:00
Anthony Calosa
8983ee5239 Updated Lorwyn Block 2016-07-01 19:00:16 +08:00
Anthony Calosa
45291b4f05 Updated Time Spiral Block 2016-07-01 18:52:35 +08:00
Anthony Calosa
6cfbdf2f30 Updated Ice Age Block 2016-07-01 18:12:21 +08:00
Anthony Calosa
44613dc416 token 2016-07-01 17:46:46 +08:00
Anthony Calosa
1f95ff0fe7 Updated Ravnica Block 2016-07-01 17:45:02 +08:00
Anthony Calosa
a939021304 Updated Kamigawa Block 2016-07-01 17:24:32 +08:00
Anthony Calosa
fc88d9b248 Updated Mirrodin Block 2016-07-01 15:45:26 +08:00
Anthony Calosa
46e268e4e3 Updated Onslaught Block 2016-07-01 15:33:09 +08:00
Anthony Calosa
f9f8ccc088 Updated Odyssey Block 2016-07-01 15:16:28 +08:00
Anthony Calosa
78c8e64e81 Updated Invasion Block 2016-07-01 10:14:57 +08:00
Anthony Calosa
ba54bd43aa Update Masque Block 2016-07-01 10:03:57 +08:00
Anthony Calosa
f61542ea6b Updated Urza's Block 2016-07-01 09:54:24 +08:00
Anthony Calosa
21b162b192 Updated Rath Cycle 2016-07-01 09:41:27 +08:00
Anthony Calosa
91e7af4867 Updated Mirage Block 2016-07-01 07:40:58 +08:00
Anthony Calosa
89968bf449 Updated Early Sets 2016-07-01 07:29:36 +08:00
Anthony Calosa
7f2f68ec58 Update all Core Sets 2016-07-01 07:05:47 +08:00
zethfoxster
a5ebfd56e1 Merge pull request #1 from WagicProject/master
trying to update fork to have changes from master
2016-06-30 19:03:06 -04:00
Anthony Calosa
19cb8e3301 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-01 04:53:05 +08:00
Anthony Calosa
a2014be118 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-07-01 03:40:53 +08:00
Anthony Calosa
3cde9a654b Merge pull request #712 from kevlahnota/master
Soulbond Pair Indicator
2016-07-01 03:40:06 +08:00
Anthony Calosa
2f277171d1 Soulbond Pair Indicator
Border Indicator for Paired Cards
2016-07-01 03:05:27 +08:00
Anthony Calosa
43dba06074 Merge pull request #711 from kevlahnota/master
Sorted Primitives
2016-07-01 03:04:27 +08:00
Anthony Calosa
c0737c40a7 Update Changes 2016-07-01 01:01:45 +08:00
Anthony Calosa
beb2eb99fb Sorted Primitives
I sorted this programmatically so the other comments are removed except
for AUTO_DEFINE
2016-06-30 23:04:35 +08:00
Anthony Calosa
62a52745df Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-30 21:36:53 +08:00
Anthony Calosa
25e156297b Merge pull request #710 from kevlahnota/master
Add Vedalken Shackles Ability
2016-06-30 16:59:25 +08:00
Anthony Calosa
fd2aa5d046 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-30 16:21:30 +08:00
Anthony Calosa
547a9fcc17 Add Support for Vedlaken Shackles and the likes
the alias 50120 is there to prevent untap  during untap phase and the
canuntap restriction will trigger if it's possible to untap ie tha card
doesn't have doesnotuntap,, or frozen or is tapped.
2016-06-30 16:18:39 +08:00
Anthony Calosa
90ea36d0fe Update CHANGELOG.md 2016-06-30 15:15:50 +08:00
Anthony Calosa
c3467f7204 Merge pull request #709 from kevlahnota/master
Fix Cascade, Crash fix on lastController and some corrections
2016-06-30 15:10:06 +08:00
Anthony Calosa
e6aafbc8a6 lastController defined when creating copies of itself 2016-06-30 14:06:21 +08:00
Anthony Calosa
76bb777f4d Fix crash when lastController is null 2016-06-30 12:19:58 +08:00
Anthony Calosa
39f6867ab0 Fix Cascade 2016-06-30 09:26:00 +08:00
Anthony Calosa
fbaef2f103 some corrections 2016-06-30 09:21:13 +08:00
Anthony Calosa
db19fa507e Merge pull request #708 from kevlahnota/master
Try to fix IOS Builds
2016-06-29 15:11:14 +08:00
Anthony Calosa
27fd1942d0 Try to Fix IOS Build 2016-06-29 15:03:36 +08:00
Anthony Calosa
975df3625d Corrections 2016-06-29 15:03:24 +08:00
Anthony Calosa
92a37e1e44 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-29 13:09:46 +08:00
Anthony Calosa
cd33754a3c Merge pull request #707 from kevlahnota/master
Updated Primitives and Hide Highlight Border
2016-06-29 12:17:43 +08:00
Anthony Calosa
69d92bc0ea Unused Variable
MTGRules.cpp:1361:11: error: unused variable ‘player’
[-Werror=unused-variable]
2016-06-29 11:38:51 +08:00
Anthony Calosa
6d09c12f93 Try to fix compilation 2016-06-29 11:08:55 +08:00
Anthony Calosa
ba0f4dbcf5 Update changes 2016-06-29 10:54:44 +08:00
Anthony Calosa
e1bf3b4b82 Updated Primitives
Updated cards that use reveal keywords, Updated Borderline and
Unsupported
2016-06-29 10:45:35 +08:00
Anthony Calosa
d647309587 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-29 09:57:00 +08:00
Anthony Calosa
140ee7b183 Hide Highlight Border
When revealing cards, Hide Highlight Border
2016-06-29 08:59:58 +08:00
zethfoxster
745eaf8a17 the following adds 965 cards primitives, I did not alphabetically sort these and can not justify alphabetical sorting as it has no effect on the game engine. 2016-06-28 20:58:52 -04:00
Anthony Calosa
b16e70c363 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-29 08:26:31 +08:00
zethfoxster
6ee00c138c Pretty huge patch here(sorry old habits never die :( )
lots of changes, many bug fixes,
first
added auto=count(targetchooser)
and countedamount wparsed int
they work together for cards where it is difficult to get working without knowing in advance how many we had ie: exile blah creatures, for each creature you exiled do effect.
auto=count(creature|mybattlefield)
auto=moveto(exile)
auto=draw:countedamount
it takes into account token creatures, which our old methods did not.

second, added "freeze" which is a "frozen" that automatically taps your target for you, for use when nesting or whenever needed where it was difficult to nest the ability with tap included.

added devotion for "iroas"

added reveal:x and scry x
reveal contains optionone/optiononeend ; optiontwo/optiontwoend ; repeat; afterrevealed/afterrevealed end.

this ability has heavy use of targetListIsSet(<amount>) and upto:amount, you MUST be certain that all cards being revealed have an action that removes them from reveal either in the first, second, or 3rd ability.
there are over 300 examples in the new card code, the ability is VERY easy to understand.

scry contains automatic put on top, put on bottom, then scrycore/scrycoreend which is an ability to fire.
it also contains keywords, dontshow which is nested in scrycore, scry reveals, puts on top or bottom, then reveal AGAIN, and does an effect, dontshow eliminates the 2nd revealing.
is also contains "delayed" keyword, which delays the ability until AFTER the core fires.

added bestow. update rules mtg.txt!!!!
examples are in primitives, every bestow card was supported.

added a new lord based on varibles and restrictions
while(restriction{morbid})
while(varible:blah)
this simplifies and expands on this(, allowing you to even use while(cantarget together and check if a card is targetable by the variable. examples are in primitives

added token(by card name)
auto=token(Eldrazi Scion) 
will search primitives and card dats for this card and give it to you as a token.
valid card dat info is still required.

added variable delirium
added restriction madnessplayed to allow checking if the card was played with madness.

added restriction "geared" for checking if a card has equipment on it.

added abilities words
skulk

menace <--cant be blocked except by 2 or more, if you dont block it with 2 or more we automatically unassign the single blocker and the creature is considered not blocked.

nosolo <--cant attack alone

mustblock <---if you dont assign as a blocker, we assign automatically the first thing it can block legally.

changed iscolorless back to "colorless"

enjoy, cards coming soon, theyre coded but im debating on not alpha sorting, cards being added this patch 965 uniques.

there is a section of the commit which was just VS2016 normalizing line ends, sorry if it makes it a cluster mess.
2016-06-28 18:40:55 -04:00
Anthony Calosa
0a4da47492 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-27 15:34:49 +08:00
Anthony Calosa
9439b347c9 Merge pull request #705 from kevlahnota/master
CardID Indicator, Add Missing Tokens, Support Importing dck for Android
2016-06-27 09:04:16 +08:00
Anthony Calosa
e24eb30c98 Update Changelog 2016-06-27 09:02:43 +08:00
Anthony Calosa
f53573261e missing tokens 2016-06-27 08:44:13 +08:00
Anthony Calosa
d5b8337121 support importing forge decks 2016-06-26 19:26:52 +08:00
Anthony Calosa
b816facf44 Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-06-26 07:57:52 +08:00
Anthony Calosa
a6a5cf8755 Card Id Indicator
Indicates Card Id, Useful for cards/tokens to determine their correct Id
in the primitives. Its much easier to fix missing images. Update your
modrules.xml
2016-06-26 07:56:07 +08:00
Anthony Calosa
83f7ed56fa Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-26 06:00:07 +08:00
Anthony Calosa
e88edd11af Merge pull request #4 from WagicProject/master
pull 4
2016-06-25 21:20:24 +08:00
Anthony Calosa
0b1be02c38 Update CHANGELOG.md
up to latest commit 6/23/16
2016-06-25 20:52:17 +08:00
Anthony Calosa
b98b8b6f2e Update CHANGELOG.md 2016-06-25 20:32:42 +08:00
Anthony Calosa
154358efd4 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-23 21:14:09 +08:00
Anthony Calosa
63c710047b Merge pull request #704 from kevlahnota/master
Fix  producecolor:color
2016-06-23 18:22:57 +08:00
Anthony Calosa
d0f4eeff1f Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-06-23 17:44:58 +08:00
Anthony Calosa
4d3277f41b fix produce color
when you produce the chosen color, add mana of that color.
2016-06-23 17:44:50 +08:00
Anthony Calosa
7c9d52abbf Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-23 15:50:58 +08:00
Anthony Calosa
cf6eccf565 Update _cards.dat 2016-06-23 05:30:40 +08:00
Anthony Calosa
1499baf8d9 Merge pull request #703 from kevlahnota/master
Change Basic Land Rarity for Modern sets
2016-06-22 20:56:46 +08:00
Anthony Calosa
37a0e95675 Rarity for Basic Lands
Changed to L rarity
2016-06-22 20:39:00 +08:00
Anthony Calosa
fd62705fd7 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-22 17:36:39 +08:00
Anthony Calosa
dc5fc2b544 add "files" path
try to fix saving profiles on forcemounted path. Transfer your wagic/res to /Android/data/net.wagic.app/files
2016-06-22 17:00:30 +08:00
Anthony Calosa
70165a8c62 Merge pull request #702 from kevlahnota/master
BFZ, OGW, SOI _cards.dat
2016-06-22 09:14:32 +08:00
Anthony Calosa
68f888baf0 Update _cards.dat 2016-06-22 08:52:12 +08:00
Anthony Calosa
3a8bc599ee Update _cards.dat 2016-06-22 08:51:26 +08:00
Anthony Calosa
9d79021678 Update _cards.dat 2016-06-22 08:28:42 +08:00
Anthony Calosa
7d339ccc23 add soi tokens 2016-06-22 07:04:06 +08:00
Anthony Calosa
3dd839c8bf add plant token 2016-06-21 21:31:51 +08:00
Anthony Calosa
7db5b6fbda added bfz tokens 2016-06-21 21:27:22 +08:00
Anthony Calosa
1b7d199744 Create _cards.dat 2016-06-21 18:37:29 +08:00
Anthony Calosa
6bac099369 Create _cards.dat 2016-06-21 18:34:54 +08:00
Anthony Calosa
d5cc1b970f Create _cards.dat 2016-06-21 18:29:02 +08:00
Anthony Calosa
06f8fb0406 Merge pull request #3 from WagicProject/master
Pull
2016-06-21 18:25:02 +08:00
Anthony Calosa
7b6de7bbd8 Update StorageOptions.java
forcemount if you have forcemount file
2016-06-20 03:03:35 +08:00
zethfoxster
503159ff6f adding hints that seemed to have disappeared 2016-06-19 09:25:41 -04:00
Anthony Calosa
c22c674de1 Merge pull request #701 from kevlahnota/master
Some Fix
2016-06-18 22:36:52 +08:00
Anthony Calosa
de3ce6f676 add description 2016-06-18 21:58:24 +08:00
Anthony Calosa
cd34c4ebdf Modified test
Replenish + other enchantments
2016-06-18 21:55:14 +08:00
Anthony Calosa
ba0cab3743 Revert test 2016-06-18 21:21:08 +08:00
Anthony Calosa
a73030ac9b Overlooked this
Should be fine now, reverted the test
2016-06-18 21:20:30 +08:00
Anthony Calosa
f57bba22cc Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-06-18 20:22:55 +08:00
Anthony Calosa
e315cad0f5 Revert to previous 2016-06-18 20:22:50 +08:00
Anthony Calosa
3f40a6db4b Update Replenish.txt 2016-06-18 20:06:36 +08:00
Anthony Calosa
eb99680986 Modified 2016-06-18 19:55:58 +08:00
Anthony Calosa
2aa4f2da2d Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-06-18 12:41:29 +08:00
Anthony Calosa
a48568526b Update _tests.txt 2016-06-18 12:39:20 +08:00
Anthony Calosa
7247abd5f1 Create Show_and_Tell.txt 2016-06-18 12:38:30 +08:00
Anthony Calosa
bae2502d8f Create Replenish.txt 2016-06-18 12:37:52 +08:00
Anthony Calosa
cd645b33b2 Fix for Aura's that are put into play 2016-06-18 12:31:23 +08:00
Anthony Calosa
07ad69c08f Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-18 09:12:02 +08:00
Anthony Calosa
6bc7de3370 Minor Fix 2016-06-18 09:11:57 +08:00
Anthony Calosa
f3ca247865 Merge pull request #699 from kevlahnota/master
Force Mounting 2
2016-06-17 17:47:43 +08:00
Anthony Calosa
0167cf052d Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-06-17 17:03:52 +08:00
Anthony Calosa
9a3b3013a3 Update SDLActivity.java 2016-06-17 17:03:37 +08:00
Anthony Calosa
0f9bbc1561 Update DeckImporter.java 2016-06-17 17:00:44 +08:00
Anthony Calosa
3ef6b3a76a Force Mounting 2
If you have root then most likely you have write access to secondary storage. If not then use the app-specific folder. You may create the folder via built-in file manager > Android/data/net.wagic.app/files/Wagic/Res
2016-06-17 16:58:15 +08:00
Anthony Calosa
3c7ccddfcc Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-17 07:48:15 +08:00
Anthony Calosa
42019917ce Merge pull request #698 from kevlahnota/master
Common color
2016-06-16 19:17:29 +08:00
Anthony Calosa
68b632857d Most Common Color 2016-06-16 18:14:48 +08:00
Anthony Calosa
eaf7b72dc7 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-16 17:30:07 +08:00
Anthony Calosa
ff9cc83ef0 Merge pull request #697 from kevlahnota/master
Import Deck Options
2016-06-16 12:14:09 +08:00
Anthony Calosa
4e3dffad98 Import deck options 2016-06-16 11:37:25 +08:00
Anthony Calosa
7662d974b9 Deck Importer 2016-06-16 11:36:23 +08:00
Anthony Calosa
a78bdc4912 Force Mounting
Force mounting sdcard0 and sdcard1 if possible for kitkat and above
2016-06-16 11:31:20 +08:00
Anthony Calosa
6b84de3ccd Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-16 11:29:28 +08:00
Anthony Calosa
fda537635e Merge pull request #696 from kevlahnota/master
Imprint Class
2016-06-16 10:18:01 +08:00
Anthony Calosa
c633ceb695 Current Imprinted card only 2016-06-16 09:48:20 +08:00
Anthony Calosa
a4c536740e Revised Imprint 2016-06-16 09:14:37 +08:00
Anthony Calosa
923ebbc3c8 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-16 07:15:35 +08:00
Anthony Calosa
9d79a85b96 Imprint Class 2016-06-16 07:15:24 +08:00
Anthony Calosa
7b972142ba Merge pull request #695 from kevlahnota/master
Block Cost Rule
2016-06-15 23:09:56 +08:00
Anthony Calosa
b38275123a Block Cost Rule
Update rules folder
2016-06-15 22:26:55 +08:00
Anthony Calosa
a2249a7392 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-15 19:08:51 +08:00
Anthony Calosa
c0a6fd2288 Merge pull request #694 from kevlahnota/master
Some changes
2016-06-14 21:31:28 +08:00
Anthony Calosa
149af25d22 fix unused variable error 2016-06-14 20:50:31 +08:00
Anthony Calosa
b33ae0c92f Revised 2016-06-14 19:40:28 +08:00
Anthony Calosa
1f54c7933b Attack Cost Rule
Update your rules folder
2016-06-14 19:40:02 +08:00
Anthony Calosa
26346f5a42 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-14 19:18:33 +08:00
Anthony Calosa
dbf78e2bae Split Cant pay life and Cant sacrifice 2016-06-14 10:06:37 +08:00
Anthony Calosa
9c9da27938 Merge pull request #693 from kevlahnota/master
Fix possible attacker
2016-06-13 20:52:22 +08:00
Anthony Calosa
41e97134ef Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-13 19:40:02 +08:00
Anthony Calosa
97186361a1 Corrections
Fix if you have a defender that can attack, it ,must be a possible
attacker.
2016-06-13 19:39:26 +08:00
Anthony Calosa
2db6635d73 Merge pull request #692 from kevlahnota/master
Some Corrections
2016-06-13 15:57:44 +08:00
Anthony Calosa
9ac1540cdc Corrections 2016-06-13 15:27:33 +08:00
Anthony Calosa
70c0957248 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-12 10:38:55 +08:00
Anthony Calosa
c045811350 Merge pull request #690 from kevlahnota/master
Refactor & Devotion
2016-06-11 22:15:45 +08:00
Anthony Calosa
70bc60104f try to fix compilation
../projects/mtg/include/AllAbilities.h:706: error: suggest explicit
braces to avoid ambiguous 'else'
2016-06-11 21:44:33 +08:00
Anthony Calosa
0f74558892 Refactor & Fix Devotion
Fix Devotion Count example you have Mogis, God of Slaughter(2 B R),
Ashenmoor  Liege(1 B/R B/R B/R), and Rakdos Cackler (B/R) - will be 6
Devotion to Red and Black, since you count the symbol, B/R (hybrid mana)
should return as 1.
2016-06-11 20:39:56 +08:00
Anthony Calosa
4e3543ace7 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-11 20:32:24 +08:00
Anthony Calosa
1924ab09da Merge pull request #688 from kevlahnota/master
Fix leak
2016-06-10 14:03:30 +08:00
Anthony Calosa
a74e543429 Fix leak 2016-06-10 13:25:24 +08:00
Anthony Calosa
00f67a57cf Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-10 11:43:52 +08:00
Anthony Calosa
2244e62897 Merge pull request #687 from kevlahnota/master
Combat Toughness
2016-06-10 07:45:17 +08:00
Anthony Calosa
1569353779 Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-06-10 07:05:42 +08:00
Anthony Calosa
40bb9e2c37 Combat Toughness
Assign combat damage equal to its tougness...
Doran, the Siege Tower
2016-06-10 07:05:29 +08:00
Anthony Calosa
c87e2b99d7 Update _tests.txt 2016-06-10 07:04:26 +08:00
Anthony Calosa
4934699ecd Create Doran.txt 2016-06-10 07:03:47 +08:00
Anthony Calosa
c85f3aa7f7 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-10 07:02:30 +08:00
Anthony Calosa
7ea2086ec9 Merge pull request #686 from kevlahnota/master
Removed Unhinged & Unglued from Unsupported
2016-06-10 01:33:14 +08:00
Anthony Calosa
480e0ce9fa removed unhinged, unglued cards 2016-06-10 01:22:53 +08:00
Anthony Calosa
fe14fd0a58 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-09 21:58:48 +08:00
Anthony Calosa
e02e835053 copied abilities 2016-06-09 21:58:22 +08:00
Anthony Calosa
26d88e15c6 Merge pull request #685 from kevlahnota/master
Imprint
2016-06-09 21:05:47 +08:00
Anthony Calosa
5a9c13da86 Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-06-09 20:06:50 +08:00
Anthony Calosa
3ee341cc4e Clone
Fix for issue #448
2016-06-09 20:06:39 +08:00
Anthony Calosa
b9f6a5ab0e Update _tests.txt
test for Clone vs Thistledown Liege
2016-06-09 20:06:09 +08:00
Anthony Calosa
ea03350ab9 Create clone4.txt
Test for issue #448
2016-06-09 20:05:04 +08:00
Anthony Calosa
06fdf3f0a5 Imprint
todo others...
2016-06-09 15:35:59 +08:00
Anthony Calosa
76e7827ebf Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-08 21:57:30 +08:00
Anthony Calosa
6c6f1f23ee Merge pull request #684 from kevlahnota/master
Madness
2016-06-08 11:06:20 +08:00
Anthony Calosa
8c47b666c5 Madness
Added Madness
2016-06-08 10:45:19 +08:00
Anthony Calosa
bad1fc9e09 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-08 08:36:54 +08:00
Anthony Calosa
e4817038c3 Merge pull request #683 from kevlahnota/master
Fix Damage Render
2016-06-07 19:02:03 +08:00
Anthony Calosa
d8e28dad7f Fix damage render 2016-06-07 18:20:30 +08:00
Anthony Calosa
2c7921479a Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-07 17:22:15 +08:00
Anthony Calosa
22a0f945b6 Merge pull request #681 from kevlahnota/master
Couldn't find a way to reduce kicker & multikicker without crashing. Returning to previous will get the bug that you can't activate any ability if you paid a kicker with the options "Choice Offer" or manually. Copying the kicker from put into play fixes it.
2016-06-06 18:16:28 +08:00
Anthony Calosa
1faf2e0694 Cleanup 2016-06-06 17:01:21 +08:00
Anthony Calosa
0376d094cc Apex Hawks is 2/2 Flyer
So it enters with two +1/+1 making it a 4/4 Flyer...
2016-06-06 11:19:30 +08:00
Anthony Calosa
873db7ef27 Revised Kicker 2016-06-06 11:16:32 +08:00
Anthony Calosa
ecd4de48eb Apex Hawks is a 2/2 Flyer
![Apex
Hawks](http://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=382214&type=card)
2016-06-06 11:11:45 +08:00
Anthony Calosa
fb132173bd Kicker
TODO: Auto kicker and Affinity in Kicker....
2016-06-05 20:34:39 +08:00
Anthony Calosa
7ae8434ba3 Correction 2016-06-05 20:32:33 +08:00
Anthony Calosa
edf33d85b0 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-05 19:29:39 +08:00
Anthony Calosa
2ae0a651b8 Cloner/Copier produces same tokens as the copied cards 2016-06-05 17:58:49 +08:00
Anthony Calosa
a4c7da6e20 Merge pull request #680 from kevlahnota/master
Morph, Overload and PayZero costs changes
2016-06-05 14:34:04 +08:00
Anthony Calosa
fbfc712d4c Morph 2016-06-05 13:57:57 +08:00
Anthony Calosa
5196424fbe Overload and PayZero are affected by cost increaser 2016-06-05 13:15:30 +08:00
Anthony Calosa
cd83cfdc87 Removed
Forced Castcard, Suspend and other without paying manacost using these
must be recomputed for costs...
2016-06-05 13:01:55 +08:00
Anthony Calosa
52de1e7b02 Trinisphere
TODO: Morph and Kicker... Morph can be done but how to implement the
increased total cost with kicker? multi kicker? manual kicker??? Count
the mana pool if you can pay the cost+kicker if less than 3 increase
it???
2016-06-05 12:39:11 +08:00
Anthony Calosa
acfdab7dbb Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-05 11:07:15 +08:00
Anthony Calosa
c7731a1bb2 Merge pull request #679 from kevlahnota/master
Updated Missing/Unsupported Cards
2016-06-05 10:54:36 +08:00
Anthony Calosa
f3c31697c8 Updated unsupported , missing
includes missing cards from primitives (borderline, crappy, other cards)
2016-06-05 10:46:54 +08:00
Anthony Calosa
7b6d14779f Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-05 05:49:14 +08:00
Anthony Calosa
233cc24c9a Merge pull request #678 from kevlahnota/master
Affinity affects other costs
2016-06-04 23:32:53 +08:00
Anthony Calosa
87515de57f Affinity affects other costs
Affinity should affect other costs such as flashback, buyback,  to cast
since its also a cost reducer...
2016-06-04 21:50:49 +08:00
Anthony Calosa
719a8b3420 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-04 21:34:42 +08:00
Anthony Calosa
6726166d2b Revert
there are cards that can be cast from lbrary
2016-06-04 12:09:48 +08:00
Anthony Calosa
ecc5720007 Merge pull request #677 from kevlahnota/master
Add Sphere of Resistance test
2016-06-04 08:49:43 +08:00
Anthony Calosa
1400f33f64 Update _tests.txt 2016-06-04 08:48:19 +08:00
Anthony Calosa
edb1374c32 Create Sphere_of_Resistance.txt 2016-06-04 08:47:06 +08:00
Anthony Calosa
f1c21dc9a2 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-04 08:34:13 +08:00
Anthony Calosa
680ad99c9f Merge pull request #676 from kevlahnota/master
Cost Increaser & Reducer Fix
2016-06-04 00:08:08 +08:00
Anthony Calosa
375589c73d Fix unused variable
AllAbilities.cpp:4172:23: error: unused variable ‘_target’
[-Werror=unused-variable]
2016-06-03 23:28:04 +08:00
Anthony Calosa
ce8e117b0b Fix Cost Increaser, Cost Reducer
Should fix most of them.  TODO: Trinisphere and Morph...
2016-06-03 22:32:10 +08:00
Anthony Calosa
4e12de1629 Merge pull request #2 from WagicProject/master
pull
2016-06-03 21:01:33 +08:00
Anthony Calosa
bd76d40518 Merge pull request #674 from kevlahnota/master
Add Cascade cards
2016-06-03 15:39:17 +08:00
Anthony Calosa
723516f56c Cascade cards 2016-06-03 15:37:17 +08:00
Anthony Calosa
771755c96b Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-03 13:23:04 +08:00
Anthony Calosa
0026153a2c Update GameObserver.cpp 2016-06-03 13:21:31 +08:00
Anthony Calosa
f7e0deafca Merge pull request #673 from kevlahnota/master
Fix Cant life change and Seperated Cascade from Depleter class.
2016-06-03 12:19:25 +08:00
Anthony Calosa
be53c68d28 unused variable
AllAbilities.cpp:275:17: error: unused variable ‘counter’
[-Werror=unused-variable]
2016-06-03 11:36:40 +08:00
Anthony Calosa
62fa9acc9f Cascade Class
seperate cascade and fix cant life change :)
2016-06-03 10:40:38 +08:00
Anthony Calosa
0493c4063f Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-03 06:11:47 +08:00
xawotihs
956d0a736d Should fix Macosx build 2016-06-02 20:57:09 +02:00
Anthony Calosa
52dfe654b5 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-02 21:25:58 +08:00
Anthony Calosa
5437bbaf2e Merge pull request #672 from kevlahnota/master
Cascade
2016-06-02 21:11:53 +08:00
Anthony Calosa
f4c17aaf45 Cascade 2016-06-02 20:39:21 +08:00
Anthony Calosa
20e365ea9c Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2016-06-02 20:36:00 +08:00
Anthony Calosa
b407701d94 Merge pull request #671 from kevlahnota/master
Cant life change
2016-06-02 12:51:29 +08:00
Anthony Calosa
ed6755496f parenthesis
try to fix psp build
2016-06-02 12:13:23 +08:00
Anthony Calosa
4530115506 whitespace 2016-06-02 09:13:39 +08:00
Anthony Calosa
aabb905313 Cant life change 2016-06-02 09:10:30 +08:00
Anthony Calosa
aaf2d271bc Merge pull request #1 from WagicProject/master
added abilities= keyword "devoid"
2016-06-02 08:50:37 +08:00
zethfoxster
1369a08863 added abilities= keyword "devoid"
abilities=haste,flying,devoid
would make a flying haste colorless creature.
2016-06-01 18:47:19 -04:00
Anthony Calosa
ac9dfd570a minor skip phase
if there is no possible attacker then skip phase
2016-06-01 18:04:15 +08:00
Anthony Calosa
5cd5f4b38e Fix crash for Deck Menu
Old save with stats should work 👍
2016-06-01 18:03:04 +08:00
Anthony Calosa
57c7796424 Add "Snow" Cards 2016-06-01 12:53:33 +08:00
Anthony Calosa
dd6c1c3d01 Merge branch 'master' of https://github.com/WagicProject/wagic 2016-06-01 10:00:04 +08:00
Anthony Calosa
712fc26d56 Update test
colorless mana changes
2016-06-01 09:55:50 +08:00
Anthony Calosa
fd89d51f84 tidying up 2016-06-01 09:32:28 +08:00
Anthony Calosa
9e50187740 re add the comparison 2016-06-01 09:26:58 +08:00
Anthony Calosa
a36b47e500 try to fix psp compilation
travis error:
../projects/mtg/src/ManaCost.cpp:263:23: error: unused variable
‘counterCheck’ [-Werror=unused-variable]
2016-06-01 09:14:47 +08:00
Anthony Calosa
a454c3e564 Snow
Mana produced by snow permanent
2016-06-01 08:31:19 +08:00
zethfoxster
26b30cb20d ok sorry about the confusion, so the issue was with {1}{c} and how its handled. we only need to replace the adding of colorless in the manapool, the old colorless is still very very valid and should be left in place as is.
{1} can be paid with anything
{c} is a mana supertype, it pays for diamond and colorless. 
however all card such as "sol ring" now add diamond instead of old colorless.

reverted waste to {c}, but moved it under counters to avoid crashes. parse for a counter if its not a counter than parse {c} otherwise we would end up with case where it was parsing {c} instead of building counters or vice versa.
2016-05-31 18:41:36 -04:00
zethfoxster
7639e18c39 whoops heres the other half. tested with following arbor elf test card
[card]
name=Arbor Elf
auto={0}:add{1}
auto={0}:add{r}
auto={0}:name(waste) add{waste}
auto={waste}:life:1
auto={3}:damage:1
auto={1}{waste}:moveto(mybattlefield) target(<2>*|mylibrary)
text={T}: Untap target Forest.
mana={0}
type=Creature
subtype=Elf Druid
power=12
toughness=12
[/card]
2016-05-30 17:46:51 -04:00
zethfoxster
80d0ee4dc3 defining "colorless" waste land mana. 2016-05-30 17:45:21 -04:00
zethfoxster
8a6b4a49f5 deckstats crash when "unlock cards" is used #668 2016-05-30 01:04:55 -04:00
Anthony Calosa
00adb20dc7 super rare loop in ai combos and fix #667
thanks zeth
2016-05-30 01:17:53 +08:00
Anthony Calosa
22d4cbbd1e add "colorless" manacost
The symbol {C} will be used going forward to represent one colorless
mana. The numerical and variable mana symbols ({1}, {2}, and so on,
including {X}) will still be used, but only to represent costs that can
be paid with any type of mana.

example card: To cast Spatial Contortion, you pay two mana: one generic
(that's the {1}) and one colorless (that's the {C}). The generic mana
cost can be paid with any type of mana—that means any color or
colorless. But the {C} is different. That can be paid only with
colorless mana.
2016-05-30 01:16:19 +08:00
Anthony Calosa
1d81c12150 count valid targets any creature 2016-05-29 20:04:51 +08:00
Anthony Calosa
0fed1ba1ab count valid targets
count creature/s that are valid target/s
2016-05-29 19:38:00 +08:00
Anthony Calosa
c472a0215d Bug Fix
Fix send to library as a cost and add support for moving a card to
graveyard as a cost(cards like Void Attendant from Battle for Zendikar)
2016-05-29 17:56:33 +08:00
Anthony Calosa
506adf63c9 fix type
Ajani Steadfast forcefield for play and planeswalker only..
2016-05-29 14:41:31 +08:00
Anthony Calosa
d4715ddc81 ajani steadfast
ajani steadfast emblem
2016-05-29 14:31:29 +08:00
Anthony Calosa
d7fd36ddeb Indicator
Green border indicator for pay zero, can play from exile or can play
from graveyard cards...
2016-05-29 14:29:34 +08:00
Anthony Calosa
e45290e834 Ral Zarek
Fix Loyalty Counter
2016-05-29 12:14:56 +08:00
Xawotihs
e0cf5aa602 Reversed android and Qt apt stuff 2016-05-28 20:18:41 +02:00
Xawotihs
555cf9016f Moved -qq options 2016-05-28 19:47:33 +02:00
Xawotihs
d6ab2e15bf Removed comment 2016-05-28 19:15:21 +02:00
Xawotihs
95cec88742 Replaced Qt ppa 2016-05-28 19:13:45 +02:00
Anthony Calosa
18430dca25 Fix summoning sickness
Cards like control magic (using alias=1194) always resets the summoning sickness, commenting this solves the problem...
2016-05-28 13:47:03 +08:00
Anthony Calosa
8a374f53bc Update appveyor.yml
try to fix appveyor
2016-05-27 10:59:31 +08:00
Anthony Calosa
7a34543004 Nasty memleak crashing devices and its fix. #664
thanks zethfox
2016-05-26 09:42:17 +08:00
Rolzad73
9568fe7d4d Merge pull request #1 from WagicProject/master
Update fork with original
2016-04-14 11:36:57 -04:00
Anthony Calosa
f5d00ddbef Merge pull request #661 from kevlahnota/master
changed alias
2015-11-13 06:48:18 +08:00
Anthony Calosa
cccc21c035 changed alias 2015-11-13 05:45:17 +08:00
Anthony Calosa
090f365cee Merge pull request #660 from kevlahnota/master
Overload Cost
2015-11-10 12:57:56 +08:00
Anthony Calosa
cd1b629191 Fix Segmentation Fault & Formatting 2015-11-10 11:58:36 +08:00
Anthony Calosa
406f68ac5b Overload Cards
the alias is for the Overload Check and Alternate Cost Restriction...
???Bestow???
2015-11-09 19:04:31 +08:00
Anthony Calosa
c6e76d78a2 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-11-08 21:33:38 +08:00
Anthony Calosa
0d480a67d8 Merge pull request #659 from kevlahnota/master
commented to restart build...
2015-11-08 20:59:03 +08:00
Anthony Calosa
4f9f84fc6a comment unsupported 2015-11-08 20:56:31 +08:00
Anthony Calosa
0f725a02db Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-11-08 20:56:10 +08:00
Anthony Calosa
71fdbb6564 Merge pull request #658 from kevlahnota/master
produce mana for lands you/opponent could produce
2015-11-08 19:15:28 +08:00
Anthony Calosa
a22991758f mana producer for lands you/opponent could produce
reflecting pool, exotic orchard...
2015-11-08 18:18:33 +08:00
Anthony Calosa
3404eb708d Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-11-07 21:06:40 +08:00
Anthony Calosa
c9439efcf8 Merge pull request #657 from kevlahnota/master
Aluren & Omniscience
2015-11-07 19:40:53 +08:00
Anthony Calosa
6f4cf9e941 Aluren & Omniscience
MayAbility + resolve instead of
MenuAbility + addtogame for dredge???
2015-11-07 19:16:31 +08:00
Anthony Calosa
c99216c053 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-11-07 19:13:36 +08:00
Anthony Calosa
e592c331f9 Merge pull request #656 from kevlahnota/master
Manacost Changes, Anyzone for CDA, PayZero Cost
2015-11-07 14:41:25 +08:00
Anthony Calosa
efdc4071da comment 2015-11-07 10:45:54 +08:00
Anthony Calosa
e35c9f6087 AI plays zerocast cards, Update Rules folder!
Its basic pay zero for now...
Omniscience is possible :)
2015-11-07 09:59:30 +08:00
Anthony Calosa
71390046f5 anyzone for cdaactive
should handle most of them except sewer nemesis, chameleon colossus
2015-11-06 19:47:30 +08:00
Anthony Calosa
1c8852a7a2 Manacost Changes
todo: kicker (other possible additional costs?) and change rule keyword
to payzerorule...
2015-11-05 23:25:39 +08:00
Anthony Calosa
536a0e429a AI considers playing from exile and graveyard 2015-11-05 07:17:58 +08:00
Anthony Calosa
4f54e30e0e Libraryeater and Canplayfromexile
extend canplayfromgraveyard with canplayfromexile
libraryeater for undead alchemist
2015-11-05 07:16:49 +08:00
Anthony Calosa
525453d677 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-11-05 07:13:09 +08:00
Anthony Calosa
6fb4dbdc7b Merge pull request #655 from kevlahnota/master
chooseacolor indicator, increased/reduced cost affects retrace,buyback,flashback
cast in graveyard that have spelltarget types "target=" fix
2015-11-04 07:06:47 +08:00
Anthony Calosa
60ba4e3eeb altercost should affect retrace, flashback, buyback costs 2015-11-04 06:41:59 +08:00
Anthony Calosa
58b032627e Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-11-02 12:21:40 +08:00
Anthony Calosa
7ffab1a821 moved activated copy cards to borderline
the default function of copy function triggers abilities as it comes
onto the battlefield, but these cards are already inplay with their copy
abilities and the enters the battlefield abilities of the copied cards
must not trigger.
2015-11-02 12:21:35 +08:00
Anthony Calosa
7303c7c253 chooseacolor indicator on some cards
alias = 0000 plus chooseacolor ability...
2015-11-02 00:15:58 +08:00
Anthony Calosa
4557748c29 Merge pull request #654 from kevlahnota/master
bug fix
2015-11-02 00:10:02 +08:00
Anthony Calosa
d3cb13cfd8 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-11-01 22:36:21 +08:00
Anthony Calosa
1bd3b7743b bug fix 2015-11-01 21:59:54 +08:00
Anthony Calosa
591f7205ed Merge pull request #653 from kevlahnota/master
Exile Zone, Altercost and Hand modifier
2015-10-31 15:46:21 +08:00
Anthony Calosa
3a9b4f3491 parenthesis... 2015-10-31 15:23:39 +08:00
Anthony Calosa
896b12c16b werror init on psp compilation 2015-10-31 15:01:29 +08:00
Anthony Calosa
ba7355a831 moved rebound cards to borderline
until castcard supports increased cost due to altercost...
2015-10-31 11:38:35 +08:00
Anthony Calosa
c580d89c94 Altercost, Exile Zone & Handsize Modifier 2015-10-31 10:59:37 +08:00
Anthony Calosa
8793feb9ba Altercost
Altercost alter cards to be cast...
Removed Trinisphere temporarily...
2015-10-30 07:11:16 +08:00
Anthony Calosa
40db1180df pay zero
todo: all zones
2015-10-29 06:38:59 +08:00
Anthony Calosa
d2f3e2cd60 Castcard, Rebound and other fixes 2015-10-27 19:44:22 +08:00
Anthony Calosa
56fc735b36 Parenthesis
Try to fix PSP compilation
2015-10-27 07:05:57 +08:00
Anthony Calosa
bd5449a9a2 updated old tests
the new exile zone is utilized in comparing the number of cards it
has(since its enabled and viewable, the value is now counted)
2015-10-27 06:35:22 +08:00
Anthony Calosa
4853c8d314 Exile Corrections
Todo: Update tests to include exile card count...
2015-10-27 01:03:24 +08:00
Anthony Calosa
cdf94b281f exile zone
enabled exile zones for both players
2015-10-26 19:14:50 +08:00
Anthony Calosa
8eeaa40cec Merge branch 'master' of https://github.com/kevlahnota/wagic 2015-10-26 06:52:15 +08:00
Anthony Calosa
cf0f9d43fa exile zone
player only, todo opponent and ability activation for exile
2015-10-26 06:50:19 +08:00
Anthony Calosa
0594822872 added card equipped event 2015-10-25 17:55:45 +08:00
Anthony Calosa
46d1e2e703 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-10-25 12:04:32 +08:00
Anthony Calosa
dd14ee7156 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-10-23 18:40:08 +08:00
Anthony Calosa
bab0d40c87 Merge pull request #652 from kevlahnota/master
Puresteel Paladin support
2015-10-23 17:07:24 +08:00
Anthony Calosa
378a54fb62 puresteel paladin support
rehook and newhook for equipments inplay...
retarget and newtarget don't support stonehewer basic because the card
is refreshed and stone hewer basic creates equipment/s as tokens...
2015-10-23 15:25:30 +08:00
Anthony Calosa
2d5d367ee6 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-10-22 19:22:13 +08:00
Anthony Calosa
638c721d32 Merge pull request #651 from kevlahnota/master
added trigger keyword/s to parse current opponent and current controller correctly
2015-10-22 18:20:13 +08:00
Anthony Calosa
f464623d17 curiosity...
2/1/2007 You draw one card each time the enchanted creature damages the
opponent. This is not one card per point of damage.
2/1/2007 If put on your opponent's creature, you do not draw a card when
that creature damages you. The creature has to damage your opponent in
order to have this work.
2/1/2007 Drawing a card is optional. If you forget, you can't go back
later and do it, even if it is something you normally do.
9/22/2011 "You" refers to the controller of Curiosity, which may be
different from the controller of the enchanted creature."An opponent"
refers to an opponent of Curiosity's controller.
9/22/2011 Any damage dealt by the enchanted creature to an opponent will
cause Curiosity to trigger, not just combat damage.
9/22/2011 Curiosity doesn't trigger if the enchanted creature deals
damage to a planeswalker controlled by an opponent.
2015-10-22 17:33:45 +08:00
Anthony Calosa
fe86514fb8 updated primitives @damageof/@damagefoeof 2015-10-22 14:20:52 +08:00
Anthony Calosa
704f7f4494 TrDamaged changes
@damaged/combatdamaged/noncombatdamaged(who) -> static version
@damageof/combatdamageof/noncombatdamageof(player) -> current controller
of the card
@damagefoeof/combatdamagefoeof/noncombatdamagefoeof(player) -> current
opponent of the card

combat/noncombat damaged - done...
TODO: @damaged cards
2015-10-21 22:03:21 +08:00
Anthony Calosa
3b0cd389e5 TrLifeGained changes
@lifed/lifeloss(who) -> static version
@lifeof/lifelostof(player) -> current controller of the card
@lifefoeof/lifelostfoeof(player) -> current opponent of the card
2015-10-21 12:25:08 +08:00
Anthony Calosa
21eea225af TrcardDrawn changes
@drawn(who) -> static version
@drawof(player) -> current controller of the card
@drawfoeof(player) -> current opponent of the card
2015-10-21 10:16:19 +08:00
Anthony Calosa
743c2a6a5e Update _tests.txt 2015-10-21 10:08:55 +08:00
Anthony Calosa
abcb511a57 Create ExchangeController.txt
the current trigger check is static... fix is on the way :)
2015-10-21 10:07:31 +08:00
Anthony Calosa
3669bab210 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-10-21 10:02:44 +08:00
Anthony Calosa
88b9f83d79 Merge pull request #650 from kevlahnota/master
Persist & Undying ability revised
2015-10-20 22:58:57 +08:00
Anthony Calosa
2178018b18 Persist and Undying goes to the stack 2015-10-20 21:56:49 +08:00
Anthony Calosa
ae4d245232 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-10-20 19:14:55 +08:00
Anthony Calosa
509b21153f Merge pull request #649 from kevlahnota/master
Persist/Undying Fix, Raid support
2015-10-20 12:02:47 +08:00
Anthony Calosa
7810c65862 added Raid support
thisturn(creature[attacking]|mybattlefield)~morethan~0 only triggers
once... use raid keyword... if raid then blah...
2015-10-20 11:09:57 +08:00
Anthony Calosa
9f8d2b2d46 take 2 2015-10-19 21:48:59 +08:00
Anthony Calosa
3bcb2985f9 try to fix compile error on psp 2015-10-19 20:15:51 +08:00
Anthony Calosa
0d8b2f4a01 persist/undying fix
persist/undying wont trigger when there is a replacement effect for
cards that goes to graveyard like leyline of the void. support  for
anafenza the foremost.
2015-10-19 19:43:07 +08:00
Anthony Calosa
b060c4205c targetter, targetted reset 2015-10-19 11:10:49 +08:00
Anthony Calosa
f90775153c Revert "TrcardDrawn, TrDamaged, TrLifeGained"
This reverts commit c7535e38dc.
2015-10-19 10:19:14 +08:00
Anthony Calosa
17a2d9b4d8 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-10-19 07:13:28 +08:00
Anthony Calosa
14a68d6ed4 Merge pull request #648 from kevlahnota/master
protection from colored spells & forced menuicons for PSP
2015-10-19 00:11:59 +08:00
Anthony Calosa
c7535e38dc TrcardDrawn, TrDamaged, TrLifeGained
Added trigger restriction for "@trigger(player)
restriction{opponenttrigger/controllertrigger}"

Restriction for:
@drawn
@damaged(combat and noncombat)
@lifed/lifeloss

Why?

When using @drawn trigger like Underworld Dreams
auto=@drawn(opponent):life:-1 opponent

If you take control of Underworld Dreams from an opponent, the
targetchooser for "opponent" is not updated and you are still the
opponent of Underworld Dreams even you take control of it(It is right if
you are the chosen opponent from cards like Black Vise, The Rack, etc...
The chosen opponent never changes. But cards that don't define a chosen
player an "opponent" like Underworld Dreams when an exchanged control
happens, the opponent of the card is the opponent of the one who
controls the card). :P

The new correct code for Underworld Dreams:
auto=@drawn(player) restriction{opponenttrigger}:life:-1 opponent
2015-10-18 22:38:41 +08:00
Anthony Calosa
8c4fabb89a menuicons forced for PSP build 2015-10-18 15:55:10 +08:00
Anthony Calosa
1ad1bf7942 protection from colored spells 2015-10-18 00:20:32 +08:00
Anthony Calosa
4e115a2326 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-10-17 22:41:54 +08:00
Anthony Calosa
6900e60df0 Merge pull request #646 from kevlahnota/master
Fix issue #473, #784
2015-10-17 21:37:23 +08:00
Anthony Calosa
61881ad656 Fix issue #473 and #784
It seems when a zonechange event from inplay to inplay (player or
opponent), the card->view item values is recalculated... so it destroys
the GUI like missing card image, or moving it far off the screen... To
reproduce, cast Splinter Twin to Conquering Manticore and gain control
the same creature about 2 or 3 times...
2015-10-17 19:44:21 +08:00
Anthony Calosa
d1e64a410b Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-10-17 16:38:54 +08:00
Anthony Calosa
5e5de03055 Merge pull request #645 from kevlahnota/master
revert guiplay, castcard(putinplay) correction and modified AAcopier
2015-10-17 09:26:58 +08:00
Anthony Calosa
f4bdfa43ca Copied Morphed card 2015-10-16 18:50:05 +08:00
Anthony Calosa
5ede956e7f Reverted GuiPlay
reverted stacking issue
2015-10-16 18:19:42 +08:00
Anthony Calosa
1cd27210ac Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-10-16 18:19:05 +08:00
Anthony Calosa
2819ec01af token is excluded...
for ABlink
2015-10-16 17:02:37 +08:00
Anthony Calosa
ca113497b2 Merge pull request #644 from kevlahnota/master
Bug Fix: Planeswalker Rule, Populate & ABlink return to play ability for Aura cards
2015-10-15 20:01:00 +08:00
Anthony Calosa
15725c0302 bug fix populate absolute value
forgot to add abs when adding negative bonuses...
2015-10-15 18:03:26 +08:00
Anthony Calosa
851bd88de6 Fix Planeswalker Rule & ABlink 2015-10-15 12:23:32 +08:00
Anthony Calosa
a207936231 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-10-15 12:22:47 +08:00
Anthony Calosa
9cb40e41fa Merge pull request #643 from kevlahnota/master
Bug Fix: legend rule, profile stat on main menu and aura curse update on player target
2015-10-14 23:24:41 +08:00
Anthony Calosa
0f0bdd7d13 Fix Aura Curse
Aura Curse that targets a player should update its position after
casting.
2015-10-14 22:14:13 +08:00
Anthony Calosa
297206b054 Fix update profile stat after buying cards
profile stats on the upper left of main menu should update after buying
some cards :)
2015-10-14 21:33:12 +08:00
Anthony Calosa
626f0677f7 Fix profile status on upper left of main menu
The profile status on the upper left of main menu should update now when
changing user profiles...:)
2015-10-14 21:26:22 +08:00
Anthony Calosa
7b5b25d113 Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-10-14 20:04:35 +08:00
Anthony Calosa
3635137906 fix legend rule
704.5k If a player controls two or more legendary permanents with the
same name, that player
chooses one of them, and the rest are put into their owners’ graveyards.
This is called the
“legend rule.”

bury is destroy without regenerate, so when two legends of the same name
has indestructible, bury will have no effect... I changed it to put into
owners graveyard instead using mover...
2015-10-14 20:04:29 +08:00
Anthony Calosa
7ea02a316e Merge pull request #642 from kevlahnota/master
urza lands fix, polished action stack & static mana display
2015-10-13 21:19:47 +08:00
Anthony Calosa
9a66b0c6e4 some fix and polished static mana and action stack
I moved the target quad near the source card and moved the action string
forward so there is no overlapping of action string and the target quad
if the action string is too long...
2015-10-13 19:27:25 +08:00
Anthony Calosa
8fe5000ce1 polished action stack 2015-10-12 19:54:03 +08:00
Anthony Calosa
82fac5f80e Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-10-12 13:02:57 +08:00
Anthony Calosa
94620504da fix urza lands
the alias is used for checking of "urzatron". revised this because when
using if then else in the activation makes the mana ability goes to the
stack
2015-10-12 13:00:05 +08:00
Anthony Calosa
59cab65fcf Merge pull request #641 from kevlahnota/master
Fix crash bug, support doubled res texture for background, avatars, menutitle
2015-10-12 06:46:53 +08:00
Anthony Calosa
c7b9e6f9b8 fix avatar scaling on guicombat, border on combat 2015-10-11 23:04:28 +08:00
Anthony Calosa
4c86cae7fe disabled wood & gold texture, backdrop size 480x272
blending of wood and/or gold texture on some resolutions(mobile,
tablets, etc) draws line which can be distracting. The backdrop is now
full size of PSP resolution (480x272, 2x res can be loaded like 960x544)
2015-10-11 14:29:36 +08:00
Anthony Calosa
6376596e49 increase battlefield "hot area" size, opponent phase ring uses darker glyph vs human 2015-10-10 20:54:41 +08:00
Anthony Calosa
91053965be Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-10-10 20:52:37 +08:00
Xawotihs
4f9ee17ff9 Everywhere 2015-10-10 14:35:53 +02:00
Xawotihs
2461b39fb7 Update android SDK to 24.3.4 to try fixing travis 2015-10-10 14:35:22 +02:00
Anthony Calosa
ff7634a8ac Merge remote-tracking branch 'refs/remotes/WagicProject/master' 2015-10-10 20:30:19 +08:00
Xawotihs
6c41ae8e8e Update android build tools to 23.0.1 to try fixing travis 2015-10-10 14:19:22 +02:00
Anthony Calosa
52803cf57c fix crash bug when buying a card pack
This fixes the shop crashing the game when you buy a card packs in the
shop. The targeting indicator looks at the stack so it needs to be
enabled only when you're in the "game"...
2015-10-10 04:59:22 +08:00
Anthony Calosa
03f5ba430c resized
doubled res... you need to replace this with a higher detailed icons...
2015-10-09 21:46:25 +08:00
Anthony Calosa
91e317a497 added placeholder for large icons 2015-10-09 21:17:46 +08:00
Anthony Calosa
a0b4d0f348 added scaling of background 2015-10-09 21:06:58 +08:00
Anthony Calosa
674f4d5062 transformed Planeswalker
When a Planeswalker transforms into a creature, it should be inline on
the battlefield positions along with other creatures.
2015-10-08 11:24:04 +08:00
Anthony Calosa
5cc2f5b645 border p/t 2015-10-08 09:51:52 +08:00
Anthony Calosa
3ca8aefad7 fix bug where walls that can attack activated vs moat in play 2015-10-07 20:59:17 +08:00
Anthony Calosa
1d1b663f55 menutitle scaling
can load 2x res...
2015-10-07 18:10:00 +08:00
Anthony Calosa
6a64b09452 replaced fillroundrect border 2015-10-07 18:08:00 +08:00
Anthony Calosa
c2c9e180ea code cleanup 2015-10-07 11:06:59 +08:00
Anthony Calosa
fb89183767 support scaling of avatar texture - multiples of 35x50
default was 35x50 avatar texture, if using 3x  (105x150), it will scale
it :)
2015-10-07 10:57:08 +08:00
Anthony Calosa
45b570b6f7 border highlighter 2015-10-07 10:53:11 +08:00
Anthony Calosa
8e8e5d8da8 Merge remote-tracking branch 'WagicProject/master' 2015-10-06 10:57:26 +08:00
Anthony Calosa
f59a7872b3 Merge pull request #640 from kevlahnota/master
fix alpha/transparency on rendered border
2015-10-06 10:53:49 +08:00
Anthony Calosa
022c6fccf5 Merge remote-tracking branch 'WagicProject/master' 2015-10-06 10:52:08 +08:00
Anthony Calosa
b750cf1f33 fix alpha/transparency on rendered border 2015-10-06 10:47:08 +08:00
Anthony Calosa
5495d772ea Merge pull request #639 from kevlahnota/master
Visual Targeting Indicator, Borders
2015-10-06 01:21:29 +08:00
Anthony Calosa
664589c642 Visual Targeting Indicator, Borders 2015-10-05 22:03:30 +08:00
Anthony Calosa
6e9c965279 Merge remote-tracking branch 'WagicProject/master' 2015-10-03 21:50:02 +08:00
Anthony Calosa
87e9ed8191 Merge pull request #638 from kevlahnota/master
reverted build
2015-10-03 21:43:01 +08:00
Anthony Calosa
a5a0aa859a reverted build 2015-10-03 21:39:54 +08:00
Anthony Calosa
78693685d8 Merge pull request #637 from kevlahnota/master
revised producemana, added producecolor
2015-10-03 11:27:28 +08:00
Anthony Calosa
f39d4a688a build number 2015-10-03 08:54:18 +08:00
Anthony Calosa
0c30a4ba53 High Tide fix 2015-10-03 08:15:05 +08:00
Anthony Calosa
7db8b89b89 Merge remote-tracking branch 'WagicProject/master' 2015-10-03 07:37:04 +08:00
Anthony Calosa
ec4a9ead74 revised produceextra, added producecolor
producecolor:color look for the mana color when engaged
produceextra:selectmana acts like tappedformana(mytgt) so the ability
must be on the source
produceextra:{color}  ability on the otherhand, the ability must be on
the target
2015-10-03 07:36:52 +08:00
Anthony Calosa
d31f112967 Merge pull request #636 from kevlahnota/master
LKI for power,  toughness and basic abilities,  produceextra ability, stack and life check, reduceto ability
2015-10-02 01:12:38 +08:00
Anthony Calosa
4098c306e2 removed unused variable. 2015-10-01 22:56:42 +08:00
Anthony Calosa
ddee2c08e2 added stack check, modified life check
if activating ability, playing a land or casting sorcery spell at
sorcery level(timing restriction), if the stack is not empty, don't
allow it. Modified the life state check, if any of the players would
lose the game, allow the gamestateeffects to check... added
reduceto:value for ali from cairo...
2015-10-01 22:25:26 +08:00
Anthony Calosa
e1c02c8bf5 produceextra, lki(last known information) for power, toughness and basic abilities 2015-09-30 23:45:54 +08:00
Anthony Calosa
956d21d431 Merge remote-tracking branch 'WagicProject/master' 2015-09-29 22:29:08 +08:00
Anthony Calosa
8b3f474bca Merge pull request #635 from kevlahnota/master
Fix Recover Cards, Cloner, Copier, and Preliminary support for Madness, added converge keyword
2015-09-29 21:29:38 +08:00
Anthony Calosa
8eddcfb639 added converge keyword
converge returns the number of colors spent when casting the spell.
example you pay {2}{W}{W}{R}{B}, converge returns 3, white, black and
red colors spent with...
2015-09-29 15:09:29 +08:00
Anthony Calosa
9b79602134 Moved modifiedbAbi block 2015-09-29 14:31:31 +08:00
Anthony Calosa
0bab560e89 Fix Cloner and Copier abilities 2015-09-29 10:42:29 +08:00
Anthony Calosa
6458b46437 Merge remote-tracking branch 'WagicProject/master' 2015-09-28 21:27:48 +08:00
Anthony Calosa
021343ca02 fix for recover cards, preliminary support for madness 2015-09-28 21:27:27 +08:00
Anthony Calosa
86a5890c36 Merge pull request #634 from kevlahnota/master
life indicators and fix init of vars
2015-09-27 10:12:57 +08:00
Anthony Calosa
04e53f2002 increase the players life indicator(scale to 1.3f), fix init vars
increase the life indicator for players to 1.3f, life indicator for
players changes color according to its value. fix init for vars(should
fix gravecardtypes for tarmogoyf and pbasiclandtypes )
2015-09-27 09:52:35 +08:00
Anthony Calosa
5dccd4b05f Merge remote-tracking branch 'WagicProject/master' 2015-09-27 08:56:31 +08:00
xawotihs
9e77899535 Adds missing breaking macosx compilation without boost 2015-09-26 09:44:11 +02:00
Xawotihs
4185923d04 Replaced C++ types by C ones 2015-09-25 21:46:37 +02:00
Xawotihs
a19ccb6b49 Should fix g++ compilation issue 2015-09-25 21:01:09 +02:00
xawotihs
5ae9d42480 Fixed compilation issue with clang 2015-09-25 20:21:10 +02:00
xawotihs
f282a3346c Merge branch 'no-boost' of https://github.com/WagicProject/wagic into no-boost 2015-09-25 20:04:42 +02:00
Anthony Calosa
ac8881a097 Merge pull request #633 from kevlahnota/master
Ingest and other card fixes...
2015-09-25 19:26:48 +08:00
Anthony Calosa
41daa83e3e Merge remote-tracking branch 'WagicProject/master' 2015-09-25 17:39:48 +08:00
Anthony Calosa
2869460a7f Fixed some card primitives, added support for "other" parsing power, toughness and converted cost, added Ingest
Ingest -> topcard of library to exile
Usage ingest:value
ingest:20 will send the top 20 cards of library to exile
2015-09-25 17:39:35 +08:00
xawotihs
0f168922d8 Fixed compilation issue of config without Qt 2015-09-24 23:47:16 +02:00
xawotihs
b8b5362ba5 Removed dependency on boost when Qt is used. 2015-09-24 23:20:52 +02:00
Anthony Calosa
b4e0f2c991 Merge pull request #632 from kevlahnota/master
Added bypass for notatarget(it should bypass protection and shroud), extend castcard to support putinplay for aura(since aura must have target chooser when put into play by other means), added state based action for aura with invalid targets(ex. local enchantments that enchant creature, then the creature it enchants loses creature types like man lands ... mutavault.)
2015-09-24 19:55:13 +08:00
Anthony Calosa
201b6d9cfa bypassTC turn off 2015-09-24 14:45:26 +08:00
Anthony Calosa
a6ec3e0a68 added type check on aura if the card it enchant is legal 2015-09-24 14:14:00 +08:00
Anthony Calosa
64578787a0 NULL check 2015-09-24 12:14:58 +08:00
Anthony Calosa
d068388e7f added aura targets for castcard putinplay
the special putinplay keyword for castcard is used for aura so we can
"retarget" their intended targets but without casting them instead they
are put onto the battlefield and the ability is not targetted 👍

303.4c If an Aura is enchanting an illegal object or player as defined
by its enchant ability and other
applicable effects, the object it was attached to no longer exists, or
the player it was attached to
has left the game, the Aura is put into its owner’s graveyard. (This is
a state-based action. See
rule 704.)

303.4f If an Aura is entering the battlefield under a player’s control
by any means other than by
resolving as an Aura spell, and the effect putting it onto the
battlefield doesn’t specify the object
or player the Aura will enchant, that player chooses what it will
enchant as the Aura enters the
battlefield. The player must choose a legal object or player according
to the Aura’s enchant
ability and any other applicable effects.
2015-09-24 09:53:10 +08:00
Anthony Calosa
606d18aa6e bypassTC on playertarget 2015-09-24 06:24:17 +08:00
Anthony Calosa
106bcec7cf bypass targetchooser 2015-09-24 06:02:46 +08:00
Anthony Calosa
179e973b4e typo 2015-09-23 21:44:29 +08:00
Anthony Calosa
2223cd4f30 modified castcard to support put into play
for reanimated aura
2015-09-23 21:36:05 +08:00
Anthony Calosa
7db5345f9a attempt to fix "notatarget"
notatarget must be allowed to target untargettable cards.
2015-09-23 12:14:47 +08:00
Anthony Calosa
df659f648e Merge remote-tracking branch 'WagicProject/master' 2015-09-22 21:18:02 +08:00
Anthony Calosa
d7fd079ec4 Merge pull request #631 from kevlahnota/master
Auraward,  unattach event and statebased action for protection from quality
2015-09-22 20:29:28 +08:00
Anthony Calosa
800172f93e Update _tests.txt 2015-09-22 19:49:20 +08:00
Anthony Calosa
2fbfdbcb03 lowercase 2015-09-22 19:48:13 +08:00
Anthony Calosa
ae59e75be1 Create pledge_protection.txt 2015-09-22 19:46:18 +08:00
Anthony Calosa
f01268ef76 Merge remote-tracking branch 'WagicProject/master' 2015-09-22 17:12:00 +08:00
Anthony Calosa
4b9f94c9ae added auraward, added event for unattach, added statebased check for protection from quality
auraward -> an exception for protection from quality used for aura, like
flickering ward
added event for unattach
added state based check for protection from quality.
702.16c A permanent or player with protection can’t be enchanted by
Auras that have the stated
quality. Such Auras attached to the permanent or player with protection
will be put into their
owners’ graveyards as a state-based action.

702.16d A permanent with protection can’t be equipped by Equipment that
have the stated quality
or fortified by Fortifications that have the stated quality. Such
Equipment or Fortifications
become unattached from that permanent as a state-based action, but
remain on the battlefield.
2015-09-22 17:11:40 +08:00
Anthony Calosa
33868eef88 fix typo 2015-09-22 08:18:24 +08:00
Anthony Calosa
11bd885fb4 Merge remote-tracking branch 'WagicProject/master' 2015-09-22 08:14:36 +08:00
Anthony Calosa
0e73168803 Merge pull request #630 from kevlahnota/master
Added ORI cards, Removed Workarounds, Added support for Can't Gain life... spellmastery keyword is used for alternative cost so cards with spellmastery can be cast as though it had flash (substance)...
2015-09-22 07:55:13 +08:00
Anthony Calosa
1eeb42a88d fixed lavinia of the tenth 2015-09-22 07:08:27 +08:00
Anthony Calosa
9ad852558c Merge remote-tracking branch 'WagicProject/master' 2015-09-22 06:55:36 +08:00
Anthony Calosa
227a262e01 added ORI cards :)
revised the keyword:
myname -> returns the number for each instance of the card name you
control.
allmyname -> returns the number for each instance of the card name in
play.
2015-09-22 06:53:55 +08:00
Anthony Calosa
0abd368ccc I think Akroan Conscriptor is supported 2015-09-21 21:38:23 +08:00
Anthony Calosa
f757dcab74 update invigorate and wall of shards
if players can't gain life, you cannot pay costs that have an opponent
gain life also...
2015-09-21 21:25:41 +08:00
Anthony Calosa
28f758e421 Removed Workarounds, Added support for Can't Gain life...
spellmastery - can play as though had flash used in conjunction for
alternative cost.
nolifegain, nolifegainopponent - cannot gain life.
2015-09-21 15:22:28 +08:00
Anthony Calosa
6fba81d7c8 Merge pull request #629 from kevlahnota/master
added M15 cards :)
2015-09-21 13:59:27 +08:00
Anthony Calosa
8543977a2f Merge branch 'master' of https://github.com/kevlahnota/wagic 2015-09-21 12:00:50 +08:00
Anthony Calosa
7b3da0e2c2 added M15 cards :)
added M15 cards and support for cards that use startinglife
keyword(Resolute Archangel)
2015-09-21 12:00:34 +08:00
Anthony Calosa
b16b37e757 Merge remote-tracking branch 'WagicProject/master' 2015-09-21 12:00:24 +08:00
Anthony Calosa
726b087d0d Create _cards.dat 2015-09-21 12:00:02 +08:00
Anthony Calosa
c3fb08da59 Merge pull request #628 from kevlahnota/master
Reverted Random, Disable Indicators on Gametype that is not Classic
2015-09-20 22:48:46 +08:00
Anthony Calosa
725a285e7f Reverted Random 2015-09-20 22:28:08 +08:00
Anthony Calosa
9bf329bd17 I just found this out....
Make the indicator for classic game type. Maybe there is another way to
produce cards by using the function from castcard...
2015-09-20 19:53:49 +08:00
Anthony Calosa
0517a73bfe Merge remote-tracking branch 'WagicProject/master' 2015-09-20 17:37:43 +08:00
Anthony Calosa
a432f5cc3a Merge pull request #627 from kevlahnota/master
PT colors, Token and Cloner Indicators
2015-09-20 15:28:54 +08:00
Anthony Calosa
72b119d622 fix bad lines 2015-09-20 15:25:01 +08:00
Anthony Calosa
18f09ab2ef %c to %s 2015-09-20 14:26:40 +08:00
Anthony Calosa
5985c518f6 buff.c_str() 2015-09-20 14:17:43 +08:00
Anthony Calosa
0dc4dbe642 Merge remote-tracking branch 'WagicProject/master' 2015-09-20 13:19:15 +08:00
Anthony Calosa
0e90426cff Support for Silumgar Assassin, Minor PT color and Token, Clone Indicators
When a creature is damaged and has critical life, PT turns to
red(critical life is 2 and below), if a card has a powered down status
like from -1/-1 counter, the PT turns to thistle, if powered up above 4,
the PT turns into yellow, default is white. legendary eldrazi pt is
violet. Token Indicator is T, and C for cards with copy abilities(so we
can differentiate them from originals), TC for both token and copy cat
cards.
2015-09-20 13:19:03 +08:00
Anthony Calosa
900d045cf0 Merge pull request #626 from kevlahnota/master
PT Switch like Layer 7e and Token Indicator
2015-09-20 00:04:25 +08:00
Anthony Calosa
e9c4d70126 Update _tests.txt 2015-09-19 23:31:18 +08:00
Anthony Calosa
5c93d3e7c4 Create PTswitch.txt 2015-09-19 23:30:11 +08:00
Anthony Calosa
c372ffa111 Switching PT, Token Indicator
Added Switching PT like Layer 7e, Token Indicator for cloned Cards
2015-09-19 23:25:33 +08:00
Anthony Calosa
8e15ad7ed0 Merge remote-tracking branch 'WagicProject/master' 2015-09-19 23:21:22 +08:00
Anthony Calosa
a6f3fb19c8 Merge pull request #624 from kevlahnota/master
Token Cloning fix and colored PT
2015-09-19 15:29:40 +08:00
Anthony Calosa
64c6d19ae7 lowest is 0, typo... 2015-09-19 13:28:14 +08:00
Anthony Calosa
c9d9d3d4d3 Random
I have a profile with 100+ decks and it seems with the previous code,
the random deck seems not random.
2015-09-19 13:05:16 +08:00
Anthony Calosa
e25b78953c other indicators must be somewhere else 2015-09-19 10:29:02 +08:00
Anthony Calosa
81f0c916f5 readjustment 2015-09-19 08:04:26 +08:00
Anthony Calosa
ef690f6438 update pt colors 2015-09-19 07:50:04 +08:00
Anthony Calosa
11124205e5 basic color code on PT
if a creature was damaged or has a negative toughness bonus, the pt
changes to crimson red, if the creature was not damaged and has power
buff, the color changes to spring green, normal was default white.
2015-09-18 20:16:28 +08:00
Anthony Calosa
6cd0474eca Bug Fix on Cloning Tokens 2015-09-18 19:56:02 +08:00
Anthony Calosa
bd89710478 Merge remote-tracking branch 'WagicProject/master' 2015-09-18 11:45:29 +08:00
Anthony Calosa
fc54822b97 Merge pull request #623 from kevlahnota/master
CDA and X manacost on stack
2015-09-18 06:10:24 +08:00
Anthony Calosa
13bb6dbe93 Update Token.cpp
Fix typo
2015-09-18 06:03:53 +08:00
Anthony Calosa
8c9a98e3e9 Update _tests.txt 2015-09-18 05:31:13 +08:00
Anthony Calosa
7ce05fb4fc CDA test # 2 2015-09-18 05:27:48 +08:00
Anthony Calosa
53153b237c CDA test # 1
Testing layer 7a, 7b and 7c :)
2015-09-17 22:50:21 +08:00
Anthony Calosa
478dea6af4 Tidy up a little... 2015-09-17 21:30:55 +08:00
Anthony Calosa
e097d38347 Updated CDA cards 2015-09-17 18:39:33 +08:00
Anthony Calosa
6cba14181d support "other" in type:* parsing
if a card with a cleric subtype has an autoline like this:
othertype:cleric:battlefield, means that the targetchooser excludes that
card, only the other "cleric" are counted.
2015-09-17 11:16:29 +08:00
Anthony Calosa
76c48a8c4e Merge pull request #1 from WagicProject/master
Merged from WagicProject:master
2015-09-17 05:52:33 +08:00
Anthony Calosa
425b51de08 Fix for token cloning
Some tokens when cloned produces miscalculated PT(Using foreach,
aslongas and others that needs CDA). This should fix the issue. TODO:
add tests and updated mtg.txt ...
2015-09-16 20:36:58 +08:00
Anthony Calosa
8e057379ce Finally Fixed... :)
The issue last commit was the toughness is refreshed and the damage is
not reflected. This commit fixes the bug. Yey...
2015-09-16 10:45:43 +08:00
Anthony Calosa
db649ddc96 Added Update on CDA
This controls whether to update Power and Toughness if we are setting
base PT or not. If we are setting base PT update the CDA but it will not
be applied since we have an effect that sets PT to a default base. If
there are no effect that sets base PT, apply it on CDA using
current/updated PT. The buffs are not affected. Yeah...
2015-09-16 09:34:32 +08:00
Anthony Calosa
6aab17d0b3 CDA complete
This fixes the bug I introduced lst time. The damage was not taking into
account, but this time the damage reflects...
TODO/TOFOLLOW: update test and update all cards that uses CDA :)
2015-09-16 06:42:02 +08:00
Xawotihs
fdfb8e0c34 Should fix package upload 2015-09-15 07:58:24 +02:00
Anthony Calosa
72aaa18a35 CDA
CDA works by using "cdaactive" keyword on PT changes. Instead of
granting bonus, we modify the orig power and toughness since they are
dynamic PT. cdaactive are for cards like maro, tarmogoyf, etc. To
Follow/To Do: Additional Tests and other bug fix
2015-09-15 06:35:07 +08:00
xawotihs
07e1c139ba Restored .travis file back to its original state 2015-09-14 23:55:33 +02:00
xawotihs
7df76697e1 Added iOS package upload after successfull build 2015-09-14 23:50:19 +02:00
xawotihs
743b260813 Adds control file 2015-09-13 23:50:21 +02:00
xawotihs
24187b8413 Enable usage of iOS resources from both xcode and theos makefile. Creates iOS package. 2015-09-13 20:54:25 +02:00
xawotihs
acfd0bf104 Merge branch 'master' into iOS-Build 2015-09-13 18:42:31 +02:00
Anthony Calosa
59792b3456 X in manacost is always 0 except on the stack 2015-09-12 19:58:09 +08:00
Anthony Calosa
fb9b0b8166 Added Konda's Banner 2015-09-12 19:37:35 +08:00
Anthony Calosa
11d68c0e27 Separated PT Modifiers, Fixed Changeling, Modified Counter as a cost
CDA Todo
2015-09-12 12:03:52 +08:00
Xawotihs
8b287cca0c Merge pull request #621 from kevlahnota/master
fixed Miscalculated PT, added Offering
2015-09-11 10:02:43 +02:00
Anthony Calosa
38145957af Update _tests.txt 2015-09-11 11:09:02 +08:00
Anthony Calosa
69bdac52c7 Create PT_M15_errata2.txt
Additional test
2015-09-11 11:07:48 +08:00
Anthony Calosa
10d7690ca6 Update PT_M15_errata.txt 2015-09-11 11:05:52 +08:00
Anthony Calosa
b33a999458 Finally PT Calculation is fixed :)
I didn't take into account that the new bonus must be calculated on the
event the effect was destroyed... silly me... 🉑
2015-09-11 10:53:36 +08:00
Anthony Calosa
d3a7ff7e11 reinitialize counters on destroy 2015-09-10 06:04:43 +08:00
Anthony Calosa
c1e9fad271 added basepower and basetoughness
added these two so if we want to access original power and toughness, we
can point to origpower and origtoughness respectively.
2015-09-10 05:26:09 +08:00
Anthony Calosa
9d668342be PT should work fine now... 2015-09-10 00:26:20 +08:00
Anthony Calosa
62dd54c886 Base Power/Toughness Template as of M15
208.4. Effects that set a creature’s power and/or toughness to specific
values may refer to that creature’s
“base power,” “base toughness,” or “base power and toughness.” Other
continuous effects may
further modify the creature’s power and toughness. See rule 613,
“Interaction of Continuous
Effects.”
2015-09-09 22:18:13 +08:00
Anthony Calosa
93ed2b3bff added test 2015-09-09 22:17:37 +08:00
Anthony Calosa
acb0aa0532 Merge remote-tracking branch 'WagicProject/master' 2015-09-08 19:19:31 +08:00
Anthony Calosa
ef707e6d5d added basic offering support
usage tap lands to produce mana then sacrifice an offering... example
you have Guttersnipe in play, it has a mana cost of {2}{R}, and you have
Patron of the Akki in hand that costs {4}{R}{R}. You need to produce
{2}{R} mana first before casting Patron of the Akki, then choose
Guttersnipe as an offering.
2015-09-08 12:26:03 +08:00
Xawotihs
56413c372f Merge pull request #619 from kevlahnota/master
added support for cards like leyline of the void, rest in peace, etc...
2015-09-07 20:09:36 +02:00
Anthony Calosa
a57e919e44 commented out unused variable... 2015-09-07 19:53:16 +08:00
Anthony Calosa
5bdb80db35 added DTK cards :) 2015-09-07 19:52:53 +08:00
Anthony Calosa
3f63997694 morethanfourcards for cards like black vise 2015-09-07 13:40:28 +08:00
Anthony Calosa
022a15a5e9 added epic cards, fixed maxcast bug
maxcast(*)0 - checks for the current action player of that turn, but
when you passes the turn to the opponent, you can cast instant or cards
with flash instead because you are not the current player, it mustcheck
the controller of the card with play restriction if he can play it or
not whether it your turn or the opponents turn.
2015-09-07 10:09:34 +08:00
xawotihs
a6c331042a Removed minizip directory, moved ZipArchive, updated xcode project and iOS makefile 2015-09-06 21:12:15 +02:00
Xawotihs
17f5d8f0c2 Fixed reachability include path 2015-09-05 09:21:42 +02:00
Anthony Calosa
45b880ef76 updated test 2015-09-05 07:23:35 +08:00
Anthony Calosa
da34530d98 added test for Gravebane Zombie 2015-09-05 07:20:28 +08:00
Anthony Calosa
bcb75dac65 updated test 2015-09-05 06:50:33 +08:00
Anthony Calosa
74bba5263a added test for leyline of the void and rest in peace and darksteel colossus 2015-09-05 06:44:10 +08:00
Anthony Calosa
7878252692 support for Rest in Peace
tokens are not cards...
a little dirty...
2015-09-04 23:45:16 +08:00
Anthony Calosa
7af6b31cca Merge remote-tracking branch 'WagicProject/master' 2015-09-04 23:41:37 +08:00
Anthony Calosa
11a9766ba0 adds support for darksteel colossus, gravebane zombie 2015-09-04 16:47:11 +08:00
Anthony Calosa
5175f439a0 add support for yawgmoth's agenda and other similar cards 2015-09-04 12:05:19 +08:00
Anthony Calosa
cbb603818a correction for untap cost
602.5a comprehensive rule as of  6/1/2014
2015-09-04 12:04:17 +08:00
xawotihs
7020121274 Merge branch 'master' into iOS-build 2015-09-04 00:04:59 +02:00
xawotihs
54f7030d68 Moved reachability files 2015-09-04 00:03:47 +02:00
Xawotihs
b9e23fcf95 Merge pull request #618 from kevlahnota/master
Life state check and multicolor attribute
2015-09-03 20:33:01 +02:00
Anthony Calosa
42d0480f77 refactored lifestate check 2015-09-03 20:12:09 +08:00
Anthony Calosa
886eaa4002 Update _tests.txt 2015-09-03 20:10:19 +08:00
Anthony Calosa
fd02e9ab22 Rename projects/mtg/bin/Res/test/bugs/exquisite_blood_i953.txt to projects/mtg/bin/Res/test/exquisite_blood_i953.txt 2015-09-03 20:07:31 +08:00
Anthony Calosa
9fb460c176 life state check on trigger
life state check when players gain or lose life
bugs\exquisite_blood_i953.txt will stop looping
as long as the conditions are met on the check
2015-09-03 07:01:45 +08:00
Anthony Calosa
cbb753ae75 Merge remote-tracking branch 'WagicProject/master' 2015-09-03 06:57:42 +08:00
Anthony Calosa
b2b54b7c5b attribute -multicolor will return single colored cards
use iscolorless to find colorless... :)
2015-08-31 22:03:41 +08:00
Anthony Calosa
29ac95362d multicolor correction
not multicolored is single colored or monocolored not colorless...
colorless has no color...
2015-08-31 19:06:51 +08:00
Xawotihs
9d2d6addb1 Merge pull request #617 from kevlahnota/master
additional test for sac event
2015-08-31 10:45:05 +02:00
Anthony Calosa
7c3f15f79b updated some cards
reflects the changes i made earlier, you can see the steps while running
them in test mode... mortician beetle, thraximundar and savra queen of
the golgari.
2015-08-31 07:51:12 +08:00
Xawotihs
c8e4ec14f0 Update Wagic_Version.h 2015-08-30 23:39:13 +02:00
Xawotihs
e1793fe276 Removed error on unknown warning option 2015-08-30 22:39:44 +02:00
Anthony Calosa
a7bb43278f fix bad lines 2015-08-31 01:51:36 +08:00
Xawotihs
58b5e99979 Fixed typo 2015-08-30 18:17:41 +02:00
Anthony Calosa
915befbb3a update savra 2015-08-30 23:59:05 +08:00
Xawotihs
4cf3f1bcd5 Should fix relative paths 2015-08-30 17:55:02 +02:00
xawotihs
bfeeaeabfb replaced .travis.yml for easier test and added the iOS makefile 2015-08-30 17:27:19 +02:00
Anthony Calosa
410f2d4e69 updated tests 2015-08-30 23:04:50 +08:00
Anthony Calosa
474ad5c0fe additional test for sacrificed event 2015-08-30 23:04:42 +08:00
Anthony Calosa
c2b359ceed Update _tests.txt
Added PTInstant test
2015-08-29 09:42:18 +08:00
Anthony Calosa
5af7de61d0 Added test for power toughness modifier
soul warden must be sent to graveyard due to last gasp before tundra wolves resolves and put onto the battlefield.
2015-08-29 09:35:51 +08:00
Anthony Calosa
7436bf9e64 added ORI _cards.dat 2015-08-27 11:07:18 +08:00
Anthony Calosa
588f7fe2fb remove token workaround 2015-08-26 23:40:30 +08:00
Xawotihs
30f5a49988 Merge pull request #614 from kevlahnota/master
added FRF
2015-08-24 17:56:32 +02:00
Anthony Calosa
2998e95a3b tokenizer should work now for cloning ability
Populate(Put a token onto the battlefield that's a copy of a creature
token you control.)
2015-08-24 22:39:54 +08:00
Anthony Calosa
ac29367ff8 update _tests.txt 2015-08-24 10:05:05 +08:00
Anthony Calosa
dbd7f82eab added tokenizer test 2015-08-24 10:03:34 +08:00
xawotihs
e28dd11b63 Merge branch 'master' into iOS-Build 2015-08-23 22:35:54 +02:00
xawotihs
907274f9bd Fixed cross-compiling with theos 2015-08-23 21:23:55 +02:00
Anthony Calosa
176b74489e added parallel lives
support token doubler... :)
2015-08-23 21:56:23 +08:00
Anthony Calosa
f940f8e303 some corrections
added Induce Paranoia, Draining Whelk
2015-08-22 23:40:31 +08:00
Anthony Calosa
2679213121 added FRF 2015-08-21 17:38:15 +08:00
Anthony Calosa
59c0cf467f serum powder code
serum powder second ability...
Any time you could mulligan and Serum Powder is in your hand, you may
exile all the cards from your hand, then draw that many cards.
2015-08-20 23:11:44 +08:00
Anthony Calosa
5a2637856f Merge remote-tracking branch 'WagicProject/master' 2015-08-20 23:09:12 +08:00
Anthony Calosa
26ecb199d3 Merge remote-tracking branch 'WagicProject/master' 2015-08-20 23:00:56 +08:00
Xawotihs
62d42fb61f Removed local check of mac branch 2015-08-17 23:53:11 +02:00
Xawotihs
19c96e496b More debug 2015-08-17 23:03:53 +02:00
Xawotihs
e982ba50be Removed a suspicous $ from the mac script 2015-08-17 22:27:39 +02:00
Xawotihs
27ad956034 More debug of the mac script 2015-08-17 21:57:29 +02:00
Xawotihs
8c6f694645 Replaced suspicious test 2015-08-16 21:11:41 +02:00
Xawotihs
8ce85636d9 More debug 2015-08-16 20:52:10 +02:00
Xawotihs
07683480b4 build => release => tag => build ... 2015-08-16 18:41:36 +02:00
Xawotihs
7d8fdbfd58 Restored branch removal and added some debug 2015-08-16 18:24:57 +02:00
Xawotihs
2a1cb03484 OMG what a stupid typo 2015-08-16 18:02:22 +02:00
Anthony Calosa
baa90fb605 added Ral Zarek 2015-08-16 14:57:34 +08:00
Anthony Calosa
1b67b736df Merge remote-tracking branch 'WagicProject/master' 2015-08-16 14:29:44 +08:00
Anthony Calosa
e6514a8b33 added gravecrawler
gravecrawler is supported :)
2015-08-16 14:17:26 +08:00
Xawotihs
636b07b350 Try to fix macosx branch deletion 2015-08-15 23:29:47 +02:00
Xawotihs
4b5478530c Merge pull request #612 from kevlahnota/master
Support of "formidable" abilities, added JOU, THS, M14 and fixed various cards.
2015-08-15 21:00:12 +02:00
Anthony Calosa
4a721a7e18 added KTK cards 2015-08-15 23:41:31 +08:00
Anthony Calosa
2470629afd Merge remote-tracking branch 'WagicProject/master' 2015-08-15 22:23:00 +08:00
Anthony Calosa
ccdd16bbc7 Used proper constant 2015-08-15 19:13:48 +08:00
Anthony Calosa
9cf6e621ab Removes viewing of tokens (rarity with T) on Spoiler 2015-08-15 14:51:26 +08:00
Anthony Calosa
94a97a3032 give credits
thanks KF1 and Tacoghandi
2015-08-15 08:18:35 +08:00
Anthony Calosa
f4ef7b9851 added M14 cards 2015-08-15 08:17:21 +08:00
Anthony Calosa
c2be7dd025 Fix M14 card dat 2015-08-15 08:07:36 +08:00
Anthony Calosa
b51dfc7733 added THS cards 2015-08-14 13:19:05 +08:00
Anthony Calosa
9999820a8f added missing cards from theros block 2015-08-13 23:19:20 +08:00
Anthony Calosa
10bc8283ed added JOU cards 2015-08-12 22:40:24 +08:00
Anthony Calosa
66f3ba5a7b removed id collision
avatar token already defined below ajani goldmane
2015-08-12 21:38:19 +08:00
Anthony Calosa
07f0175c5e fix bad line 2015-08-12 21:33:46 +08:00
Anthony Calosa
7376ac382f added missing copy cards 2015-08-12 20:53:30 +08:00
Anthony Calosa
3646219da4 Added missing devotion cards 2015-08-12 20:46:23 +08:00
Anthony Calosa
bfbc073593 added cards 2015-08-12 20:23:46 +08:00
Anthony Calosa
307be96fd6 Added Formidable cards 2015-08-12 20:16:07 +08:00
Anthony Calosa
22f4f21619 Added missing sets 2015-08-12 18:20:03 +08:00
Anthony Calosa
1738e216d0 Delete JOU 2015-08-12 18:05:45 +08:00
Anthony Calosa
567650357f Create JOU 2015-08-12 18:03:46 +08:00
Anthony Calosa
32de6ac124 Minor primitives correction
corrected some typo and added some cards
2015-08-12 17:32:42 +08:00
Anthony Calosa
60f3c87de1 Count Total Power of Creatures you control
example usage:  auto={4}{G}:4/4
restriction{compare(powertotalinplay)~morethan~7}
2015-08-10 22:44:27 +08:00
Xawotihs
d9561118bc Update appveyor.yml
Skip building macosx environment on windows
2015-07-20 22:32:25 +02:00
Xawotihs
228e5342fb Merge pull request #609 from WagicProject/CI-fixes
Ci fixes
2015-07-11 23:47:44 +02:00
Xawotihs
8574154071 Update .travis.yml 2015-07-11 21:58:30 +02:00
Xawotihs
80379ecde5 Update .travis.yml 2015-07-11 21:52:20 +02:00
Xawotihs
31b8ad248f Update .travis.yml
Fixed references to SDK package
2015-07-11 20:03:37 +02:00
Xawotihs
2d02f97f7f Update .travis.yml
Updated android SDK to 24.3.3
2015-07-11 18:51:11 +02:00
Xawotihs
6a37b5e461 Update .travis.yml
And a last one.
2015-07-11 18:36:34 +02:00
Xawotihs
38ed60bf63 Update .travis.yml
Add some \ to try fixing the script
2015-07-11 18:27:23 +02:00
Xawotihs
e664ecfaf5 Update .travis.yml
Updated android build tools to 22.0.1
2015-07-11 18:05:39 +02:00
Xawotihs
e2814c04f4 Merge pull request #607 from WagicProject/coverage
Adds test code coverage support
2014-12-31 13:57:14 +01:00
Xawotihs
8c2836b0c2 Update README.md
Added coverage status
2014-12-29 15:04:00 +01:00
Xawotihs
fcfab4c756 Update .travis.yml
Removed traces
2014-12-27 13:43:38 +01:00
Xawotihs
ddd59c489a Update .travis.yml
trying to fix gcov root
2014-12-27 12:17:03 +01:00
xawotihs
db922a0e77 Activated perf logs with qt console config 2014-12-27 11:47:54 +01:00
Xawotihs
793c4d1d7d Update .travis.yml
Added some traces
2014-12-27 10:39:16 +01:00
Xawotihs
24eab33b6d Update .travis.yml
updating coveralls options
2014-12-27 02:07:38 +01:00
Xawotihs
4985323ad9 Update .travis.yml
Tweaked coveralls config
2014-12-27 01:29:58 +01:00
Xawotihs
9fc551982b Update .travis.yml
Updated android sdk version
2014-12-26 21:23:11 +01:00
xawotihs
8ee67b5af8 Adds coverage support 2014-12-21 22:49:47 +01:00
xawotihs
78ad22479c Added changelog file 2014-12-09 22:18:51 +01:00
Xawotihs
2041aa45f0 Reactivated PSP build 2014-12-08 20:52:04 +01:00
xawotihs
c8b0ce9669 added sudo to install python packages on macosx 2014-12-08 00:10:48 +01:00
xawotihs
11eb6de57e Changed token and redirect push output 2014-12-07 23:33:46 +01:00
xawotihs
c451234bd5 Moved definition of origin 2014-12-07 22:47:04 +01:00
xawotihs
b56862fcf8 Added python dependencies, replaced token and removed "x" option in shell scripts 2014-12-07 22:26:39 +01:00
xawotihs
21a6da91ca Added git remote URL as HTTPS 2014-12-07 21:48:50 +01:00
xawotihs
410108a005 Added email and name to enable git commit 2014-12-07 21:06:53 +01:00
xawotihs
51d5b166a6 Deactivated PSP build and refactored build conditions 2014-12-07 20:29:27 +01:00
xawotihs
1f77243881 Fixed mac build script 2014-12-07 19:48:53 +01:00
xawotihs
f63afb2dd6 Merge branch 'mac-build' 2014-12-07 17:55:25 +01:00
xawotihs
dbe1c6e2ae Moved mac travis file outside of script and update oauth token 2014-12-07 17:26:32 +01:00
xawotihs
6a37425a38 Changed number of processes to 4 2014-12-07 16:48:57 +01:00
xawotihs
02efa4745f Fixed access to mac script and added mac branch to the list of branch authorized to upload binaries 2014-12-07 16:39:15 +01:00
xawotihs
e78754bcd5 Fixed mac script call 2014-12-07 16:24:39 +01:00
xawotihs
16dcf3cc5e - Moved scripts in tools directory
- Added a Mac cross-compiling script
2014-12-07 16:02:56 +01:00
xawotihs
03d168f972 Added MacOS bundle creation in Qt .pro file 2014-12-06 15:13:45 +01:00
Xawotihs
6f6c8b0eb6 Merge pull request #606 from kevlahnota/master
Fix for guild_keywords Devotion, added some "Chroma" cards
2014-12-05 07:47:37 +01:00
Anthony Calosa
fa14219e12 Fix for Devotion, added some "Chroma" cards 2014-12-05 10:18:05 +08:00
Xawotihs
15cd86fad1 Add traces at the end of the upload 2014-12-04 22:51:38 +01:00
Xawotihs
56ccebb720 Merge pull request #605 from kevlahnota/master
added guild keywords, added specific life cost
2014-12-03 07:37:55 +01:00
Anthony Calosa
8ef3789970 reverted sacred foundry 2014-12-03 07:54:13 +08:00
Anthony Calosa
ed7769c373 Revert "update sacred_foundry_i275.txt"
This reverts commit 5745006c35.
2014-12-03 07:47:00 +08:00
Anthony Calosa
5745006c35 update sacred_foundry_i275.txt 2014-12-02 19:19:05 +08:00
Anthony Calosa
16b243c52a Added bng cards to the main primitives. Removed bngGods.txt 2014-12-02 10:39:53 +08:00
Anthony Calosa
bc91eaf5ca updated card primitives that supports specific life cost 2014-11-29 07:10:02 +08:00
Anthony Calosa
6962d1e888 added cards, needs more testing before merging with the main primitives 2014-11-29 06:58:33 +08:00
Anthony Calosa
4d1e8dfb36 Update bngGods.txt
9/15/2013 	The type-changing ability that can make the God not be a creature functions only on the battlefield. It’s always a creature card in other zones, regardless of your devotion to its color.
2014-11-28 15:31:24 +08:00
Anthony Calosa
6ff6f95044 added Xenagos, God of Revels and Phenax, God of Deception for test purpose. 2014-11-28 14:34:37 +08:00
Anthony Calosa
5369983b35 Added BNG set 2014-11-28 14:19:04 +08:00
Anthony Calosa
46a8041c48 Added guild keyword gruul test for Xenagos, God of Revels. You must have Born of the gods set (BNG) 2014-11-28 14:00:58 +08:00
Anthony Calosa
84185a7c78 Added specific life cost test for griselbrand. Pls read note. 2014-11-28 13:35:13 +08:00
Anthony Calosa
4f41248978 Added specific life cost. if we use {l}{l}{l} to pay 3 life, and you have 2 life, you cannot afford to pay the cost but instead the game allows it. if we use specific life cost like: {l:3}, the restriction works. 2014-11-27 14:38:55 +08:00
Anthony Calosa
92d52a78be Update ExtraCost.cpp 2014-11-27 14:33:43 +08:00
Anthony Calosa
a76594046b Update ExtraCost.h 2014-11-27 14:31:25 +08:00
kevlahnota
2214ec66f1 Update AllAbilities.h
keywords for the "gods", "azorius" returns value of devotion to blue and white. ex. auto=azorius/dimir ueot
2014-11-27 11:31:19 +08:00
xawotihs
b8da46ac18 Fixed phonon support. 2014-11-23 16:27:18 +01:00
xawotihs
d656730d3a Fixed phonon support 2014-11-23 16:24:36 +01:00
xawotihs
2f230e4b38 Added buyback.txt to the list of automatic tests 2014-11-23 16:23:18 +01:00
xawotihs
494f64acbd Merge branch 'apollovy-master' 2014-11-23 14:32:02 +01:00
xawotihs
50978200d4 Merge branch 'master' of https://github.com/apollovy/wagic into apollovy-master 2014-11-23 14:30:17 +01:00
xawotihs
a38e1daec7 Updated Android build tools to 21.1.1 2014-11-23 12:44:22 +01:00
Yuriy A. Apollov
57a26b4583 Add test for buyback case. 2014-11-18 06:58:38 +03:00
Yuriy A. Apollov
c018c8fcd1 Fix buyback payed once stayed forever. 2014-11-18 06:51:40 +03:00
xawotihs
3ba4aca8bc Fixed stupid bug in python release creation 2014-08-25 22:16:12 +02:00
xawotihs
870f6e3b58 Fixed python typo 2014-08-25 00:27:40 +02:00
xawotihs
83e0869548 Updated python upload code to re-create new release 'latest-master' for each master commit 2014-08-25 00:02:46 +02:00
xawotihs
90b08db038 Updated travis to use python uploading script 2014-08-24 19:45:18 +02:00
xawotihs
c888e143a1 Fixed python typo 2014-08-24 18:46:42 +02:00
xawotihs
4e727bc164 Fixed python typo 2014-08-24 18:23:08 +02:00
xawotihs
b37afadb01 Fixed typo. 2014-08-24 17:59:04 +02:00
xawotihs
2c2744f6fb Fixed python issue 2014-08-24 17:40:05 +02:00
xawotihs
db2b2fa3b5 Replaced \ by / 2014-08-24 17:07:00 +02:00
xawotihs
0127f7aab9 Tries to activate automatic artifact deployment to github release from appveyor 2014-08-24 16:07:26 +02:00
Xawotihs
ce41791fa4 Remove broken comments 2014-08-23 09:36:46 +02:00
Xawotihs
ec4be4f6b1 Uses real python path 2014-08-23 00:53:33 +02:00
Xawotihs
f82d89b3db Removed empty environment section 2014-08-23 00:47:30 +02:00
xawotihs
202175f2a7 First appveyor script and python windows package build file 2014-08-22 23:26:03 +02:00
xawotihs
d7628b3eb2 Fixed console with Qtmultimedia 2014-08-03 12:20:45 +02:00
Xawotihs
7560db571c Trying without HTTPS to speed up SDK update 2014-08-03 11:43:55 +02:00
Xawotihs
775143355d Add lib pulse-dev 2014-08-03 01:51:41 +02:00
Xawotihs
846ba30821 Tries to fix android sdk update issue 2014-08-03 01:34:53 +02:00
Xawotihs
ad88592229 Replaced pulse-dev with pulseaudio 2014-08-02 23:44:40 +02:00
Xawotihs
6b90956af1 Adding pulse 2014-08-02 23:35:25 +02:00
Xawotihs
26e905a36e Update Androi build tools to 20.0.0 2014-08-02 23:16:22 +02:00
xawotihs
1a9ff38f0c Merge branch 'qtMultimedia' of https://github.com/WagicProject/wagic into qtMultimedia 2014-08-02 21:07:12 +02:00
xawotihs
8b22d032cd Fixed QT version needed for pixelRatio API 2014-08-02 21:05:55 +02:00
Xawotihs
8d58baf4a3 adding qtmultimedia in apt-get 2014-08-02 19:38:11 +02:00
Xawotihs
a447a0c9af Trying with --all 2014-08-02 19:22:38 +02:00
xawotihs
555fb3ae93 Updated Qt building scripts to use qt5 qmake and no fmod 2014-08-02 18:54:28 +02:00
Xawotihs
7053531a4d Added qmake qt5 configuration 2014-08-02 18:37:53 +02:00
Xawotihs
7d4e5177b9 Reordered actions from install to before_install 2014-08-02 18:15:45 +02:00
Xawotihs
06f30eca3a Upgraded travis to use qt5 2014-08-02 17:50:45 +02:00
xawotihs
ac5c14b977 Fixed QtMultimedia port, replaced QSoundEffect by QMediaPlayer as all codecs were not supported by first class. 2014-08-02 17:12:19 +02:00
xawotihs
c3d810bd3b Merge branch 'master' into qtMultimedia 2014-08-02 16:16:19 +02:00
xawotihs
1e24f25c18 Fixed repository against Qt5.3.1 2014-08-02 15:56:52 +02:00
xawotihs
28db884498 Cleaned up cross-compiling travis stuff 2014-07-26 19:45:59 +02:00
xawotihs
36ecc1ffef Cleaned up cross-compiling travis stuff 2014-07-26 19:38:14 +02:00
Xawotihs
9ec6803a02 Merge pull request #602 from WagicProject/feature/ios-update-xcode5.1
Feature/ios update xcode5.1
2014-07-24 23:08:39 +02:00
xawotihs
e87996a7f2 Deactivate window cross-compiling build 2014-07-23 23:20:54 +02:00
xawotihs
f2a5273029 Activating logs on android issue 2014-07-23 22:22:06 +02:00
xawotihs
9bc750da9a Upgrade Android SDK to r23.0.2 2014-07-23 22:05:02 +02:00
Xawotihs
539c5bd18a Trying to fix android build 2014-07-23 20:53:25 +02:00
Xawotihs
bdc1ada090 Update README.md
Added build status on AppVeyor
2014-07-23 00:17:07 +02:00
Michael Nguyen
2efc24a1ce Merge branch 'develop' into feature/ios-update-xcode5.1 2014-04-13 11:50:16 -07:00
Michael Nguyen
63561e6122 update Xcode build preferences as recommended by XCode. 2014-04-13 11:39:40 -07:00
Michael Nguyen
d2390b1227 updated project file for iOS to work with current codebase
- added missing source/headers (GameView.h, CarouselView.h, etc )
- removed dependency on admob static library
- removed CardEffect.h and CardEffect.cpp from project reference
- removed -no_implicit_dylibs flag (apparently no longer supported)
- added -fno-objc-arc (turns off ARC compilation for entire project)
- added -DTIXML_USE_STL
2014-04-13 08:34:21 -07:00
Michael Nguyen
d0799ea3f2 updating to latest code from master
Merge branch 'master' into develop
2014-04-13 08:26:53 -07:00
Xawotihs
44cbfbb1fb Merge pull request #601 from ZobyTwo/cleanup_3
Remove dead code and fix circular initialization
2014-03-13 20:20:12 +01:00
Tobias Loose
b078dd1f6a Fix android makefile 2014-03-11 17:31:25 +01:00
Tobias Loose
225dd23753 Fix makefile 2014-03-11 17:19:05 +01:00
Rolzad73
51b4755242 Update README.md
Added sample play-through video link
2014-02-05 23:39:57 -05:00
Tobias Loose
8f233b3027 Avoid circular initialization 2014-02-03 19:44:51 +01:00
Tobias Loose
197540763e Remove unused Effects.h/.cpp and class Effect
There was an empty vector of effect* in PlayGuiObject.
2014-02-03 13:52:40 +01:00
xawotihs
5d7667dc01 Cleaned Phonon vs QtMultimedia config 2014-01-31 21:53:27 +01:00
xawotihs
18383579e9 Fixed android compilation 2014-01-27 06:31:23 +01:00
xawotihs
03d4f8ffa1 Added Qt Multimedia support in order to replace Phonon. Currently does not work on Mac. 2014-01-26 23:56:15 +01:00
Michael Nguyen
a8cff5ed8e Merge branch 'master' into develop 2013-11-28 02:19:41 -08:00
1527 changed files with 750547 additions and 185325 deletions

38
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
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
.github/ISSUE_TEMPLATE/custom.md vendored Normal file
View File

@@ -0,0 +1,10 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''
---

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.

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "docs/wiki"]
path = docs/wiki
url = https://github.com/WagicProject/wagic.wiki

View File

@@ -1,30 +1,79 @@
language: cpp
dist: xenial
branches:
except:
- latest-master
before_install:
- export PSPDEV="$TRAVIS_BUILD_DIR/opt/pspsdk"
- export PSPSDK="$PSPDEV/psp/sdk"
- export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin"
- export ANDROID="android-sdk-linux/tools/android"
install:
- sudo add-apt-repository ppa:tobydox/mingw -y
- sudo apt-get update -qq
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch jq mingw32-x-gcc mingw32-x-qt; fi
- sudo ln -s /opt/mingw32/bin/moc /opt/mingw32/bin/i686-w64-mingw32-moc
- wget -O sdk.lzma http://sourceforge.net/projects/minpspw/files/SDK%20%2B%20devpak/pspsdk%200.11.2/minpspw_0.11.2-amd64.tar.lzma/download
- tar -x --xz -f sdk.lzma
- wget http://dl.google.com/android/ndk/android-ndk-r9-linux-x86_64.tar.bz2 -nv
- wget http://dl.google.com/android/android-sdk_r22-linux.tgz -nv
- tar --absolute-names -jxf android-ndk-r9-linux-x86_64.tar.bz2
- tar -zxf android-sdk_r22-linux.tgz
- $ANDROID list sdk --extended -a
- echo yes | $ANDROID update sdk -a --filter "tools","platform-tools","build-tools-19.0.1","android-10" --no-ui --force > log.txt
- sudo pip install pyjavaproperties
script: ./travis-script.sh
env:
global:
secure: "fJgWlCFbde96OSQNGKUmowGX+ERPeqP+n1EOMf1+FJzOU4DdkTLRAlV5+5qnEX9jB/3mWN6iPpmG1qEz/SdDG3KHxJYs4ZU/Lu485O24zZ/+GdYBNsrvhPD9ckPGEMLDa1foEVTDnW0Dlkz3BCFcszjhtXGUJv7v6Pj6LRk1Mg8="
only:
- master
script: "./travis-script.sh"
after_success: ./upload-binaries.sh
before_install:
- export BUILD_PSP=YES
- export BUILD_ANDROID=YES
- export BUILD_Qt=YES
- 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
# - if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
# export BUILD_MAC=YES;
# fi
- sudo apt-get update -qq
# Building for PSP here
- if [ "$BUILD_PSP" == "YES" ]; then
export PSPDEV="$TRAVIS_BUILD_DIR/opt/pspsdk" &&
export PSPSDK="$PSPDEV/psp/sdk" &&
export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin" &&
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
# Building for Qt here
- if [ "$BUILD_Qt" == "YES" ]; then
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu xenial universe" &&
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu xenial main" &&
sudo apt-get -qq update &&
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";
fi
# Building for Android here
- if [ "$BUILD_ANDROID" == "YES" ]; then
export ANDROID="android-sdk-linux/tools/android" &&
if [ `uname -m` = x86_64 ]; then
sudo dpkg --add-architecture i386 && sudo apt-get update &&
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
install:
- if [ "$BUILD_PSP" == "YES" ]; then
tar -x --xz -f sdk.lzma;
fi
- if [ "$BUILD_ANDROID" == "YES" ]; then
unzip android-ndk-r22-linux-x86_64.zip &&
tar -zxf android-sdk_r24.4.1-linux.tgz &&
$ANDROID list sdk --extended -a &&
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
- curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
- sudo python2 get-pip.py
- sudo python2 -m pip install --upgrade pip
- sudo python2 -m pip install setuptools-rust
- 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"
after_success:
- coveralls -b . -e JGE/src -e JGE/include -i projects/mtg/include -i projects/mtg/src --gcov-options '\-lp'
- export VERSION=$(grep "=" projects/mtg/build.number.properties | sed 's/.*=//' | tr -d '\n\t\r ')
- python2 tools/upload-binaries.py -t $GH_TOKEN2 -s $TRAVIS_COMMIT -l core.zip -r Wagic-core-$VERSION.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

View File

@@ -29,11 +29,30 @@ public:
{
int r;
#if defined(__ARM_FEATURE_LSE)
// Use LSE atomic instructions if supported
#pragma message("LSE feature detected") // This will print a message in your build logs
__asm__ __volatile__(
"swp %0, %1, [%2]":
"=&r"( r ): // outputs
"r"( 1 ), "r"( &v_ ): // inputs
"memory", "cc" );
"ldaxr %0, [%1];" // Load-Exclusive instruction
"cbnz %0, 1f;" // If the value is non-zero, the lock is already acquired
"stlxr %w0, %2, [%1];" // Store-Exclusive instruction
"cbnz %w0, 1f;" // If the store failed, retry
"mov %0, #0;" // Success, zero indicates lock acquired
"1:"
: "=&r"(r)
: "r"(&v_), "r"(1)
: "memory", "cc"
);
#else
// Fallback for systems that don't support LSE
#pragma message("LSE feature not detected") // This will print a message in your build logs if LSE is not detected
__asm__ __volatile__(
"swp %0, %1, [%2];" // Swap instruction (used as a fallback)
: "=&r"(r) // output constraint
: "r"(1), "r"(&v_) // input constraints
: "memory", "cc" // clobbered registers
);
#endif
return r == 0;
}

View File

@@ -20,7 +20,7 @@ namespace boost {
enum xtime_clock_types
{
TIME_UTC=1
TIME_UTC_=1
// TIME_TAI,
// TIME_MONOTONIC,
// 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)
{
if (clock_type == TIME_UTC)
if (clock_type == TIME_UTC_)
{
*xtp=get_xtime(get_system_time());
return clock_type;

View File

@@ -350,7 +350,7 @@ namespace boost
cond.timed_wait(lock, xt);
# endif
xtime cur;
xtime_get(&cur, TIME_UTC);
xtime_get(&cur, TIME_UTC_);
if (xtime_cmp(xt, cur) <= 0)
return;
}
@@ -365,7 +365,7 @@ namespace boost
BOOST_VERIFY(!pthread_yield());
# else
xtime xt;
xtime_get(&xt, TIME_UTC);
xtime_get(&xt, TIME_UTC_);
sleep(xt);
# endif
}

View File

@@ -20,8 +20,8 @@ const int NANOSECONDS_PER_MICROSECOND = 1000;
inline void to_time(int milliseconds, boost::xtime& xt)
{
int res = 0;
res = boost::xtime_get(&xt, boost::TIME_UTC);
BOOST_ASSERT(res == boost::TIME_UTC);
res = boost::xtime_get(&xt, boost::TIME_UTC_);
BOOST_ASSERT(res == boost::TIME_UTC_);
xt.sec += (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;
int res = 0;
res = boost::xtime_get(&cur, boost::TIME_UTC);
BOOST_ASSERT(res == boost::TIME_UTC);
res = boost::xtime_get(&cur, boost::TIME_UTC_);
BOOST_ASSERT(res == boost::TIME_UTC_);
if (boost::xtime_cmp(xt, cur) <= 0)
{
@@ -88,8 +88,8 @@ inline void to_duration(boost::xtime xt, int& milliseconds)
{
boost::xtime cur;
int res = 0;
res = boost::xtime_get(&cur, boost::TIME_UTC);
BOOST_ASSERT(res == boost::TIME_UTC);
res = boost::xtime_get(&cur, boost::TIME_UTC_);
BOOST_ASSERT(res == boost::TIME_UTC_);
if (boost::xtime_cmp(xt, cur) <= 0)
milliseconds = 0;
@@ -110,8 +110,8 @@ inline void to_microduration(boost::xtime xt, int& microseconds)
{
boost::xtime cur;
int res = 0;
res = boost::xtime_get(&cur, boost::TIME_UTC);
BOOST_ASSERT(res == boost::TIME_UTC);
res = boost::xtime_get(&cur, boost::TIME_UTC_);
BOOST_ASSERT(res == boost::TIME_UTC_);
if (boost::xtime_cmp(xt, cur) <= 0)
microseconds = 0;

1768
CHANGELOG.md Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -14,10 +14,11 @@
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
2. Altered source versions must be plainly marked as such, and must not
be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#include "SDL_stdinc.h"
#include "SDL_atomic.h"
@@ -30,8 +31,7 @@
#endif
/* This function is where all the magic happens... */
SDL_bool
SDL_AtomicTryLock(SDL_SpinLock *lock)
SDL_bool SDL_AtomicTryLock(SDL_SpinLock *lock)
{
#if SDL_ATOMIC_DISABLED
/* Terrible terrible damage */
@@ -77,14 +77,35 @@ SDL_AtomicTryLock(SDL_SpinLock *lock)
: "=&r" (result) : "r" (1), "r" (lock) : "cc", "memory");
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
/* Need CPU instructions for spinlock here! */
__need_spinlock_implementation__
/* Fallback implementation using a standard mutex */
/* You can use SDL_mutex as a fallback if no atomic instructions are available */
static SDL_mutex *mutex;
if (!mutex) {
mutex = SDL_CreateMutex();
}
SDL_mutexP(mutex);
if (*lock == 0) {
*lock = 1;
SDL_mutexV(mutex);
return SDL_TRUE;
} else {
SDL_mutexV(mutex);
return SDL_FALSE;
}
#endif
}
void
SDL_AtomicLock(SDL_SpinLock *lock)
void SDL_AtomicLock(SDL_SpinLock *lock)
{
/* FIXME: Should we have an eventual timeout? */
while (!SDL_AtomicTryLock(lock)) {
@@ -92,8 +113,7 @@ SDL_AtomicLock(SDL_SpinLock *lock)
}
}
void
SDL_AtomicUnlock(SDL_SpinLock *lock)
void SDL_AtomicUnlock(SDL_SpinLock *lock)
{
#if defined(_MSC_VER)
_ReadWriteBarrier();

Binary file not shown.

View File

@@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -474,7 +474,7 @@
#ifndef PNG_VERSION_INFO_ONLY
/* include the compression library's header */
#include "zlib.h"
#include "../include/zlib.h"
#endif
/* include all user configurable info, including optional assembler routines */

View File

@@ -32,6 +32,7 @@ HGE_OBJS = src/hge/hgecolor.o src/hge/hgeparticle.o \
CXXFLAGS = -W -Wall -Werror -Wno-unused
CXXFLAGS += -DTIXML_USE_STL
CXXFLAGS += -Wno-deprecated-declarations -Wno-sign-compare
ifdef DEBUG
CXXFLAGS += -ggdb3
@@ -82,8 +83,8 @@ ifeq ($(TARGET_ARCHITECTURE),linux)
OBJS = $(GENERIC_OBJS) $(LINUX_OBJS)
TARGET_LIB = libjge.a
TARGET_HGE = libhgetools.a
INCDIR = $(shell freetype-config --cflags 2> /dev/null) -I/usr/X11/include -I../Boost -Isrc/zipFS -Iinclude/
CXXFLAGS += -DLINUX $(FMOD)
INCDIR = $(shell freetype-config --cflags 2> /dev/null) -I/usr/X11/include -I/usr/include/boost -Isrc/zipFS -Iinclude/
CXXFLAGS += -DLINUX -DNETWORK_SUPPORT $(FMOD)
CXXFLAGS += $(INCDIR)
LIBDIR = lib/linux
endif

View File

@@ -18,9 +18,9 @@ using namespace std;
template <class T>
std::string ToHex(T* pointer)
{
std::ostringstream stream;
stream << hex << showbase << setfill('0') << setw(8) << (uint64_t) pointer;
return stream.str();
std::ostringstream stream;
stream << hex << showbase << setfill('0') << setw(8) << (uint64_t) pointer;
return stream.str();
}
#ifdef LINUX
@@ -42,9 +42,9 @@ std::string ToHex(T* pointer)
#else // CAPTURE_STDERR
#define DebugTrace(inString) \
{ \
std::ostringstream stream; \
stream << inString; \
qDebug("%s", stream.str().c_str()); \
std::ostringstream stream; \
stream << inString; \
qDebug("%s", stream.str().c_str()); \
}
#endif // CAPTURE_STDERR
@@ -52,16 +52,16 @@ std::string ToHex(T* pointer)
#include <android/log.h>
#define DebugTrace(inString) \
{ \
std::ostringstream stream; \
stream << inString; \
__android_log_write(ANDROID_LOG_DEBUG, "Wagic", stream.str().c_str());\
std::ostringstream stream; \
stream << inString; \
__android_log_write(ANDROID_LOG_DEBUG, "Wagic", stream.str().c_str());\
}
#else
#define DebugTrace(inString) \
{ \
std::ostringstream stream; \
stream << inString << std::endl; \
OutputDebugStringA(stream.str().c_str()); \
OutputDebugStringA(stream.str().c_str()); \
}
#endif // QT_CONFIG
#endif // Win32, Linux
@@ -71,7 +71,7 @@ std::string ToHex(T* pointer)
#ifndef DebugTrace
#define DebugTrace(inString) \
{ \
std::cerr << inString << std::endl; \
std::cerr << inString << std::endl; \
}
#endif //DEBUG
#endif

View File

@@ -394,6 +394,7 @@ class JGE
void SetJNIEnv(JNIEnv * env, jclass cls);
void sendJNICommand(std::string command);
std::string getFileSystemLocation();
std::string getFileUserFolderPath();
#endif
protected:

View File

@@ -30,6 +30,7 @@ const int kInfoMenuID = -200;
const int kRandomPlayerMenuID = -11;
const int kRandomAIPlayerMenuID = -12;
const int kEvilTwinMenuID = -14;
const int kCommanderMenuID = -33;
class JGuiListener
{

View File

@@ -178,8 +178,6 @@ private:
float mSpacing;
PIXEL_TYPE mColor;
int mBlend;
int mBase;
};

View File

@@ -598,8 +598,6 @@ private:
GLint prog2_positionLoc;
GLint prog2_texCoordLoc;
GLint prog2_colorLoc;
// MVP matrix
ESMatrix prog2_mvpMatrix;
// Uniform locations
GLint prog2_mvpLoc;
@@ -612,13 +610,11 @@ private:
int mCurrentTextureFormat;
#endif
#ifdef PSP
bool mVsync;
int mTexCounter;
#endif
int mSwizzle;
int mTexCounter;
int mCurrentTextureFilter;
int mCurrTexBlendSrc;

View File

@@ -23,28 +23,32 @@
#include "SLES/OpenSLES_Android.h"
#elif defined USE_PHONON
#include <phonon/AudioOutput>
#include <phonon/MediaObject>
#include <phonon/AudioOutput>
#include <phonon/MediaObject>
#elif (defined QT_CONFIG)
#include "QMediaPlayer"
#include "QMediaPlaylist"
#include "QSoundEffect"
#elif defined WIN32
#include <windows.h>
#include <windows.h>
#define WITH_FMOD
#elif defined (PSP)
#include <pspgu.h>
#include <pspkernel.h>
#include <pspdisplay.h>
#include <pspdebug.h>
#include <pspctrl.h>
#include <time.h>
#include <string.h>
#include <pspaudiolib.h>
#include <psprtc.h>
#include <pspgu.h>
#include <pspkernel.h>
#include <pspdisplay.h>
#include <pspdebug.h>
#include <pspctrl.h>
#include <time.h>
#include <string.h>
#include <pspaudiolib.h>
#include <psprtc.h>
#include "JAudio.h"
#include "JMP3.h"
#include "JAudio.h"
#include "JMP3.h"
#endif
#ifdef WITH_FMOD
#include "../Dependencies/include/fmod.h"
#include "../Dependencies/include/fmod.h"
#endif
//------------------------------------------------------------------------------------------------
@@ -67,7 +71,7 @@ public:
#ifdef USE_PHONON
Phonon::AudioOutput* mOutput;
Phonon::MediaObject* mMediaObject;
public slots:
public slots:
void seekAtTheBegining();
#elif defined (PSP)
JMP3* mTrack;
@@ -82,6 +86,10 @@ public:
SLPlayItf playInterface;
SLSeekItf seekInterface;
SLVolumeItf musicVolumeInterface;
#elif (defined QT_CONFIG)
QMediaPlaylist* playlist;
QMediaPlayer* player;
string fullpath;
#else
void* mTrack;
#endif //WITH_FMOD
@@ -92,13 +100,15 @@ public:
//------------------------------------------------------------------------------------------------
class JSample
{
public:
public:
JSample();
~JSample();
unsigned long fileSize();
#if defined (PSP)
#if (defined QT_CONFIG) && (!defined USE_PHONON)
QMediaPlayer* effect;
void* mSample;
#elif defined (PSP)
WAVDATA *mSample;
#elif defined (IOS)
std::string filename;
@@ -133,126 +143,130 @@ class JSoundSystem
public:
//////////////////////////////////////////////////////////////////////////
/// Get the singleton instance
///
//////////////////////////////////////////////////////////////////////////
static JSoundSystem* GetInstance();
//////////////////////////////////////////////////////////////////////////
/// Get the singleton instance
///
//////////////////////////////////////////////////////////////////////////
static JSoundSystem* GetInstance();
static void Destroy();
static void Destroy();
//////////////////////////////////////////////////////////////////////////
/// Load music.
///
/// @note MP3 is the only supported format for the moment.
///
/// @param filename - Name of the music file.
///
//////////////////////////////////////////////////////////////////////////
JMusic *LoadMusic(const char *fileName);
//////////////////////////////////////////////////////////////////////////
/// Load music.
///
/// @note MP3 is the only supported format for the moment.
///
/// @param filename - Name of the music file.
///
//////////////////////////////////////////////////////////////////////////
JMusic *LoadMusic(const char *fileName);
//////////////////////////////////////////////////////////////////////////
/// Delete music from memory.
///
/// @param music - Music to be deleted.
///
//////////////////////////////////////////////////////////////////////////
//void FreeMusic(JMusic *music);
//////////////////////////////////////////////////////////////////////////
/// Delete music from memory.
///
/// @param music - Music to be deleted.
///
//////////////////////////////////////////////////////////////////////////
//void FreeMusic(JMusic *music);
//////////////////////////////////////////////////////////////////////////
/// Play music.
///
/// @param music - Music to be played.
/// @param looping - Play the music in a loop.
///
//////////////////////////////////////////////////////////////////////////
void PlayMusic(JMusic *music, bool looping = false);
//////////////////////////////////////////////////////////////////////////
/// Play music.
///
/// @param music - Music to be played.
/// @param looping - Play the music in a loop.
///
//////////////////////////////////////////////////////////////////////////
void PlayMusic(JMusic *music, bool looping = false);
//////////////////////////////////////////////////////////////////////////
/// Stop playing.
///
/// @param music - Music to be stopped.
///
//////////////////////////////////////////////////////////////////////////
void StopMusic(JMusic *music);
//////////////////////////////////////////////////////////////////////////
/// Stop playing.
///
/// @param music - Music to be stopped.
///
//////////////////////////////////////////////////////////////////////////
void StopMusic(JMusic *music);
//////////////////////////////////////////////////////////////////////////
/// Resume playing.
///
/// @param music - Music to be resumed.
///
//////////////////////////////////////////////////////////////////////////
void ResumeMusic(JMusic *music);
//////////////////////////////////////////////////////////////////////////
/// Resume playing.
///
/// @param music - Music to be resumed.
///
//////////////////////////////////////////////////////////////////////////
void ResumeMusic(JMusic *music);
//////////////////////////////////////////////////////////////////////////
/// Pause playing.
///
/// @param music - Music to be paused.
///
//////////////////////////////////////////////////////////////////////////
void PauseMusic(JMusic *music);
//////////////////////////////////////////////////////////////////////////
/// Pause playing.
///
/// @param music - Music to be paused.
///
//////////////////////////////////////////////////////////////////////////
void PauseMusic(JMusic *music);
//////////////////////////////////////////////////////////////////////////
/// Load sound effect.
///
/// @note WAV sound effect only.
///
/// @param fileName - Sound effect for loading.
///
//////////////////////////////////////////////////////////////////////////
JSample *LoadSample(const char *fileName);
//////////////////////////////////////////////////////////////////////////
/// Load sound effect.
///
/// @note WAV sound effect only.
///
/// @param fileName - Sound effect for loading.
///
//////////////////////////////////////////////////////////////////////////
JSample *LoadSample(const char *fileName);
//////////////////////////////////////////////////////////////////////////
/// Delete sound effect from memory.
///
/// @param sample - Sound to be deleted.
///
//////////////////////////////////////////////////////////////////////////
//void FreeSample(JSample *sample);
//////////////////////////////////////////////////////////////////////////
/// Delete sound effect from memory.
///
/// @param sample - Sound to be deleted.
///
//////////////////////////////////////////////////////////////////////////
//void FreeSample(JSample *sample);
//////////////////////////////////////////////////////////////////////////
/// Play sound effect.
///
/// @param sample - Sound for playing.
///
//////////////////////////////////////////////////////////////////////////
void PlaySample(JSample *sample);
//////////////////////////////////////////////////////////////////////////
/// Play sound effect.
///
/// @param sample - Sound for playing.
///
//////////////////////////////////////////////////////////////////////////
void PlaySample(JSample *sample);
//////////////////////////////////////////////////////////////////////////
/// Set volume for audio playback.
///
/// @param volume - New volume.
///
//////////////////////////////////////////////////////////////////////////
void SetVolume(int volume);
//////////////////////////////////////////////////////////////////////////
/// Set volume for audio playback.
///
/// @param volume - New volume.
///
//////////////////////////////////////////////////////////////////////////
void SetVolume(int volume);
void SetMusicVolume(int volume);
void SetMusicVolume(int volume);
void SetSfxVolume(int volume);
void SetSfxVolume(int volume);
int mChannel;
int mChannel;
protected:
JSoundSystem();
~JSoundSystem();
JSoundSystem();
~JSoundSystem();
void InitSoundSystem();
void DestroySoundSystem();
void InitSoundSystem();
void DestroySoundSystem();
private:
JMusic *mCurrentMusic;
#if (defined PSP || defined ANDROID)
JMusic *mCurrentMusic;
JSample *mCurrentSample;
#endif
int mVolume;
int mMusicVolume;
int mSampleVolume;
int mVolume;
#ifndef IOS
int mMusicVolume;
#endif
int mSampleVolume;
static JSoundSystem* mInstance;
static JSoundSystem* mInstance;
};
#endif

View File

@@ -18,12 +18,11 @@ using namespace std;
#define MID_POINT_THRESHOLD 1.0f
//////////////////////////////////////////////////////////////////////////
/// Position of a single dot on screen.
///
//////////////////////////////////////////////////////////////////////////
class Point
class JPoint
{
public:
@@ -34,13 +33,13 @@ public:
/// @param _y - Y position.
///
//////////////////////////////////////////////////////////////////////////
Point(float _x, float _y) { x = _x; y = _y; }
JPoint(float _x, float _y) { x = _x; y = _y; }
//////////////////////////////////////////////////////////////////////////
/// Constructor, set position to default (0.0f, 0.0f)
///
//////////////////////////////////////////////////////////////////////////
Point() { x = 0.0f; y = 0.0f; }
JPoint() { x = 0.0f; y = 0.0f; }
float x; ///< X position.
float y; ///< Y position.
@@ -95,7 +94,7 @@ public:
/// @param pt - Control point.
///
//////////////////////////////////////////////////////////////////////////
void AddControlPoint(const Point &pt);
void AddControlPoint(const JPoint &pt);
//////////////////////////////////////////////////////////////////////////
/// Get a control point of the spline.
@@ -105,7 +104,7 @@ public:
/// @return Control point.
///
//////////////////////////////////////////////////////////////////////////
void GetControlPoint(Point &point, int index);
void GetControlPoint(JPoint &point, int index);
//////////////////////////////////////////////////////////////////////////
/// Work out all pixels of the spline.
@@ -128,7 +127,7 @@ public:
/// @return Position of the desire point.
///
//////////////////////////////////////////////////////////////////////////
void PointOnCurve(Point &out, float t, const Point &p0, const Point &p1, const Point &p2, const Point &p3);
void PointOnCurve(JPoint &out, float t, const JPoint &p0, const JPoint &p1, const JPoint &p2, const JPoint &p3);
//////////////////////////////////////////////////////////////////////////
/// Get a number of pixels for this spline.
@@ -146,7 +145,7 @@ public:
/// @return Position of the desire point.
///
//////////////////////////////////////////////////////////////////////////
void GetPixel(Point &point, int index);
void GetPixel(JPoint &point, int index);
//////////////////////////////////////////////////////////////////////////
/// Render the spline to screen.
@@ -156,8 +155,8 @@ public:
private:
vector<Point> mMidPoints;
vector<Point> mPixels;
vector<JPoint> mMidPoints;
vector<JPoint> mPixels;
int mCount;
};

View File

@@ -311,9 +311,7 @@ namespace boost
#include <QMutex>
#include <QThread>
#include <boost/bind.hpp>
#include <boost/shared_ptr.hpp>
#include <QSharedPointer>
#include "../include/JLogger.h"
@@ -420,23 +418,25 @@ namespace boost
virtual void run() = 0;
};
typedef boost::shared_ptr<detail::thread_data_base> thread_data_ptr;
template<typename F>
typedef QSharedPointer<detail::thread_data_base> thread_data_ptr;
template<typename F, typename A1>
class thread_data : public detail::thread_data_base
{
public:
thread_data(F f_) : f(f_)
thread_data(F f_, A1 a1_) : f(f_), a1(a1_)
{
}
void run()
{
f();
f(a1);
}
private:
F f;
A1 a1;
void operator=(thread_data&);
thread_data(thread_data&);
@@ -493,7 +493,7 @@ namespace boost
}
template <class F,class A1>
thread(F f, A1 a1) : mThreadInfo(make_thread_info(boost::bind(boost::type<void>(), f, a1)))
thread(F f, A1 a1) : mThreadInfo(make_thread_info(f, a1))
{
mpThread = new threadImpl(mThreadInfo);
LOG("Calling start func");
@@ -510,10 +510,10 @@ namespace boost
}
private:
template<typename F>
static inline detail::thread_data_ptr make_thread_info(F f)
template<typename F, typename A1>
static inline detail::thread_data_ptr make_thread_info(F f, A1 a1)
{
return detail::thread_data_ptr(new detail::thread_data<F>(f));
return detail::thread_data_ptr(new detail::thread_data<F, A1>(f, a1));
}
detail::thread_data_ptr mThreadInfo;

View File

@@ -137,14 +137,14 @@ private slots:
private:
int lastPosx(){
#if QT_VERSION >= 0x050000
#if QT_VERSION >= 0x050100
return m_lastPos.x()*devicePixelRatio();
#else
return m_lastPos.x();
#endif
}
int lastPosy(){
#if QT_VERSION >= 0x050000
#if QT_VERSION >= 0x050100
return m_lastPos.y()*devicePixelRatio();
#else
return m_lastPos.y();

BIN
JGE/lib/linux/libhgetools.a Normal file

Binary file not shown.

BIN
JGE/lib/linux/libjge.a Normal file

Binary file not shown.

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.
*/
#ifndef PSP
#if defined (ANDROID)
#include "PrecompiledHeader.h"
#endif //PSP
#endif //ANDROID
#if defined (LINUX)
#include "../../projects/mtg/include/PrecompiledHeader.h"
#endif //LINUX
#ifdef WIN32
#pragma warning(disable : 4786)
@@ -38,6 +43,12 @@ The content that users should not be touching.
#include <QDir>
#endif
/*
#ifdef IOS
#include <Foundation/Foundation.h>
#endif
*/
JFileSystem* JFileSystem::mInstance = NULL;
JZipCache::JZipCache()
@@ -120,10 +131,11 @@ JFileSystem::JFileSystem(const string & _userPath, const string & _systemPath)
systemPath = [[documentsDirectory stringByAppendingString: @"/Res/"] cStringUsingEncoding:1];
#elif defined (ANDROID)
userPath = JGE::GetInstance()->getFileSystemLocation();
systemPath = "";
userPath = JGE::GetInstance()->getFileUserFolderPath();
systemPath = JGE::GetInstance()->getFileSystemLocation();
DebugTrace("User path " << userPath);
DebugTrace("User path " << userPath);
DebugTrace("System path " << systemPath);
#elif defined (QT_CONFIG)
QDir sysDir(RESDIR);
@@ -248,14 +260,15 @@ void JFileSystem::clearZipCache()
bool JFileSystem::AttachZipFile(const string &zipfile, char *password /* = NULL */)
{
if (mZipAvailable && mZipFile != NULL)
#ifndef WIN32
if (mZipAvailable && mZipFile.is_open())
{
if (mZipFileName != zipfile)
DetachZipFile(); // close the previous zip file
else
return true;
}
#endif
mZipFileName = zipfile;
mPassword = password;

View File

@@ -249,6 +249,7 @@ u32 JGE::BindKey(LocalKeySym sym, JButton button)
u32 JGE::UnbindKey(LocalKeySym sym, JButton button)
{
for (keycodes_it it = keyBinds.begin(); it != keyBinds.end(); )
{
if (sym == it->first && button == it->second)
{
keycodes_it er = it;
@@ -256,7 +257,8 @@ u32 JGE::UnbindKey(LocalKeySym sym, JButton button)
keyBinds.erase(er);
}
else ++it;
return keyBinds.size();
}
return keyBinds.size();
}
u32 JGE::UnbindKey(LocalKeySym sym)
@@ -666,7 +668,7 @@ string JGE::getFileSystemLocation()
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";
return "/mnt/sdcard/Wagic/Res";
};
jclass jniClass = env->FindClass("org/libsdl/app/SDLActivity");
@@ -675,7 +677,36 @@ string JGE::getFileSystemLocation()
if (methodId == 0)
{
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);

View File

@@ -197,7 +197,7 @@ bool JGuiController::CheckUserInput(JButton key)
mObjects[mCurr]->Entering();
}
mEngine->LeftClickedProcessed();
mEngine->ResetInput();
mEngine->ResetInput();
return true;
}
mEngine->LeftClickedProcessed();

View File

@@ -71,7 +71,7 @@ bool JSpline::Load(const char *filename, float xscale, float yscale)
element->QueryFloatAttribute("x", &xx);
element->QueryFloatAttribute("y", &yy);
Point pt(xx*xscale, yy*yscale);
JPoint pt(xx*xscale, yy*yscale);
AddControlPoint(pt);
}
@@ -84,7 +84,7 @@ bool JSpline::Load(const char *filename, float xscale, float yscale)
void JSpline::PointOnCurve(Point &out, float t, const Point &p0, const Point &p1, const Point &p2, const Point &p3)
void JSpline::PointOnCurve(JPoint &out, float t, const JPoint &p0, const JPoint &p1, const JPoint &p2, const JPoint &p3)
{
float t2 = t * t;
float t3 = t2 * t;
@@ -113,8 +113,8 @@ void JSpline::GeneratePixels()
x = mMidPoints[1].x;
y = mMidPoints[1].y;
Point newPt(x, y);
Point extraPt;
JPoint newPt(x, y);
JPoint extraPt;
mPixels.push_back(newPt);
@@ -151,13 +151,13 @@ void JSpline::GeneratePixels()
}
void JSpline::AddControlPoint(const Point &pt)
void JSpline::AddControlPoint(const JPoint &pt)
{
mMidPoints.push_back(pt);
}
void JSpline::GetControlPoint(Point &point, int index)
void JSpline::GetControlPoint(JPoint &point, int index)
{
if (index < (int)mMidPoints.size())
{
@@ -167,7 +167,7 @@ void JSpline::GetControlPoint(Point &point, int index)
}
void JSpline::GetPixel(Point &point, int index)
void JSpline::GetPixel(JPoint &point, int index)
{
if (index < (int)mPixels.size())
{

View File

@@ -87,8 +87,6 @@ WagicWrapper::~WagicWrapper()
int main(int argc, char* argv[])
{
QCoreApplication a(argc, argv);
int result = 0;
WagicWrapper* wagicCore = new WagicWrapper();
MTGCollection()->loadFolder("sets/primitives/");

View File

@@ -18,6 +18,11 @@
#include <stdexcept>
#include <iostream>
#include <math.h>
#ifndef WIN32
#include <unistd.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#if (defined FORCE_GLES)
#undef GL_ES_VERSION_2_0
@@ -53,6 +58,7 @@ JGameLauncher* g_launcher = NULL;
#ifdef ANDROID
JNIEnv * mJNIEnv = NULL;
jclass * mJNIClass = NULL;
int SDL_ResumeSyncTime = 0;
#endif
class SdlApp;
@@ -78,6 +84,7 @@ extern "C" void Java_org_libsdl_app_SDLActivity_nativeResume(
{
if (!g_engine)
return;
SDL_ResumeSyncTime = 100000;
g_engine->Resume();
}
@@ -136,8 +143,16 @@ public:
if(!g_engine->IsPaused())
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();
}
}
}
@@ -293,17 +308,18 @@ static const struct { LocalKeySym keysym; JButton keycode; } gDefaultBindings[]
{ SDLK_DOWN, JGE_BTN_DOWN },
{ SDLK_LEFT, JGE_BTN_LEFT },
{ SDLK_RIGHT, JGE_BTN_RIGHT },
{ SDLK_z, JGE_BTN_UP },
{ SDLK_d, JGE_BTN_RIGHT },
{ SDLK_w, JGE_BTN_UP },
{ SDLK_s, JGE_BTN_DOWN },
{ SDLK_q, JGE_BTN_LEFT },
{ SDLK_a, JGE_BTN_PREV },
{ SDLK_a, JGE_BTN_LEFT },
{ SDLK_d, JGE_BTN_RIGHT },
{ SDLK_q, JGE_BTN_PREV },
{ SDLK_e, JGE_BTN_NEXT },
{ SDLK_i, JGE_BTN_CANCEL },
{ SDLK_l, JGE_BTN_OK },
{ SDLK_SPACE, JGE_BTN_OK },
{ SDLK_k, JGE_BTN_SEC },
{ SDLK_j, JGE_BTN_PRI },
{ SDLK_b, JGE_BTN_SOUND },
{ SDLK_f, JGE_BTN_FULLSCREEN },
/* old Qt ones, basically modified to comply with the N900 keyboard

View File

@@ -185,9 +185,9 @@ static const int doubleBufferAttributes[] = {
GLX_RED_SIZE, 1, /* the maximum number of bits per component */
GLX_GREEN_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);
}
@@ -387,13 +387,13 @@ int main(int argc, char* argv[])
if (XCheckWindowEvent(gXDisplay, gXWindow, KeyPressMask | KeyReleaseMask | StructureNotifyMask, &event))
switch (event.type)
{
case KeyPress:
case 2: /* KeyPress */
{
const KeySym sym = XKeycodeToKeysym(gXDisplay, event.xkey.keycode, 1);
g_engine->HoldKey_NoRepeat(sym);
}
break;
case KeyRelease:
case 3: /* KeyRelease */
g_engine->ReleaseKey(XKeycodeToKeysym(gXDisplay, event.xkey.keycode, 1));
break;
case ConfigureNotify:

View File

@@ -184,7 +184,13 @@ JMusic *JSoundSystem::LoadMusic(const char *fileName)
const SLboolean req[2] = {SL_BOOLEAN_TRUE, SL_BOOLEAN_TRUE};
result = (*engineEngine)->CreateAudioPlayer(engineEngine, &music->playerObject, &audioSrc, &audioSnk, 2, ids, req);
DebugTrace("result " << result);
if(result == SL_RESULT_MEMORY_FAILURE){
delete music;
mCurrentMusic = NULL;
return NULL;
}
// realize the player
result = (*music->playerObject)->Realize(music->playerObject, SL_BOOLEAN_FALSE);
DebugTrace("result " << result);
@@ -303,6 +309,12 @@ JSample *JSoundSystem::LoadSample(const char *fileName)
1, ids, req);
DebugTrace("result " << result);
if(result == SL_RESULT_MEMORY_FAILURE){
delete sample;
mCurrentSample = NULL;
return NULL;
}
// realize the player
result = (*sample->playerObject)->Realize(sample->playerObject, SL_BOOLEAN_FALSE);
DebugTrace("result " << result);

View File

@@ -96,7 +96,8 @@ hgeParticleSystem::hgeParticleSystem(hgeParticleSystemInfo *psi)
{
//hge=hgeCreate(HGE_VERSION);
memcpy(&info, psi, sizeof(hgeParticleSystemInfo));
if (psi)
memcpy(&info, psi, sizeof(hgeParticleSystemInfo));
vecLocation.x=vecPrevLocation.x=0.0f;
vecLocation.y=vecPrevLocation.y=0.0f;

View File

@@ -10,5 +10,6 @@ void resumeGame();
@property (nonatomic, retain) id eaglView;
@property (nonatomic, retain) UITextField *inputField;
@property (nonatomic, assign) BOOL bannerIsVisible;
- (void)toggleKeyboardWithState: (NSString *) initialText;
@end

View File

@@ -53,28 +53,28 @@
- (void)viewWillAppear:(BOOL)animated {
NSLog(@"EAGL ViewController - view Will Appear");
[self.view resumeGame];
[(id)self.view resumeGame];
}
- (void)viewWillDisappear:(BOOL)animated
{
[self.view pauseGame];
[(id)self.view pauseGame];
}
- (void)pauseGame
{
[self.view pauseGame];
[(id)self.view pauseGame];
}
- (void)resumeGame
{
[self.view resumeGame];
[(id)self.view resumeGame];
}
- (void)endGame
{
[self.view endGame];
[(id)self.view endGame];
}
- (void)viewDidAppear:(BOOL)animated {

View File

@@ -337,7 +337,7 @@
- (void)applicationWillTerminate:(UIApplication *)application
{
[self.glViewController.view destroyGame];
[(id)self.glViewController.view destroyGame];
}
- (void)initializeKeyboard: (id) initialState

View File

@@ -1804,7 +1804,7 @@ static void PNGCustomReadDataFn(png_structp png_ptr, png_bytep data, png_size_t
{
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);
@@ -1887,7 +1887,7 @@ int JRenderer::LoadPNG(TextureInfo &textureInfo, const char *filename, int mode
//fclose(fp);
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;
}
@@ -1896,11 +1896,15 @@ int JRenderer::LoadPNG(TextureInfo &textureInfo, const char *filename, int mode
png_set_sig_bytes(png_ptr, sig_read);
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_packing(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);
#endif
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);
@@ -1910,7 +1914,7 @@ int JRenderer::LoadPNG(TextureInfo &textureInfo, const char *filename, int mode
//fclose(fp);
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;
}
@@ -1932,7 +1936,7 @@ int JRenderer::LoadPNG(TextureInfo &textureInfo, const char *filename, int mode
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++)
{
DWORD color32 = line[x];
@@ -1955,7 +1959,7 @@ int JRenderer::LoadPNG(TextureInfo &textureInfo, const char *filename, int mode
free (line);
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();
@@ -1998,8 +2002,15 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
GifFileType *GifFileIn = NULL;
ColorMapObject *palette;
int ExtCode;
#if GIFLIB_MAJOR >= 5
if ((GifFileIn = DGifOpen(handle, readFunc, NULL)) == NULL)
return 1;
#else
if ((GifFileIn = DGifOpen(handle, readFunc)) == NULL)
return 1;
#endif
*bgcolor = 0;
textureInfo.mWidth = 0;
textureInfo.mHeight = 0;
@@ -2008,7 +2019,11 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
do {
if (DGifGetRecordType(GifFileIn, &RecordType) == GIF_ERROR)
{
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn);
#endif
return 1;
}
@@ -2017,12 +2032,20 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
{
if (DGifGetImageDesc(GifFileIn) == GIF_ERROR)
{
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn);
#endif
return 1;
}
if((palette = (GifFileIn->SColorMap != NULL) ? GifFileIn->SColorMap : GifFileIn->Image.ColorMap) == NULL)
{
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn);
#endif
return 1;
}
textureInfo.mWidth = GifFileIn->Image.Width;
@@ -2030,7 +2053,11 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
*bgcolor = gif_color32(GifFileIn->SBackGroundColor);
if((LineIn = (GifRowType) malloc(GifFileIn->Image.Width * sizeof(GifPixelType))) == NULL)
{
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn);
#endif
return 1;
}
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)
{
free((void *)LineIn);
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn);
#endif
return 1;
}
DWORD * curr = p32;
@@ -2052,7 +2083,11 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
{
free((void *)p32);
free((void *)LineIn);
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn);
#endif
return 1;
}
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)
free((void *)LineIn);
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn);
#endif
return 1;
}
while (Extension != NULL) {
@@ -2094,7 +2133,11 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
}
if(LineIn != NULL)
free((void *)LineIn);
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn);
#endif
return 1;
}
}
@@ -2109,7 +2152,11 @@ int JRenderer::image_readgif(void * handle, TextureInfo &textureInfo, DWORD * bg
if(LineIn != NULL)
free((void *)LineIn);
#if GIFLIB_MAJOR >= 5
DGifCloseFile(GifFileIn, NULL);
#else
DGifCloseFile(GifFileIn);
#endif
return 0;
}

View File

@@ -22,6 +22,8 @@
JMusic::JMusic()
#ifdef USE_PHONON
: mOutput(0), mMediaObject(0)
#elif defined QT_CONFIG
: playlist(0), player(0)
#endif
{
}
@@ -40,11 +42,16 @@ int JMusic::getPlayTime(){
JMusic::~JMusic()
{
#ifdef USE_PHONON
#if defined USE_PHONON
if(mOutput)
delete mOutput;
if(mMediaObject)
delete mMediaObject;
#elif defined QT_CONFIG
if(player)
delete player;
if(playlist)
delete playlist;
#elif defined WITH_FMOD
JSoundSystem::GetInstance()->StopMusic(this);
if (mTrack) FSOUND_Sample_Free(mTrack);
@@ -69,7 +76,10 @@ JSample::JSample()
JSample::~JSample()
{
#ifdef USE_PHONON
#if (defined QT_CONFIG) && (!defined USE_PHONON)
if(effect)
delete effect;
#elif USE_PHONON
if(mOutput)
delete mOutput;
if(mMediaObject)
@@ -144,65 +154,84 @@ void JSoundSystem::DestroySoundSystem()
JMusic *JSoundSystem::LoadMusic(const char *fileName)
{
#ifdef USE_PHONON
JMusic* music = new JMusic();
if (music)
{
music->mOutput = new Phonon::AudioOutput(Phonon::GameCategory, 0);
music->mMediaObject = new Phonon::MediaObject(0);
string fullpath = JFileSystem::GetInstance()->GetResourceFile(fileName);
music->mMediaObject->setCurrentSource(QString(fullpath.c_str()));
Phonon::Path mediapath = Phonon::createPath(music->mMediaObject, music->mOutput);
Q_ASSERT(mediapath.isValid());
}
return music;
#elif (defined WITH_FMOD)
JMusic* music = new JMusic();
if (music)
JMusic* music = NULL;
#if (defined QT_CONFIG) && (!defined USE_PHONON)
music = new JMusic();
if (music)
{
JFileSystem* fileSystem = JFileSystem::GetInstance();
if (fileSystem->OpenFile(fileName))
{
int size = fileSystem->GetFileSize();
char *buffer = new char[size];
fileSystem->ReadFile(buffer, size);
music->mTrack = FSOUND_Sample_Load(FSOUND_UNMANAGED, buffer, FSOUND_LOADMEMORY, 0, size);
delete[] buffer;
fileSystem->CloseFile();
}
music->player = new QMediaPlayer;
music->player->setVolume(100);
music->playlist = new QMediaPlaylist;
music->fullpath = JFileSystem::GetInstance()->GetResourceFile(fileName);
music->playlist->addMedia(QUrl::fromLocalFile(music->fullpath.c_str()));
music->playlist->setCurrentIndex(0);
}
#elif defined USE_PHONON
music = new JMusic();
if (music)
{
music->mOutput = new Phonon::AudioOutput(Phonon::GameCategory, 0);
music->mMediaObject = new Phonon::MediaObject(0);
string fullpath = JFileSystem::GetInstance()->GetResourceFile(fileName);
music->mMediaObject->setCurrentSource(QString(fullpath.c_str()));
Phonon::Path mediapath = Phonon::createPath(music->mMediaObject, music->mOutput);
Q_ASSERT(mediapath.isValid());
}
#elif (defined WITH_FMOD)
music = new JMusic();
if (music)
{
JFileSystem* fileSystem = JFileSystem::GetInstance();
if (fileSystem->OpenFile(fileName))
{
int size = fileSystem->GetFileSize();
char *buffer = new char[size];
fileSystem->ReadFile(buffer, size);
music->mTrack = FSOUND_Sample_Load(FSOUND_UNMANAGED, buffer, FSOUND_LOADMEMORY, 0, size);
delete[] buffer;
fileSystem->CloseFile();
}
}
return music;
#else
cerr << fileName << endl;
return NULL;
#endif
return music;
}
void JSoundSystem::PlayMusic(JMusic *music, bool looping)
{
#ifdef USE_PHONON
if (music && music->mMediaObject && music->mOutput)
{
if(looping)
#if (defined QT_CONFIG) && (!defined USE_PHONON)
if(music && music->player && music->playlist)
{
music->mMediaObject->connect(music->mMediaObject, SIGNAL(aboutToFinish()), music, SLOT(seekAtTheBegining()));
if(looping)
music->playlist->setPlaybackMode(QMediaPlaylist::Loop);
music->player->setPlaylist(music->playlist);
music->player->play();
}
music->mOutput->setVolume((qreal)mVolume*0.01);
music->mMediaObject->play();
}
#elif (defined WITH_FMOD)
if (music && music->mTrack)
#elif USE_PHONON
if (music && music->mMediaObject && music->mOutput)
{
mChannel = FSOUND_PlaySound(mChannel, music->mTrack);
SetMusicVolume(mVolume);
if(looping)
{
music->mMediaObject->connect(music->mMediaObject, SIGNAL(aboutToFinish()), music, SLOT(seekAtTheBegining()));
}
music->mOutput->setVolume((qreal)mVolume*0.01);
music->mMediaObject->play();
if (looping)
FSOUND_SetLoopMode(mChannel, FSOUND_LOOP_NORMAL);
else
FSOUND_SetLoopMode(mChannel, FSOUND_LOOP_OFF);
}
#elif (defined WITH_FMOD)
if (music && music->mTrack)
{
mChannel = FSOUND_PlaySound(mChannel, music->mTrack);
SetMusicVolume(mVolume);
if (looping)
FSOUND_SetLoopMode(mChannel, FSOUND_LOOP_NORMAL);
else
FSOUND_SetLoopMode(mChannel, FSOUND_LOOP_OFF);
}
#else
music = 0;
@@ -213,7 +242,12 @@ void JSoundSystem::PlayMusic(JMusic *music, bool looping)
void JSoundSystem::StopMusic(JMusic *music)
{
#ifdef USE_PHONON
#if (defined QT_CONFIG) && (!defined USE_PHONON)
if (music && music->player && music->playlist)
{
music->player->stop();
}
#elif defined USE_PHONON
if (music && music->mMediaObject && music->mOutput)
{
music->mMediaObject->stop();
@@ -264,47 +298,61 @@ void JSoundSystem::SetSfxVolume(int volume){
JSample *JSoundSystem::LoadSample(const char *fileName)
{
#if (defined USE_PHONON)
JSample* sample = new JSample();
if (sample)
{
sample->mOutput = new Phonon::AudioOutput(Phonon::GameCategory, 0);
sample->mMediaObject = new Phonon::MediaObject(0);
string fullpath = JFileSystem::GetInstance()->GetResourceFile(fileName);
sample->mMediaObject->setCurrentSource(QString(fullpath.c_str()));
Phonon::Path mediapath = Phonon::createPath(sample->mMediaObject, sample->mOutput);
Q_ASSERT(mediapath.isValid());
}
return sample;
#elif (defined WITH_FMOD)
JSample* sample = new JSample();
if (sample)
JSample* sample = NULL;
#if (defined QT_CONFIG) && (!defined USE_PHONON)
sample = new JSample();
if (sample)
{
JFileSystem* fileSystem = JFileSystem::GetInstance();
if (fileSystem->OpenFile(fileName))
{
int size = fileSystem->GetFileSize();
char *buffer = new char[size];
fileSystem->ReadFile(buffer, size);
sample->mSample = FSOUND_Sample_Load(FSOUND_UNMANAGED, buffer, FSOUND_LOADMEMORY, 0, size);
string fullpath = JFileSystem::GetInstance()->GetResourceFile(fileName);
sample->effect = new QMediaPlayer;
sample->effect->setMedia(QUrl::fromLocalFile(fullpath.c_str()));
sample->effect->setVolume(100);
sample->mSample = &(sample->effect);
}
#elif (defined USE_PHONON)
sample = new JSample();
if (sample)
{
sample->mOutput = new Phonon::AudioOutput(Phonon::GameCategory, 0);
sample->mMediaObject = new Phonon::MediaObject(0);
string fullpath = JFileSystem::GetInstance()->GetResourceFile(fileName);
sample->mMediaObject->setCurrentSource(QString(fullpath.c_str()));
Phonon::Path mediapath = Phonon::createPath(sample->mMediaObject, sample->mOutput);
Q_ASSERT(mediapath.isValid());
}
#elif (defined WITH_FMOD)
sample = new JSample();
if (sample)
{
JFileSystem* fileSystem = JFileSystem::GetInstance();
if (fileSystem->OpenFile(fileName))
{
int size = fileSystem->GetFileSize();
char *buffer = new char[size];
fileSystem->ReadFile(buffer, size);
sample->mSample = FSOUND_Sample_Load(FSOUND_UNMANAGED, buffer, FSOUND_LOADMEMORY, 0, size);
delete[] buffer;
fileSystem->CloseFile();
}else
sample->mSample = NULL;
delete[] buffer;
fileSystem->CloseFile();
}else
sample->mSample = NULL;
}
return sample;
#else
cerr << fileName << endl;
return NULL;
#endif
return sample;
}
void JSoundSystem::PlaySample(JSample *sample)
{
#ifdef USE_PHONON
#if (defined QT_CONFIG) && (!defined USE_PHONON)
if(sample)
{
sample->effect->play();
}
#elif defined USE_PHONON
if (sample && sample->mMediaObject && sample->mOutput)
{
sample->mOutput->setVolume((qreal)mSampleVolume*0.01);

View File

@@ -7,6 +7,7 @@
#include <winsock.h>
#include <fcntl.h>
#elif LINUX
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
@@ -47,7 +48,9 @@ JSocket::JSocket(string ipAddr)
#ifdef WIN32
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
hostentptr = gethostbyname(ipAddr.c_str());
#endif

View File

@@ -87,13 +87,13 @@ static void init_keys(const char* passwd,unsigned long* pkeys,const unsigned lon
# define ZCR_SEED2 3141592654UL /* use PI as default pattern */
# endif
static int crypthead(passwd, buf, bufSize, pkeys, pcrc_32_tab, crcForCrypting)
const char *passwd; /* password string */
unsigned char *buf; /* where to write header */
int bufSize;
unsigned long* pkeys;
const unsigned long* pcrc_32_tab;
unsigned long crcForCrypting;
static int crypthead(
const char *passwd, /* password string */
unsigned char *buf, /* where to write header */
int bufSize,
unsigned long* pkeys,
const unsigned long* pcrc_32_tab,
unsigned long crcForCrypting)
{
int n; /* index in random header */
int t; /* temporary */

View File

@@ -65,10 +65,10 @@ int ZCALLBACK ferror_file_func OF((
voidpf stream));
voidpf ZCALLBACK fopen_file_func (opaque, filename, mode)
voidpf opaque;
const char* filename;
int mode;
voidpf ZCALLBACK fopen_file_func (
voidpf opaque,
const char* filename,
int mode)
{
FILE* file = NULL;
const char* mode_fopen = NULL;
@@ -87,11 +87,11 @@ voidpf ZCALLBACK fopen_file_func (opaque, filename, mode)
}
uLong ZCALLBACK fread_file_func (opaque, stream, buf, size)
voidpf opaque;
voidpf stream;
void* buf;
uLong size;
uLong ZCALLBACK fread_file_func (
voidpf opaque,
voidpf stream,
void* buf,
uLong size)
{
uLong ret;
ret = (uLong)fread(buf, 1, (size_t)size, (FILE *)stream);
@@ -99,31 +99,31 @@ uLong ZCALLBACK fread_file_func (opaque, stream, buf, size)
}
uLong ZCALLBACK fwrite_file_func (opaque, stream, buf, size)
voidpf opaque;
voidpf stream;
const void* buf;
uLong size;
uLong ZCALLBACK fwrite_file_func (
voidpf opaque,
voidpf stream,
const void* buf,
uLong size)
{
uLong ret;
ret = (uLong)fwrite(buf, 1, (size_t)size, (FILE *)stream);
return ret;
}
long ZCALLBACK ftell_file_func (opaque, stream)
voidpf opaque;
voidpf stream;
long ZCALLBACK ftell_file_func (
voidpf opaque,
voidpf stream)
{
long ret;
ret = ftell((FILE *)stream);
return ret;
}
long ZCALLBACK fseek_file_func (opaque, stream, offset, origin)
voidpf opaque;
voidpf stream;
uLong offset;
int origin;
long ZCALLBACK fseek_file_func (
voidpf opaque,
voidpf stream,
uLong offset,
int origin)
{
int fseek_origin=0;
long ret;
@@ -145,26 +145,26 @@ long ZCALLBACK fseek_file_func (opaque, stream, offset, origin)
return ret;
}
int ZCALLBACK fclose_file_func (opaque, stream)
voidpf opaque;
voidpf stream;
int ZCALLBACK fclose_file_func (
voidpf opaque,
voidpf stream)
{
int ret;
ret = fclose((FILE *)stream);
return ret;
}
int ZCALLBACK ferror_file_func (opaque, stream)
voidpf opaque;
voidpf stream;
int ZCALLBACK ferror_file_func (
voidpf opaque,
voidpf stream)
{
int ret;
ret = ferror((FILE *)stream);
return ret;
}
void fill_fopen_filefunc (pzlib_filefunc_def)
zlib_filefunc_def* pzlib_filefunc_def;
void fill_fopen_filefunc (
zlib_filefunc_def* pzlib_filefunc_def)
{
pzlib_filefunc_def->zopen_file = fopen_file_func;
pzlib_filefunc_def->zread_file = fread_file_func;

View File

@@ -168,10 +168,7 @@ local int unzlocal_getByte OF((
voidpf filestream,
int *pi));
local int unzlocal_getByte(pzlib_filefunc_def,filestream,pi)
const zlib_filefunc_def* pzlib_filefunc_def;
voidpf filestream;
int *pi;
local int unzlocal_getByte(const zlib_filefunc_def* pzlib_filefunc_def,voidpf filestream,int *pi)
{
unsigned char c;
int err = (int)ZREAD(*pzlib_filefunc_def,filestream,&c,1);
@@ -198,10 +195,7 @@ local int unzlocal_getShort OF((
voidpf filestream,
uLong *pX));
local int unzlocal_getShort (pzlib_filefunc_def,filestream,pX)
const zlib_filefunc_def* pzlib_filefunc_def;
voidpf filestream;
uLong *pX;
local int unzlocal_getShort (const zlib_filefunc_def* pzlib_filefunc_def,voidpf filestream,uLong *pX)
{
uLong x ;
int i;
@@ -226,10 +220,7 @@ local int unzlocal_getLong OF((
voidpf filestream,
uLong *pX));
local int unzlocal_getLong (pzlib_filefunc_def,filestream,pX)
const zlib_filefunc_def* pzlib_filefunc_def;
voidpf filestream;
uLong *pX;
local int unzlocal_getLong (const zlib_filefunc_def* pzlib_filefunc_def,voidpf filestream,uLong *pX)
{
uLong x ;
int i;
@@ -259,9 +250,7 @@ local int unzlocal_getLong (pzlib_filefunc_def,filestream,pX)
/* My own strcmpi / strcasecmp */
local int strcmpcasenosensitive_internal (fileName1,fileName2)
const char* fileName1;
const char* fileName2;
local int strcmpcasenosensitive_internal (const char* fileName1,const char* fileName2)
{
for (;;)
{
@@ -302,10 +291,7 @@ local int strcmpcasenosensitive_internal (fileName1,fileName2)
(like 1 on Unix, 2 on Windows)
*/
extern int ZEXPORT unzStringFileNameCompare (fileName1,fileName2,iCaseSensitivity)
const char* fileName1;
const char* fileName2;
int iCaseSensitivity;
extern int ZEXPORT unzStringFileNameCompare (const char* fileName1,const char* fileName2,int iCaseSensitivity)
{
if (iCaseSensitivity==0)
iCaseSensitivity=CASESENSITIVITYDEFAULTVALUE;
@@ -328,9 +314,7 @@ local uLong unzlocal_SearchCentralDir OF((
const zlib_filefunc_def* pzlib_filefunc_def,
voidpf filestream));
local uLong unzlocal_SearchCentralDir(pzlib_filefunc_def,filestream)
const zlib_filefunc_def* pzlib_filefunc_def;
voidpf filestream;
local uLong unzlocal_SearchCentralDir(const zlib_filefunc_def* pzlib_filefunc_def,voidpf filestream)
{
unsigned char* buf;
uLong uSizeFile;
@@ -394,9 +378,7 @@ local uLong unzlocal_SearchCentralDir(pzlib_filefunc_def,filestream)
Else, the return value is a unzFile Handle, usable with other function
of this unzip package.
*/
extern unzFile ZEXPORT unzOpen2 (path, pzlib_filefunc_def)
const char *path;
zlib_filefunc_def* pzlib_filefunc_def;
extern unzFile ZEXPORT unzOpen2 (const char *path, zlib_filefunc_def* pzlib_filefunc_def)
{
unz_s us;
unz_s *s;
@@ -497,8 +479,7 @@ extern unzFile ZEXPORT unzOpen2 (path, pzlib_filefunc_def)
}
extern unzFile ZEXPORT unzOpen (path)
const char *path;
extern unzFile ZEXPORT unzOpen (const char *path)
{
return unzOpen2(path, NULL);
}
@@ -508,8 +489,7 @@ extern unzFile ZEXPORT unzOpen (path)
If there is files inside the .Zip opened with unzipOpenCurrentFile (see later),
these files MUST be closed with unzipCloseCurrentFile before call unzipClose.
return UNZ_OK if there is no problem. */
extern int ZEXPORT unzClose (file)
unzFile file;
extern int ZEXPORT unzClose (unzFile file)
{
unz_s* s;
if (file==NULL)
@@ -529,9 +509,7 @@ extern int ZEXPORT unzClose (file)
Write info about the ZipFile in the *pglobal_info structure.
No preparation of the structure is needed
return UNZ_OK if there is no problem. */
extern int ZEXPORT unzGetGlobalInfo (file,pglobal_info)
unzFile file;
unz_global_info *pglobal_info;
extern int ZEXPORT unzGetGlobalInfo (unzFile file,unz_global_info *pglobal_info)
{
unz_s* s;
if (file==NULL)
@@ -545,9 +523,7 @@ extern int ZEXPORT unzGetGlobalInfo (file,pglobal_info)
/*
Translate date/time from Dos format to tm_unz (readable more easilty)
*/
local void unzlocal_DosDateToTmuDate (ulDosDate, ptm)
uLong ulDosDate;
tm_unz* ptm;
local void unzlocal_DosDateToTmuDate (uLong ulDosDate, tm_unz* ptm)
{
uLong uDate;
uDate = (uLong)(ulDosDate>>16);
@@ -574,21 +550,16 @@ local int unzlocal_GetCurrentFileInfoInternal OF((unzFile file,
char *szComment,
uLong commentBufferSize));
local int unzlocal_GetCurrentFileInfoInternal (file,
pfile_info,
pfile_info_internal,
szFileName, fileNameBufferSize,
extraField, extraFieldBufferSize,
szComment, commentBufferSize)
unzFile file;
unz_file_info *pfile_info;
unz_file_info_internal *pfile_info_internal;
char *szFileName;
uLong fileNameBufferSize;
void *extraField;
uLong extraFieldBufferSize;
char *szComment;
uLong commentBufferSize;
local int unzlocal_GetCurrentFileInfoInternal (
unzFile file,
unz_file_info *pfile_info,
unz_file_info_internal *pfile_info_internal,
char *szFileName,
uLong fileNameBufferSize,
void *extraField,
uLong extraFieldBufferSize,
char *szComment,
uLong commentBufferSize)
{
unz_s* s;
unz_file_info file_info;
@@ -746,19 +717,15 @@ local int unzlocal_GetCurrentFileInfoInternal (file,
No preparation of the structure is needed
return UNZ_OK if there is no problem.
*/
extern int ZEXPORT unzGetCurrentFileInfo (file,
pfile_info,
szFileName, fileNameBufferSize,
extraField, extraFieldBufferSize,
szComment, commentBufferSize)
unzFile file;
unz_file_info *pfile_info;
char *szFileName;
uLong fileNameBufferSize;
void *extraField;
uLong extraFieldBufferSize;
char *szComment;
uLong commentBufferSize;
extern int ZEXPORT unzGetCurrentFileInfo (
unzFile file,
unz_file_info *pfile_info,
char *szFileName,
uLong fileNameBufferSize,
void *extraField,
uLong extraFieldBufferSize,
char *szComment,
uLong commentBufferSize)
{
return unzlocal_GetCurrentFileInfoInternal(file,pfile_info,NULL,
szFileName,fileNameBufferSize,
@@ -770,8 +737,7 @@ extern int ZEXPORT unzGetCurrentFileInfo (file,
Set the current file of the zipfile to the first file.
return UNZ_OK if there is no problem
*/
extern int ZEXPORT unzGoToFirstFile (file)
unzFile file;
extern int ZEXPORT unzGoToFirstFile (unzFile file)
{
int err=UNZ_OK;
unz_s* s;
@@ -792,8 +758,7 @@ extern int ZEXPORT unzGoToFirstFile (file)
return UNZ_OK if there is no problem
return UNZ_END_OF_LIST_OF_FILE if the actual file was the latest.
*/
extern int ZEXPORT unzGoToNextFile (file)
unzFile file;
extern int ZEXPORT unzGoToNextFile (unzFile file)
{
unz_s* s;
int err;
@@ -826,10 +791,7 @@ extern int ZEXPORT unzGoToNextFile (file)
UNZ_OK if the file is found. It becomes the current file.
UNZ_END_OF_LIST_OF_FILE if the file is not found
*/
extern int ZEXPORT unzLocateFile (file, szFileName, iCaseSensitivity)
unzFile file;
const char *szFileName;
int iCaseSensitivity;
extern int ZEXPORT unzLocateFile (unzFile file, const char *szFileName, int iCaseSensitivity)
{
unz_s* s;
int err;
@@ -905,9 +867,7 @@ typedef struct unz_file_pos_s
} unz_file_pos;
*/
extern int ZEXPORT unzGetFilePos(file, file_pos)
unzFile file;
unz_file_pos* file_pos;
extern int ZEXPORT unzGetFilePos(unzFile file, unz_file_pos* file_pos)
{
unz_s* s;
@@ -923,9 +883,7 @@ extern int ZEXPORT unzGetFilePos(file, file_pos)
return UNZ_OK;
}
extern int ZEXPORT unzGoToFilePos(file, file_pos)
unzFile file;
unz_file_pos* file_pos;
extern int ZEXPORT unzGoToFilePos(unzFile file, unz_file_pos*file_pos)
{
unz_s* s;
int err;
@@ -959,13 +917,11 @@ extern int ZEXPORT unzGoToFilePos(file, file_pos)
store in *piSizeVar the size of extra info in local header
(filename and size of extra field data)
*/
local int unzlocal_CheckCurrentFileCoherencyHeader (s,piSizeVar,
poffset_local_extrafield,
psize_local_extrafield)
unz_s* s;
uInt* piSizeVar;
uLong *poffset_local_extrafield;
uInt *psize_local_extrafield;
local int unzlocal_CheckCurrentFileCoherencyHeader (
unz_s* s,
uInt* piSizeVar,
uLong *poffset_local_extrafield,
uInt *psize_local_extrafield)
{
uLong uMagic,uData,uFlags;
uLong size_filename;
@@ -1050,12 +1006,12 @@ local int unzlocal_CheckCurrentFileCoherencyHeader (s,piSizeVar,
Open for reading data the current file in the zipfile.
If there is no error and the file is opened, the return value is UNZ_OK.
*/
extern int ZEXPORT unzOpenCurrentFile3 (file, method, level, raw, password)
unzFile file;
int* method;
int* level;
int raw;
const char* password;
extern int ZEXPORT unzOpenCurrentFile3 (
unzFile file,
int* method,
int* level,
int raw,
const char* password)
{
int err=UNZ_OK;
uInt iSizeVar;
@@ -1136,7 +1092,7 @@ extern int ZEXPORT unzOpenCurrentFile3 (file, method, level, raw, password)
pfile_in_zip_read_info->stream.zalloc = (alloc_func)0;
pfile_in_zip_read_info->stream.zfree = (free_func)0;
pfile_in_zip_read_info->stream.opaque = (voidpf)0;
pfile_in_zip_read_info->stream.next_in = (voidpf)0;
pfile_in_zip_read_info->stream.next_in = (Bytef*)0;
pfile_in_zip_read_info->stream.avail_in = 0;
err=inflateInit2(&pfile_in_zip_read_info->stream, -MAX_WBITS);
@@ -1195,24 +1151,21 @@ extern int ZEXPORT unzOpenCurrentFile3 (file, method, level, raw, password)
return UNZ_OK;
}
extern int ZEXPORT unzOpenCurrentFile (file)
unzFile file;
extern int ZEXPORT unzOpenCurrentFile (unzFile file)
{
return unzOpenCurrentFile3(file, NULL, NULL, 0, NULL);
}
extern int ZEXPORT unzOpenCurrentFilePassword (file, password)
unzFile file;
const char* password;
extern int ZEXPORT unzOpenCurrentFilePassword (unzFile file, const char* password)
{
return unzOpenCurrentFile3(file, NULL, NULL, 0, password);
}
extern int ZEXPORT unzOpenCurrentFile2 (file,method,level,raw)
unzFile file;
int* method;
int* level;
int raw;
extern int ZEXPORT unzOpenCurrentFile2 (
unzFile file,
int* method,
int* level,
int raw)
{
return unzOpenCurrentFile3(file, method, level, raw, NULL);
}
@@ -1227,10 +1180,10 @@ extern int ZEXPORT unzOpenCurrentFile2 (file,method,level,raw)
return <0 with error code if there is an error
(UNZ_ERRNO for IO error, or zLib error for uncompress error)
*/
extern int ZEXPORT unzReadCurrentFile (file, buf, len)
unzFile file;
voidp buf;
unsigned len;
extern int ZEXPORT unzReadCurrentFile(
unzFile file,
voidp buf,
unsigned len)
{
int err=UNZ_OK;
uInt iRead = 0;
@@ -1388,8 +1341,7 @@ extern int ZEXPORT unzReadCurrentFile (file, buf, len)
/*
Give the current position in uncompressed data
*/
extern z_off_t ZEXPORT unztell (file)
unzFile file;
extern z_off_t ZEXPORT unztell (unzFile file)
{
unz_s* s;
file_in_zip_read_info_s* pfile_in_zip_read_info;
@@ -1408,8 +1360,7 @@ extern z_off_t ZEXPORT unztell (file)
/*
return 1 if the end of file was reached, 0 elsewhere
*/
extern int ZEXPORT unzeof (file)
unzFile file;
extern int ZEXPORT unzeof (unzFile file)
{
unz_s* s;
file_in_zip_read_info_s* pfile_in_zip_read_info;
@@ -1441,10 +1392,10 @@ extern int ZEXPORT unzeof (file)
the return value is the number of bytes copied in buf, or (if <0)
the error code
*/
extern int ZEXPORT unzGetLocalExtrafield (file,buf,len)
unzFile file;
voidp buf;
unsigned len;
extern int ZEXPORT unzGetLocalExtrafield (
unzFile file,
voidp buf,
unsigned len)
{
unz_s* s;
file_in_zip_read_info_s* pfile_in_zip_read_info;
@@ -1492,8 +1443,7 @@ extern int ZEXPORT unzGetLocalExtrafield (file,buf,len)
Close the file in zip opened with unzipOpenCurrentFile
Return UNZ_CRCERROR if all the file was read but the CRC is not good
*/
extern int ZEXPORT unzCloseCurrentFile (file)
unzFile file;
extern int ZEXPORT unzCloseCurrentFile (unzFile file)
{
int err=UNZ_OK;
@@ -1535,12 +1485,11 @@ extern int ZEXPORT unzCloseCurrentFile (file)
uSizeBuf is the size of the szComment buffer.
return the number of byte copied or an error code <0
*/
extern int ZEXPORT unzGetGlobalComment (file, szComment, uSizeBuf)
unzFile file;
char *szComment;
uLong uSizeBuf;
extern int ZEXPORT unzGetGlobalComment (
unzFile file,
char *szComment,
uLong uSizeBuf)
{
int err=UNZ_OK;
unz_s* s;
uLong uReadThis ;
if (file==NULL)
@@ -1567,8 +1516,7 @@ extern int ZEXPORT unzGetGlobalComment (file, szComment, uSizeBuf)
}
/* Additions by RX '2004 */
extern uLong ZEXPORT unzGetOffset (file)
unzFile file;
extern uLong ZEXPORT unzGetOffset (unzFile file)
{
unz_s* s;
@@ -1583,9 +1531,9 @@ extern uLong ZEXPORT unzGetOffset (file)
return s->pos_in_central_dir;
}
extern int ZEXPORT unzSetOffset (file, pos)
unzFile file;
uLong pos;
extern int ZEXPORT unzSetOffset (
unzFile file,
uLong pos)
{
unz_s* s;
int err;

View File

@@ -172,8 +172,7 @@ local linkedlist_datablock_internal* allocate_new_datablock()
return ldi;
}
local void free_datablock(ldi)
linkedlist_datablock_internal* ldi;
local void free_datablock(linkedlist_datablock_internal* ldi)
{
while (ldi!=NULL)
{
@@ -183,24 +182,24 @@ local void free_datablock(ldi)
}
}
local void init_linkedlist(ll)
linkedlist_data* ll;
local void init_linkedlist(
linkedlist_data* ll)
{
ll->first_block = ll->last_block = NULL;
}
local void free_linkedlist(ll)
linkedlist_data* ll;
local void free_linkedlist(
linkedlist_data* ll)
{
free_datablock(ll->first_block);
ll->first_block = ll->last_block = NULL;
}
local int add_data_in_datablock(ll,buf,len)
linkedlist_data* ll;
const void* buf;
uLong len;
local int add_data_in_datablock(
linkedlist_data* ll,
const void* buf,
uLong len)
{
linkedlist_datablock_internal* ldi;
const unsigned char* from_copy;
@@ -263,11 +262,11 @@ local int add_data_in_datablock(ll,buf,len)
local int ziplocal_putValue OF((const zlib_filefunc_def* pzlib_filefunc_def,
voidpf filestream, uLong x, int nbByte));
local int ziplocal_putValue (pzlib_filefunc_def, filestream, x, nbByte)
const zlib_filefunc_def* pzlib_filefunc_def;
voidpf filestream;
uLong x;
int nbByte;
local int ziplocal_putValue (
const zlib_filefunc_def* pzlib_filefunc_def,
voidpf filestream,
uLong x,
int nbByte)
{
unsigned char buf[4];
int n;
@@ -291,10 +290,10 @@ local int ziplocal_putValue (pzlib_filefunc_def, filestream, x, nbByte)
}
local void ziplocal_putValue_inmemory OF((void* dest, uLong x, int nbByte));
local void ziplocal_putValue_inmemory (dest, x, nbByte)
void* dest;
uLong x;
int nbByte;
local void ziplocal_putValue_inmemory (
void* dest,
uLong x,
int nbByte)
{
unsigned char* buf=(unsigned char*)dest;
int n;
@@ -315,9 +314,9 @@ local void ziplocal_putValue_inmemory (dest, x, nbByte)
/****************************************************************************/
local uLong ziplocal_TmzDateToDosDate(ptm,dosDate)
const tm_zip* ptm;
uLong dosDate;
local uLong ziplocal_TmzDateToDosDate(
const tm_zip* ptm,
uLong dosDate)
{
uLong year = (uLong)ptm->tm_year;
if (year>1980)
@@ -337,10 +336,10 @@ local int ziplocal_getByte OF((
voidpf filestream,
int *pi));
local int ziplocal_getByte(pzlib_filefunc_def,filestream,pi)
const zlib_filefunc_def* pzlib_filefunc_def;
voidpf filestream;
int *pi;
local int ziplocal_getByte(
const zlib_filefunc_def* pzlib_filefunc_def,
voidpf filestream,
int *pi)
{
unsigned char c;
int err = (int)ZREAD(*pzlib_filefunc_def,filestream,&c,1);
@@ -367,10 +366,10 @@ local int ziplocal_getShort OF((
voidpf filestream,
uLong *pX));
local int ziplocal_getShort (pzlib_filefunc_def,filestream,pX)
const zlib_filefunc_def* pzlib_filefunc_def;
voidpf filestream;
uLong *pX;
local int ziplocal_getShort (
const zlib_filefunc_def* pzlib_filefunc_def,
voidpf filestream,
uLong *pX)
{
uLong x ;
int i;
@@ -395,10 +394,10 @@ local int ziplocal_getLong OF((
voidpf filestream,
uLong *pX));
local int ziplocal_getLong (pzlib_filefunc_def,filestream,pX)
const zlib_filefunc_def* pzlib_filefunc_def;
voidpf filestream;
uLong *pX;
local int ziplocal_getLong (
const zlib_filefunc_def* pzlib_filefunc_def,
voidpf filestream,
uLong *pX)
{
uLong x ;
int i;
@@ -437,9 +436,9 @@ local uLong ziplocal_SearchCentralDir OF((
const zlib_filefunc_def* pzlib_filefunc_def,
voidpf filestream));
local uLong ziplocal_SearchCentralDir(pzlib_filefunc_def,filestream)
const zlib_filefunc_def* pzlib_filefunc_def;
voidpf filestream;
local uLong ziplocal_SearchCentralDir(
const zlib_filefunc_def* pzlib_filefunc_def,
voidpf filestream)
{
unsigned char* buf;
uLong uSizeFile;
@@ -496,11 +495,11 @@ local uLong ziplocal_SearchCentralDir(pzlib_filefunc_def,filestream)
#endif /* !NO_ADDFILEINEXISTINGZIP*/
/************************************************************/
extern zipFile ZEXPORT zipOpen2 (pathname, append, globalcomment, pzlib_filefunc_def)
const char *pathname;
int append;
zipcharpc* globalcomment;
zlib_filefunc_def* pzlib_filefunc_def;
extern zipFile ZEXPORT zipOpen2 (
const char *pathname,
int append,
zipcharpc* globalcomment,
zlib_filefunc_def* pzlib_filefunc_def)
{
zip_internal ziinit;
zip_internal* zi;
@@ -615,7 +614,7 @@ extern zipFile ZEXPORT zipOpen2 (pathname, append, globalcomment, pzlib_filefunc
if (size_comment>0)
{
ziinit.globalcomment = ALLOC(size_comment+1);
ziinit.globalcomment = (char*)ALLOC(size_comment+1);
if (ziinit.globalcomment)
{
size_comment = ZREAD(ziinit.z_filefunc, ziinit.filestream,ziinit.globalcomment,size_comment);
@@ -680,35 +679,30 @@ extern zipFile ZEXPORT zipOpen2 (pathname, append, globalcomment, pzlib_filefunc
}
}
extern zipFile ZEXPORT zipOpen (pathname, append)
const char *pathname;
int append;
extern zipFile ZEXPORT zipOpen (
const char *pathname,
int append)
{
return zipOpen2(pathname,append,NULL,NULL);
}
extern int ZEXPORT zipOpenNewFileInZip3 (file, filename, zipfi,
extrafield_local, size_extrafield_local,
extrafield_global, size_extrafield_global,
comment, method, level, raw,
windowBits, memLevel, strategy,
password, crcForCrypting)
zipFile file;
const char* filename;
const zip_fileinfo* zipfi;
const void* extrafield_local;
uInt size_extrafield_local;
const void* extrafield_global;
uInt size_extrafield_global;
const char* comment;
int method;
int level;
int raw;
int windowBits;
int memLevel;
int strategy;
const char* password;
uLong crcForCrypting;
extern int ZEXPORT zipOpenNewFileInZip3 (
zipFile file,
const char* filename,
const zip_fileinfo* zipfi,
const void* extrafield_local,
uInt size_extrafield_local,
const void* extrafield_global,
uInt size_extrafield_global,
const char* comment,
int method,
int level,
int raw,
int windowBits,
int memLevel,
int strategy,
const char* password,
uLong crcForCrypting)
{
zip_internal* zi;
uInt size_filename;
@@ -896,21 +890,18 @@ extern int ZEXPORT zipOpenNewFileInZip3 (file, filename, zipfi,
return err;
}
extern int ZEXPORT zipOpenNewFileInZip2(file, filename, zipfi,
extrafield_local, size_extrafield_local,
extrafield_global, size_extrafield_global,
comment, method, level, raw)
zipFile file;
const char* filename;
const zip_fileinfo* zipfi;
const void* extrafield_local;
uInt size_extrafield_local;
const void* extrafield_global;
uInt size_extrafield_global;
const char* comment;
int method;
int level;
int raw;
extern int ZEXPORT zipOpenNewFileInZip2(
zipFile file,
const char* filename,
const zip_fileinfo* zipfi,
const void* extrafield_local,
uInt size_extrafield_local,
const void* extrafield_global,
uInt size_extrafield_global,
const char* comment,
int method,
int level,
int raw)
{
return zipOpenNewFileInZip3 (file, filename, zipfi,
extrafield_local, size_extrafield_local,
@@ -920,20 +911,17 @@ extern int ZEXPORT zipOpenNewFileInZip2(file, filename, zipfi,
NULL, 0);
}
extern int ZEXPORT zipOpenNewFileInZip (file, filename, zipfi,
extrafield_local, size_extrafield_local,
extrafield_global, size_extrafield_global,
comment, method, level)
zipFile file;
const char* filename;
const zip_fileinfo* zipfi;
const void* extrafield_local;
uInt size_extrafield_local;
const void* extrafield_global;
uInt size_extrafield_global;
const char* comment;
int method;
int level;
extern int ZEXPORT zipOpenNewFileInZip (
zipFile file,
const char* filename,
const zip_fileinfo* zipfi,
const void* extrafield_local,
uInt size_extrafield_local,
const void* extrafield_global,
uInt size_extrafield_global,
const char* comment,
int method,
int level)
{
return zipOpenNewFileInZip2 (file, filename, zipfi,
extrafield_local, size_extrafield_local,
@@ -941,8 +929,8 @@ extern int ZEXPORT zipOpenNewFileInZip (file, filename, zipfi,
comment, method, level, 0);
}
local int zipFlushWriteBuffer(zi)
zip_internal* zi;
local int zipFlushWriteBuffer(
zip_internal* zi)
{
int err=ZIP_OK;
@@ -963,10 +951,10 @@ local int zipFlushWriteBuffer(zi)
return err;
}
extern int ZEXPORT zipWriteInFileInZip (file, buf, len)
zipFile file;
const void* buf;
unsigned len;
extern int ZEXPORT zipWriteInFileInZip (
zipFile file,
const void* buf,
unsigned len)
{
zip_internal* zi;
int err=ZIP_OK;
@@ -978,9 +966,9 @@ extern int ZEXPORT zipWriteInFileInZip (file, buf, len)
if (zi->in_opened_file_inzip == 0)
return ZIP_PARAMERROR;
zi->ci.stream.next_in = (void*)buf;
zi->ci.stream.next_in = (Bytef*)buf;
zi->ci.stream.avail_in = len;
zi->ci.crc32 = crc32(zi->ci.crc32,buf,len);
zi->ci.crc32 = crc32(zi->ci.crc32,(const Bytef*)buf,len);
while ((err==ZIP_OK) && (zi->ci.stream.avail_in>0))
{
@@ -1028,10 +1016,10 @@ extern int ZEXPORT zipWriteInFileInZip (file, buf, len)
return err;
}
extern int ZEXPORT zipCloseFileInZipRaw (file, uncompressed_size, crc32)
zipFile file;
uLong uncompressed_size;
uLong crc32;
extern int ZEXPORT zipCloseFileInZipRaw (
zipFile file,
uLong uncompressed_size,
uLong crc32)
{
zip_internal* zi;
uLong compressed_size;
@@ -1124,15 +1112,15 @@ extern int ZEXPORT zipCloseFileInZipRaw (file, uncompressed_size, crc32)
return err;
}
extern int ZEXPORT zipCloseFileInZip (file)
zipFile file;
extern int ZEXPORT zipCloseFileInZip (
zipFile file)
{
return zipCloseFileInZipRaw (file,0,0);
}
extern int ZEXPORT zipClose (file, global_comment)
zipFile file;
const char* global_comment;
extern int ZEXPORT zipClose (
zipFile file,
const char* global_comment)
{
zip_internal* zi;
int err = 0;

View File

@@ -42,7 +42,6 @@ filesystem * filesystem::pCurrentFS = NULL;
std::vector<filesystem::pooledBuffer *> filesystem::m_Buffers;
static const int STORED = 0;
static const int DEFLATED = 8;
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
@@ -632,8 +631,8 @@ streamoff filesystem::CentralDirZipped(std::istream & File, std::streamoff begin
std::streamoff eof = begin + size;
// Look for the "end of central dir" header. Start minimum 22 bytes before end.
if (! File.seekg(eof - 22, ios::beg))
return -1;
if (! File.seekg(eof - 22, ios::beg))
return -1;
streamoff EndPos;
streamoff StartPos = File.tellg();

View File

@@ -258,8 +258,8 @@ inline void izfstream::open(const char * FilePath, filesystem * pFS) {
if (pFS)
m_pFS = pFS;
if (m_pFS != NULL)
m_pFS->Open(* this, FilePath);
if (m_pFS != NULL)
m_pFS->Open(* this, FilePath);
}
inline void izfstream::close() {

View File

@@ -76,8 +76,8 @@ bool zbuffer::use(std::streamoff Offset, std::streamoff Size)
return false;
//Don't use a buffer already used;
if (m_Used)
return false;
if (m_Used)
return false;
// adjust file position
if (! m_ZipFile.seekg(Offset, ios::beg))

View File

@@ -1,21 +1,45 @@
#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)
[![Coverage Status](https://coveralls.io/repos/WagicProject/wagic/badge.png?branch=master)](https://coveralls.io/r/WagicProject/wagic?branch=master)
## Description
Wagic, the Homebrew, is a C++ game engine that allows to play card games against an AI on
**Wagic, the Homebrew** is a C++ game engine that allows to play card games against an AI on:
- Android (phones and tablets)
- iOS (iPhone/iPad)
- Sony PSP
- Windows desktops
- MacOS
- Linux and derivated like Maemo or Meego
- Linux and derivatives like Maemo or Meego
It is highly customizable and allows the player to tweak the rules / create their own cards, their own themes, etc...
It is highly customizable and allows the player to tweak the rules, create their own cards, their own themes, etc...
#### [Download from GitHub Releases!](https://github.com/WagicProject/wagic/releases)
![Screenshot of shop from wololo.net](docs/img/shop.jpg)
Info, downloads, discussions and more at http://wololo.net/forum/index.php
### Documentation
-![alt text](http://wololo.net/wagic/wp-content/uploads/2009/10/shop.jpg "Screenshot")
Info, downloads, discussions and more at http://wololo.net/forum/index.php (archived as of 16 Nov 2022).
Chat with the community on the [**Wagic - MTG Game** Discord](https://discord.com/invite/JHK5pVaK5p) (Feb 2023).
Developer information from the [Wagic Wiki](https://github.com/WagicProject/wagic/wiki) is also included in the [wagic/docs/](docs) folder.
### Sample round play-through video
[![Wagic, The Homebrew sample playthrough](docs/img/Wagic%2C%20The%20Homebrew%20sample%20playthrough.jpg)](http://www.youtube.com/watch?v=WUFSAPZuDIk)
*Wagic, The Homebrew sample playthrough on YouTube by Rolz73, 6 Feb 2014*
## Sister projects
- [WagicSyntaxPlugin
](https://github.com/Vitty85/WagicSyntaxPlugin), a Wagic developer tool by Vitty85 for [Notepad++](https://notepad-plus-plus.org/downloads/)
- [Forge](https://www.slightlymagic.net/forum/viewforum.php?f=26), a Java-based game engine similar to Wagic ([Source](https://github.com/Card-Forge/forge/))
- [XMage](http://xmage.today/), a Java-based online multiplayer digital CCG ([Source](https://github.com/magefree/mage))

76
appveyor.yml Normal file
View File

@@ -0,0 +1,76 @@
# Notes:
# - Minimal appveyor.yml file is an empty file. All sections are optional.
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
# - Section names should be unique on each level.
# branches to build
branches:
# blacklist
except:
- travis_mac_osx
# Do not build on tags (GitHub only)
skip_tags: true
#---------------------------------#
# environment configuration #
#---------------------------------#
environment:
GH_TOKEN:
secure: dYnBDQkiY5oVjIlswzBX9BJigNtBGXgGlp1tK3XbHzrDEDrs2vaKD5m+Oz5OSz1C
# scripts that run after cloning repository
install:
- powershell -Command "& {(new-object net.webclient).DownloadFile('https://bootstrap.pypa.io/get-pip.py', '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 github3.py"
#---------------------------------#
# build configuration #
#---------------------------------#
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
build:
project: projects/mtg/mtg_vs2010.sln # path to Visual Studio solution or project
#---------------------------------#
# tests configuration #
#---------------------------------#
# to disable automatic tests
test: off
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
# pushing windows package
- path: projects\mtg\bin\Wagic-windows*.zip
#---------------------------------#
# deployment configuration #
#---------------------------------#
# scripts to run before deployment
before_deploy:
- cd projects/mtg/bin
- "C:/Python27/python.exe createWindowsZip.py"
- cd ../../..
# scripts to run after deployment
after_deploy:
# to run your custom scripts instead of provider deployments
deploy_script:
- "C:/Python27/python.exe tools/upload-binaries.py -t %GH_TOKEN% -s %APPVEYOR_REPO_COMMIT% -l projects/mtg/bin/Wagic-windows.zip -r Wagic-windows.zip -b %APPVEYOR_REPO_BRANCH%"
# to disable deployment
#deploy: off

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
docs/img/shop.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

1
docs/wiki Submodule

Submodule docs/wiki added at 0244ca1874

View File

@@ -1,3 +1,4 @@
/gen
/bin
/libs

View File

@@ -1,18 +1,28 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="0192" android:versionName="@string/app_version" package="net.wagic.app">
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application android:debuggable="true" android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
<activity android:configChanges="keyboard|keyboardHidden|orientation" 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>
<activity android:configChanges="keyboard|keyboardHidden|orientation" android:name="com.google.ads.AdActivity" android:screenOrientation="sensorLandscape"/>
</application>
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10"/>
</manifest>
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="0240"
android:installLocation="preferExternal"
android:versionName="@string/app_version"
package="net.wagic.app">
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
<activity android:debuggable="false"
android:configChanges="keyboard|keyboardHidden|orientation"
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>

View File

@@ -8,4 +8,4 @@
# project structure.
# Project target.
target=android-10
target=android-23

View File

@@ -11,9 +11,8 @@ SDL_PATH := $(JGE_PATH)/Dependencies/SDL
BOOST_PATH := $(MY_WAGIC_ROOT)/Boost
JPEG_PATH := $(JGE_PATH)/Dependencies/libjpeg
PNG_PATH := $(JGE_PATH)/Dependencies/libpng
DEBUG ?= DEBUG
LOCAL_CFLAGS += -DLINUX -DANDROID -DSDL_CONFIG -D_$(DEBUG)
LOCAL_CFLAGS += -DLINUX -DANDROID -DSDL_CONFIG -DNETWORK_SUPPORT
LOCAL_CFLAGS += -D_STLP_USE_SIMPLE_NODE_ALLOC -DTIXML_USE_STL
LOCAL_CFLAGS += -D__arm__ -D_REENTRANT -D_GLIBCXX__PTHREADS
LOCAL_STATIC_LIBRARIES := libpng libjpeg
@@ -57,7 +56,6 @@ LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.cpp \
$(MTG_PATH)/src/DeckMetaData.cpp \
$(MTG_PATH)/src/DeckStats.cpp \
$(MTG_PATH)/src/DuelLayers.cpp \
$(MTG_PATH)/src/Effects.cpp \
$(MTG_PATH)/src/ExtraCost.cpp \
$(MTG_PATH)/src/GameApp.cpp \
$(MTG_PATH)/src/GameLauncher.cpp \
@@ -135,6 +133,7 @@ LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.cpp \
$(MTG_PATH)/src/WFilter.cpp \
$(MTG_PATH)/src/WFont.cpp \
$(MTG_PATH)/src/WGui.cpp \
$(MTG_PATH)/src/WParsedInt.cpp \
$(MTG_PATH)/src/WResourceManager.cpp \
$(MTG_PATH)/src/DeckView.cpp \
$(MTG_PATH)/src/CarouselDeckView.cpp \

View File

@@ -1,7 +1,11 @@
APP_PROJECT_PATH := $(call my-dir)/..
APP_CPPFLAGS += -frtti -fexceptions
APP_ABI := armeabi armeabi-v7a
APP_STL := gnustl_static
APP_ABI := arm64-v8a
APP_PLATFORM := android-21
APP_CFLAGS += -march=armv8.1-a
APP_CPPFLAGS += -D__ARM_FEATURE_LSE=1
#APP_ABI := x86 # mainly for emulators
APP_STL := c++_static
APP_MODULES := libpng libjpeg main SDL
#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.

View File

@@ -11,4 +11,4 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@@ -4,6 +4,7 @@
android:id="@+id/mainLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:keepScreenOn="true"
>
<TextView
android:layout_width="fill_parent"

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Wagic</string>
<string name="app_version">0.19.2</string>
<string name="info_text">Wagic v0.19.2\\nAll Rights Reserved.</string>
<string name="app_version">0.20.0</string>
<string name="info_text">All Rights Reserved.</string>
</resources>

View File

@@ -0,0 +1,279 @@
package net.wagic.utils;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.File;
import java.io.IOException;
import java.util.Scanner;
import android.util.Log;
public class DeckImporter
{
public static String importDeck( File f, String mypath, String activePath )
{
String message = "";
String deck = "";
String deckname = "";
String prefix = "";
int cardcount = 0;
if(f.exists() && !f.isDirectory())
{
deckname = f.getName();
int pos = deckname.lastIndexOf(".");
if (pos > 0)
{
deckname = deckname.substring(0, pos);
}
deck += "#NAME:"+deckname+"\n";
try
{
Scanner scanner = new Scanner(new File(mypath));
if (scanner.hasNext())
{
while (scanner.hasNext())
{
String line = scanner.nextLine();
line = line.trim();
if (line.equals("")) {
line = scanner.nextLine();
prefix = "#SB:"; // Sideboard started from next card.
if (line.equals("")) {
line = scanner.nextLine(); // Sometimes there are 2 blank lines from main deck and sideboard.
}
}
if (!line.equals("")) // don't write out blank lines
{
String[] slines = line.split("\\s+");
String arranged = "";
for (int idx = 1; idx < slines.length; idx++)
{
arranged += slines[idx] + " ";
}
if ((isNumeric(slines[0])) && arranged != null)
{
if (slines[1] != null && slines[1].startsWith("["))
{
arranged = arranged.substring(5);
slines[1] = slines[1].replaceAll("\\[", "").replaceAll("\\]", "");
deck += prefix + arranged + " (" + renameSet(slines[1]) + ") * " + slines[0] + "\n";
} else
{
deck += prefix + arranged + "(*) * " + slines[0] + "\n";
}
cardcount += Integer.parseInt(slines[0]);
}
}
}
File profile = new File(activePath + "/User/settings/options.txt");
String profileName = "Default";
if (profile.exists() && !profile.isDirectory())
profileName = getActiveProfile(profile);
File rootDecks = null;
if (!profileName.equalsIgnoreCase("Default"))
rootDecks = new File(activePath + "/User/profiles/" + profileName);
else
rootDecks = new File(activePath + "/User/player/");
if (rootDecks.exists() && rootDecks.isDirectory())
{
//save deck
int countdeck = 1;
File[] files = rootDecks.listFiles();
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 (!toSave.exists())
{
toSave.createNewFile();
}
// get the content in bytes
byte[] contentInBytes = deck.getBytes();
fop.write(contentInBytes);
fop.flush();
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)
{
message = e.getMessage();
}
} else
{
message = "Problem opening decks folder: " + rootDecks.getAbsolutePath();
}
} else
{
message = "No errors, and file EMPTY";
}
} catch (IOException e)
{
message = e.getMessage();
}
}
return message;
}
private static boolean isNumeric(String input)
{
try
{
Integer.parseInt(input);
}
catch(NumberFormatException ex)
{
return false;
}
return true;
}
private static String getActiveProfile(File mypath)
{
String name = "";
try
{
Scanner scanner = new Scanner(new File(mypath.toString()));
if (scanner.hasNext())
{
String line = scanner.nextLine();
name = line.substring(8);
}
else
{
return "Default";
}
}
catch(IOException e)
{
return "Default";
}
return name;
}
private static String renameSet(String set)
{
if (set == "")
return "*";
if (set == "AL")
return "ALL";
if (set == "AQ")
return "ATQ";
if (set == "AP")
return "APC";
if (set == "AN")
return "ARN";
if (set == "AE")
return "ARC";
if (set == "BR")
return "BRB";
if (set == "BD")
return "BTD";
if (set == "CH")
return "CHR";
if (set == "6E")
return "6ED";
if (set == "CS")
return "CSP";
if (set == "DS")
return "DST";
if (set == "D2")
return "DD2";
if (set == "8E")
return "8ED";
if (set == "EX")
return "EXO";
if (set == "FE")
return "FEM";
if (set == "FD")
return "5DN";
if (set == "5E")
return "5ED";
if (set == "4E")
return "4ED";
if (set == "GP")
return "GPT";
if (set == "HL")
return "HML";
if (set == "IA")
return "ICE";
if (set == "IN")
return "INV";
if (set == "JU")
return "JUD";
if (set == "LG")
return "LEG";
if (set == "LE")
return "LGN";
if (set == "A")
return "LEA";
if (set == "B")
return "LEB";
if (set == "MM")
return "MMQ";
if (set == "MI")
return "MIR";
if (set == "MR")
return "MRD";
if (set == "NE")
return "NEM";
if (set == "9E")
return "9ED";
if (set == "OD")
return "ODY";
if (set == "ON")
return "ONS";
if (set == "PS")
return "PLS";
if (set == "PT")
return "POR";
if (set == "P2")
return "P02";
if (set == "P3")
return "PTK";
if (set == "PR")
return "PPR";
if (set == "PY")
return "PCY";
if (set == "R")
return "RV";
if (set == "SC")
return "SCG";
if (set == "7E")
return "7ED";
if (set == "ST")
return "S99";
if (set == "ST2K")
return "S00";
if (set == "SH")
return "STH";
if (set == "TE")
return "TMP";
if (set == "DK")
return "DRK";
if (set == "TO")
return "TOR";
if (set == "UG")
return "UGL";
if (set == "U")
return "2ED";
if (set == "UD")
return "UDS";
if (set == "UL")
return "ULG";
if (set == "US")
return "USG";
if (set == "VI")
return "VIS";
if (set == "WL")
return "WTH";
else
return set;
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -5,11 +5,16 @@ import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Scanner;
import java.util.HashSet;
import java.util.Set;
import android.os.Build;
import android.os.Environment;
import android.util.Log;
public class StorageOptions
{
private static final String TAG = StorageOptions.class.getCanonicalName();
private static ArrayList<String> mMounts = new ArrayList<String>();
private static ArrayList<String> mVold = new ArrayList<String>();
@@ -18,13 +23,29 @@ public class StorageOptions
public static int count = 0;
public static String defaultMountPoint;
public static void determineStorageOptions()
public static void determineStorageOptions(android.content.Context mContext)
{
initializeMountPoints();
if (findForcemount()){
readMountsFileTest();
}
readMountsFile();
readVoldFile();
if (findForcemount()){
removeDuplicates(mMounts);
}
compareMountsWithVold();
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();
}
@@ -40,6 +61,42 @@ public class StorageOptions
}
}
private static void readMountsFileTest()
{
/*
* Test mountpoints storage -kevlahnota
*/
try
{
Scanner scanner = new Scanner(new File("/proc/mounts"));
while (scanner.hasNext())
{
String line = scanner.nextLine();
if (line.startsWith("/"))
{
String[] lineElements = line.split("\\s+");
if ("vfat".equals(lineElements[2]) || "fuse".equals(lineElements[2]) || "sdcardfs".equals(lineElements[2]))
{
File mountPoint = new File(lineElements[1]);
if (!lineElements[1].equals(defaultMountPoint))
if (mountPoint.isDirectory() && mountPoint.canRead())
mMounts.add(lineElements[1]);
}
}
}
} catch (FileNotFoundException fnfex)
{
// if proc/mount doesn't exist we just use
Log.i(TAG, fnfex.getMessage() + ": assuming " + defaultMountPoint + " is the only mount point");
mMounts.add(defaultMountPoint);
} catch (Exception e)
{
Log.e(TAG, e.getMessage() + ": unknown exception while reading mounts file");
mMounts.add(defaultMountPoint);
}
}
private static void readMountsFile()
{
/*
@@ -65,11 +122,11 @@ public class StorageOptions
} catch (FileNotFoundException fnfex)
{
// 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);
} 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);
}
}
@@ -98,28 +155,48 @@ public class StorageOptions
} catch (FileNotFoundException fnfex)
{
// 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);
} 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);
}
}
private static ArrayList<String> removeDuplicates(ArrayList<String> list)
{
ArrayList<String> result = new ArrayList<String>();
HashSet<String> set = new HashSet<String>();
for (String item : list)
{
if (!set.contains(item))
{
result.add(item);
set.add(item);
}
}
return result;
}
private static void compareMountsWithVold()
{
/*
* Sometimes the two lists of mount points will be different. We only want those mount points that are in both list.
*
*
* 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);
if (!mVold.contains(mount))
mMounts.remove(i--);
for (int i = 0; i < mMounts.size(); 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
@@ -132,18 +209,60 @@ public class StorageOptions
/*
* Now that we have a cleaned list of mount paths Test each one to make sure it's a valid and available path. If it is not, remove it from the list.
*/
int t = 0;
for (int i = 0; i < mMounts.size(); i++)
{
t++;
String mount = mMounts.get(i);
File root = new File(mount);
if (!root.exists() || !root.isDirectory() || !root.canWrite())
mMounts.remove(i--);
}
if (t == 0 && Build.VERSION.SDK_INT >= 16 && findForcemount())
{
//if none is found lets force it for Jellybean and above...
if (System.getenv("EXTERNAL_STORAGE") != null)
{
File root = new File(System.getenv("EXTERNAL_STORAGE"));
if (root.exists() && root.isDirectory() && root.canWrite())
{
if(!isRooted())
{
File folder = new File(System.getenv("EXTERNAL_STORAGE")+"/Android/data/net.wagic.app/files");
folder.mkdirs();
mMounts.add(folder.toString());
}
else
{
mMounts.add(System.getenv("EXTERNAL_STORAGE"));
}
}
}
if (System.getenv("SECONDARY_STORAGE") != null)
{
File root = new File(System.getenv("SECONDARY_STORAGE"));
if (root.exists() && root.isDirectory() && root.canWrite())
{
if(!isRooted())
{
File folder = new File(System.getenv("SECONDARY_STORAGE")+"/Android/data/net.wagic.app/files");
folder.mkdirs();
mMounts.add(folder.toString());
}
else
{
mMounts.add(System.getenv("SECONDARY_STORAGE"));
}
}
}
}
}
private static void setProperties()
{
Log.d(TAG, "setProperties()");
/*
* At this point all the paths in the list should be valid. Build the public properties.
*/
@@ -151,14 +270,29 @@ public class StorageOptions
ArrayList<String> mLabels = new ArrayList<String>();
int i = 1;
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))
mLabels.add("Built-in Storage");
else
mLabels.add("External SD Card " + i++);
if(findForcemount()){
for (String path : mMounts)
{//with forcemount menu
if ("/mnt/sdcard".equalsIgnoreCase(path) || "/storage/sdcard0".equalsIgnoreCase(path))
mLabels.add("Internal SD " + "[" + path + "/]");
else if (path.contains("emulated"))
mLabels.add("Emulated SD " + " [" + path + "/]");
else
mLabels.add("External SD " + " [" + path + "/]");
}
}
else
{
for (String path : mMounts)
{
// TODO: /mnt/sdcard and emulated are assumed to always mean internal storage. Use this comparison until there is a better way to do this
if ("/mnt/sdcard".equalsIgnoreCase(path) || path.contains("emulated"))
mLabels.add("Built-in Storage " + "[" + path + "/]");
else
mLabels.add("External SD Card " + "[" + path + "/]");
}
}
labels = new String[mLabels.size()];
mLabels.toArray(labels);
@@ -171,4 +305,119 @@ public class StorageOptions
// use and to prepare it for the next time it's needed.
mMounts.clear();
}
}
private static boolean isExternalStorageReadOnly() {
String extStorageState = Environment.getExternalStorageState();
if (Environment.MEDIA_MOUNTED_READ_ONLY.equals(extStorageState)) {
return true;
}
return false;
}
private static boolean isExternalStorageAvailable() {
String extStorageState = Environment.getExternalStorageState();
if (Environment.MEDIA_MOUNTED.equals(extStorageState)) {
return true;
}
return false;
}
/**
* Checks if the device is rooted.
*
* @return <code>true</code> if the device is rooted, <code>false</code> otherwise.
*/
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()
{
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;
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleGetInfoString</key>
<string>Created by Qt/QMake</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleExecutable</key>
<string>wagic.launcher</string>
<key>CFBundleIdentifier</key>
<string>wagic.wagic</string>
<key>NOTE</key>
<string>This file was generated by Qt/QMake.</string>
</dict>
</plist>

Binary file not shown.

View File

@@ -0,0 +1,5 @@
#!/bin/bash
cd ${0%/*/*}/Resources
#cd ../Resources
exec ../MacOS/wagic -platformpluginpath ../PlugIns >> ../logs/out.log 2> ../logs/err.log

View File

@@ -6,7 +6,7 @@ OBJS = objs/InteractiveButton.o objs/AbilityParser.o objs/ActionElement.o\
objs/Counters.o objs/Credits.o objs/Damage.o objs/DamagerDamaged.o\
objs/DeckDataWrapper.o objs/DeckEditorMenu.o objs/DeckMenu.o\
objs/DeckMenuItem.o objs/DeckMetaData.o objs/DeckStats.o objs/DuelLayers.o\
objs/Effects.o objs/ExtraCost.o objs/GameApp.o objs/GameLauncher.o\
objs/ExtraCost.o objs/GameApp.o objs/GameLauncher.o\
objs/GameObserver.o objs/GameOptions.o objs/GameState.o\
objs/GameStateAwards.o objs/GameStateDeckViewer.o objs/GameStateDuel.o\
objs/DeckManager.o objs/GameStateMenu.o objs/GameStateOptions.o\
@@ -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/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/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))
RESULT = $(shell psp-config --psp-prefix 2> Makefile.cache)
@@ -59,7 +59,6 @@ endif
ifeq ($(TARGET_ARCHITECTURE),psp)
DEFAULT_RULE = 3xx
TARGET_ARCHITECTURE = psp
PSP_FW_VERSION=371
BUILD_PRX = 1
SIGN_PRX = 1
@@ -69,24 +68,42 @@ EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Wagic, the Homebrew?!
PSP_EBOOT_ICON = icon.png
#PSP_EBOOT_ICON1 = icon1.pmf
PSP_LARGE_MEMORY = 1
PSP_EBOOT_UNKPNG = pic0.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
LIBDIR = ../../JGE/lib/psp
CFLAGS = -O2 -G0 -DPSPFW3XX -DDEVHOOK -DUSE_PRECOMPILED_HEADERS=1 -DPSP -DTIXML_USE_STL
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
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
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)
all: $(DEFAULT_RULE)
endif
endif
CFLAGS := -Wall -W -Werror -Wno-unused $(CFLAGS)
CFLAGS := -Wall -W -Werror -Wno-unused -Wno-deprecated-declarations $(CFLAGS)
CXXFLAGS += $(CFLAGS)
# -fno-exceptions
@@ -110,8 +127,6 @@ debug: all
else
$(TARGET): Makefile.$(TARGET_ARCHITECTURE) $(OBJS) ../../JGE/lib/linux/libjge.a
$(CXX) -o $(TARGET) $(OBJS) $(LIBS) $(LIBDIR)
@@ -128,7 +143,7 @@ clean:
endif
define compile
$(CXX) -c $(CXXFLAGS) $< -o $@
$(CXX) -c $(CXXFLAGS) $< -o $@
endef
PrecompiledHeader.h.gch: ../../projects/mtg/include/PrecompiledHeader.h

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

@@ -1,76 +1,18 @@
#NAME:Nightmare
#DESC:I had a terrible Nightmare once
#DESC:and then a second
#DESC:and a third
#DESC:and then I won.
#2x Obsianus Golem
1129
1129
#2x animate dead
1143
1143
#2x Bad Moon
1144
1144
#2x Bog Wraith
1146
1146
#1x Cursed Land
1148
#1x Fear
1161
#2x El-Hajjâj
1158
1158
#2x Hypnotic Specter
1165
1165
#4x Nightmare
1170
1170
1170
1170
#3x Scathe Zombie
1177
1177
1177
#1x Unholy Strength
1183
#1x Wall of Bone
1184
#1x Zombie Master
1188
#2x Air Elemental
1189
1189
#2x Lifetap
1205
1205
#2x Lord of Atlantis
1206
1206
#2x Mahamoti Djinn
1208
1208
#4x Merfolk of the Pearl Trident
1210
1210
1210
1210
# Swamp (RV)
1373
1373
1373
1373
1374
1374
1374
1374
1375
1375
1375
1375
# Island (RV)
#DESC:'All evil is as a nightmare'
#DESC:Thomas Carlyle
#DESC:
#DESC:Win matches to unlock more
#DESC:opponents, sets and game modes
Air Elemental (RV) (*) * 2
Animate Dead (RV) (*) * 2
Bad Moon (RV) (*) * 2
Bog Wraith (RV) (*) * 2
Cursed Land (RV) (*) * 1
El-Hajjaj (RV) (*) * 2
Fear (RV) (*) * 1
Hypnotic Specter (RV) (*) * 2
# RV Islands
1392
1392
1392
@@ -83,3 +25,26 @@
1394
1394
1394
Lifetap (RV) (*) * 2
Lord of Atlantis (RV) (*) * 2
Mahamoti Djinn (RV) (*) * 2
Merfolk of the Pearl Trident (RV) (*) * 4
Nightmare (RV) (*) * 4
Obsianus Golem (RV) (*) * 2
Scathe Zombies (RV) (*) * 3
# RV Islands
1373
1373
1373
1373
1374
1374
1374
1374
1375
1375
1375
1375
Unholy Strength (RV)(*) * 1
Wall of Bone (RV) (*) * 1
Zombie Master (RV) (*) * 1

View File

@@ -1,81 +1,24 @@
#NAME:Howlings
#DESC:Supported by elemental rage
#DESC:goblins descend from the mountains
#DESC:to conquer the lands below.
# (PSY) added 2 Mountains, 1 Black Vise, 1 Howling Mine
# (would've been better to add creatures, but all creatures in the
# deck were already at 4 pieces))
#Spark Elemental
129577
129577
129577
129577
#Raging Goblin
129688
129688
129688
129688
#Goblin Piker
129580
129580
129580
129580
#Goblin King
129578
129578
129578
129578
#Goblin Striker
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
#DESC:'What the howling deep down
#DESC:there conceals, no blessed
#DESC:living soul can tell'
#DESC:Friedrich Schiller
#DESC:
#DESC:Win matches to unlock more
#DESC:opponents, sets and game modes
Black Vise (MPS) * 4
Goblin King (8ED) * 4
Goblin Mountaineer (9ED) * 4
Goblin Piker (9ED) * 4
Goblin Striker (MRD) * 4
Hearthfire Hobgoblin (EVE) * 4
Howling Mine (8ED) * 3
Lightning Bolt (M10) * 4
Mountain (10E) * 4
Mountain (7ED) * 4
Mountain (8ED) * 4
Mountain (9ED) * 4
Mountain (M10) * 4
Raging Goblin (8ED) * 4
Spark Elemental (5DN) * 4
Wheel of Fortune (VMA) * 1

View File

@@ -1,19 +1,19 @@
#NAME:Herdsmen
Aurochs (ICE) *4
Brushwagg (MIR) *2
Birds of Paradise (7ED) *4
Snorting Gahr (MRQ) *1
Aggressive Urge (INV) *4
Blanchwood Armor (8ED) *4
Bull Aurochs (CSP) *4
Boreal Druid (CSP) *4
Aurochs Herd (CSP) *4
Timbermaw Larva (ZEN) *4
Bramble Creeper (M10) *2
Awakening Zone (ROE) *4
Beastmaster Ascension (ZEN) *4
Forest (M11) *4
Forest (SOM) *4
Forest (SOM) *4
Forest (SOM) *4
Forest (SOM) *4
#NAME:Herdsmen
Aurochs (ICE) *4
Brushwagg (MIR) *2
Birds of Paradise (7ED) *4
Snorting Gahr (MRQ) *1
Aggressive Urge (INV) *4
Blanchwood Armor (8ED) *4
Bull Aurochs (CSP) *4
Boreal Druid (CSP) *4
Aurochs Herd (CSP) *4
Timbermaw Larva (ZEN) *4
Bramble Creeper (M10) *2
Awakening Zone (ROE) *4
Beastmaster Ascension (ZEN) *4
Forest (M11) *4
Forest (SOM) *4
Forest (SOM) *4
Forest (SOM) *4
Forest (SOM) *4

View File

@@ -1,26 +1,84 @@
#NAME:The KOR
#DESC:The Kor never stand down.Golem-Skin Gauntlets (MRD) *1
Plains (8ED) *4
Plains (8ED) *4
Bonesplitter (MRD) *2
Vulshok Battlegear (MRD) *1
Plains (MRD) *4
Plains (MRD) *4
Plains (MRD) *4
Cranial Plating (5DN) *2
Skyhunter Skirmisher (5DN) *2
Paradise Mantle (5DN) *2
Shuko (BOK) *2
Umezawa's Jitte (BOK) *2
Kor Duelist (ZEN) *2
Spidersilk Net (ZEN) *1
Bone Saw (CFX) *2
Armament Master (ZEN) *3
Lone Missionary (ROE) *2
Pennon Blade (ROE) *1
Kor Line-Slinger (ROE) *2
Kitesail Apprentice (WWK) *2
Stoneforge Mystic (WWK) *2
Accorder's Shield (SOM) *2
Swords to Plowshares (EVT) *2
Kor Hookmaster (EVT) *2
#NAME:Tergrid Commander
#DESC:The Tergrid Commander Deck
#DESC:Refined for Wagic by Bob
#HINT:castpriority(commander,*)
Ancient Tomb (EXP) *1
Animate Dead (VMA) *1
Arcane Signet (AFC) *1
Archon of Cruelty (MH2) *1
Barren Moor (C19) *1
Blackblade Reforged (SS2) *1
Bojuka Bog (C19) *1
Braids, Cabal Minion (EMA) *1
Butcher of Malakir *1
Charcoal Diamond *1
Command Beacon (PZ1) *1
Commander's Sphere (C19) *1
Corrupt *1
Crypt Ghast (GTC) *1
Damnation (MM3) *1
Dreadhorde Invasion (WAR) *1
Elvish Doomsayer *1
Fell Specter *1
Geier Reach Sanitarium (C19) *1
Gilded Lotus *1
Grave Pact (CMD) *1
Gray Merchant of Asphodel *1
Hedron Archive (C19) *1
Hymn to Tourach *1
Hypnotic Specter *1
Korlash, Heir to Blackblade *1
Leaden Myr *1
Lightning Greaves (AFC) *1
Liliana of the Dark Realms *1
Liliana, Dreadhorde General (WAR) *1
Liliana's Triumph (WAR) *1
Lotus Petal (MB1) *1
Megrim *1
Memory Jar (FVR) *1
Mind Stone (AFC) *1
Mortuary Mire *1
Mox Jet *1
Necrogen Mists (MRD) *1
Night's Whisper (EMA) *1
No Mercy (MP2) *1
Oppression (7ED) *1
Painful Quandary *1
Palladium Myr (MB1) *1
Phyrexian Arena (TD0) *1
Phyrexian Obliterator *1
Plaguecrafter (C19) *1
Pox (ME1) *1
Ravenous Chupacabra (MB1) *1
Reliquary Tower (M13) *1
Sangromancer (MBS) *1
Shadowspear (THB) *1
Sheoldred, Whispering One *1
Smallpox (M12) *1
Sol Ring (C19) *1
Solemn Simulacrum (TSR) *1
Soul Shatter (ZNR) *1
Steel Hellkite (C17) *1
Strip Mine (EXP) *1
Swamp (2XM) *4
Swamp (OTJ) *4
Swamp (MKM) *4
Swamp (WOE) *4
Swamp (LCI) *4
Swamp (DSK) *4
Swamp (BLB) *3
Sword of Feast and Famine (MPS) *1
Syr Konrad, the Grim *1
Temple of the False God *1
The Eldest Reborn *1
Thought Vessel (MB1) *1
Thoughtseize (2XM) *1
Thran Dynamo (C19) *1
Tinybones, Trinket Thief (JMP) *1
Tourach, Dread Cantor (MH2) *1
Urborg, Tomb of Yawgmoth (TSR) *1
Whip of Erebos (THS) *1
Witch of the Moors (JMP) *1
Witch's Cottage (ELD) *1
Worn Powerstone (PZ1) *1
#CMD:Tergrid, God of Fright (KHM) *1

View File

@@ -1,37 +1,37 @@
#NAME:Smoke and mirrors
Order of the Ebon Hand (FEM) *2
Combat Medic (FEM) *1
Combat Medic (FEM) *1
Combat Medic (FEM) *1
Sanctum Custodian (USG) *2
False Prophet (UDS) *1
Revered Elder (MRQ) *1
Hallowed Healer (ODY) *1
Beloved Chaplain (ODY) *2
Ancestor's Chosen (JUD) *1
Battlefield Medic (ONS) *1
Rotlung Reanimator (ONS) *4
Doubtless One (ONS) *2
Glowrider (LGN) *2
Aven Redeemer (LGN) *1
Edgewalker (SCG) *2
Vile Deacon (LGN) *2
Master Healer (8ED) *1
Auriok Champion (5DN) *2
Swamp (UNH) *3
Master Healer (9ED) *1
Godless Shrine (GPT) *3
Disciple of Tevesh Szat (CSP) *2
Blightspeaker (PLC) *2
True Believer (10E) *1
Soul Warden (10E) *1
Icatian Priest (10E) *1
Platinum Angel (10E) *1
Soul's Attendant (ROE) *1
Plains (ZEN) *3
Plains (ZEN) *2
Plains (ZEN) *2
Plains (ZEN) *3
Swamp (ZEN) *3
Swamp (ZEN) *3
Shepherd of Rot (HOP) *2
#NAME:Smoke & Mirrors
Order of the Ebon Hand (FEM) *2
Combat Medic (FEM) *1
Combat Medic (FEM) *1
Combat Medic (FEM) *1
Sanctum Custodian (USG) *2
False Prophet (UDS) *1
Revered Elder (MRQ) *1
Hallowed Healer (ODY) *1
Beloved Chaplain (ODY) *2
Ancestor's Chosen (JUD) *1
Battlefield Medic (ONS) *1
Rotlung Reanimator (ONS) *4
Doubtless One (ONS) *2
Glowrider (LGN) *2
Aven Redeemer (LGN) *1
Edgewalker (SCG) *2
Vile Deacon (LGN) *2
Master Healer (8ED) *1
Auriok Champion (5DN) *2
Swamp (UNH) *3
Master Healer (9ED) *1
Godless Shrine (GPT) *3
Disciple of Tevesh Szat (CSP) *2
Blightspeaker (PLC) *2
True Believer (10E) *1
Soul Warden (10E) *1
Icatian Priest (10E) *1
Platinum Angel (10E) *1
Soul's Attendant (ROE) *1
Plains (ZEN) *3
Plains (ZEN) *2
Plains (ZEN) *2
Plains (ZEN) *3
Swamp (ZEN) *3
Swamp (ZEN) *3
Shepherd of Rot (HOP) *2

View File

@@ -1,23 +1,29 @@
#NAME:Kill by Numbers
#DESC:They just keep multiplying.
Mox Emerald (LEA) *2
Mox Pearl (LEA) *2
Forest (LEA) *15
Plains (LEA) *8
Marble Diamond (MIR) *2
Blazing Archon (*) *2
Serra's Sanctum (USG) *1
Gaea's Cradle (USG) *2
Rofellos, Llanowar Emissary (UDS) *2
Beacon of Creation (5DN) *2
Honden of Life's Web (CHK) *2
Kabira Vindicator (*) *2
Rhys the Redeemed (SHM) *2
Fable of Wolf and Owl (EVE) *2
Murkfiend Liege (EVE) *2
Creakwood Liege (EVE) *2
Spawnwrithe (SHM) *2
Awakening Zone (ROE) *3
Kazandu Tuskcaller (ROE) *2
Conqueror's Pledge (ZEN) *2
Bestial Menace (WWK) *2
#NAME:Kazandu the Redeemed
#DESC:They just keep multiplying.
#HINT:castpriority(enchantment,instant,sorcery,artifact,creature)
#HINT:dontattackwith(Rhys the Redeemed)
#HINT:dontblockwith(Rhys the Redeemed)
#HINT:dontattackwith(Kazandu Tuskcaller)
#HINT:dontblockwith(Kazandu Tuskcaller)
Mox Emerald (LEA) *2
Mox Pearl (LEA) *2
Forest (LEA) *15
Plains (LEA) *8
Marble Diamond (MIR) *2
Blazing Archon (*) *2
Serra's Sanctum (USG) *1
Gaea's Cradle (USG) *2
Rofellos, Llanowar Emissary (UDS) *2
Beacon of Creation (5DN) *2
Honden of Life's Web (CHK) *2
Kabira Vindicator (*) *2
Rhys the Redeemed (SHM) *2
Fable of Wolf and Owl (EVE) *2
Murkfiend Liege (EVE) *2
Creakwood Liege (EVE) *2
Spawnwrithe (SHM) *2
Awakening Zone (ROE) *3
Kazandu Tuskcaller (ROE) *2
Conqueror's Pledge (ZEN) *2
Bestial Menace (WWK) *2

View File

@@ -1,28 +1,28 @@
#NAME:Infected wounds
Forest (UGL) *4
Forest (ALA) *1
Forest (ALA) *1
Forest (M10) *1
Forest (M10) *1
Necropede (SOM) *2
Contagious Nim (SOM) *2
Blight Mamba (SOM) *2
Ichor Rats (SOM) *2
Ichorclaw Myr (SOM) *4
Blackcleave Goblin (SOM) *2
Corpse Cur (SOM) *2
Forest (ZEN) *4
Forest (ZEN) *3
Forest (ZEN) *4
Forest (ZEN) *2
Swamp (HOP) *3
Cystbearer (SOM) *2
Tel-Jilad Fallen (SOM) *2
Swamp (ROE) *4
Swamp (ROE) *3
Swamp (ROE) *4
Putrefax (SOM) *2
Plague Stinger (SOM) *2
Relic Putrescence (SOM) *2
Skithiryx, the Blight Dragon (SOM) *2
Hand of the Praetors (SOM) *2
#NAME:Infected Wounds
Forest (UGL) *4
Forest (ALA) *1
Forest (ALA) *1
Forest (M10) *1
Forest (M10) *1
Necropede (SOM) *2
Contagious Nim (SOM) *2
Blight Mamba (SOM) *2
Ichor Rats (SOM) *2
Ichorclaw Myr (SOM) *4
Blackcleave Goblin (SOM) *2
Corpse Cur (SOM) *2
Forest (ZEN) *4
Forest (ZEN) *3
Forest (ZEN) *4
Forest (ZEN) *2
Swamp (HOP) *3
Cystbearer (SOM) *2
Tel-Jilad Fallen (SOM) *2
Swamp (ROE) *4
Swamp (ROE) *3
Swamp (ROE) *4
Putrefax (SOM) *2
Plague Stinger (SOM) *2
Relic Putrescence (SOM) *2
Skithiryx, the Blight Dragon (SOM) *2
Hand of the Praetors (SOM) *2

View File

@@ -1,18 +1,18 @@
#NAME:Painful Dream
Traumatize (ODY) *2
Island (UNH) *4
Followed Footsteps (RAV) *4
Howling Mine (10E) *4
Dreamborn Muse (10E) *4
Forced Fruition (LRW) *4
Memory Erosion (ALA) *4
Hedron Crab (ZEN) *4
Font of Mythos (CFX) *4
Tome Scour (M10) *4
Island (ZEN) *4
Island (ZEN) *4
Island (ZEN) *4
Island (ZEN) *4
Platinum Angel (M11) *1
Sword of Body and Mind (SOM) *2
Seat of the Synod (EVT) *4
#NAME:Painful Dream
Traumatize (ODY) *2
Island (UNH) *4
Followed Footsteps (RAV) *4
Howling Mine (10E) *4
Dreamborn Muse (10E) *4
Forced Fruition (LRW) *4
Memory Erosion (ALA) *4
Hedron Crab (ZEN) *4
Font of Mythos (CFX) *4
Tome Scour (M10) *4
Island (ZEN) *4
Island (ZEN) *4
Island (ZEN) *4
Island (ZEN) *4
Platinum Angel (M11) *1
Sword of Body and Mind (SOM) *2
Seat of the Synod (EVT) *4

View File

@@ -1,4 +1,4 @@
#NAME:Red Deck Wins
#NAME:Hellrider
#DESC:Standard R Aggro
#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})
@@ -23,4 +23,4 @@ Searing Spear * 4
Krenko's Command * 4
#20 lands
Mountain (RTR) * 20
Mountain (RTR) * 20

View File

@@ -1,79 +1,24 @@
#NAME:Alliance
#DESC:In the castle of Bant,
#DESC:the call to battle
#DESC:echoes the prayer of Asha.
#DESC:Prepare to face Bant's light!
#4x unsummon
1229
1229
1229
1229
#4x Elvish Archer {1}{G}, 2/1 first strike
1242
1242
1242
1242
#4x Scryb Sprites, Faerie, {G}, 1/1 flying
1264
1264
1264
1264
#4x Savannah Lion, {W},2/1
1365
1365
1365
1365
#4x Sword to plowshares {W}
1367
1367
1367
1367
#4x Tundra Wolves {W} - 1/1, first strike
129604
129604
129604
129604
#4x Waveskimmer Aven - Creature Bird Soldier - {2}{G}{W}{U} - 2/4 Flying Exalted
174955
174955
174955
174955
#4x Rhox War monk - Creature {G}{W}{U} - 3/4 Lifelink
174957
174957
174957
174957
#4x Deft duelist - Creature {W}{U} - 2/1 First Strike,Shroud
175121
175121
175121
175121
#4x Steward of Valeron - Creature — Human Druid Knight - {W}{G} - 2/2 {T}:add {G}
175134
175134
175134
175134
#7x plains 10E
129683
129683
129683
129683
129683
129683
129683
#7x Forest 10E
129562
129562
129562
129562
129562
129562
129562
#6x Island 10E
129609
129609
129609
129609
129609
129609
#DESC:Order, honor and community
#DESC:are preserved by the
#DESC:noble warriors and the
#DESC:towering castles of Bant
#DESC:
#DESC:Win matches to unlock more
#DESC:opponents, sets and game modes
Deft Duelist (ALA) * 4
Elvish Archers (RV) * 4
Forest (10E) * 4
Forest (ALA) * 3
Island (10E) * 3
Island (ALA) * 3
Plains (10E) * 4
Plains (ALA) * 3
Rhox War Monk (ALA) * 4
Savannah Lions (RV) * 4
Scryb Sprites (RV) * 4
Steward of Valeron (ALA) * 4
Swords to Plowshares (RV) * 4
Tundra Wolves (10E) * 4
Unsummon (RV) * 4
Waveskimmer Aven (ALA) * 4

View File

@@ -1,7 +1,6 @@
#NAME:Etched Affinity
#DESC:Modern URB Aggro
#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})
#25 creatures

View File

@@ -1,79 +1,26 @@
#Plain black deck
#NAME:Terror
#DESC:They groaned, they stirred,
#DESC:'They groaned, they stirred,
#DESC:they all uprose,
#DESC:Nor spake, nor moved their eyes;
#DESC:It had been strange,
#DESC:even in a dream,
#DESC:To have seen those dead men rise
#4x Hypnotic Specter
129600
129600
129600
129600
#4x Terror
135199
135199
135199
135199
#4x Bad moon
1144
1144
1144
1144
#4x Severed Legion
129693
129693
129693
129693
#4x Unholy Strength
129780
129780
129780
129780
#4x Black Vise
1097
1097
1097
1097
#4x Black Knight
1145
1145
1145
1145
#4x Bog Wraith
129491
129491
129491
129491
#4x Will-o'-the-Wisp
1187
1187
1187
1187
#4x Zombie Master
1188
1188
1188
1188
#20 x Swamp
1373
1373
1373
1373
1373
1373
1373
1373
1373
1373
1373
1373
1373
1373
1373
1373
1373
1373
1373
1373
#DESC:To have seen those dead men rise'
#DESC:Samuel Taylor Coleridge
#DESC:
#DESC:Win matches to unlock more
#DESC:opponents, sets and game modes
Bad Moon (RV) * 4
Black Knight (RV) * 4
Black Vise (RV) * 4
Bog Wraith (10E) * 4
Hypnotic Specter (10E) * 4
Severed Legion (10E) * 4
Swamp (10E) * 4
Swamp (4ED) * 4
Swamp (9ED) * 4
Swamp (M10) * 4
Swamp (RV) * 4
Terror (10E) * 4
Unholy Strength (10E) * 4
Will-o'-the-Wisp (RV) * 4
Zombie Master (RV) * 4

View File

@@ -1,40 +1,81 @@
#NAME:Sweep The Tomb
#DESC:Modern RBW Control
#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(Pyroclasm|myhand)^cast(Pyroclasm|myhand)^restriction{type(creature[toughness<=2]|opponentbattlefield)~morethan~1}~totalmananeeded({1}{R})
#HINT:combo hold(Wrath of God|myhand)^cast(Wrath of God|myhand)^restriction{type(creature|opponentbattlefield)~morethan~1}^totalmananeeded({2}{W}{W})
#HINT:combo hold(Damnation|myhand)^cast(Damnation|myhand)^restriction{type(creature|opponentbattlefield)~morethan~1}^totalmananeeded({2}{B}{B})
#HINT:combo hold(Final Judgment|myhand)^cast(Final Judgment|myhand)^restriction{type(creature|opponentbattlefield)~morethan~1}^totalmananeeded({4}{W}{W})
#22 spells
#8 2-cc
Devour Flesh * 4
Pyroclasm (M11) * 4
#8 4-cc
Damnation * 4
Wrath of God (10E) * 4
#2 6-cc
Final Judgment * 2
#4 x-cc
Black Sun's Zenith * 2
Rakdos's Return * 2
#8 artifacts
Elixir of Immortality * 2
Staff of Nin * 4
Venser's Journal * 2
#4 enchantments
Lightmine Field * 4
#26 lands
Plateau (ME4) * 4
Badlands (ME4) * 4
Scrubland (ME4) * 4
Akoum Refuge * 4
Isolated Chapel * 4
Clifftop Retreat * 2
Urborg, Tomb of Yawgmoth * 1
Plains (CHK) * 2
Swamp (RTR) * 1
#NAME:Belbe Commander
#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

View File

@@ -1,109 +1,109 @@
#NAME:Synthetic
#DESC:Selesnya Guild
########################################
# Creatures #
########################################
#1 x Giant Adephage (GTC), {5}{g}{g}, Creature Insect, 7/7, trample;
366394
#2 x Rubblebelt Raiders (GTC), {1}{r/g}{r/g}{r/g}, Creature Human Warrior, 3/3,
366462
366462
#4 x Voice of Resurgence (DGM), {g}{w}, Creature Elemental, 2/2,
368951
368951
368951
368951
#4 x Trostani's Summoner (DGM), {5}{g}{w}, Creature Elf Shaman, 1/1,
369072
369072
369072
369072
#4 x Armada Wurm (RTR), {2}{g}{g}{w}{w}, Creature Wurm, 5/5, trample;
999009
999009
999009
999009
#2 x Precinct Captain (RTR), {w}{w}, Creature Human Soldier, 2/2, first strike;
999171
999171
#4 x Wayfaring Temple (RTR), {1}{g}{w}, Creature Elemental, 0/0,
999260
999260
999260
999260
#1 x Worldspine Wurm (RTR), {8}{g}{g}{g}, Creature Wurm, 15/15, trample;
999262
########################################
# Spells #
########################################
#4 x Advent of the Wurm (DGM), {1}{g}{g}{w}, Instant,
369036
369036
369036
369036
#2 x Selesnya Cluestone (DGM), {3}, Artifact,
369060
369060
#2 x Chromatic Lantern (RTR), {3}, Artifact,
999039
999039
#4 x Growing Ranks (RTR), {2}{g/w}{g/w}, Enchantment,
999106
999106
999106
999106
########################################
# Lands #
########################################
#4 x Forest (GVL), Basic Land Forest,
204967
204967
204967
204967
#4 x Selesnya Guildgate (DGM), Land Gate,
369018
369018
369018
369018
#4 x Forest (RTR), Basic Land Forest,
999086
999086
999086
999086
#4 x Plains (RTR), Basic Land Plains,
999168
999168
999168
999168
#2 x Temple Garden (RTR), Land Forest Plains,
999238
999238
#4 x Plains (RTR), Basic Land Plains,
999265
999265
999265
999265
#NAME:Synthetic
#DESC:Selesnya Guild
########################################
# Creatures #
########################################
#1 x Giant Adephage (GTC), {5}{g}{g}, Creature Insect, 7/7, trample;
366394
#2 x Rubblebelt Raiders (GTC), {1}{r/g}{r/g}{r/g}, Creature Human Warrior, 3/3,
366462
366462
#4 x Voice of Resurgence (DGM), {g}{w}, Creature Elemental, 2/2,
368951
368951
368951
368951
#4 x Trostani's Summoner (DGM), {5}{g}{w}, Creature Elf Shaman, 1/1,
369072
369072
369072
369072
#4 x Armada Wurm (RTR), {2}{g}{g}{w}{w}, Creature Wurm, 5/5, trample;
253587
253587
253587
253587
#2 x Precinct Captain (RTR), {w}{w}, Creature Human Soldier, 2/2, first strike;
270792
270792
#4 x Wayfaring Temple (RTR), {1}{g}{w}, Creature Elemental, 0/0,
253539
253539
253539
253539
#1 x Worldspine Wurm (RTR), {8}{g}{g}{g}, Creature Wurm, 15/15, trample;
253575
########################################
# Spells #
########################################
#4 x Advent of the Wurm (DGM), {1}{g}{g}{w}, Instant,
369036
369036
369036
369036
#2 x Selesnya Cluestone (DGM), {3}, Artifact,
369060
369060
#2 x Chromatic Lantern (RTR), {3}, Artifact,
290542
290542
#4 x Growing Ranks (RTR), {2}{g/w}{g/w}, Enchantment,
270957
270957
270957
270957
########################################
# Lands #
########################################
#4 x Forest (GVL), Basic Land Forest,
204967
204967
204967
204967
#4 x Selesnya Guildgate (DGM), Land Gate,
369018
369018
369018
369018
#4 x Forest (RTR), Basic Land Forest,
289326
289326
289326
289326
#4 x Plains (RTR), Basic Land Plains,
289310
289310
289310
289310
#2 x Temple Garden (RTR), Land Forest Plains,
253681
253681
#4 x Plains (RTR), Basic Land Plains,
289309
289309
289309
289309

View File

@@ -1,79 +1,24 @@
#NAME:Jungle
#DESC:Creatures of the mountains,
#DESC:forests, and plains,
#DESC:are ready to take their revenge.
# (PSY) added 1x Tundra Wolves, 1x Scryb Sprites, 1x Forest, 1x Mountain, to bring card count to 60
#Spark Elemental
129577
129577
129577
129577
#Tundra Wolves
129604
129604
129604
129604
#Watchwolf
83625
83625
83625
83625
#Wooly Thoctar
175062
175062
175062
175062
#Scryb Sprites
1264
1264
1264
1264
#Lightning Bolt
1303
1303
1303
1303
#Kird Ape
1302
1302
1302
1302
#Savannah Lions
1365
1365
1365
1365
#Swords to Plowshares
1367
1367
1367
1367
#Forest6
1388
1388
1388
1388
1388
1388
#Plains9
1397
1397
1397
1397
1397
1397
1397
1397
1397
#Mountain9
1390
1390
1390
1390
1390
1390
1390
1390
1390
#DESC:In the heart of the jungle
#DESC:there are wild beasts
#DESC:both cunning and fierce
#DESC:
#DESC:Win matches to unlock more
#DESC:opponents, sets and game modes
Forest (10E) * 2
Forest (RV) * 4
Kird Ape (RV) * 4
Lightning Bolt (RV) * 4
Mountain (10E) * 4
Mountain (RAV) * 1
Mountain (RV) * 4
Plains (10E) * 4
Plains (RAV) * 1
Plains (RV) * 4
Savannah Lions (RV) * 4
Scryb Sprites (RV) * 4
Spark Elemental (10E) * 4
Swords to Plowshares (RV) * 4
Tundra Wolves (10E) * 4
Watchwolf (RAV) * 4
Woolly Thoctar (ALA) * 4

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