Commit graph

1282 commits

Author SHA1 Message Date
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
magenoxx
ba964592f6 CantAttackAlone and CantBlockAlone abilities 2012-07-20 16:18:26 +04:00
magenoxx
1f5aed848d Exchange control effect: locking controllers. All tests pass now. 2012-07-20 13:16:54 +04:00
magenoxx
d09f96ab55 [M13] Switcheroo 2012-07-20 13:12:31 +04:00
magenoxx
cdb3ccfc38 new effect discarding mechanism 2012-07-20 13:06:42 +04:00
Loki
6daffd3a81 [M13] Rewind 2012-07-19 22:38:55 +12:00
magenoxx
b18d6f2fc8 One more fix for AsThoughEffects 2012-07-19 13:40:12 +04:00
magenoxx
a3faf6eb90 Fixed AsThoughEffects: fixed Issue#23. Tests pass. 2012-07-19 13:18:08 +04:00
magenoxx
5b83ffe518 MageSingleton marker interface 2012-07-19 09:29:17 +04:00
magenoxx
60bd1f9585 [M13] Serra Avenger with tests 2012-07-18 21:52:57 +04:00
magenoxx
1b045ccf37 Correct handling of extra turns. 2012-07-18 21:51:26 +04:00
magenoxx
86089f0fb9 Removed duplicate class for cost. Refactored 1 card. 2012-07-18 20:52:57 +04:00
magenoxx
23a75c39ba [M13] Odric Master Tactician 2012-07-18 20:45:39 +04:00
North
afaf0aab21 Fixed tooltips. 2012-07-18 14:17:05 +03:00
magenoxx
9c6dc78842 Shuffling player seats in multi player 2012-07-18 12:12:12 +04:00
magenoxx
ed0af0faee Added skip-all-turns-and-actions feature. Bound to F9. 2012-07-18 10:15:50 +04:00
North
ac869eaff9 Added safety code for DeckEditor.
Besides the stacktrace, it also prints the name
of the card for which the exception was thrown.
2012-07-18 02:20:48 +03:00
North
8ef941abf0 [refactoring] Added AsEnteresBattlefieldAbility 2012-07-18 01:48:32 +03:00
North
3eac7cbd42 [refactoring] Fixed issues with EntersBattlefieldEffect 2012-07-18 01:48:32 +03:00
magenoxx
fa9c7c4436 Fixed Issue#20: Fatal Frenzy doesn't boost target creature 2012-07-18 00:17:02 +04:00
North
5dbc3a1c07 Fixed issues revealed by EquipAbilityTest 2012-07-17 20:36:28 +03:00
North
b7f57c8a23 [filters] Replaced conditions in StackObject filters with Predicates 2012-07-17 19:00:31 +03:00
North
b478287a99 Merge branch 'filters' 2012-07-16 21:41:36 +03:00
North
30cbdd643d [filters] Replaced ControllerId condition in FilterPermanent with Predicate 2012-07-16 21:41:00 +03:00
North
4563e518a6 [filters] Replaced TargetController condition with Predicate 2012-07-16 20:55:58 +03:00
jeffwadsworth
208de4da21 - Added Xathrid Gorgon, Hellion Crucible. <M13> 2012-07-15 18:31:33 -05:00
jeffwadsworth
3a0ed94b9b - Added Disciple of Bolas, Harbor Bandit. <M13> Little null fix. 2012-07-15 14:56:51 -05:00
North
021e2b59df [filters] Replaced Another condition with Predicate 2012-07-15 17:18:33 +03:00
North
d66c172952 [filters] Refactored FilterAbility to use Predicates
FilterAbility isn't used anywhere. I only noticed after I finished rewriting it. I'll keep the class in the repository just in case someone would need it.
2012-07-15 16:58:01 +03:00
North
cd37b8c3ba [filters] Added support for Predicates with sourceId and PlayerId 2012-07-15 16:32:19 +03:00
North
faa106b3c3 [refactoring] Small change to SimpleManaAbility (please review) 2012-07-15 14:29:00 +03:00
North
c611983f57 [refactoring] removed SearchLibraryRevealPutInHandEffect (duplicate) 2012-07-15 13:12:44 +03:00
North
ead5773411 [filters] Removed unused code from Filters 2012-07-14 15:54:53 +03:00
North
c51dc081c6 [filters] Replaced PhasedIn Condition with Predicate 2012-07-14 15:40:36 +03:00
North
fba4e662d0 [filters] Replaced tapped condition with Predicate 2012-07-14 15:26:00 +03:00
North
5450a65421 [refactoring][filters] Unneeded use of generics was removed 2012-07-14 09:57:47 +03:00
North
43322d3c1a Merge branch 'filters' 2012-07-13 23:10:10 +03:00
North
4edee0b2f9 [refactoring] Moved another field to FilterPermanent 2012-07-13 23:08:10 +03:00
North
13f744f09f [filters] Replaced color conditions with Predicates 2012-07-13 22:46:45 +03:00
magenoxx
ad412af32b Fixed a bug allowing to cast revealed opponent spells 2012-07-13 15:43:32 +04:00
Loki
01f57aa06e [M13] Jace's Phantasm 2012-07-13 20:05:27 +12:00
jeffwadsworth
799095ef81 - Added the Rings. <M13> 2012-07-12 21:54:44 -05:00
North
ecf765ecf5 [filters] Replaced CardType conditions with Predicate 2012-07-12 23:42:46 +03:00
North
0d2053c634 [filters] Replaced abilities condition with Predicate 2012-07-12 20:09:34 +03:00
North
c59087e827 Fixed SubtypePredicate - treated case where object has Changeling 2012-07-12 19:34:37 +03:00
magenoxx
d04008a7d4 Added game.getAbility(abilityId, sourceId) method 2012-07-12 05:48:48 +04:00
magenoxx
dc6888788d Fixed gain and lose life events that didn't interact with replacement effects correctly 2012-07-12 05:19:45 +04:00
jeffwadsworth
31fd406c9e - Added Trading Post. <M13> 2012-07-11 17:14:21 -05:00
North
dcfd5ece0c [filters][refactoring] Minor changes to Predicates 2012-07-12 00:04:44 +03:00
North
2198cae333 [filters] Replaced Subtype condition with Predicate 2012-07-11 23:59:41 +03:00
North
91d320eed2 [filters] Replaced Supertype condition with Predicate 2012-07-11 00:19:48 +03:00
North
dfd2413b89 [filters] replaced Power and Toughness conditions with Predicates 2012-07-11 00:19:47 +03:00
North
85b22de4b0 [filters] replaced ConvertedManaCost condition with Predicate 2012-07-11 00:19:47 +03:00
North
98feeb9968 [filters] replaced Name condition with Predicate 2012-07-11 00:19:46 +03:00
North
3d1f23e03b Added base Predicates and MageObject Predicates. 2012-07-11 00:19:46 +03:00
North
4b805ca3b1 [minor] 2012-07-09 19:54:21 +03:00
North
c71b9c83ab Fixed DrakeToken 2012-07-08 23:39:58 +03:00
North
2e457fda1d Fixed cards to use CantBlockTargetEffect instead of adding CantBlockAbility 2012-07-08 14:35:06 +03:00
North
3e0d565f97 Removed return statement inside loop - TapTargetEffect 2012-07-08 13:50:40 +03:00
magenoxx
1acf00a5da CompoundAbility 2012-07-08 09:38:34 +04:00
North
34576673dd [USG][USL][USD] cards submitted by Backfir3 2012-07-07 22:52:26 +03:00
North
f1ae135d97 [M13] Crippling Blight; Goblin Battle Jester 2012-07-07 21:48:03 +03:00
North
5a45c597bc Fixed cast exception for Rebound 2012-07-07 20:27:17 +03:00
North
94d7fa6ea3 [M13] 50 cards 2012-07-07 20:04:09 +03:00
Loki
4577bfda9c fix 2012-07-07 18:17:46 +12:00
Loki
08e46fad24 refactoring and use a proper ability 2012-07-07 12:29:05 +12:00
Loki
a0125c9581 8 M13 2012-07-07 11:16:29 +12:00
jeffwadsworth
c8c6cdaa0e - Added Time Stop. 2012-07-05 16:32:18 -05:00
Loki
663ec37b96 Merge branch 'master' of https://github.com/magefree/mage 2012-07-05 10:54:38 +12:00
Loki
25b596bff7 2 USG 2012-07-05 10:53:36 +12:00
North
e4438072c2 [refactoring][minor] formatting 2012-07-04 23:58:22 +03:00
North
f4bd912583 Fixed Smite. 2012-07-04 23:58:21 +03:00
Loki
4b91b6d4bb 2 USG 2012-07-04 18:28:18 +12:00
North
d1f3e62d03 [minor] formatting 2012-07-03 21:25:57 +03:00
North
4639abd279 [refactoring] Fixed issues caused by notCardType.
Removed notCardType - it was a relic from previous implementation.
Renamed notScopeCardType to scopeNotCardType.
Renamed notCardTypeList to notCardType for consistency with cardType.
2012-07-03 08:57:14 +03:00
jeffwadsworth
8cd16e21b3 Merge branch 'master' of https://github.com/magefree/mage.git 2012-07-01 17:30:21 -05:00
jeffwadsworth
f713b22b25 - Little fix 2012-07-01 17:28:57 -05:00
magenoxx
742b7c0180 Fixed bug when 2\2 creature was 6\2 on first turn 2012-07-02 00:29:49 +04:00