Commit Graph

4900 Commits

Author SHA1 Message Date
drdev
dc93196b56 Fix crash when starting game 2014-12-02 04:18:45 +00:00
drdev
905eb0bb1f Fix P/T display for alternate state 2014-12-02 04:10:20 +00:00
drdev
5a6394cf34 Make zoom activate message more specific to the available abilities of a card 2014-12-02 01:52:01 +00:00
swordshine
597334a66a - C14: Added Wave of Vitriol 2014-12-01 11:54:57 +00:00
Agetian
a9f05080f9 - Added a missing test dependency (junit.framework). 2014-12-01 09:15:18 +00:00
Myrd
a63f46414a Fix issue where a spell's target wouldn't be correctly shown in the game log message.
The problem was that by the time the log sees the spell, its target has been swapped with the stack ability.
2014-12-01 06:12:05 +00:00
Myrd
319cd97d83 Fix game log revealing opponent's morphed creatures in messages. 2014-12-01 06:09:54 +00:00
Myrd
73cad47c3c Fix bug with convoke where colored mana could end up being used as colorless.
Before this patch, the code would try to pay the mana symbols as they appear - for example if you convoke with a white creature and click "white" in the dialog, but the cost for the spell is "1WW", it would actually use that white mana to pay for the "1" portion of the cost, leaving "WW" to be paid (which is problematic if you have a swamp and a plains untapped which you were planning to use in addition to the white creature).

This change moves the logic for paying the cost from the UI code to the engine code (and re-uses existing code there) and also adds some unit tests for it.
2014-12-01 06:06:57 +00:00
drdev
4e2f753374 Refactor so CardZoom can support multiple cards 2014-11-30 04:14:14 +00:00
Chris
313c439d40 [maven-release-plugin] prepare for next development iteration 2014-11-28 15:37:56 +00:00
Chris
5361ac01c1 [maven-release-plugin] prepare release forge-1.5.31 2014-11-28 15:37:42 +00:00
drdev
4c6bd6a715 Prevent race condition when selecting multiple abilities using Shift+click 2014-11-27 02:05:26 +00:00
elcnesh
86dac0ea8c Add Flash Foliage. 2014-11-24 17:33:17 +00:00
elcnesh
2d02fbcc1d Prevent possible issue with new deathtouch implementation concerning indestructible creatures. 2014-11-24 15:56:56 +00:00
Sloth
bff7f28000 - Added Myriad Landscape.
- Fixed chooseSomeType AI function for land types.
2014-11-23 22:33:28 +00:00
elcnesh
d7943d767f Change deathtouch into a state-based action (as specified by the comp rules) rather than directly destroying the creature, fixing some bugs related to triggers. 2014-11-23 14:51:41 +00:00
Sol
66ef7c5105 - Fix timing of Scheme triggers not working 2014-11-19 04:13:40 +00:00
Sol
c0b5b6abdc - Log when players discard cards instead of forcing people to open up the graveyard each time to find out what was discarded 2014-11-18 03:21:12 +00:00
Sol
6a148946ae - FIx Combat from getting cleared out until EndCombat ends 2014-11-18 01:15:12 +00:00
Sol
2fea283147 - Triggers on Effects get activated when it moves into the Command zone, no need to add it twice. 2014-11-17 03:42:00 +00:00
Sol
5fa122a8d9 - When flipping multiple coins due to Krark's Thumb, the player should call heads/tails only once 2014-11-15 02:30:11 +00:00
Chris
9663a86c82 [maven-release-plugin] prepare for next development iteration 2014-11-14 14:54:13 +00:00
Chris
bc1b9b955b [maven-release-plugin] prepare release forge-1.5.30 2014-11-14 14:53:50 +00:00
Sol
0a1f5d19e7 - Fix Essence of the Wild interaction with ETB creatures 2014-11-14 02:57:21 +00:00
Sol
b449e7b4dc - Small fixes to Triggers related to Clones and CopyPermanent triggering the wrong number of times 2014-11-13 03:16:04 +00:00
swordshine
7faa5b262d - C14: Added Benevolent Offering 2014-11-11 05:49:09 +00:00
swordshine
b63586920c - C14: Added Wolfcaller's Howl 2014-11-11 03:14:33 +00:00
drdev
e116054e84 Prevent crash when ending Commander game 2014-11-11 03:01:23 +00:00
swordshine
588b99b576 - C14: Added Crown of Doom 2014-11-11 02:26:28 +00:00
Sloth
2a97feb159 - Prevent AI from casting spells with "May be played" from the Stack. 2014-11-09 09:21:08 +00:00
Sloth
9e87c08fe3 - Fixed removeAllExtrinsicKeyword. 2014-11-09 08:12:24 +00:00
swordshine
57b4af24e7 - C14: Added Nahiri, the Lithomancer 2014-11-06 10:27:01 +00:00
swordshine
403abd0a06 - C14: Added Grave Sifter 2014-11-06 08:07:40 +00:00
Sloth
feeec5d592 - Delve and Convoke will now happen after cost reduction. 2014-11-03 19:55:57 +00:00
swordshine
c6424c18b7 - C14: Added Ob Nixilis of the Black Oath 2014-11-02 14:40:52 +00:00
elcnesh
c0d156856a Add Magnetic Web. 2014-11-02 08:18:17 +00:00
Sloth
676c876f14 - Added card property "wasNotCast" for Containment Priest. 2014-10-31 22:04:20 +00:00
elcnesh
57a09f275f Refactor attack declarations.
The game now correctly calculates whether an attack declaration is legal, based upon the restrictions and requirements present on the possible attacking creatures. AI support is not yet fully implemented, but the AI can always default to a legal attack declaration.
2014-10-30 15:44:13 +00:00
Sloth
04659d111b - Better fix for granted abilities (more in line with drdevs changes).
- Also Fixed Border color of detail panel.
2014-10-29 13:51:26 +00:00
Sloth
84500caf71 - Fixed abilities granted by static effects not appearing in the card detail panel. 2014-10-29 11:53:27 +00:00
Sol
d796f1b04f - More trigger tweaks (Harmonic Sliver) 2014-10-29 03:22:52 +00:00
Sloth
63cc278111 - Fixed triggers with costs being optional (and not every trigger). 2014-10-28 08:16:00 +00:00
Sloth
7ff491bfd3 - Triggers with a cost are now always optional. 2014-10-27 20:09:38 +00:00
Sloth
3da6b32a7b - Cleanup. 2014-10-26 13:19:30 +00:00
Sloth
6d82637767 - Fixed Goblin Guide not revealing the card to the opponent. 2014-10-26 11:06:19 +00:00
Sloth
02a5997810 - Improved stack description of FlipCoinEffect.
- Added AI support for Orcish Captain.
2014-10-25 21:35:46 +00:00
Sloth
8f90f65371 - Added Merseine. 2014-10-24 14:22:10 +00:00
Sloth
1abd41b469 - Fixed crash when starting a Vanguard game. 2014-10-24 12:56:52 +00:00
Sloth
bde503b4fa - Fixed crash caused by the -2 of Chandra, the Firebrand. 2014-10-24 12:05:15 +00:00
Sloth
9deafa0be7 - Fixed a rare bug in runNonStaticTriggersForPlayer. 2014-10-24 11:56:48 +00:00