vraskulin
2e83930ace
Creating new ArrayList is unneccesarry
...
We shouldn't create new arraylist with default size and no element in it to show that no elements found in database. It's one more object in heap, which will be never used. There is special method Collections.emptyList() - it's more readeable and returns empty immutable list
2016-12-19 12:23:23 +03:00
LevelX2
d85b9943f1
* Added logic to remove control effects that refer to permanents of a player that leaves the game.
2016-12-18 16:57:34 +01:00
MTGfan
26c176abaa
Guardian Angel and added Dynamic Value constructor to PreventDamageToTargetEffect
2016-12-14 17:20:00 -05:00
Justin Herlehy
557019e8a6
Merge pull request #2679 from JRHerlehy/master
...
[CN2] Refactor Council's Dilemma voting.
2016-12-13 02:02:43 -08:00
Styxo
f88d3f0bbf
Refactored RevealCardsFromLibraryUntil and some cards to use it
2016-12-13 09:21:11 +01:00
JRHerlehy
b9d5fbcbe5
[CN2] Create new vote effect to reduce boilerplate code duplication on Council's Dilemma cards.
2016-12-12 20:58:31 -08:00
LevelX2
fe97f289f8
Ravnica: City of Guilds - Added the 5 missing cards with Radiance ability word.
2016-12-12 20:54:45 +01:00
LevelX2
4b4aef8ed5
* Orzhov Advokist - Fixed that the attack preventing effect did not work correctly.
2016-12-11 16:25:08 +01:00
LevelX2
561f120ce0
* Consecrete Land - Some changes.
2016-12-11 12:38:25 +01:00
MTGfan
4a2e1c5063
Merge remote-tracking branch 'upstream/master'
2016-12-08 21:37:02 -05:00
LevelX2
3d95849c10
Some fixes to the Monarch designation.
2016-12-07 17:14:08 +01:00
JRHerlehy
deb59d409d
Implement AER card Ajani Unyielding
...
Moved Swords to Plowshares effect to common class to dedupe code.
2016-12-07 00:45:06 -08:00
Styxo
ba30a514d2
[AER] Added Ajani and Tezzeret from PW decks
2016-12-06 15:38:24 +01:00
MTGfan
cc1f4b563d
Consecrate Land currently not working
2016-12-01 14:20:40 -05:00
LevelX2
68d0e6b9fa
Added the monarch concept to xmage and all related cards.
2016-11-27 01:14:32 +01:00
LevelX2
db831202da
Merge pull request #2630 from MTGfan/master
...
New AttachedPermanentToughnessValue and related updates plus misc
2016-11-26 10:40:39 +01:00
LevelX2
946b723361
* Fixed possible null pointer exceptions.
2016-11-26 10:22:23 +01:00
MTGfan
36d6c006ca
New AttachedPermanentToughnessValue, updated DamageAttachedControllerEffect to take DynamicValue (ex. to work with AttachedPermanentToughnessValue), and updated Creature Bond to use AttachedPermanentToughnessValue and DamageAttachedControllerEffect. Corrected Gaea's Liege, Kor Scythemaster, Soltari Lancer, and Spirit of the Night to use SourceAttackingCondition. Rmoved the AttackingCondition we creature for Gaea's Liege since it duplicated the already existing SourceAttackingCondition. For the other three using SourceAttackingCondition and the minor changes to the code for them should make their code more efficient.
2016-11-26 03:57:46 -05:00
Dilnu
3198558dd6
Fix March of the Machines
...
Add a DependencyType for ArtifactAddingRemoving and use it to make March of the Machines come after artifact type adding effects.
2016-11-22 08:40:54 -05:00
LevelX2
da7982ff2e
* Obscuring Aether - Fixed a problem that face down creatures had P/T = 0/0.
2016-11-20 10:13:04 +01:00
LevelX2
5ea1724112
* Ghirapur Guide - Fixed that the effect of the activated ability lasted while Ghirapur Guide was on the battlefield instead only until end of turn.
2016-11-20 00:33:01 +01:00
LevelX2
3eb2531cee
* Karona, False God - Reworked gain control handling.
2016-11-20 00:15:06 +01:00
LevelX2
b7b7a97945
* Fixed that died creature were wrongly returned to battlefield also if it was moved to exile by replacement effect before.
2016-11-19 18:44:11 +01:00
LevelX2
ca25cc4679
* Fixed a problem that optional effects could produce IndexOutOfBoundsExceptions.
2016-11-19 12:47:20 +01:00
LevelX2
0ccaca4a3b
Fixed a problem that tokens that came into play with modified attributes (P/T e.g. from Master of Etherium) were seen for triggered abilities (e.g. Sword of the Meek ) with unmodified attributes.
2016-11-19 12:08:38 +01:00
Styxo
d291c289b8
Added Aboroth, Avizo, Benediction of Moons and Infernal Tribute
2016-11-10 09:00:37 +01:00
fireshoes
20d09443d5
Changed Declaration in Stone to exile to the generic exile window instead of its own. Added card name identifier to the revealed hand in ExileCardYouChooseTargetOpponentEffect so you can see previously revealed cards when their hand is revealed multiple times.
2016-11-09 11:00:24 -06:00
LevelX2
bfb2924966
* Cabal Conditioning - Fixed that only the first target player had to discard cards.
2016-11-06 22:06:35 +01:00
LevelX2
e4fe34dbdb
[C16] Added 2 cards.
2016-11-06 11:40:17 +01:00
LevelX2
05feab8e96
[C16] Added 5 cards.
2016-11-06 10:51:38 +01:00
LevelX2
7d8a02bf63
[C16] Added Orzhov Advokist.
2016-11-06 08:28:49 +01:00
Neil Gentleman
6d59ae2771
Zendikons: fix rules text
2016-11-05 11:27:37 -07:00
Neil Gentleman
e6dc8a56e6
PhaseOutTargetEffect: fix "Null phases out"
2016-11-05 11:27:36 -07:00
Neil Gentleman
813c8cdd8a
CreateTokenEffect already adds the article
...
don't want to end up with "a a 3/3 colorless Golem"
and also fixed fix tapped token rules text, which has changed
2016-11-05 11:27:36 -07:00
Neil Gentleman
296e0a9a49
more card text cleanup
2016-11-05 11:26:31 -07:00
Neil Gentleman
7f2b3b71c2
more card text cleanup
...
Angel of Salvation, Blinding Flare, Allied Strategies, Footbottom Feast,
Delve, Reinforce, Clockwork *, Choking Sands, Cloud Key, Covetous Dragon
2016-11-05 11:26:31 -07:00
Neil Gentleman
ec971140ec
format BoostEnchanted and BoostAll like BoostSource
...
improves Aspect of Wolf, corrects Death's Approach
2016-11-05 11:26:30 -07:00
Neil Gentleman
95f14536eb
fix text on some random cards
2016-11-05 11:26:30 -07:00
LevelX2
d2561c1752
* Fixed a problem with triggered mana abilities. Fixed a problem that AI did not always select the needed mana color. Fixed a problem with Reflecting Pool not taking triggered mana abilities into account.
2016-11-03 22:37:54 +01:00
LevelX2
f07408f995
* Flagbearer - Fixed a bug that game could be locked if a spell could only target your own creatures.
2016-11-03 19:04:55 +01:00
LevelX2
3f882b73c4
Fixed a problem with activated spells that could not be used but were used by AI and available mana calculation.
2016-11-01 14:31:02 +01:00
LevelX2
56900a9b1f
[SWS] Yoda, Jedi Master - Fixed a problem with the +1 ability.
2016-11-01 11:47:40 +01:00
Neil Gentleman
3966b4a217
Merge pull request #2537 from nigelzor/simplify-some-cards
...
Simplify some cards
2016-10-31 01:36:54 -07:00
Neil Gentleman
7532d1228b
improve PutLandFromHandOntoBattlefieldEffect
...
so that Elvish Pioneer and Terrain Generator can use it
2016-10-31 00:19:20 -07:00
Neil Gentleman
0125f88611
add mana-generation helpers to ChoiceColor
2016-10-30 23:02:04 -07:00
Neil Gentleman
564e2cd58b
use Mana.ColorlessMana; SimpleManaAbility
...
removing explicit `new BasicManaEffect()` calls, where SimpleManaAbility will do it implicitly
2016-10-30 23:02:04 -07:00
LevelX2
db4644cbc1
Reworked PreventAllDamageToControllerEffect to be more generic.
2016-10-30 18:59:16 +01:00
LevelX2
bec827f96c
The Gitrog Monster - Fixed that it could only be sacrificed if it's still on the battlefield.
2016-10-29 23:58:41 +02:00
LevelX2
70126988c5
Changed rule text from "put token onto the battlefield" to "create token".
2016-10-29 23:42:19 +02:00
LevelX2
2ba6bf79f1
Added Flip Coin effect.
2016-10-29 11:09:25 +02:00