Commit graph

13452 commits

Author SHA1 Message Date
poixen
2c617a6aaf Mana updates
+ calling subtraction will now throw an exception if you try and use
more mana than is available. This is better than setting it to 0.
Setting to 0 impose that you should still be allowed to perform the
action.
+ updated subtraction test to check for exception
+ subtractionCost() will not allow using mana that is not available,
same as subtract()
2015-11-19 17:09:40 +01:00
LevelX2
ec7c888044 Some fixes to put token onto battlefield handling of cards. Some minor reworks. 2015-11-19 15:52:45 +01:00
LevelX2
7bb5d1bb43 Merge pull request #1374 from poixen/mana_cleanup
Mana Class Overhaul
2015-11-19 14:37:39 +01:00
Quercitron
486d547f5e Fix Swiss pairing for the case when some players have left the tournament 2015-11-19 13:18:43 +03:00
poixen
1f5638539f Class Overhaul
+ added javadoc
+ added final to method variables that should not be mutated
+ Mana can no longer be initialised with minus values
+ added null assertions
+ renamed ‘addXXX’ to ‘increaseXXX’. Add implies that you are able to
add variable amounts.
+ subtraction can no longer allow minus values.
+ removed unused state
+ refactored classes use renamed/removed mana calls
+ added comment to contains(), needs to be looked into?
+ Added validation to setting of mana. Can no longer be set to minus
values. Will log if an attempt is made
+Added comment to static mana, this is unsafe.
2015-11-19 09:53:52 +01:00
LevelX2
85bb13b6d8 Merge pull request #1373 from nigelzor/more-cards
implement a bunch of simple cards
2015-11-19 09:41:56 +01:00
Neil Gentleman
3fdfbca85b Aysen Bureaucrats has art variants 2015-11-18 21:49:59 -08:00
Neil Gentleman
c01cfd0395 fix Meteor Blast card name 2015-11-18 21:49:58 -08:00
Neil Gentleman
dac723028c implement a bunch of simple cards 2015-11-18 21:05:14 -08:00
Neil Gentleman
00ec431889 add Gorgon Recluse, cleanup similar cards
Added filtering to BlocksOrBecomesBlockedByCreatureTriggeredAbility,
so that non-wall and color-specific basilisks could reuse it.

Simic Basilisk and Deathgazer were incorrectly destroying the creature
immediately, not at end of combat.
2015-11-18 21:05:14 -08:00
Quercitron
50a02403a0 Fix that Koth of the Hammer could target only mountains you control 2015-11-19 03:20:52 +03:00
Quercitron
05a789cd8b Use approach with minimal weight matching to determine Swiss tournament pairings 2015-11-19 02:58:02 +03:00
LevelX2
9b074876db Merge origin/master 2015-11-19 00:42:45 +01:00
LevelX2
fd0d9c166d [C15] Added Mizzix's Mastery, Mirror Match and Synthetic Destiny. 2015-11-19 00:39:43 +01:00
LevelX2
9880977674 Merge pull request #1371 from Fiorden/master
Fixed that Mountain subtype was not remowed by Spreading Seas, Sea's …
2015-11-18 21:58:46 +01:00
Fiorden
3991ec4ba0 Merge pull request #1 from magefree/master
testing update
2015-11-18 21:05:09 +01:00
Fiorden
bfb7d06cae Fixed that Mountain subtype was not remowed by Spreading Seas, Sea's Claim 2015-11-18 20:05:06 +01:00
LevelX2
dcf3ac87f1 [C15] Added Deadly Tempest and Dread Summons. 2015-11-18 20:04:00 +01:00
LevelX2
581e5bee4c Merge origin/master 2015-11-18 19:25:37 +01:00
LevelX2
6ef2a42f6e * Burning-Tree Shaman - Fixed a bug that could lock the game if players had hexprrof. 2015-11-18 19:25:20 +01:00
LevelX2
7044e58231 [C15] Added Scourge of Nel Toth. 2015-11-18 17:39:32 +01:00
LevelX2
bfb54ca112 * Deflecting Palm - Fixed a bug that the to the source controller redirected damage of Deflecting Palm could not be redirected to an existing planeswalker of that controller. 2015-11-18 17:38:48 +01:00
LevelX2
af30ce399c * Anaba Shaman - Fixed that it did damage to all players instead of target creature or player. 2015-11-18 15:50:53 +01:00
LevelX2
c06e86cd2f * Lurking Predators - Some minor rework. 2015-11-18 15:34:10 +01:00
Neil Gentleman
9856c48688 fix Skull of Orm
should only be able to return cards from your graveyard
2015-11-17 23:36:14 -08:00
Neil Gentleman
1750bf32a1 fix Seance
Spirit subtype wasn't being added, and the token shouldn't have haste
2015-11-17 23:36:06 -08:00
LevelX2
aef3de9348 Merge pull request #1368 from LoneFox78/master
Some Ice Age
2015-11-17 06:24:06 +01:00
emerald000
7ee24f2b32 [C15] Added AEthersnatch. 2015-11-16 22:01:30 -05:00
LoneFox
42593f483a Implement cards: Armor of Faith, Fyndhorn Bow, Mystic Might, and War Chariot 2015-11-16 20:21:20 +02:00
fireshoes
db578a629a Added some simple cards. 2015-11-16 11:49:14 -06:00
LoneFox
3bb829f169 Implement cards: Arnjlot's Ascent, Rally, Soul Kiss, and Stone Spirit 2015-11-16 19:44:50 +02:00
LoneFox
3015006e52 Clean up the Embrace cycle from Urza's Saga
TODO: The last ability of Vampiric Embrace is wrong, it should not grant an ability to the enchanted creature.
2015-11-16 14:39:55 +02:00
LoneFox
1763edacf5 Implement cards: Binding Grasp, Despotic Scepter, Mesmeric Trance, and Warning 2015-11-16 12:12:27 +02:00
LoneFox
c97478735f Implement cards: Foul Familiar, Hot Springs, Stampede, and Wings of Aesthir 2015-11-16 11:16:41 +02:00
emerald000
7210999e24 [C15] Added Thief of Blood. 2015-11-16 03:52:27 -05:00
LoneFox
10e928b289 Implement cards: Forbidden Lore, Fumarole, Hyalopterous Lemure, and Hymn of Rebirth 2015-11-16 10:25:45 +02:00
fireshoes
a55fa16963 Added several cards. Need tested or looked over. 2015-11-16 01:21:20 -06:00
fireshoes
1cf7aa6e5e Fixed that Mercurial Pretender could copy opponent's creatures. 2015-11-15 21:52:55 -06:00
Neil Gentleman
68e850b8b8 remove old bundled mage-theme-plugin.jar
which causes plugin loading to consistently fail, so switch back to
directly instantiating ThemePluginImpl()

this is a little unfortunate, because these plugins don't get the same
lifecycle handling as external ones

re: c25e45095e
2015-11-15 15:28:03 -08:00
LevelX2
1d590442d0 [C15] Added Awaken the Sky Tyrant and Dream Pillager. 2015-11-15 20:05:58 +01:00
LevelX2
1495b487f5 Merge origin/master 2015-11-15 18:54:51 +01:00
LevelX2
160f14eed1 [C15] Oreskos Explorer, Bastion Protector and Dawnbreak Reclaimer. 2015-11-15 18:54:26 +01:00
Neil Gentleman
0da57fe2cb fix Divine Sacrament 2015-11-15 03:48:00 -08:00
LevelX2
d3751af0db [C15] Added Skullwinder and Ezuri's Predation. 2015-11-15 11:10:52 +01:00
LevelX2
576a9ea74f Updated mtg-cards-data.txt. Added a land deck for Mormir Basic format. 2015-11-15 10:25:02 +01:00
Neil Gentleman
33e106919c Gemstone Mine: remove dead code 2015-11-14 23:43:05 -08:00
Neil Gentleman
f73e948f08 add Skittering Horror, Skittering Monstrosity 2015-11-14 23:43:05 -08:00
fireshoes
2e695b66b2 Fixed that Skittering Skirge's triggered ability was optional. Fixed that Cackling Fiend wrongly had flying. 2015-11-14 22:14:26 -06:00
LevelX2
79c04eef47 * Added Momir Basic format to table filtering so Momir Basic games are shown. 2015-11-14 19:07:48 +01:00
LevelX2
5262d8d358 * Epic Experiment - Fixed handling of casting of cards without mana. 2015-11-14 19:06:07 +01:00