Commit graph

1635 commits

Author SHA1 Message Date
jeffwadsworth
658cbff736 - Added Helldozer, Shepherd of Rot, Nefashu, Keep Watch. 2013-01-03 15:34:42 -06:00
LevelX2
da4dd2a6e8 Added Extort ability. 2013-01-03 20:31:58 +01:00
North
c083fae37b fixed cases that could lead to NPE 2013-01-03 15:09:27 +02:00
LevelX2
6e25defa26 Some changes to rule text generation. 2013-01-03 11:14:00 +01:00
LevelX2
fb3a9e3166 Added random discard option to DiscardControllerEffect. Used it in Hannabi Blast. 2013-01-03 11:13:34 +01:00
jeffwadsworth
082356d07f - Little fix for DiscardCardCost. 2013-01-02 16:24:14 -06:00
LevelX2
eea61c6129 Added battalion ability from gatecrash. 2013-01-02 16:20:29 +01:00
LevelX2
5517474c90 Changed set selection for tournament boosters to only show sets with boosters. Closes issue #91. 2013-01-02 15:46:21 +01:00
LevelX2
4bc65dfae7 Fixed a bug in TargetPermanent where remaining targets can get negative. That solves issue #92. 2013-01-02 11:59:06 +01:00
LevelX2
4c37644825 Added method to get amount of spells a player casted during the current turn. 2013-01-01 14:55:58 +01:00
LevelX2
412577e6b4 Fix for issue #88 (incomplete handling of unattach effects caused by zone changes of permanents). 2012-12-30 11:09:06 +01:00
LevelX2
f9cd3e08da [Minor] code style 2012-12-30 11:03:24 +01:00
LevelX2
e269a63e04 Fixed a bug of Chemister's Trick with overload that affected creatures not forced to attack. 2012-12-28 23:55:47 +01:00
LevelX2
f9242b6de3 Fixed rule text bug of ReturnToHandSourceEffect, improved BeginningOfUpkeepTriggeredAbility, samall change to Token. 2012-12-28 17:31:09 +01:00
Loki
aa31ef23d3 bump version to 0.10.1 2012-12-28 12:48:26 +13:00
North
addfe34c0e [minor] code style 2012-12-27 22:15:31 +02:00
LevelX2
1b47a2fa8e Added DevourAbility, DevourEffect, needed Condition and DynamicValue. 2012-12-26 20:42:37 +01:00
LevelX2
cf876dc8f9 Minor formating change. 2012-12-26 20:40:45 +01:00
LevelX2
4ab7766675 Extracted common effect (optional skip untap). This closes issue #66. 2012-12-24 12:47:01 +01:00
LevelX2
494723b11b Minor formating changes. 2012-12-24 12:40:02 +01:00
North
5dbe482662 Renamed DynamicValue.clone to DynamicValue.copy 2012-12-24 09:53:08 +02:00
LevelX2
08e9e88f66 [ZEN] Lullmage Mentor, Obsidian Fireheart. 2012-12-24 02:07:52 +01:00
LevelX2
67e219b2f7 Missing changes to Condition. 2012-12-23 22:20:56 +01:00
LevelX2
efb8cbf457 2 new watchers. 2012-12-23 10:26:01 +01:00
LevelX2
390ce20458 new BeginnOfEndStepTrigger, new OpponentLostLifeCondition, some minor changes. 2012-12-22 20:07:31 +01:00
North
fde10788db removed redundant modifiers from interfaces 2012-12-20 23:45:47 +02:00
North
18b4be3ec7 [minor] code style 2012-12-20 23:45:46 +02:00
LevelX2
ee51cd59e0 Fixed Righteous Authority (it wrongly gained ability to enchanted instead of being ability of the enchantment). 2012-12-20 21:09:33 +01:00
LevelX2
6e054671b3 Minor changes to TotemArmorAbility. 2012-12-20 08:48:56 +01:00
North
f0b32e7ca3 Removed unused imports 2012-12-20 00:26:21 +02:00
LevelX2
1816e50337 Minor changes. 2012-12-16 11:05:11 +01:00
LevelX2
4a498fa256 Some changes to BuybackAbility. 2012-12-15 19:32:24 +01:00
LevelX2
e11fed3d03 Removed unused KickerManaCost and MultikickerManaCost. 2012-12-15 18:45:07 +01:00
LevelX2
66ebfb6aa3 Some changes to kicker implementation. 2012-12-15 18:40:03 +01:00
Plopman
9f140579e5 Added five Pacts 2012-12-15 16:01:41 +01:00
Plopman
64ba5245e0 Added Cumulative Upkeep 2012-12-15 01:04:27 +01:00
LevelX2
35ea67c37b Minor fixes. 2012-12-15 00:07:24 +01:00
Plopman
bc42b1a9f3 Added card for Belcher legacy deck 2012-12-14 22:45:47 +01:00
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