Bilbo
b31f953e02
Refactor: Use StringBuilder instead of repeated string concatenation.
2018-11-04 10:05:25 +08:00
Bilbo
ce02d4afbb
Refactor: Use Collections.singletonList instead of Arrays.asList where appropriate.
2018-11-04 10:05:25 +08:00
Bilbo
28732e250a
Implement cost reduction to apply for most cases of reducing hybrid/split/phyrexian cost.
...
Extend unit test with those cases.
2018-11-04 10:05:25 +08:00
Bilbo
aaf678b517
Add Edgewalker and Ragemonger that use colored-cost-reduction
2018-11-02 11:55:24 +08:00
Bilbo
a41d91b67b
Unit test for increasing and reducing mana cost
2018-11-02 11:55:24 +08:00
Bilbo
652f2ba56d
Add ability to run all unit tests with the ant build via "ant test".
...
Strip trailing whitespace from the build file.
2018-11-02 11:55:24 +08:00
Bilbo
dd3f975c9d
Cost increasing abilities were put into wrong layer.
...
Fix YourCostIncrease and CostIncrease ignoring reduction cost/amount.
Enhance cost reduction to support colored-mana-cost reduction.
2018-11-02 11:55:24 +08:00
melvinzhang
6b295a9eba
remove blank line, add new line at end of file
2018-11-01 17:01:18 +08:00
melvinzhang
5640960c34
replace manual close with try-with-resources statement
2018-11-01 17:01:18 +08:00
melvinzhang
7d680a0830
fix token image to use scryfall, for #1626
2018-11-01 16:12:50 +08:00
melvinzhang
cc622f594d
use getResourceAsStream instead of getResource, for #1617
2018-11-01 16:09:21 +08:00
melvinzhang
5cb0594ee2
use getResourceAsStream instead of getResource, for #1617
2018-11-01 12:53:45 +08:00
melvinzhang
470c6fe675
use getResourceAsStream instead of getResource, for #1617
2018-11-01 12:44:25 +08:00
melvinzhang
0735be1f7b
use getResourceAsStream instead of getResource, for #1617
2018-11-01 12:42:41 +08:00
melvinzhang
5264ce75be
standardize on border_crop images from scryfall
2018-11-01 08:27:38 +08:00
Bilbo
a4df87c244
Fix urban utopia (enchants land, not creature)
2018-11-01 08:23:40 +08:00
Bilbo
10d4278f86
Replace large images with normal.
2018-11-01 08:23:40 +08:00
Bilbo
f6784299ac
Add tested cards:
...
Ancient Stone Idol
Beast Whisperer
Bloodtracker
Bone Dragon
Boros Locket
Burglar Rat
Candlelight Vigil
Capture Sphere
Centaur Peacemaker
Citywide Bust
Collar the Culprit
Command the Storm
Crash of Rhino Beetles
Demon of Catastrophes
Demotion
Devkarin Dissident
Dimir Locket
Electrostatic Field
Erstwhile Trooper
Fire Urchin
Fresh-Faced Recruit
Garrison Sergeant
Gatekeeper Gargoyle
Gateway Plaza
Generous Stray
Goblin Locksmith
Golgari Findbroker
Golgari Locket
Golgari Raiders
Grappling Sundew
Herald of Faith
Inspiring Unicorn
Izzet Locket
Kestia, the Cultivator
Knight of Autumn
Kraul Swarm
Legion Guildmage
Muse Drake
Night Incarnate
Omnispell Adept
Ornery Goblin
Passwall Adept
Portcullis Vine
Rampaging Monument
Ritual of Soot
Roc Charger
Rubblebelt Boar
Selesnya Locket
Sinister Sabotage
Skyline Scout
Smelt-Ward Minotaur
Spinal Centipede
Street Riot
Talons of Wildwood
Tenth District Guard
Thantis, the Warweaver
Torch Courier
Unexplained Disappearance
Urban Utopia
Vedalken Mesmerist
Veiled Shade
Whisper, Blood Liturgist
Zahid, Djinn of the Lamp
2018-11-01 08:23:40 +08:00
Bilbo
60803b839a
Add simple creatures that have at most primitive abilities, like flying, deathtouch, ...
...
Added cards:
Bartizan Bats
Douser of Lights
Fearless Halberdier
Healer's Hawk
Hired Poisoner
Nightveil Predator
Pitiless Gorgon
Swiftblade Vindicator
Vernadi Shieldmate
Wary Okapi
Wild Ceratok
Wishcoin Crab
2018-11-01 08:23:40 +08:00
Bilbo
004e2a4e31
Fix image URL for Shivan Raptor. Fixes #1493
2018-11-01 08:23:40 +08:00
Bilbo
09f421f0d7
Fix name (and image) of Insect token. Fixes #1567
2018-11-01 08:23:40 +08:00
melvinzhang
d8091eb2ed
correct image links for some tokens, for #1626
2018-10-31 22:00:05 +08:00
Bilbo
dbc09b4b13
Move Din_of_the_Fireherd and Kumano_s_Blessing back to unsupported.
2018-10-30 16:49:22 +08:00
Bilbo
73ec24e8e5
Fix bugs and indentation.
2018-10-30 16:49:22 +08:00
Bilbo
de848bd7f2
Move Dread_Slaver and Rot_Wolf back to unsupported.
2018-10-30 16:49:22 +08:00
Bilbo
f553967914
Fix bugs and typos.
2018-10-30 16:49:22 +08:00
Bilbo
9cc1dac5aa
Add more cards:
...
Angel of Fury
Angrath, the Flame-Chained
Bloodspore Thrinax
Din of the Fireherd (+5_5_black_and_red_Elemental_creature_token)
Erayo, Soratami Ascendant / Erayo's Essence
Ezuri, Claw of Progress
Grief Tyrant
Grunn, the Lonely King
Guardian of the Ages
Hellion Eruption (+4/4 red Hellion creature token)
Kalemne, Disciple of Iroas
Kumano's Blessing
Lightning Coils
Morbid Bloom
Nezumi Shortfang / Stabwhisker the Odious
The Immortal Sun
Urgoros, the Empty One
Wash Out
2018-10-30 16:49:22 +08:00
Bilbo
2f7f188a52
Added new cards:
...
Awaken the Sky Tyrant
Blackblade Reforged
Dread Slaver
Druidic Satchel
Enshrouding Mist
Felhide Spiritbinder
Frostwielder
Goblin Kaboomist (+colorless artifact token named Land Mine)
Goblin Spymaster (+1/1 red Goblin creature token with Creatures you control attack each combat if able)
Hadana's Climb / Winged Temple of Orazca
Heroes' Podium
Kumano, Master Yamabushi
Loyal Cathar / Unhallowed Cathar
Michiko Konda, Truth Seeker
Mizzix of the Izmagnus
Myr Servitor
Queen Marchesa (+1/1 black Assassin creature token with deathtouch and haste)
Rot Wolf
Sage-Eye Avengers
Sea Legs
Sentinel of the Eternal Watch
Subterranean Tremors (+8/8 red Lizard creature token)
Tempt with Vengeance
Verix Bladewing (+legendary 4/4 red Dragon creature token with flying named Karox Bladewing)
2018-10-30 16:49:22 +08:00
melvinzhang
4f603e4dd9
add missing newline at end of file
2018-10-29 22:09:30 +08:00
melvinzhang
37ed8baf46
add Lava Coil
2018-10-29 21:22:08 +08:00
melvinzhang
6eea5b8659
remove cards from scripts_missing that are in scripts
2018-10-29 21:22:08 +08:00
Bilbo
91668c2964
Fix weird crash with bogus reason if deckfile does not exists (now it shows that deck is invalid).
2018-10-28 20:30:13 +08:00
Bilbo
5aaa5ddc02
Make surveil trigger unconditional, as unlike scry, there is no "pseudo-surveil" action.
2018-10-25 09:45:13 +08:00
Bilbo
8c776ee71b
Fix wording
2018-10-25 09:45:13 +08:00
Bilbo
27545e5df1
Move exception rethrowing closer to the cause.
2018-10-25 09:45:13 +08:00
Bilbo
07b23d478e
If a card could not be parsed due to missing abilities, report name of the card in the exception.
...
Without this change you would not have known which card is unparseable.
before:
ScriptParseException: unknown ability "Menace"
after:
InvalidDeckException: Error parsing Dimir Spybug: unknown ability "Menace"
2018-10-25 09:45:13 +08:00
Bilbo
a27413e5c1
Add some cards with surveil mechanics:
...
Barrier of Bones
Disinformation Campaign
Nightveil Sprite
Thoughtbound Phantasm
Whisper Agent
2018-10-25 09:45:13 +08:00
Bilbo
7a29fc561a
Add support for "surveil 1" action and "Whenever you surveil" triggers
2018-10-25 09:45:13 +08:00
Bilbo
af0f668976
Mark ante-cards as not supported
2018-10-23 17:55:38 +08:00
Bilbo
928867da47
Add missing cards - GRN, Commander 2018 + few forgotten others (Accorder Paladin ...)
2018-10-23 17:55:38 +08:00
Bilbo
74680b33fa
Add GRN to sets
2018-10-23 17:55:38 +08:00
melvinzhang
df75a51698
use correct player for current game G
2018-10-23 09:33:18 +08:00
Martin Petricek
0bef4161f6
Add new cards that are variations to existing cards: ( #1620 )
...
Abnormal Endurance
Daybreak Chaplain
Demonic Vigor
Fearsome Awakening
Fungal Infection
Graveyard Marshal
Invoke the Divine
Lich's Caress
Pinpoint Avalanche
2018-10-23 09:32:08 +08:00
melvinzhang
b43fe0ae0c
fix script to check mana_or_combat property to look for 'Add' instead of 'mana pool'
2018-10-22 21:30:57 +08:00
melvinzhang
09680d733e
simplify AbstractMillAction, remove setCardsToMill have subclass override getMilledCards
2018-10-22 21:22:23 +08:00
Martin Petricek
d7e856da68
Add several new cards ( #1619 )
...
* Add several new cards:
Balustrade Spy
Corpse Augur
Galvanoth
Gift of Growth
Living Artifact
Marchesa, the Black Rose
Phytotitan
Pyromancer's Assault
Settle the Score
* Fix indentation in Galvanoth
* Refactor Pyromancer's Assault, remove trigger condition from action text.
* Generalize milling actions to fixed amount milling and "mill until certain number of cartain cards are milled".
* Refactor cards to use new MillLibraryUntilAction
* Add parser for MillLibraryUntilAction, so it can be used without need for groovy.
* Add new parseable cards:
Mind Funeral
Consuming Aberration
Destroy the Evidence
Undercity Informer
(no groovy needed)
* Balustrade Spy now does not need groovy anymore.
2018-10-22 21:09:12 +08:00
Martin Petricek
d61d92cede
Follow symlinks when loading decks ( #1618 )
2018-10-21 16:35:58 +08:00
melvinzhang
ebdc839e77
format 1.94 release notes
2018-08-30 16:10:04 +08:00
melvinzhang
99bc3e430b
first draft of 1.94 release notes
2018-08-28 12:18:17 +08:00
ShawnieBoy
01e6b69f7e
revert phrasing for Tears of Rage
2018-08-10 18:25:16 +01:00