Commit graph

1724 commits

Author SHA1 Message Date
LevelX2
955f5ea391 Added CAN_TAKE_MULLIGAN game event. 2013-02-28 08:27:24 +01:00
magenoxx
5577d5b3a8 Changed version from 0.10.1 to 1.0.0 2013-02-26 14:11:00 +04:00
LevelX2
d925dda0f8 Merge branch 'master' of https://github.com/magefree/mage.git 2013-02-25 18:32:30 +01:00
magenoxx
f3ae9c85a6 Fixed Issue#146: Creature moving to exile zone instead graveyard 2013-02-25 21:01:48 +04:00
LevelX2
c299ee9461 Renamed Effect. 2013-02-25 00:20:57 +01:00
LevelX2
12a5efa506 Fixed UnleashAbility, DevourEffect, Urabrask the Hidden, Due Respect, Orb of Dreams replacing EntersTheBattlefield instead of only modifying it. 2013-02-24 10:53:25 +01:00
LevelX2
6c08fbb088 Some minor formating and fixing changes to gatecrash cards. 2013-02-23 17:21:16 +01:00
magenoxx
f6f74bd96f Fixed Issue#143: Wrong variable cost order 2013-02-22 23:29:49 +04:00
LevelX2
444df05715 Minor formating changes. 2013-02-22 16:02:23 +01:00
LevelX2
44708e6c4b Minor rule text changes. 2013-02-21 17:06:18 +01:00
LevelX2
f75575f99b Samll changes to ComputerPlayer logging, FromZone Pick for CardImpl added. 2013-02-21 01:22:10 +01:00
LevelX2
391c3db02e Fixed to do the check of existing abilities always by rule text. Added a new abilities.containsRule() method to check by rule, that's sometimes needed. To check always by rule text leaded to bugs during applying copy effects. 2013-02-21 00:15:11 +01:00
LevelX2
47c8ad8076 Fixed a bug of copyEffect not removing the old abilities correctly. 2013-02-20 01:24:44 +01:00
LevelX2
36cd392a02 Minor change to rule text generation. 2013-02-17 19:05:52 +01:00
LevelX2
01a3660cf2 Changed a lot of cards to use ENTERS_THE_BATTLEFIELD event instead of ZONE_CHANGE event. 2013-02-17 01:14:42 +01:00
LevelX2
50bb73fa08 Expanded handling of the ENTERS_THE_BATTLEFIELD event to fix issue #82. 2013-02-17 01:13:15 +01:00
LevelX2
b2aef4225c Fixed issue #137 that counters didn't trigger ADD_COUNTER event for each single counter. 2013-02-15 18:12:45 +01:00
LevelX2
db7694ae60 Solved a bug, that by removing the abilities of a permanent (LoseAllAbilitiesTargetEffect), the permanent was removed from locked in objects of effects from other sources than this permanent. 2013-02-14 16:18:18 +01:00
LevelX2
e4145c90b5 Fixed issue #135 that cards with miracle were always shown on the stack if it was possible to cast them with miracle also if the owner of the card dicided not to use the miracle ability. Minor formating. 2013-02-14 14:50:41 +01:00
LevelX2
8d3796ef7a Fixed issue #136 of Wight of Precint Six. Added test for Wight of Precint Six. 2013-02-14 12:59:15 +01:00
LevelX2
1121c7c562 Fixed a bug in EntersTheBattlefield event of PermanentImpl using ownerId instead controller id. Fixes issue #133. Some minor formating. 2013-02-14 12:58:04 +01:00
LevelX2
127e63ce0d Changed used battlefield.count or battlefield.getActivePermanents methods to take player range into account. 2013-02-13 01:24:36 +01:00
LevelX2
efe277621e New PermanentIdPredicate. 2013-02-13 01:21:33 +01:00
LevelX2
f504a543e1 Removed unnecessary battlefield.count methods not considering player range. Changed cards that used the removed methods. 2013-02-12 17:14:20 +01:00
LevelX2
d78aca041a The CopyTokenFunction copied also gained abilites of permanents that should not be copied according Rule 706. 2013-02-11 21:14:59 +01:00
LevelX2
f67267c0b0 Added rule comments to the new keyword abilities of gatecrash. Added italic style to ability words. 2013-02-11 19:48:54 +01:00
LevelX2
0fa76a9669 Added amount parameter to EnchantedCondition. 2013-02-10 02:34:26 +01:00
LevelX2
7f00d990ab New LoseLifeAllEffect, added amount and random option to DiscardEachPlayerEffect. 2013-02-08 17:20:10 +01:00
LevelX2
ce151982b6 Added a lockedInCondition option for ConditionalContiniousEffect. Added test for issue #127. 2013-02-07 23:31:47 +01:00
LevelX2
dd403d2c55 Added applier parameter to CopyPermanentEffet(). 2013-02-06 17:15:25 +01:00
LevelX2
fcd24572dd Computer generated decks for tournaments use now also appropriate basic lands for the cards included in the deck. 2013-02-06 00:50:00 +01:00
North
4e44a66b64 increased version for the cards db 2013-02-05 22:16:37 +02:00
LevelX2
3a90fbb49c Fixed a bug in CreatureCastManaCondition leading to an endless loop. Improved ConditionalAnyColorManaAbility to use also with one choice but X mana. 2013-02-04 21:19:12 +01:00
jeffwadsworth
073e4f7748 - Fixed Jace's Phantasm. 2013-02-04 12:05:06 -06:00
LevelX2
5f3a8eb360 Changed logic of adding basic lands in deck generation and the add land function in limited deck editor to use lands from the sets of the cards in the decks. Added missing attributes to set definitions. 2013-02-03 16:54:03 +01:00
LevelX2
8af2628094 Fixed bug of ReturnToHandAllEffect, minor formating changes of Combat. 2013-02-02 19:04:58 +01:00
LevelX2
8283d7b161 Fixed issue #115 (creatures with block restrictions were not correctly removed from combat). 2013-02-02 09:14:45 +01:00
LevelX2
0c03cf6797 Fixed a problem with the tests and the logic that opponents can activate activatedAbilities. 2013-02-01 19:54:27 +01:00
jeffwadsworth
1ac909d09c - Added Duskmantle Guildmage, Dinrova Horror, Clan Defiance, Spire Tracer, and Hindervines. Added some extra functionality to DamageTargetEffect. 2013-02-01 09:59:59 -06:00
LevelX2
271872cfe5 Merge branch 'master' of https://github.com/magefree/mage.git 2013-01-31 23:41:39 +01:00
LevelX2
9f5857b0ed Added possibility to set a minimum for VariableManaCosts (does only work for humans). 2013-01-31 23:39:14 +01:00
LevelX2
7ff893a57a New RemoveVariableCountersTargetCost. 2013-01-31 21:56:46 +01:00
LevelX2
eff6ea131f Added possibility that opponent can activate activateted ability to activatedAbility. Minor changes. 2013-01-31 21:56:11 +01:00
LevelX2
73a9c428b7 Changed rule text generation of GainLifeEffect. 2013-01-29 08:37:03 +01:00
LevelX2
d921b15dd0 Added support of DynamicValues to DamageMultiEffect and TargetAmount. 2013-01-28 23:59:08 +01:00
LevelX2
0b22f91ef6 New CantBlockAttackActivateAttachedEffect. 2013-01-27 01:05:55 +01:00
LevelX2
a4f4e7dc52 Added asThoughEffectType HEXPROOF and integrated the check in PermannetImpl and PlayerImpl. Removed uneccessary CantTargetSourceEffect from HexproofAbility. 2013-01-26 20:31:46 +01:00
LevelX2
3ade484a45 New ExileAllEffect, new SecondTargetPointer, changes to BoostTargetEffect (rule text), Added setText method to Effect . 2013-01-26 15:56:33 +01:00
LevelX2
fc34c2e426 Changed rule text generation. 2013-01-26 00:50:20 +01:00
LevelX2
f6ffec2e16 Improved rule text generation. 2013-01-24 01:00:41 +01:00
LevelX2
90d0068395 New DealtDamageToSourceTriggeredAbility. 2013-01-23 21:43:01 +01:00
LevelX2
647c2b2ee9 Some changes to rule text generation. 2013-01-22 01:32:32 +01:00
LevelX2
43dcbbeda6 Using common CanBlockAdditionalCreatureEffect. 2013-01-21 16:38:51 +01:00
LevelX2
a0bed272db Minor changes of rule text gerneration or format. 2013-01-21 16:38:18 +01:00
LevelX2
df4d26b3fe Added return paramater to copyPermanent. 2013-01-19 18:08:36 +01:00
LevelX2
b98a14143c Some small fixes. 2013-01-19 18:07:56 +01:00
Plopman
852b5a8eb8 [GTC] Added Aetherize, Consuming Aberration, Dimir Charm, Enter the Infinity, Ogre Slumlord and Stolen Edentity 2013-01-19 17:21:39 +01:00
jeffwadsworth
0cf18df0aa - Fixed Sovreigns Of Lost Alara. 2013-01-18 21:33:00 -06:00
LevelX2
e255db67e7 Added rule parameter to BlocksOrBecomesBlockedByCreatureTriggeredAbility. 2013-01-18 01:04:03 +01:00
LevelX2
d55fbafc66 Fixed issue #80 that multiple PermanentTokens copied from one Token used the same abilities. 2013-01-17 23:01:24 +01:00
jeffwadsworth
c21dd5ad51 - Added Sovereigns Of Lost Alara. Fixed Bruna, Light of Alabaster. Added 2 new Predicates based on Ludwig's code. Thanks for the help. 2013-01-16 18:40:59 -06:00
LevelX2
bf59d850a8 Fixed a bug that the copy of a Token could no more be copied because the baseValues for P/T were 0 for this copy. E.g. populate on an already populated token failed because of this bug. 2013-01-16 14:14:34 +01:00
ludwig.hirth
c60959c664 Merge branch 'master' of https://github.com/magefree/mage.git 2013-01-15 13:35:02 +01:00
LevelX2
798e4c498e Changed handling of X costs to announcing the value (change takes effect only for human players). 2013-01-15 13:33:13 +01:00
LevelX2
f3e7a68381 Changed rule text gerneration. 2013-01-15 00:54:13 +01:00
Plopman
d8cb4fb929 Added WinGameEffect 2013-01-14 22:44:44 +01:00
magenoxx
3df5466d8a Added downloading flipped card images. Removed counting images for ignored sets. 2013-01-14 22:07:07 +04:00
LevelX2
a724c2e712 Added ReturnToBattlefieldUnderOwnerControlSourceEffect 2013-01-14 08:24:26 +01:00
LevelX2
7f9ccc1175 Added optional counterType restriction to RemoteCounterCost. 2013-01-13 10:42:14 +01:00
LevelX2
cf602a19c4 Improved rule text generation. 2013-01-12 15:01:00 +01:00
LevelX2
2c2231295c New SetPowerToughnessAllEffect. MirrorEntity changed to use the new effect. 2013-01-11 15:24:37 +01:00
LevelX2
3bc17d9426 Added CipherEffect (Gatecrash). 2013-01-11 08:20:05 +01:00
Plopman
0074e48645 Added Dark Depths, Spoils of the Vault, Entomb, Beseech the Queen, Tomb of Urami and Exhume 2013-01-10 17:53:01 +01:00
LevelX2
421f6fb49d Added VariableManaCostPredicate. 2013-01-10 01:00:06 +01:00
North
ba3e59477f added versioning for the cards database
DB_VERSION must be incremented when database needs clearing
2013-01-09 23:47:27 +02:00
LevelX2
efccd682b6 Some rule text changes and some improvements to BeginningOfCombatTriggeredAbility. Use it for Desecration Demon. 2013-01-09 15:25:23 +01:00
LevelX2
9fb66bd065 Minor farmating changes. 2013-01-09 15:23:47 +01:00
LevelX2
871b20c537 New AttackingCreatureCount and some changes to rule text generation. 2013-01-09 00:29:07 +01:00
LevelX2
cdcc24a159 Fixed tooltip rule generation. 2013-01-08 00:30:25 +01:00
LevelX2
8cef2df859 Fixes and improvements to tooltip rule generation. 2013-01-08 00:15:41 +01:00
LevelX2
2e31aacfaf Some changes to rule text generation, minor format changes. 2013-01-06 11:19:01 +01:00
LevelX2
57ed19c346 Some changes to rule text generation and some minor formating changes. 2013-01-05 14:52:13 +01:00
LevelX2
aef4a61779 Missing Spell changes from moving logic of counters from Permanent to Card. 2013-01-05 14:40:51 +01:00
jeffwadsworth
06032aa49e - Added Defiler of Souls, Blitz Helion, and Demonspine Whip. Also added a new predicate. 2013-01-04 16:12:45 -06:00
LevelX2
c05a96910e Added BloodrushAbility from Gatecrash. 2013-01-04 18:05:39 +01:00
LevelX2
019b5a3f0e Minor fix that triggering creature must be on the battlefield when effect resolves. 2013-01-04 18:04:58 +01:00
LevelX2
9762cf0b0d Minor change. 2013-01-04 15:05:51 +01:00
LevelX2
58aad31a69 Added EvolveAbility for gatecrash cards. 2013-01-04 15:05:03 +01:00
LevelX2
452794bf1e Moved methods and attributes concerning counters from Permanent to Card (to support e.g. suspend in the future). 2013-01-04 15:04:31 +01:00
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