Commit graph

1492 commits

Author SHA1 Message Date
LevelX2
847d55d8a8 fixed ExchangeControlTargetEffect (exchange effect worked after recasting card again, copy() missed a variable, so game state save was incomplete) 2012-10-02 15:44:01 +02:00
LevelX2
0be68286c5 ExileFromStackCost 2012-10-02 00:19:53 +02:00
LevelX2
9481e44ae2 Fixed card number of Search Warrant and fixed NPE of ExchangeControlTargetEffect (still some issues left) 2012-10-01 08:25:46 +02:00
LevelX2
396490cc77 Reworked text generation a bit. Now the text for alternate costs are build correct. But maybe it's better to redesign AlternateCostImpl a bit so that the value of GetName() and GetText() is for all AlternateCost classes handled in the same way. 2012-10-01 00:58:22 +02:00
LevelX2
d6d07c3f9e Small fixes to ExchangeControlTargetEffect, GlintHawk and SavingGrasp 2012-09-30 09:46:21 +02:00
LevelX2
9ea25aa723 ExchangeControlTargetEffect - added mode to exchange control with source 2012-09-30 09:43:08 +02:00
LevelX2
f35e863511 Some small fixes to rule text generation 2012-09-30 09:41:39 +02:00
LevelX2
123b3e1180 Fixed NPE in EntersBattlefieldAbility 2012-09-28 17:44:19 +02:00
LevelX2
5845d56b89 Added optional text generation to EnteresBattlefieldAbility. Deactivated "put counter on" text generation for Planeswalkers. 2012-09-27 20:11:58 +02:00
LevelX2
6ce981c271 Added constructor with filter parameter to TargetNonlandPermanent() 2012-09-27 17:37:35 +02:00
magenoxx
208224f0ae Fixed rule generation exception in SetCardColorSourceEffect 2012-09-26 13:09:44 +04:00
LevelX2
2c93d83dfa Delete unused objects KumanosPupil (now KumanosPupils), RegenerateEquippedEffect (now RegenerateAttachedEffect) 2012-09-24 22:03:38 +02:00
LevelX2
dbae572569 Refactoring RegenerateEquippedEffect to RegenerateAttachedEffect for using with enchantments and equipments 2012-09-24 21:44:20 +02:00
LevelX2
70b78f6de5 New Cost 2012-09-24 08:03:29 +02:00
LevelX2
9a6d28b8de Two new effects 2012-09-24 08:00:00 +02:00
LevelX2
afd928c791 Extended super- and subtype copy for Genju land enchantment 2012-09-24 07:58:09 +02:00
LevelX2
1f8470636f Improved text generation/output 2012-09-24 07:56:01 +02:00
LevelX2
4ec874f8c7 Added the possibility to adjust Choices before using the choices in activated abilities 2012-09-24 07:53:42 +02:00
Plopman
089da65126 Add SetCardColorSourceEffect ( forgot in my last commit) 2012-09-23 17:48:04 +02:00
Plopman
bfe6261acc Add Flanking ability 2012-09-20 13:59:54 +02:00
LevelX2
6adbe1674b Removed the removal of the original subtypes of the enchanted card. E. g. "Enchant Plains" or "Enchant Swamp" enchantments need the subtype to have legal targets. 2012-09-19 21:42:46 +02:00
LevelX2
acb87e81e1 Added constructor with optional parameter. 2012-09-19 21:15:11 +02:00
LevelX2
89b3675552 Try getting attachedTo information also from LastKnownInformation if it's not possible to retrieve it from battlefield. 2012-09-19 20:57:57 +02:00
LevelX2
a76f676be6 [CHK] 2 cards 2012-09-16 20:25:12 +02:00
LevelX2
dda09ee5c1 Improved rule text generation (optionality). 2012-09-16 20:22:10 +02:00
LevelX2
e0f9a07023 [BOK] 5 cards with Remove X Counters 2012-09-16 20:18:35 +02:00
North
3dd3cb2b6c Small change to StormAbility 2012-09-14 10:04:56 +03:00
LevelX2
681be2a70c [BOK] 11 cards and some small fixes/improvements 2012-09-14 08:14:09 +02:00
Plopman
82c9dac2c5 16 cards with Storm 2012-09-13 16:22:34 +02:00
Plopman
f59fd9fc3b Add Storm ability 2012-09-13 13:50:20 +02:00
LevelX2
db58ef2daf Minor fixes and 2012 starter and event decks
- War Priest of Thune made destroy effect optional
- ExileFromGraveCost modified tooltip generation
2012-09-11 13:56:12 +02:00
magenoxx
df58763fe4 Fixed Issue#70: Game handles to lose by draw from empty library not correct 2012-09-07 23:24:50 +04:00
magenoxx
99e23805c1 Fixed Issue#63: Angel's Tomb - Doesn't lose creature status 2012-09-07 22:53:51 +04:00
magenoxx
399cad1836 Fixed Issue#59: Reassembling Skeleton's log message incomplete 2012-09-07 20:49:07 +04:00
magenoxx
3b3d02b3f8 Fixed Issue#67: Evernight Shade doesn't loose +1/+1 effects 2012-09-07 20:05:03 +04:00
magenoxx
88f990ec67 Another way to fix Issue#51: Gravecrawler could block creatures with and without flying 2012-09-07 20:03:47 +04:00
magenoxx
93f446aaf0 fixed Issue#51: Gravecrawler could block creatures with and without flying. All tests pass now 2012-09-07 19:05:07 +04:00
magenoxx
f4ee28d067 Enhanced combat tracing 2012-09-07 18:50:50 +04:00
North
7e3944ef66 [refactoring] CantBlockAbility isn't Singleton anymore 2012-09-07 10:50:07 +03:00
North
9162097213 [refactoring] Exctracted common DefendingPlayerControlsCondition 2012-09-07 01:10:00 +03:00
North
7e5b677647 Added UnblockableSourceEffect; Unblockable isn't Singleton anymore 2012-09-07 00:38:24 +03:00
North
c0e4e7a431 Fixed Ghostform 2012-09-07 00:36:32 +03:00
North
9c814083a1 Fixed tooltip for IndestructibleTargetEffect 2012-09-07 00:14:48 +03:00
North
c89a4fd535 Added UnblockableTargetEffect and used it where necessary. 2012-09-06 23:49:05 +03:00
North
dbb782569b Added UnblockableAllEffect and used it where necessary 2012-09-06 16:58:21 +03:00
North
41a80dcd5f Added UnblockableAttachedEffect and used where necessary 2012-09-06 16:12:02 +03:00
North
ed8e53daba Added IndestructibleTargetEffect and fixed cards that should use it 2012-09-05 23:06:20 +03:00
magenoxx
84670df7dd [RTR] 4 cards. Fixed rule text for GainLifeTargetEffect 2012-09-05 17:56:48 +04:00
North
e9b441ed9e Fixed cards granting indestructibility. 2012-09-05 16:28:35 +03:00
magenoxx
752e147ee1 [RTR] Scavenge keyword 2012-09-05 16:24:53 +04:00
North
204d2410a1 Reimplemented Indestructable using a replacement effect 2012-09-05 00:01:08 +03:00
North
f5336919ed Added 17 cards using SpellsCostReductionEffect 2012-09-04 13:13:08 +03:00
North
ff85b56cad [refactoring] Added SpellsCostReductionEffect and replaced existing effects 2012-09-04 13:13:08 +03:00
North
41c2e80d62 Fixed ControllerPredicate for TargetController.ANY 2012-09-04 13:13:07 +03:00
North
c6db6dffff Ability is also Controllable 2012-09-04 13:13:07 +03:00
Loki
46ec86b54c 0.9.2 dev 2012-09-04 21:24:44 +12:00
North
92deb4a955 [ULG] 9 green cards (by Plopman) 2012-09-03 09:55:12 +03:00
magenoxx
f1f2d7640f Removed CardUtil.copyTo for permanents. Refactored 2 cards. 2012-08-31 14:08:37 +04:00
magenoxx
8f6741a612 Issue#53: added message about Aura card got fizzled 2012-08-31 13:54:03 +04:00
magenoxx
cc4d772483 Fixed Issue#53: AI casts Rancor, but Rancor goes to graveyard 2012-08-31 13:46:29 +04:00
magenoxx
0758f4bb72 Fixed Issue#52 2012-08-31 12:43:46 +04:00
magenoxx
41304c4a58 Fixed NOP for AI 2012-08-31 12:16:06 +04:00
North
7610013628 Improved message for DredgeAbility 2012-08-29 23:12:36 +03:00
magenoxx
db30268bc0 fixed for previous commit 2012-08-29 22:58:04 +04:00
magenoxx
0471771451 [ROE] 4 cards with tests. ROE is 100% implemented. 2012-08-29 22:45:35 +04:00
magenoxx
309ebc7ee3 Fixed Rebound for multi keywords. Added Player.#getSideboard method 2012-08-29 22:44:48 +04:00
magenoxx
8be7dff310 Moved effect to effect common package 2012-08-29 20:46:25 +04:00
magenoxx
50812d6a1c Extracteed PutCreatureOnBattlefieldEffect. Refactored 2 cards. 2012-08-29 20:43:37 +04:00
magenoxx
d5be1178b2 minor 2012-08-29 20:35:23 +04:00
magenoxx
bb962905bb Fixed extra phases handling 2012-08-29 20:34:16 +04:00
magenoxx
afb5162e6a Fixed Issue#48: Additional cost for creatures is not displayed 2012-08-23 14:16:52 +04:00
magenoxx
3d1bb8e1ab Failing test and fix for additional costs not displayed in tooltips 2012-08-23 13:41:40 +04:00
magenoxx
c61e4f2b32 Fixed Issue#35. All tests pass now. 2012-08-22 22:36:19 +04:00
North
aa071912cb Added Sleight of Hand; reused common effect in Sea Gate Oracle 2012-08-21 21:53:40 +03:00
North
3919f1d959 Added DredgeAbility 2012-08-21 21:41:27 +03:00
North
6e3c4cc8e2 [refactoring][minor] minimized duplicate code for any color mana effects 2012-08-20 23:07:49 +03:00
magenoxx
852e96c910 Fixed token type for Garruk Relentless 2012-08-20 11:00:39 +04:00
jeffwadsworth
ab67c12e9a - Added Viashino Sandstalker, Pillage, Cursed Scroll, Fireblast, Hammer of Bogardan, Jackal Pup. 2012-08-16 09:21:42 -05:00
magenoxx
f2229f9fd7 Test and fix for Issue#44: War Falcon - Attack condition does not work properly. Fixed changing controller for game state effects 2012-08-16 08:54:53 +04:00
magenoxx
335462c8c8 Fixed spellAbility fizzle on illegal targets. Fixed #Issue43: Huntmaster of the Fells triggered ability shouldn't be optional 2012-08-16 02:19:43 +04:00
magenoxx
7d9b338328 Test and fix for Issue#42: Creature with undying didn't forget -1/-1 after dying and returning from graveyard 2012-08-16 00:53:42 +04:00
magenoxx
83a6e88076 minor 2012-08-15 10:50:52 +04:00
magenoxx
2fe2da8eaf Failing test and fix for alternative costs not displayed on cards 2012-08-15 10:32:50 +04:00
magenoxx
cb63af7559 Fix for trace util 2012-08-14 15:36:01 +04:00
Loki
85b31df2d5 Bump version to 0.9.1dev 2012-08-14 15:28:06 +12:00
jeff
e2e649079b - Added Volrath's Stronghold, Reflecting Pool, Gemstone Mine, Undiscovered Paradise, and City of Brass. 2012-08-11 19:58:49 -05:00
magenoxx
de1403c4a0 Added SourceMatchesFilterCondition. Refactored SpiritOfTheNight 2012-08-11 11:21:56 +04:00
magenoxx
557e8a7be5 Added setting required target for flashback abilities. Needed because of wrong implementation of flashback but it prevents from accidental canceling targeting 2012-08-09 12:02:45 +04:00
magenoxx
ad7391b4b5 Combat trace (to catch annoying bug with non-flying blockers) 2012-08-08 13:21:31 +04:00
jeffwadsworth
c1d88c7830 - Added Extractor Demon. <Conflux> 2012-08-07 17:18:09 -05:00
jeffwadsworth
7cbdf4f8de - Requested. Added Infernal Genesis, Marshal's Anthem, and Kresh the Bloodbraided. 2012-08-07 14:36:36 -05:00
magenoxx
d90e02ae8e Fixed CantBlockAbility not working 2012-08-04 09:32:23 +04:00
North
0e326b76df Fixed IntComparePredicate 2012-08-03 22:38:29 +03:00
magenoxx
79c09ae801 Madness cleanup watcher fix 2012-08-03 20:00:04 +04:00
magenoxx
5c1a2f7a43 Madness fixes. Removed end_of_turn sound 2012-08-03 17:11:16 +04:00
magenoxx
a5d846f970 AdjustTargets method for dynamic targets 2012-08-03 07:43:43 +03:00
magenoxx
ab9db5a60a Quiet Speculation. Roar of the Wurm. Wurm token. 2012-08-03 07:34:31 +03:00
magenoxx
a3eb062669 Madness keyword 2012-08-02 19:38:22 +04:00
magenoxx
9d7376213e firing PHASE_CHANGED event 2012-08-02 18:34:44 +04:00
Loki
a2a560264a rename 2012-08-01 22:52:28 +12:00
Loki
8d5f4f6214 improved Vanishing and [6ED] Armageddon 2012-08-01 22:51:11 +12:00
Loki
37577a8a4a [PLC] Calciderm 2012-08-01 09:49:28 +12:00
Loki
42d925e008 don't need MillTarget, already have this one 2012-07-31 21:20:48 +12:00
jeffwadsworth
90ab9a759c - Requested. Added Anvil of Bogardan and Drowner of Secrets. 2012-07-30 22:36:32 -05:00
Loki
9d4714507a rewrite fix for Ring of Evos Isle more generic 2012-07-30 22:34:47 +12:00
Loki
df303cbd16 some more cards 2012-07-30 11:44:18 +12:00
Loki
429a03b557 correct fix for Umezawa's Jitte 2012-07-30 11:38:09 +12:00
North
b2863e74d1 [minor] fix for rule text 2012-07-29 16:03:08 +03:00
magenoxx
6f43681f6c added SP rarity type 2012-07-29 10:32:08 +04:00
magenoxx
eefedc03b9 [AI] enhanced targeting. card fixes 2012-07-29 10:31:46 +04:00
North
dd0df32e4b Changed type of CounterPredicate to Permanent 2012-07-27 22:06:06 +03:00
jeffwadsworth
a5e6fd6322 - Added Time of Heroes. <ROE> Love those predicates. 2012-07-27 11:59:11 -05:00
magenoxx
907381b2b2 minor card fixes 2012-07-27 09:25:16 +04:00
North
42eed636a4 [ZEN] Grappling Hook 2012-07-27 07:54:42 +03:00
Loki
6d22e49314 [SCG] Eternal Dragon 2012-07-24 10:31:12 +12:00
North
987e28cef3 [M10] Mirror of Fate 2012-07-23 23:53:24 +03:00
North
a569a4cf0f Fixed Predatory Rampage card text 2012-07-23 22:43:35 +03:00
North
0907b416cd Fixed GainAbilityAllEffect (now uses range of influence) 2012-07-23 22:43:17 +03:00
North
6a74d30309 fixed FilterPlaneswalkerOrPlayer 2012-07-23 22:08:07 +03:00
North
1542ba9ab6 [filters] converted FilterCard conditions to Predicates 2012-07-23 21:53:54 +03:00
Loki
f9934e11a7 Rewind little fix 2012-07-23 19:46:17 +12:00
magenoxx
435798f7d5 Added copyCard method into Game interface 2012-07-23 08:25:41 +04:00
magenoxx
1a60504fcc Blocks this turn ability. 2012-07-23 02:17:41 +04:00
magenoxx
c783cbc41f personal game messages 2012-07-23 01:29:56 +04:00
magenoxx
6a70d1ee6d minor 2012-07-23 01:29:29 +04:00
magenoxx
4a70d28706 [M13] Elderscale Wurm with test 2012-07-23 00:17:20 +04:00
North
64dd5feda6 [filters] minor changes 2012-07-22 22:36:19 +03:00
North
28fe29854c [filters] converted FilterPlayer to Predicates 2012-07-22 22:36:03 +03:00
North
b230fc883a [filters] Reimplemented Wicked Akuba and fixed filtered Player Targeting 2012-07-22 21:59:21 +03:00
North
93804656ea Fixed FilterBlockingCreature 2012-07-22 18:03:10 +03:00
North
45268269aa [filters] removed one use filters 2012-07-22 18:02:26 +03:00
North
9cb5e61c34 [filters] replaced custom filters with predicates 2012-07-22 17:35:39 +03:00
North
0197c16cd7 [refactoring] merged dies triggered abilities for less duplicate code 2012-07-22 17:07:06 +03:00
North
c0da929ba0 [filters] replaced token conditions with TokenPredicate 2012-07-22 15:16:02 +03:00
North
50b650bb7d [filters] added WasDealtDamageThisTurn Predicate 2012-07-22 14:25:56 +03:00
North
badb0ede21 [filters] added Attacking and Blocking predicates 2012-07-22 14:25:56 +03:00
North
61b5f8555e [filters] added BlockedPredicate 2012-07-22 14:25:55 +03:00
Loki
de1bbb37d8 [TMP] Soltari Priest 2012-07-22 20:44:37 +12:00
North
5d83c6f9dc [filters] removed unused code from FilterArtifactPermanent 2012-07-22 11:01:38 +03:00
jeffwadsworth
b90c57ab96 - Added Door to Nothingness. <M13> 2012-07-21 16:36:06 -05:00
North
d773ed3d13 [filters] Replaced EvilTwin filter with predicate
This commit also touches the targeting system. Changes were made for consistency.
2012-07-21 23:18:17 +03:00
North
c8617c0a55 [filters] replaced Paired filter with predicate 2012-07-21 21:52:37 +03:00
North
b8f0cd05e4 Moved comments in Permanent to javadoc 2012-07-21 19:46:58 +03:00
magenoxx
6fbf4c1257 Renamed parameter name. [UI] Fixed big card image blinking on mouse move 2012-07-21 14:10:07 +04:00
magenoxx
1f06ad6dce Replaced by EmptyApplyToPermanent 2012-07-21 12:15:25 +04:00
North
21b8c8a354 Removed Artifact type addition from CopyPermanentEffect 2012-07-21 10:21:29 +03:00
North
1f50506c48 [M13] Magmaquake 2012-07-20 21:23:56 +03:00
jeffwadsworth
bf3d16332d - Added final part to Mwonvuli Beast Tracker. 2012-07-20 13:09:52 -05:00
North
a6e30a20d0 Small fix to ControllerPredicate 2012-07-20 19:42:08 +03:00
magenoxx
8fdc5a33d8 Controllable interface. Fixed ControllerPredicate. 2012-07-20 18:30:24 +04:00