Evan Kranzler
a61d5543fa
replaced all instances of converted mana cost with mana value
2021-04-17 17:02:27 -04:00
Evan Kranzler
dacf30f4b9
Refactoring subtypes to make Maskwood Nexus work (ready for review) ( #7432 )
...
* removed and renamed SubTypeList
* updated subtype test
* refactored Changeling to be an ability that actually does something
* moved isAllCreatureTypes into SubTypes class
* renamed copyTo method to copyFrom
* added removeAllCreatureTypes where usable
* replaced some subtype methods
* replaced some more subtype methods
* replaced subtype mass add/remove methods
* updated more subtype methods
* fixed some errors
* made common shared creature type predicate
* refactored another card involving subtypes
* Added usage of object attribute in subTypes's write operations;
* Refactor: use same param styles in subtype methods
* Refactor: simplified usage of copy appliers;
* Refactor: fixed code usage in CopyApplier
Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
2021-01-26 08:52:35 -05:00
Evan Kranzler
f1272ee8ac
fixed a few more errors
2020-08-26 19:28:12 -04:00
LevelX2
2788eab082
* Fixed card type displaying order ( fixes #6055 ).
2020-06-15 21:11:54 +02:00
Oleg Agafonov
8af43dc13a
Ability refactor: new code to search abilities in cards and permanents;
2020-05-28 22:34:27 +04:00
Oleg Agafonov
5adab75324
Revert "format: organize imports"
2020-02-05 02:17:00 +04:00
Leandro Doctors
8a0a9acff7
format: organize imports
2020-02-04 16:21:48 -03:00
Oleg Agafonov
59bda7f1d5
Refactor: added copyFrom info for all objects (original card used for copy, copy of copy and etc);
2018-11-29 19:29:39 +04:00
LevelX2
26a93d4427
Reworked ability source object handling.
2018-10-21 21:37:23 +02:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files
2018-06-02 17:59:49 +02:00
LevelX2
b073ce1c42
* Added to all toUpperCase/toLowerCase calls the Locale.ENGLISH to prevent problems with some languages (e.g. Turkish). Removed some unused import statements. ( #4634 ).
2018-03-18 18:18:54 +01:00
Evan Kranzler
de8ae96aaa
Fixed Hour of Eternity's targeting and another small fix that was causing an error
2017-10-02 20:55:02 -04:00
Evan Kranzler
851b729b0e
fixed emblems not being removed when a player leaves a multiplayer game
2017-09-28 19:41:31 -04:00
LevelX2
66c69e51a3
Started to implement a solution for effects that change words in rule text.
2017-09-03 07:31:36 +02:00
ingmargoudt
09f0c9ad97
huge rework on subtypes ( #3668 )
...
* huge rework on subtypes
* update for coat of arms
* fix test
2017-07-16 16:57:39 -05:00
ingmargoudt
594ffa2754
rewrote some streams and optionals
2017-04-01 22:45:40 +02:00
fireshoes
55b433ae36
[AKH] Added 3/27 spoilers to mtg-cards-data.txt. Implemented several of the new cards.
2017-03-28 22:25:29 -05:00
ingmargoudt
372584f7ad
changed cardtype from list to enumset
2017-03-03 17:04:32 +01:00
vraskulin
f60ebfbb1f
All 1-character strings converted to primitives
...
"b" + "r" now changed to 'b' + 'w'. It's more straight-forward, and may cause perfomance improvements - character primitives allocation is faster and less expensive than string creation.
2017-02-06 14:32:51 +03:00
LevelX2
8075ea2e50
* Fixed a problem that Emblems created by permanents where its owner left the game caused errors in clients. Some handling cganges of emblems.
2016-12-27 16:00:22 +01: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
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
LevelX2
cb91c5b9aa
Merge pull request #2216 from stravant/master
...
Full characteristic-based card rendering for cards
2016-09-03 09:13:49 +02: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
emerald000
9d380331d7
Removed choices that should not be made while casting of a spell.
...
For example: color choices for protection abilities.
2016-04-28 01:32:48 -04:00
LevelX2
2b8f73dbcc
* Fixed CMC calculation for transformed cards ( fixes #1826 ).
2016-04-15 14:59:36 +02:00
Fenhl
430ae503c7
Change all line endings to LF
2016-04-14 16:18:01 +00:00
poixen
46eb6c0525
Restructured Mage module
2015-11-29 21:56:49 +01:00