LevelX2
779dd35559
Merge pull request #2282 from Dilnu/master
...
Add token support to ZonesHandler
2016-09-16 11:10:07 +02:00
Samuel Sandeen
17d4d6c190
Handle tokens correctly in the new zone change code.
2016-09-15 19:44:32 -04:00
LevelX2
0a5a073637
* Flashback - Fixed handling of combined flashback costs (e.g. Deep Analysis).
2016-09-15 17:34:25 +02:00
Samuel Sandeen
91b4e024fb
Remove a bit of duplicate code.
2016-09-14 19:33:17 -04:00
Samuel Sandeen
edd97587fc
Add code for a few edge cases in zone change handling
...
Specifically this should fix the bugs that happen when tokens copy
PermanentCards.
2016-09-14 19:30:14 -04:00
LevelX2
9f199dfa39
* ZonesHandler - fixed possible null pointer exception ( #2271 ). Cause still unclear.
2016-09-14 23:25:36 +02:00
ingmargoudt
3128bd2b4b
replace [list].size() == 0 and [string].length() == 0 to use .isEmpty() instead
2016-09-14 15:27:31 +02:00
LevelX2
3612332607
[KLD] Added Speedway Fanatic. Added tests for crew keyword.
2016-09-14 15:16:40 +02:00
emerald000
959eaf6dab
[KLD] Added Panharmonicon.
2016-09-13 08:21:16 -04:00
Samuel Sandeen
cdff9bae78
Add Event to the signature of updateZoneChangeCounter.
...
This is required to Implement Skullbriar, the Walking Grave
2016-09-10 17:45:26 -04:00
Samuel Sandeen
ac6a289275
Merge branch 'magefree/master'
2016-09-08 19:12:19 -04:00
LevelX2
21baa14404
* Fixed a problem with token P/T reset (fixes the problem with Tree of Perdition and Soul Separator).
2016-09-08 17:15:40 +02:00
Samuel Sandeen
80da09471d
Merge remote-tracking branch 'magefree/master'
2016-09-07 23:31:38 -04:00
Samuel Sandeen
c33a731a4a
Refactor the core zone change code to use a common code path.
2016-09-07 23:31:26 -04:00
Mark Langen
b549dfe0dc
Added frameStyle Characteristic for cards
...
* Added FrameStyle Enum containing a list of styles that cards can be rendered in.
* Added getFrameStyle() getter to Card interface.
* Implemented getFrameStyle() for various concrete implementations of Card.
2016-09-06 21:50:04 -06:00
emerald000
bc0f53973d
Added an easier way to put custom text on buttons in a chooseUse prompt.
2016-09-06 02:07:59 -04:00
fireshoes
d70f424d1b
[KLD] Added 9/5 spoilers to mtg-cards-data.txt and implemented a few cards.
2016-09-06 00:27:44 -05:00
Samuel Sandeen
34846170c4
Remove an unused argument to Player.putInGraveyard
2016-09-05 11:47:52 -04:00
Samuel Sandeen
db3c2e9d8c
Clean up an inconsistency in ZoneChangeEvent handling
...
Some places set a bit on the ZoneChangeEvent if a permanent was meant
to enter the battlefield tapped but only MeldCard ever read that bit to
determine whether things should come into play tapped.
2016-09-05 09:51:32 -04:00
ingmargoudt
e2a479255a
refactor : removed all instances of new Random() and replaced with RandomUtil for a ThreadLocal randomizer
2016-09-05 15:03:47 +02:00
Samuel Sandeen
434be545f7
Merge remote-tracking branch 'magefree/master'
...
# Conflicts:
#
Mage/src/main/java/mage/abilities/condition/common/SourceHasSubtypeCondi
tion.java
# Mage/src/main/java/mage/game/permanent/PermanentToken.java
2016-09-03 20:06:33 -04:00
Samuel Sandeen
bec11804f5
Make the handling of counters more consistent.
...
This dramatically reduces the code duplication around counters handling.
2016-09-03 16:52:41 -04:00
Samuel Sandeen
148f633672
Make the Counters API for card and permanent consistent.
2016-09-03 10:33:54 -04:00
LevelX2
ab2399cbe7
* Fixed that equipments with restrictions (e.g. Gate Smasher) were not unequipped if the equipped permanent did no longer fulfill the restrictions( fixes #2212 ).
2016-09-03 15:26:17 +02:00
LevelX2
cb91c5b9aa
Merge pull request #2216 from stravant/master
...
Full characteristic-based card rendering for cards
2016-09-03 09:13:49 +02:00
Samuel Sandeen
85dc15c5dc
Merge remote-tracking branch 'magefree/master'
2016-09-02 19:44:51 -04:00
Mark Langen
463576dbd0
Merged up to current
2016-09-01 15:44:14 -06:00
Mark Langen
818efb8535
* Textual set symbols no longer displayed if set symbol image doesn't exist.
...
* Fixed a small graphical mispositioning in rendering of keyword abilities.
* Added an option to hide set symbols entirely when rendering.
* Fixed flip walkers like Arlin Kord showing a "0" loyalty on their back face (when they should have no loyalty there).
* Removed some log files I accidentally committed.
* Fixed a bug in tokens, where they are missing their expansion symbol of they are created by another token
* Fixed the the new Rendering based CardPanel not returning the correct Image through getImage (resulting in a poor quality image in the card preview window)
2016-09-01 15:00:46 -06:00
spjspj
0f043d480d
spjspj - Implement new method for image generation of tokens.
2016-09-01 17:11:12 +10:00
Mark Langen
d33f8a636e
Most obvious bugs ironed out. Ready for PR.
2016-08-31 23:37:31 -06:00
Mark Langen
d5415d2d04
Working Card Rendering
2016-08-31 04:43:28 -06:00
Samuel Sandeen
282443c231
Add Subtype to the CardAttribute Framework
...
This is a massive change. I’ve refrained from unrelated refactoring
when possible but there are still a lot of changes here.
2016-08-28 17:30:10 -04:00
drmDev
292105f60e
[CN2] Stunt Double and Subterranean Tremors implemented.
2016-08-21 15:00:41 -04:00
LevelX2
6f89a67f68
* Some more changes to return boolean for addCounters.
2016-08-11 19:14:18 +02:00
LevelX2
318a0745f0
Merge origin/master
2016-08-11 17:41:57 +02:00
LevelX2
058d25fa56
* Added return code to addCounter method.
2016-08-11 17:40:51 +02:00
spjspj
f46c06066a
spjspj - Implement Guardian Beast (ARN)
2016-08-11 23:03:22 +10:00
LevelX2
c563d6f701
* Fixed zone handling of meld cards that left the battlefield (fixes that coninuous effects of meld cards didn't stop to be applied after the meld card left the battlefield) fixes #2140 .
2016-08-09 10:20:59 +02:00
LevelX2
7a4b358f8a
* Fixed CMC for spells (Escalate is not calculated correctly when more than 1 mode is chosen) fixes #2143 .
2016-08-06 13:16:49 +02:00
LevelX2
d0db2d51ed
* Fixed Identity Thief copying creature with +1/+1 counter gets P/T boost from it, but not counter ( fixes #2131 ).
2016-08-05 21:15:07 +02:00
Quercitron
9129bda9b7
* Hearthcage Giant - Fix that only one Elemental Shaman token is created ( fixes #2141 ).
2016-08-05 00:59:42 +03:00
LevelX2
270ffcb88a
* Liliana, Defiant Necromancer - Fixed target bug of -X ability.
2016-08-02 16:52:25 +02:00
Quercitron
c04bd6d64a
Replace Yes/No text with Mulligan/Keep text on mulligan answer buttons to make options more clear.
2016-07-31 15:57:45 +03:00
Derek M
86e7ace06e
Merge pull request #2112 from fwannmacher/master
...
Converted cardNumber from int to String. Now card number with "a" or "b" can be used.
2016-07-25 16:24:01 -04:00
fwannmacher
9f08ce8b56
- Fixed Issue #2071
2016-07-25 15:59:49 -03:00
spjspj
883b63a01d
spjspj - Update to push deck List across from Client to Server for Custom Cube
2016-07-25 22:44:21 +10:00
fwannmacher
10778cdd6b
- Converted CardImpl.cardNumber from int to String
...
- Fixed Issue #1953
- Fixed Issue #1914
- Fixed Issue #739
2016-07-24 15:18:54 -03:00
fireshoes
9630320ba9
Changed set codes in image sources and Mage Sets to match recent changes. Changed Portal Second Age set code back to PO2. Updated tokens with recent sets to product correct images. Fixed that there was no basic land slot in EMN packs.
2016-07-18 15:49:43 -05:00
emerald000
e1b3428a39
[EMN] Implemented basic Meld functionality.
2016-07-11 04:49:40 -04:00
LevelX2
7c0b11c641
[EMN] Added the missing white cards (without meld).
2016-07-09 18:16:56 +02:00