Commit graph

1676 commits

Author SHA1 Message Date
LevelX2
d7cab00905 P/T changing effects from static abilities are applied now before enters the battlefield event triggers. This fixes that Kird Ape or Tarmogoyf P/T wasn't calculated before evoke checked P/T. 2013-03-19 01:38:19 +01:00
LevelX2
7e2064be8f Fixed stack overflow error. Added missing type conversion. 2013-03-18 17:05:25 +01:00
LevelX2
88e5ddb807 Added new method to add an attacker later to combat. 2013-03-17 16:12:29 +01:00
LevelX2
c5776a6ded Fixed Suspend to work with cards without mana costs. Improved dredge rule texts (issue #157) 2013-03-16 19:48:04 +01:00
LevelX2
f005c75d7c Changed statement order the get the messages of the game log in a more natural order. 2013-03-15 15:59:27 +01:00
LevelX2
bc7ffd1201 Fixed a bug that the effect failed when the source attachment of the effect left meanwhile the battlefield. 2013-03-15 15:57:06 +01:00
magenoxx
ded2979dab Fixed Issue#79: Cost reduction does not work properly 2013-03-15 17:54:02 +04:00
magenoxx
2b01a03418 Fixed Issue#89: Unattach event does not trigger if equipped creature is exiled 2013-03-15 14:11:57 +04:00
LevelX2
70a8ede4d5 Merge changes. 2013-03-15 00:04:29 +01:00
LevelX2
fab532cdb6 Support of X costs for CounterUnlessPaysEffect. 2013-03-14 23:57:15 +01:00
LevelX2
9450074b70 Changed AI X costs handling according human handling. Fixed AI handling of modal spells. Changed some AI setting. Changes to AI lgging. 2013-03-14 23:55:14 +01:00
magenoxx
3205cc867f Code and tests for Issue#156: Make smarter dual lands mana choose 2013-03-14 18:31:31 +04:00
LevelX2
987bfb588f Improved target handling of Executioners Swing and fixed buf of FrontlineMedic. 2013-03-13 17:01:49 +01:00
jeffwadsworth
27dec0cacb - Fixed typo 2013-03-12 11:44:25 -05:00
jeffwadsworth
b9b7aa9ac9 - Added Corpse Harvester, Prison Term. 2013-03-12 11:26:58 -05:00
LevelX2
beafbe1aea Added ActivateIfConditionActivatedAbility for abilities that can only be activated if condition is true. 2013-03-11 19:03:55 +01:00
LevelX2
707ce8fca4 [minor] format. 2013-03-11 17:39:01 +01:00
LevelX2
82c44b2b3b Changed txt importer to recognize "Sideboard" independent if upper or lower case. 2013-03-11 17:32:44 +01:00
LevelX2
093be04805 Changed txt deck importer to use latest released card for a card name instead selecting it by random. 2013-03-11 15:47:03 +01:00
LevelX2
1fd3aa46e9 Renamed ConditionalActivatedAbility to ConditionalGainActivatedAbility. Minor Formating. 2013-03-10 14:27:47 +01:00
North
a7a565bb8f [minor] access modifer order 2013-03-10 14:53:02 +02:00
North
e67620260c [minor] removed redundant finally block in CardRepository 2013-03-10 11:05:30 +02:00
LevelX2
1263607862 Fixed a bug that abilities of creatures weren't applied correct after the creature was controlled by opponent and the controll effect ended. Test for this bug. 2013-03-10 02:31:14 +01:00
LevelX2
7e11cccc5b Added reminder text to Persist Keyword ability. 2013-03-09 18:38:54 +01:00
LevelX2
da289a7f67 Fixed that it only is triggered by creatures. 2013-03-09 18:38:29 +01:00
LevelX2
f457817a05 Added MyMainPhase condition and ActivateOncePerTurnManaAbility. 2013-03-09 18:37:56 +01:00
LevelX2
8b57ede370 Fixed a bug of GameState that values for SetValue are not copied. Fixed it for Boolean objects only. 2013-03-09 18:36:30 +01:00
LevelX2
ffcd51989e [minor] formatting 2013-03-06 16:35:22 +01:00
LevelX2
2409e229c0 Fixed can't attack alone ability (issue #119), creature wasn't untapped when attack was reverted. 2013-03-05 22:01:01 +01:00
LevelX2
0bc5f5fe49 Added Predicates BlockedById and BlockingAttackerId. 2013-03-05 15:03:37 +01:00
LevelX2
8718a1de8e Fixed Pit Fight (issue #151) and other fight cards that both targets must be valid when the effect resolves. Fixed also that the second target must be another target than the first. 2013-03-04 22:54:27 +01:00
LevelX2
5b1de89159 Fixed extort that decision if player uses extort and mana payment now happens during resolution. 2013-03-04 08:49:03 +01:00
LevelX2
9f8722c359 Fixed that evolve did not look for last known information of permanant that triggered evolve if permanent meanwhile left the battlefield. 2013-03-04 08:46:03 +01:00
LevelX2
27b2a6c59d Added the suspend ability. 2013-03-04 00:06:41 +01:00
LevelX2
31616f876e Added the possibility to hide a ability for rule text generation. 2013-03-04 00:05:52 +01:00
North
a327668660 fixed possible NPEs 2013-03-02 18:02:09 +02:00
North
c0f837c2e0 removed unused fields 2013-03-02 18:02:08 +02:00
North
cdd5c3f2d3 [minor] removed redundant modifiers 2013-03-02 18:02:05 +02:00
North
5f6f1c7528 [minor] removed unused imports 2013-03-02 18:02:02 +02:00
LevelX2
1baa60e9de Added the possibility to limit library search to an amount of cards (Aven Mindcensor). 2013-02-28 17:15:40 +01:00
LevelX2
955f5ea391 Added CAN_TAKE_MULLIGAN game event. 2013-02-28 08:27:24 +01: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