Commit graph

1581 commits

Author SHA1 Message Date
LevelX2
0d400b1802 Added new ZoneChangeAllTriggeredAnility and EntersBattlefieldAllTriggeredAbility. 2012-12-01 20:50:27 +01:00
LevelX2
0eb8ba615e Fixed a bug in AddCountersSourceEffect. 2012-11-30 09:55:38 +01:00
LevelX2
195761347f Minor change to KickedCondition. 2012-11-29 07:51:48 +01:00
LevelX2
8f91335ebe Added the Convoke keyword ability. 2012-11-29 07:45:50 +01:00
LevelX2
d7ad639439 Added a method to set the rule of an ability to the top of the rules shown in the tooltip. 2012-11-29 07:43:15 +01:00
Plopman
1e9ccf06af Merge branch 'master' of https://github.com/magefree/mage.git 2012-11-28 23:23:59 +01:00
Plopman
3b176eedf2 Add Time Spiral, Candelabra Of Tawnos, Turnabout, High Tide, Intuition and Wipe Away, 2012-11-28 23:19:04 +01:00
jeffwadsworth
1af25bd3a4 - Added Vastwood Animist, Terastodon, Tomb Hex, Summit Apes. 2012-11-28 15:37:58 -06:00
LevelX2
caa07069b4 Improved CardCriteria to handle no selected color or card type without exception. 2012-11-27 17:18:53 +01:00
LevelX2
4b2e6a8bc0 Redesigned handling of various art for cards. 2012-11-27 15:24:29 +01:00
LevelX2
0d360056a7 Some new common effects around blocking. 2012-11-25 20:11:18 +01:00
North
6d65602cdb Added 4 Mutation cards 2012-11-25 14:03:04 +02:00
North
255f839397 Improved text generation for CreateTokenEffect 2012-11-25 14:02:44 +02:00
Plopman
f1a9310228 fix SecludedSteppe and Myr Battlesphere 2012-11-24 19:15:37 +01:00
LevelX2
29222dfcbf Added reloading of effects during apply that is needed if some effects are added during the apply. According to the reverted fix of Plopman from 19.11.2012. 2012-11-23 00:53:09 +01:00
LevelX2
8af27d10b5 New MustBlockAttachedEffect. 2012-11-23 00:49:46 +01:00
LevelX2
d653de950f Added to BeginningOfUpkeepTriggeredAbility for targetController a mode that defines the controller of the object the source is attached to. 2012-11-23 00:46:07 +01:00
LevelX2
c8d9006740 Changes to kicker and multikicker, showing in log if spell was cast with kicker. Changed some effects and abilities to implement some cards. 2012-11-21 23:29:27 +01:00
LevelX2
c18345ef85 Fixed a bug in TargetSpellOrPermanent. 2012-11-21 23:22:27 +01:00
LevelX2
f601c01cab Changed target handling of ModularAbility. 2012-11-20 08:37:19 +01:00
LevelX2
37d487464f Finished modular keyword ability from Darksteel. 2012-11-20 01:22:48 +01:00
LevelX2
c8411395b7 Fixed SpellsCostReductionEffect reducing the costs of FlashbackAbility. 2012-11-19 23:00:43 +01:00
LevelX2
3c97dc5fde Fixed a bug in TargetPermanentOrPlayer- 2012-11-19 16:21:56 +01:00
Plopman
814bb081a7 Revert "Fix copy effect and gain triggerAbility effect"
This reverts commit bfd3bcaf78.
2012-11-19 11:38:05 +01:00
Plopman
bfd3bcaf78 Fix copy effect and gain triggerAbility effect 2012-11-19 11:25:15 +01:00
jeffwadsworth
14cbddcf11 - Added Joraga Warcaller, Feral Contest, Seers Sundial, and Vastwood Zendikon. 2012-11-18 23:04:47 -06:00
LevelX2
8ee25859a7 Removed duplicate class. 2012-11-18 19:07:55 +01:00
LevelX2
d065b95501 Improved text generation. 2012-11-18 14:07:49 +01:00
LevelX2
1d46a90bbd Fixed a bug that copys of tokens used the increased values from cards like "Intangible Virtue" for power and toughness. 2012-11-17 21:01:05 +01:00
LevelX2
f763985ce9 Fixed handling of Chisei, Heart of Oceans. Some more minor fixes/changes. 2012-11-17 20:24:25 +01:00
LevelX2
8684cf2962 Improved text generation of GainAbilityControlledEffect. New CounterAnyPredicate. 2012-11-17 20:18:58 +01:00
LevelX2
19d7b62996 Added filter possibility to CreatureEntersBattlefieldTriggeredAbility. 2012-11-17 20:15:51 +01:00
Loki
f017ab903c version bump to 0.10.0 2012-11-15 22:47:15 +13:00
LevelX2
f18337557c Added FilterControlledLandPermanent and revised affected cards. 2012-11-13 17:00:34 +01:00
jeffwadsworth
8dcfead462 - Attempt to fix the AI attacking with your creatures. Small enchancements to AI attacking. 2012-11-08 11:57:13 -06:00
LevelX2
1d9df4a3bd Some fixes and minor changes. 2012-11-07 23:43:32 +01:00
LevelX2
e3ca906b05 Crypt Rats, Pestilence Rats 2012-11-07 23:41:34 +01:00
LevelX2
59f70c28f5 The targets of casted spells are shown again in the log. 2012-11-07 23:39:11 +01:00
LevelX2
35f90e8b57 cleaned code from Shoal spells, solved problem that the shoal cards itself was counted as cards that can be used for ExileCardFromHandCost. 2012-11-06 16:59:03 +01:00
LevelX2
5856e69f84 CardIdPredicate, fixed bug in FilterCard where wrong playerId was used for match, some changes for ExileFromHandCost 2012-11-06 16:55:34 +01:00
LevelX2
78b8daec02 Ninjutsu ability, UnblockedPredicate, small cleaning changes to OfferingAbility 2012-11-05 21:54:53 +01:00
LevelX2
4452107748 Small changes to rule generation. 2012-11-05 21:52:35 +01:00
North
f64149971a Merge branch 'CardRepository' 2012-11-05 19:37:51 +02:00
LevelX2
f96cb6532a added the possibility that DelayedTriggeredAbilities can trigger more than one time 2012-11-05 16:54:11 +01:00
Plopman
222b74c8ea Fixed Double face cards triggerd ability and Moonscarred Werewolf. Issue #55 2012-11-05 15:41:58 +01:00
North
9ad2eff813 [CardRepository] rewritten booster generation 2012-11-04 16:02:23 +02:00
North
25cd490be3 [CardRepository] moved Sets, DeckImporter and CardRepository to Mage Framework 2012-11-04 12:52:02 +02:00
LevelX2
7eb6ee15c0 ExileFromHand Cost, some small changes 2012-11-03 16:41:19 +01:00
LevelX2
40e74d2507 Offering keyword ability 2012-11-03 16:39:09 +01:00
LevelX2
0eb4596d05 Minor changes/fixes 2012-11-03 16:25:22 +01:00
jeffwadsworth
2d30a178ee - Added Cataclysm, Soltari Visionary, and Erratic Portal. 2012-10-30 12:01:30 -05:00
Plopman
b4a8bb2df0 [JUD][FUT] Add Wish 2012-10-30 13:12:52 +01:00
LevelX2
cf3764e52a used targetPointer instead source target, minor rule text change 2012-10-29 08:27:05 +01:00
LevelX2
b9d98eb564 Fixed issue #58 (ability from night and day side of "Screeching Bat" triggered simultaneously) 2012-10-27 14:53:41 +02:00
LevelX2
e706a77211 Added putOntoBattlefield handling for cards played from exile zone (Ornate Kanzashi). 2012-10-26 08:32:36 +02:00
LevelX2
6b42b9726c Fixed issue #56. Tokens don't match enters the battlefield abilities because of missing attributes. 2012-10-26 08:29:16 +02:00
jeffwadsworth
bb49122ef9 - Added Conjurer's Bauble, Elsewhere Flask. 2012-10-25 18:41:11 -05:00
magenoxx
575cebad7f Displaying arrows for fixed targets in effects (for Jace, Architect of Thought first ability) 2012-10-24 17:45:55 +04:00
North
9acb0e23bc Removed unused code from Sets and ExpansionSet 2012-10-22 23:57:14 +03:00
LevelX2
8efda49196 UnleashAbility added inform text 2012-10-21 18:45:49 +02:00
North
505d5c981a Added CardRepository 2012-10-21 18:15:35 +03:00
LevelX2
80b1d971b5 New LoseLifeOpponentsEffect, new dynamicValue SacrificeCostCreaturesPower, update to OpponentsLostLifeCount 2012-10-18 00:03:42 +02:00
LevelX2
94435d5e9d Small fix that the player itself doesn't count as opponent 2012-10-17 17:16:01 +02:00
LevelX2
d2f1a98511 Redesign of SearchTargetGraveyardHandLibraryForCardNameAndExileEffect for reusablility. 2012-10-17 14:29:13 +02:00
LevelX2
e60c728bbb new PlayerLostLifeWatcher and OpponentsLostLifeCount dynamic value for some RTR cards 2012-10-17 00:51:53 +02:00
LevelX2
333c5017c3 Added filter to AttacksCreatureYourControlTrigger ability, dynamic value DiscardCostCardConvertedMana added, some small fixes ti rule text generation. 2012-10-14 23:49:12 +02:00
LevelX2
790a966b4c [RTR] 4 cards 2012-10-14 01:06:46 +02:00
LevelX2
1793c4cf1c Fixed rule text generation 2012-10-14 01:04:32 +02:00
LevelX2
a2506ffa69 appliedEffects parameter added to addCounters methods for tracking replacementEffect consumation 2012-10-13 00:54:52 +02:00
LevelX2
634007d831 Fixed way PopulateEffect copys token (did not work correct for Pack Rat token). PermanentToken copys now ManaCost if exist for a token like Pack Rat. 2012-10-12 16:17:25 +02:00
LevelX2
b7c30ea230 [RTR] AshZealot, Slum Reaper, Tavern Swindler, Ultimate Price 2012-10-11 17:17:48 +02:00
LevelX2
28e4185965 [RTR] 2 cards, OverloadAbility 2012-10-10 20:47:00 +02:00
LevelX2
1044602325 changed text generation 2012-10-10 20:45:07 +02:00
LevelX2
7c44b16504 AbilityPicker shows abilities now always in the order they were defined on the object. 2012-10-10 20:43:18 +02:00
LevelX2
4dfadb3ea1 Converted first char of rule text to uppercase for SpellAbility. 2012-10-10 20:37:58 +02:00
LevelX2
e8f12b07ca Added rule parameter to GainAbilityAttachedEffect, changed rule text of cycling 2012-10-10 01:31:27 +02:00
LevelX2
ef37e40f9f Player.java was missing from previous commit. 2012-10-09 22:15:02 +02:00
LevelX2
06624ed116 Added appliedEffects parameter to Player.damage to handle damage redirection effects correct. Fixed Furncae of Rath damage redirectionEffect. 2012-10-09 17:54:21 +02:00
LevelX2
d42e27247d Added a list for appliedEffects (ReplacementEffects) to GameEvent that can be used to comply with rule 614.5. 2012-10-09 16:22:30 +02:00
LevelX2
bd784dfbb0 Changed list for choices from HashSet to LinkedHashSet. Now order of choices are' nt random anymore (e.g. choose ReplacementEffects). 2012-10-09 16:17:52 +02:00
LevelX2
306e4ed845 new RegenerateAllEffect, minor change to ExileFromZoneTargetEffect 2012-10-08 21:50:51 +02:00
LevelX2
22440fa1ac [RTR] 11 cards with populate, 2 Charm cards, PopulateEffect 2012-10-07 02:49:19 +02:00
LevelX2
b8ffb3f7c8 Added official rule text for keywords. Added some player information. 2012-10-07 02:46:51 +02:00
LevelX2
76233a4252 Modes are now sorted in the order they are added in the card. For rules text and when a player chooses a mode. 2012-10-07 02:41:58 +02:00
LevelX2
7de8b2860f [RTR] 11 cards with unleash, UnleashAbility 2012-10-06 01:13:01 +02:00
LevelX2
d09952b673 [RTR] 9 cards with detain 2012-10-05 02:13:22 +02:00
LevelX2
d542bffbff ExchangeControlTargetEffect will now be removed from effects if it don't applies for a target. 2012-10-04 18:20:10 +02:00
LevelX2
0840b0b9c9 Fixed EntersBattlefieldAbility no rule generation option. 2012-10-03 23:41:34 +02:00
jeffwadsworth
8148c59aee - Added Avenging Arrow, Lotleth Troll, and Permafrost Trap. 2012-10-03 14:05:07 -05:00
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