Commit graph

1597 commits

Author SHA1 Message Date
jeffwadsworth
51186dbfc3 - Added Lorthos, the Tidemaker and Magosi, The Waterveil. 2012-12-13 15:23:41 -06:00
LevelX2
2e60801df6 Fixed some problems concerning applying layeres effects in timestamp order. Tests now always successful.
1.Timestamps not distinct.
  2. Timestamps not updated when attachments are attached (mainly equipments).
2012-12-12 15:51:54 +01:00
Plopman
730686c4d9 Add sunburst ability 2012-12-12 01:15:16 +01:00
LevelX2
4fe64d99d9 Improved MaximumHandSizeController effect. 2012-12-12 01:05:13 +01:00
LevelX2
73d7d3d86e Added new Event EMPTY_MANA_POOL. Added selective remove method to ManaPool. New DynamicValue that counts ManaType of ManaPool. 2012-12-11 21:05:42 +01:00
Plopman
6006b94eb5 Add Retrace Ability 2012-12-10 13:47:30 +01:00
LevelX2
8d97ffa9ba Changes to Kicker. Removed unused BuybackManaCost. 2012-12-09 23:08:03 +01:00
LevelX2
48f7eace00 Changes to buyback, added random discard to DiscardCost. 2012-12-09 19:22:27 +01:00
LevelX2
f1f2202c15 Implemented Buyback ability. 2012-12-08 13:46:20 +01:00
LevelX2
4a6bef4fc1 Reworked Kicker cards. Deleted MultikickerAbility. 2012-12-08 02:26:39 +01:00
LevelX2
67ed36e315 Reworked Kicker. 2012-12-08 02:20:29 +01:00
jeffwadsworth
f0bdd6e744 - Added some null checks. 2012-12-05 14:46:54 -06:00
jeffwadsworth
d45aa3ea7b - Added Ricochet Trap with a new Predicate. 2012-12-05 14:38:43 -06:00
LevelX2
bb5b9587e0 Fixed the causes that triggered abilities were applied more often than they should. Fixed the lose ability bug (test with Master of the Pearl Trident giving island walk). Tests now build without errors. Only rarely the Grounded/Drake Umbra lose ability test fails. 2012-12-05 01:16:28 +01:00
LevelX2
c8ae5fb9ca Some changes to the convoke ability. 2012-12-03 15:28:26 +01:00
LevelX2
0913a36359 Made some changes and additions to abilities and effects. 2012-12-01 20:51:25 +01:00
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