Commit Graph

663 Commits

Author SHA1 Message Date
guzhenjie1@gmail.com
3152f69088 Corrected a typo in Llawan, Cephalid Empress. 2011-05-24 14:16:02 +00:00
guzhenjie1@gmail.com
a863b68a30 Corrected Golem-Skin Gauntlets. 2011-05-23 11:02:55 +00:00
guzhenjie1@gmail.com
c399262f30 Corrected following cards:
AEther Membrane
Abomination
Basalt Golem
Cockatrice
Contempt
Deathgazer
Defiant Vanguard
Dread Specter
Dread Wight
Goblin Sappers
Greater Werewolf
Heat Stroke
Infernal Medusa
Ohran Viper
Sawtooth Ogre
Serpentine Basilisk
Silent Assassin
Sosuke, Son of Seshiro
Tangle Asp
Thicket Basilisk
Time Elemental
Tolarian Entrancer
Venom
Wall of Tears

[combatends]
 ==> 
[combatends once]
2011-05-22 13:42:48 +00:00
solo81@web.de
17efa1c5d1 Fixed Undiscovered Paradise. 2011-05-22 11:53:14 +00:00
guzhenjie1@gmail.com
b52c5ae45c Corrected Azorius Herald, Shoreline Ranger and Tolarian Entrancer. 2011-05-22 09:47:57 +00:00
guzhenjie1@gmail.com
b282691c13 Corrected Vengeful Dead and Entrails Feaster. 2011-05-21 14:15:20 +00:00
guzhenjie1@gmail.com
eaf129a490 Corrected Decree of Savagery and Sunfire Balm. 2011-05-20 11:20:33 +00:00
guzhenjie1@gmail.com
4a4066d145 Corrected Moltensteel Dragon, Tormentor Exarch and Whipflare. 2011-05-19 10:52:02 +00:00
solo81@web.de
135aba6d03 Fixed Myojin of Cleansing Fire. 2011-05-17 20:45:27 +00:00
guzhenjie1@gmail.com
2110b7e972 Added text of Glimmerpost. 2011-05-17 15:23:12 +00:00
guzhenjie1@gmail.com
60e9736ef3 Removed code "from(hand)" in following cards:
AEther Sting
Angel's Feather
Angelic Arbiter
Argothian Enchantress
Aurora Eidolon
Baku Altar
Balefire Liege
Ballynock Trapper
Battlegate Mimic
Battlewand Oak
Belligerent Hatchling
Blademane Baku
Blind Creeper
Bog Gnarr
Bounteous Kirin
Briarknit Kami
Celestial Ancient
Celestial Kirin
Chimeric Egg
Cinder Pyromancer
Cloudhoof Kirin
Contemplation
Deathbringer Liege
Deep-Sea Kraken
Demon's Horn
Desecration Elemental
Dragon's Claw
Dreamcatcher
Drooling Ogre
Dwarven Patrol
Earthshaker
Ebon Drake
Elvish Handservant
Emberstrike Duo
Enchantress's Presence
Enigma Eidolon
Entropic Eidolon
Fable of Wolf and Owl
Fiddlehead Kami
Forced Fruition
Forgotten Ancient
Furious Assault
Gelectrode
Gilt-Leaf Archdruid
Glade Gnarr
Glimpse of Nature's Draw
Gloryscale Viashino
Goblin Cohort
Golem Foundry
Golem's Heart
Gravelgill Duo
Guardian of Solitude
Halcyon Glaze
Hand of the Praetors
Haru-Onna
Havoc
Heartwood Storyteller
Hidden Ancients
Hidden Gibbons
Hidden Guerrillas
Hidden Predators
Hidden Spider
Hikari, Twilight Guardian
Horizon Seed
Illusory Demon
Innocence Kami
Insight
Inspired Sprite
Ishi-Ishi, Akki Crackshot
Jackalope Herd
Jade Idol
Kaervek the Merciless
Kami of Fire's Roar
Kami of Tattered Shoji
Kami of the Hunt
Kami of the Painted Road
Kami of the Waning Moon
Kiln Fiend
Kiri-Onna
Kodama of the South Tree
Kor Firewalker
Kor Spiritdancer
Kraken's Eye
Kurgadon
Leering Emblem
Leonin Battlemage
Loam Dweller
Loyal Gyrfalcon
Lys Alana Bowmaster
Lys Alana Huntmaster
Manaplasm
Memory Erosion
Merrow Levitator
Mesa Enchantress
Mirran Spy
Mogg Conscripts
Mogg Sentry
Mold Adder
Nettle Sentinel
Nightsky Mimic
Nikko-Onna
Norin the Wary
Noxious Hatchling
Ogre Recluse
Onslaught
Opal Archangel
Opal Caryatid
Opal Champion
Opal Gargoyle
Opal Guardian
Orbweaver Kumo
Ore Gorger
Oyobi, Who Split the Heavens
Painsmith
Pangosaur
Paradise Plume
Predatory Hunger
Presence of the Master
Primordial Sage
Pristine Angel
Pyrostatic Pillar
Quill-Slinger Boggart
Quillmane Baku
Quirion Dryad
Reki, the History of Kamigawa
Riddlesmith
Riverfall Mimic
Safehold Duo
Sandstorm Eidolon
Scaled Hulk
Shorecrasher Mimic
Sigil of the Empty Throne
Sire of the Storm
Skittering Horror
Skittering Monstrosity
Skittering Skirge
Skullmane Baku
Snake Pit
Soilshaper
Sol'kanar the Swamp King
Soot Imp
Soul of Magma
Spellshock
Sphinx-Bone Wand
Straw Golem
Sturdy Hatchling
Surrakar Spellblade
Tangleroot
Tattermunge Duo
Taurean Mauler
Teller of Tales
Thief of Hope
Thistledown Duo
Thorntooth Witch
Tibor and Lumia
Tidespout Tyrant
Titania's Chosen
Vedalken Archmage
Veil of Birds
Veiled Serpent
Veilstone Amulet
Verdant Eidolon
Verduran Enchantress
Voracious Hatchling
Warmth
Wee Dragonauts
Witch-Maw Nephilim
Woodlurker Mimic
Wurm's Tooth
Yawgmoth's Edict
Yuki-Onna
2011-05-16 11:37:42 +00:00
omegablast2002@yahoo.com
2ab3d27cd1 changed wild growth back to its original state...doc be more careful please :) 2011-05-15 13:37:07 +00:00
solo81@web.de
2cf412ed98 Fixed Lavalanche and Spitting Spider. 2011-05-15 07:42:56 +00:00
guzhenjie1@gmail.com
67dd911c94 Corrected following cards:
Beast Within
Sword of Body and Mind
Sword of Fire and Ice
Sword of Light and Shadow
Sword of War and Peace
2011-05-13 11:12:40 +00:00
guzhenjie1@gmail.com
f6d18eb3e3 Corrected following cards:
Alabaster Dragon
Angel of Fury
Aurification
Dripping-Tongue Zubera
Dusk Urchins
Ember-Fist Zubera
Floating-Dream Zubera
Silent-Chant Zubera
2011-05-12 12:54:08 +00:00
solo81@web.de
efd857e314 Recoded Essence Sliver. Should be the final version.
auto=lord(sliver) transforms((,newability[spiritlink]))
2011-05-11 11:23:05 +00:00
solo81@web.de
b4ddecb16b Fixed Muddle the Mixture and Essence Sliver. 2011-05-11 08:39:36 +00:00
omegablast2002@yahoo.com
6d4f0c024c updated "removesubtypes" with "removecreaturesubtypes" 2011-05-09 16:35:44 +00:00
guzhenjie1@gmail.com
7447a451eb Corrected a typo in Urborg, Tomb of Yawgmoth. 2011-05-09 11:40:29 +00:00
solo81@web.de
b2ba514d7a Fixed Decomposition. 2011-05-08 08:09:51 +00:00
solo81@web.de
9d39974fa6 Fixed Tumble Magnet's card text. 2011-05-08 07:52:28 +00:00
wagic.the.homebrew
47ed4e5e70 Fixing Rancor, which was broken (mistake?) in r3620 2011-05-08 06:50:42 +00:00
solo81@web.de
f4ffef6934 Fixed Midsummer Revel. 2011-05-07 23:36:08 +00:00
solo81@web.de
03f102693d Added 28 cards based on rev3595.
Blanket of Night
Blood Moon
Contaminated Ground
Conversion
Dream Thrush
Dreamwinder
Evil Presence
Floodchaser
Glaciers
Grixis Illusionist
Humble
Kavu Recluse
Kukemssa Serpent
Lingering Mirage
Magus of the Moon
Moonbow Illusionist
Mystic Compass
Reef Shaman
Sea Snidd
Sea's Claim
Spreading Seas
Stormtide Leviathan
Streambed Aquitects
Tainted Well
Thelonite Monk
Tideshaper Mystic
Unstable Frontier
Zombie Trailblazer
2011-05-07 21:08:15 +00:00
wagic.the.homebrew
1e2ed785eb Fix for issue 646 (Tidal Warrior) 2011-05-06 02:27:49 +00:00
guzhenjie1@gmail.com
f0820697f8 Corrected following cards:
Aspect of Mongoose
Brilliant Halo
Cessation
Despondency
Endless Cockroaches
Fallen Ideal
Fiery Mantle
Fool's Demise
Fortitude
Glistening Oil
Launch
Rancor
Shivan Phoenix
Sleeper's Guile
Sluggishness
Spine of Ish Sah
Spirit Loop
Spreading Algae
Undying Rage
Weatherseed Treefolk

autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(myhand)
 ==> 
autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand)

Twilight Shepherd
auto=moveTo(myhand) all(creature[fresh]|mygraveyard)
 ==> 
auto=moveTo(myhand) all(*[fresh]|mygraveyard)

Undying Beast
autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(myhand)
 ==> 
autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerlibrary)
2011-05-05 12:01:10 +00:00
wagic.the.homebrew
748af5b461 - Adding a generic "ueot" effect. This will be initially confusing, but the ultimate goal is to get rid of all the particular cases we handled with "until end of turn" effects. this "ueot " works like "may " and "choice ", it has to be at the very beginning of the ability(ies) it targets. The reason is to avoid conflicts with the existing "ueot" we have all over the place. I have only tested it with transforms and loseabilities for now (see "ovinize") but hopefully this will become the new norm. This should also reduce the code inside the parser, long term.
- Adding "Ovinize" as an example of this new keyword.
- moved "parseBetween" in utils as I am using it in other files for wome work in Progress.
2011-05-05 06:18:50 +00:00
guzhenjie1@gmail.com
9902b1c74b Corrected a typo in text of Palladium Myr. 2011-05-04 15:34:38 +00:00
wagic.the.homebrew
d922d4fe06 - Added "loseSubtypesOf(type)" ability. For example, loseSubtypesOf(land) means "target loses all its land subtypes"
- Added Evil Presence, as an example of the new keywords loseabilities and losesubtypes. It's quite experimental but I added 3 tests that cover the basics. Please report if you find bugs.
- moved the "lands produce mana" rules outside of the primitives, and into the external rules. This was a necessary step to create cards such as Evil Presence. 
- real support for subtypes. Needs some more testing, but there are now functions in Subtypes.cpp to know if a given subtype is a creature subtype, or a land subtype, etc...
- minor refactor of MTGDeck.cpp

Notes:
- I checked that the AI can still use lands
- This change has a bad impact on primitives loading performance (thanks Wil for the loading time output). This is probably due to suboptimal algorithms and data structures for subtypes. If the impact is strong on lowend devices, I can probably optimize a bit (the map subtypesOf could be changed into a vector with some work)
- The test suite passes, added 3 tests for evil presence.
2011-05-04 04:04:03 +00:00
wagic.the.homebrew
494bcf3315 Adding a "loseAbilities" keyword per Dr.Solomat's request. The Goal was to code Evil Presence, but I think there is still some work to do to achieve this. The main concern is that (according to the Miki), neither transforms(( nor "becomes(" allow to lose some subtypes. A land enchanted with Evil Presence is supposed to lose its land subtypes. Since we don't support subtypes that good, I don't think this is possible. Additionally, Evil PResence would require to move "{T}:Add{X}" from the basic lands primitives into the rules (which sounds quite easy to do). I've nevertheless tested this on Gaea's Cradle, and it works. (Gaea's Cradle loses its abilities) 2011-05-04 01:33:34 +00:00
solo81@web.de
d8147a0156 Fixed Glistening Oil. 2011-05-02 21:16:44 +00:00
solo81@web.de
4a06f1c9a8 Added Deglamer. 2011-05-02 21:06:08 +00:00
solo81@web.de
3fdd87df66 Fixed Jor Kadeen, the Prevailer. was missing the "Legendary" in its type-line. 2011-05-02 21:00:46 +00:00
solo81@web.de
ecdd781f51 Fixed names of Mortis Dogs and Hovermyr. 2011-05-02 20:36:14 +00:00
solo81@web.de
317cea1f76 Fixed Lavaborn Muse. 2011-05-02 20:30:41 +00:00
solo81@web.de
f754efd2ee Fixed Lymph Sliver and Crib Swap.
Added Orzhov Basilica. I guess it was deleted unintentionally in the past.
2011-05-02 20:29:21 +00:00
solo81@web.de
2c4efb9cd5 Fixed Urabrask the Hidden in mtg.txt. 2011-05-01 16:36:51 +00:00
guzhenjie1@gmail.com
14c56f0510 Corrected following cards:
Gitaxian Probe
Glasses of Urza
Ingenious Thief
Lay Bare
Peek
Persecute
Sorcerous Sight
Talas Explorer
Telepathic Spies
Walker of Secret Ways
Wanderguard Sentry

name(look at opponents hand) target(*|opponenthand)
 ==> 
name(look at opponents hand) target(*|opponenthand) 0/0 ueot
2011-05-01 15:39:42 +00:00
guzhenjie1@gmail.com
de12a114e7 Corrected Pith Driller. 2011-05-01 14:17:29 +00:00
solo81@web.de
ed420d4f97 1. Added ",sourceinplay" to:
Arrogant Bloodlord
Ceremonial Guard
Cinder Wall
Fog Elemental
Gemini Engine
Goblin Sappers
Rainbow Vale
Stoic Ephemera
Teferi's Veil
Thawing Glaciers
Time Elemental (only to "sacrifice", not to "damage:5 controller"! --> rules on Gatherer)
Undiscovered Paradise
Vebulid
Wall of Nets



2. Removed ", sourceinplay" from:

Wall of Tears

Following the rules, a creature blocked by Wall of Tears is indeed returned to owner's hand even if Wall of Tears has left the battlefield before the end of combat.

This is the same reason why several cards did not get ", sourceinplay":

Example case for not adding ", sourceinplay":


Tolarian Entrancer

"The control change has no duration; you’ll retain control of that creature until the game ends or until some other effect causes it to change control. It doesn’t matter if Tolarian Entrancer leaves the battlefield, 
or if Tolarian Entrancer has already left the battlefield by the time the “at end of combat” ability triggers".

This is also true for all cards which have a certain effect on other creatures blocking or having been blocked by it. 


3. Added "once" to:

Basalt Golem
Frostweb Spider
Joven's Ferrets
Wicker Warcrawler
2011-05-01 11:08:56 +00:00
solo81@web.de
d58e3fe30b Updated Astrolabe and Barbed Sextant by adding the "once" tag to their [phaseaction] code. 2011-05-01 10:23:25 +00:00
solo81@web.de
d28847d929 Updated all Clockwork creatures by adding the "once"-tag to their phaseaction code.
Without this change, the Clockwork family was losing a +1/+0 counter at the end of each end of combat after having attacked for the first time.
2011-05-01 10:11:38 +00:00
solo81@web.de
a9ca76e77e Added New Phyrexia (NPH). 2011-05-01 09:44:30 +00:00
solo81@web.de
72e1d8079e Fixed Nullmage Shepherd + Sword of Feast and Famine. 2011-04-28 22:17:49 +00:00
guzhenjie1@gmail.com
86042c206a Added "once" limit for following cards with phaseaction[endofturn]:
Blood Frenzy
Brood of Cockroaches
Celestial Sword
Goatnapper
Crazed Armodon
Dark Maze
Dragon Whelp
Farrelite Priest
Giant Caterpillar
Initiates of the Ebon Hand
Mogg Cannon
Puffer Extract
Rainbow Vale
Rukh Egg
Season of the Witch
Surprise Deployment
Transluminant
2011-04-26 15:20:40 +00:00
guzhenjie1@gmail.com
b8310838f4 Corrected Serene Offering, Stream of Acid and a typo in Blightsteel Colossus' text. 2011-04-25 10:31:42 +00:00
guzhenjie1@gmail.com
e91a6a31a0 Added Preeminent Captain.
Thanks to Spiwy and Zeth!
2011-04-24 16:07:54 +00:00
guzhenjie1@gmail.com
4a308455d1 Corrected following cards:
Boggart Mob
Oculus
Snapback
Weed-Pruner Poplar
2011-04-24 14:11:02 +00:00
wagic.the.homebrew
8e4de36588 - unsupported.txt cleanup + conflicts cleanup (had to partly comment out some cards for which we don't have a clean solution yet, "multipart cards" are basically 2 cards that share the same Multiverse ID, such as "Day // night" ) 2011-04-23 04:55:00 +00:00
wagic.the.homebrew
fafa785778 - Cleaned up "borderline" primitives, split into borderline and crappy, which is closer to the way I intended the system to work initially.
- moved mtg_todo.dat into "unsupported.txt"...there are many parsing issues that I need to solve, but give it a try (set the grade level to "unsupported" in your advanced options, and restart the game) , it bumps the number of unique cards to almost 12000 :) (of course, these new cards don't work, that's the point of the "unsupported" grade)
2011-04-23 04:01:42 +00:00