poixen
56be135532
Removed minus subtraction limits
...
+ Removed minus subtraction limits to allow other areas of code to work
2015-11-20 17:22:48 +01:00
poixen
05b841577a
added subtraction logic to enough()
...
+ added subornation logic to enough(). We do not want to mix the public
subtract() call with this method. As doing so would mean that either a)
subtraction can go below 0 (this should not happen) or b) we break this
function with exceptions. This is a work around for these scenarios.
2015-11-19 17:42:59 +01:00
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
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
fireshoes
c7b638405a
Added Greater Stone Spirit, Faerie Harbinger, Giant Harbinger, Amnesia, Dewdrop Spy, Wheel and Deal. [C15] Added some more 11/5 spoilers and Urza's Incubator reprint.
2015-11-05 13:22:45 -06:00
fireshoes
59cf816f32
[C15] Added 11/5 spoilers and Angel of Serenity reprint, corrected Meteor Blast's translated name, and updated tokens.
2015-11-05 10:26:40 -06:00
fireshoes
4cf957a4a9
Merge origin/master
2015-11-05 09:05:50 -06:00
fireshoes
9058b86a35
[C15] Added some spoilers to mtg-cards-data.txt. Implemented Thought Vessel, Daxos's Torment, Arjun the Shifting Flame, and Bloodspore Thrinax. Added Black Market reprint.
2015-11-05 09:04:56 -06:00
LevelX2
e82a7b621e
* Fixed a problem with countering abilities on the stack.
2015-11-05 15:39:12 +01:00
fireshoes
3940ff4b2e
[C15] Implemented Meteor Volley, Karlov of the Ghost Council, and Magus of the Wheel.
2015-11-05 00:08:17 -06:00
fireshoes
331eee46a6
[C15] Implemented Meren of Clan Nel Toth and Pathbreaker Ibex. Fixed translated name of Broodbirth Viper in mtg-cards-data.txt.
2015-11-04 22:35:40 -06:00
fireshoes
b741dde031
Updated 11/3-4 Commander 2015 spoilers. Implemented Ezuri, Claw of Progress.
2015-11-04 19:53:07 -06:00
LevelX2
39762e5bf5
* Some rework of card moving after spell countering.
2015-11-05 00:37:37 +01:00
LevelX2
3de7ff6808
* Some rework of card moving after spell countering.
2015-11-05 00:37:30 +01:00
LevelX2
1139495fd7
* SetPowerToughnessSourceEffect - Set the correct sublayer to use ( fixes #1354 ).
2015-11-04 22:31:35 +01:00
LevelX2
af18f95bba
Minor changes.
2015-11-04 17:16:45 +01:00
LevelX2
54d28550b4
Added a test.
2015-11-04 12:28:48 +01:00
fireshoes
4fa4b7198b
Added 11/3 Commander 2015 spoilers. Added C15 reprints, Daxos the Returned, Gigantoplasm, Illusory Ambusher, Kalemne's Captain, Mazirek Kraul Death Priest, Kaseto Orochi Archmage, and Scytheclaw.
2015-11-03 10:47:12 -06:00
LevelX2
4d3d46a94d
Merge pull request #1355 from LoneFox78/master
...
Some Mercadian Masques
2015-11-03 11:43:49 +01:00
LoneFox
075fee97a9
Implement cards: Flailing Manticore, Flailing Ogre, Flailing Soldier, and Snake Pit
2015-11-03 10:23:37 +02:00
LoneFox
3219ae2bf2
Implement cards: Rappelling Scouts, Stinging Barrier, Tectonic Break, and Word of Blasting
2015-11-03 09:49:58 +02:00
LoneFox
87f118bea9
Implement cards: Bog Witch, Hammer Mage, Notorious Assassin, and Seismic Mage
2015-11-03 08:03:36 +02:00
fireshoes
3d8fdba059
Added 11/2 Commander 2015 spoilers (part 2). Updated Kalemne's collector number.
2015-11-02 19:53:53 -06:00
LoneFox
623d0a8cec
Implement cards: Balloon Peddler, Blaster Mage, Deepwood Drummer, and Kris Mage
2015-11-02 20:18:41 +02:00
LoneFox
2cb1235428
Implement cards: Alabaster Wall, Crenellated Wall, Drake Hatchling, and Monkey Cage
2015-11-02 19:36:14 +02:00
fireshoes
80e534a714
Added 11/2 Commander 2015 spoilers.
2015-11-02 10:26:26 -06:00
LevelX2
407b7dac50
Merge pull request #1351 from BursegSardaukar/master
...
Stinkdrinker Modification, Goblins
2015-11-02 07:36:56 +01:00
BursegSardaukar
aa131c3432
Merge pull request #6 from magefree/master
...
Merge from trunk
2015-11-01 16:46:48 -05:00
BursegSardaukar
82a388175c
Pulled from trunk.
2015-11-01 16:43:47 -05:00
BursegSardaukar
3792ed38e3
Pulled from trunk.
2015-11-01 16:43:25 -05:00
BursegSardaukar
5e9536a2eb
Pulled from trunk.
2015-11-01 16:43:13 -05:00
BursegSardaukar
ce7797b8ab
Pulled from trunk.
2015-11-01 16:42:59 -05:00
BursegSardaukar
3376f418c6
Pulled from trunk.
2015-11-01 16:42:44 -05:00
BursegSardaukar
7d1508e06a
Pulled from trunk.
2015-11-01 16:42:31 -05:00
BursegSardaukar
bd84eb572c
Pulled from trunk.
2015-11-01 16:42:18 -05:00
BursegSardaukar
994eabe58a
Pulled from trunk.
2015-11-01 16:41:13 -05:00
LevelX2
4af5368fc2
* Zameck Guildmage - Fixed that the first ability could be activated in all zones instead of only on the battlefield.
2015-11-01 09:18:36 +01:00
LevelX2
df04cc7229
* Quicksilver Gargantuan - Fixed bug/exception of copy ability.
2015-10-31 18:35:53 +01:00
LevelX2
a5730d8359
* Demonfire - Added missing watcher for exile ability.
2015-10-31 18:01:18 +01:00
LevelX2
bc409eccdc
* Nine-Ringed Bo - Added missing watcher for exile ability.
2015-10-31 18:00:55 +01:00
LevelX2
93964407d8
* Annihilating Fire - Added missing watcher for exile ability.
2015-10-31 18:00:13 +01:00
LevelX2
46ae07be23
Xmage 1.4.4v12
2015-10-31 12:30:55 +01:00
LevelX2
a5d7ca83d7
Checked objects possible to cause null pointer exceptions. Added some logging.
2015-10-31 11:55:20 +01:00
LevelX2
c1d6703e71
* Howling Mine - Fixed that it did throw an exception if Howling Mine has left the battlefield before its triggered ability resolved.
2015-10-31 11:34:58 +01:00
LevelX2
e88c60eb85
* Scroll Rack - Fixed that the cards were shown face down if setting the order they go to library.
2015-10-31 10:33:37 +01:00
LevelX2
2e49a74aab
* Fixed test with Flashback and converge.
2015-10-31 10:32:45 +01:00
LevelX2
452fd481b4
* Sapling of Colfenor - Fixed that the card did not stay on top of library if it was no creature card.
2015-10-31 10:23:48 +01:00
LevelX2
3beb5568c4
* Karn Liberated - Fixed that commanders were not returned to command zone after game reset.
2015-10-31 00:55:12 +01:00
LevelX2
b3deb7bedd
* Void Winnower - Fixed that {X} costs of spells were not taken into account for the can't cast spells ability.
2015-10-30 23:33:20 +01:00
LevelX2
f3184bb6c8
* Fixed that for a manifested morph creature of the opponent the tooltip for a morph creature instead a manifested creature was shown.
2015-10-30 23:24:33 +01:00