Commit graph

2097 commits

Author SHA1 Message Date
LevelX2
4cf951399c Added method to player to put a list of cards on the bottom of the library in any order. 2013-06-14 15:18:51 +02:00
LevelX2
faf8a450da [Minor] Formatting. 2013-06-14 00:31:29 +02:00
LevelX2
140bf42f60 Minor formatting. 2013-06-11 17:22:21 +02:00
LevelX2
21e88c1ce3 ConditionalTriggeredAbility checks condition now as interveningIfClause. 2013-06-11 17:22:06 +02:00
LevelX2
68fc9de5fc Support of DynamicValues added to SacrificeAll effect. 2013-06-11 17:19:37 +02:00
LevelX2
029bdc059d Fixed a bug of EntersBattlefieldAllTriggeredAbility that zone != battlefield did not work. 2013-06-11 00:17:41 +02:00
LevelX2
3dbdba32e9 * Number of wins can be set for tournaments. * Current score of running matches is shown in the table list. 2013-06-10 16:25:31 +02:00
LevelX2
dec8f24c68 * The list of completed matches and tournaments shows now also columns with start and end time. 2013-06-10 14:12:24 +02:00
LevelX2
aef53bc4ce * The list of open tables shows now the codes of boosters selected for sealed or draft tournaments in the deck type column. 2013-06-10 12:38:38 +02:00
LevelX2
ae6139f859 * The check if a card is legal to a format checks now if the card is legal if taken from other sets in case the set itself of the card is not legal normally (reprint). 2013-06-10 08:19:01 +02:00
LevelX2
262cc5e2b9 Fixed minor bug of game log discard text. 2013-06-09 15:30:42 +02:00
LevelX2
1aaefc9252 Added TapAllEffect and CantAttackBlockAttachedEffect to Framework. 2013-06-09 15:29:23 +02:00
LevelX2
c7546cfe94 * Transmute - Added reminder text. 2013-06-09 10:04:18 +02:00
LevelX2
bbfd8de276 Fixed a bug that no lands were added to sealed/draft decks, if drafted with a set not included in a block and that itself does not include basic lands. 2013-06-08 16:55:09 +02:00
LevelX2
fafde2ef31 Fixed bug of TargetCardInYourGraveyard that counted also cards in other graveyards (fixes Archaeomancer bug). 2013-06-08 02:15:25 +02:00
LevelX2
bbf2af31de Fixed a bug of Condescent (target was missing). 2013-06-07 07:47:57 +02:00
LevelX2
5c479eb919 Fixed a bug that x spells that need black mana to pay for x (e.g. Consume Spirit) could be paid with all kind of mana. 2013-06-06 17:37:49 +02:00
LevelX2
6a8af5aef0 Merge branch 'master' of https://github.com/magefree/mage.git 2013-06-05 22:41:00 +02:00
LevelX2
211af5c9e3 Fixed bug of DamageTargetEffect. 2013-06-05 22:36:30 +02:00
Plopman
b441a16627 Added DynamicValue to damageControllerEffect 2013-06-05 20:03:18 +02:00
LevelX2
f42bab2b16 Added info how many cards still to discard in discard message of cleanup phase. Added replace effect for coin flipping. 2013-06-05 17:26:02 +02:00
LevelX2
8cb4c17567 Fixed bug of Chandra the Firebrand making only damag to first target with her third ability. 2013-06-05 17:24:45 +02:00
LevelX2
ee02b47d54 Some minor changes to framework functions. 2013-06-04 17:12:30 +02:00
LevelX2
2259a534b2 Fixed a bug of ZoneChangeAllTriggeredAbility trying to get permanent from battelfield if permanent left battlefield. 2013-06-04 00:55:50 +02:00
LevelX2
87a0b85070 Some minor changes to Cascade Ability. 2013-06-03 21:48:19 +02:00
LevelX2
9894593d4c Mulligan message shows the number of cards the player mulligans to. 2013-06-03 21:46:17 +02:00
LevelX2
a035966608 Some minor changes to Suspend Ability. 2013-06-03 19:25:43 +02:00
LevelX2
951dfc2239 [minor] Formatting. 2013-06-03 19:25:24 +02:00
LevelX2
30439c2596 Added Quit Disrepair. 2013-06-03 08:29:15 +02:00
LevelX2
0facaa8974 [minor] Formatting. 2013-06-02 09:37:38 +02:00
LevelX2
ba21f4799f Initializing player life and top card reveald state for new game so that the values from last game are not applied at the start of the new game of a match. 2013-06-02 09:37:17 +02:00
LevelX2
9989070b7e [minor] Formatting. 2013-06-02 02:28:20 +02:00
LevelX2
2d7c4e08a8 Fixed UndyingAbility and PersistAbility giving their counters to late to the permanent. 2013-06-01 17:42:13 +02:00
LevelX2
b46dab1c96 Fixed two bug of detain (DetainAll did not lock in targets, DetainTarget did not take zoneChangeCounter into account). Added info text to tooltip of detained permanents. 2013-05-31 17:42:25 +02:00
LevelX2
1677373c13 Added canUseActivatedAbilities method to RestrictionEffect. 2013-05-31 17:38:59 +02:00
LevelX2
6aee547572 [minor] formatting 2013-05-30 15:25:51 +02:00
LevelX2
6fe49fff2d Added prefixRule option to EntersBattlefieldTriggeredAbility. 2013-05-30 15:25:28 +02:00
LevelX2
8914c204f6 Added logic for state base effects to remove copied cards in exile. Fixed a bug that triggeredEffects were null because player was no more in game. Added isInGame method for Player. 2013-05-30 15:24:45 +02:00
LevelX2
38917087a5 Fixed a bug that AI blocking causes endless loop. 2013-05-30 15:21:39 +02:00
LevelX2
d178a774f3 Fixed bug of Mutilate and Ichor Explosion not locking in the dynamic values. 2013-05-30 09:26:20 +02:00
LevelX2
6f8ee8e3de Fixed blocking change for AI player not locking the game. 2013-05-29 21:02:00 +02:00
LevelX2
7bb6fabfef Fixed Alpha Authority and combat to handle a defined maximum of blockers. 2013-05-29 17:41:30 +02:00
LevelX2
9c18425b46 [Minor] fixes to sourceId paramter for returning creatures to battlefield. 2013-05-28 07:43:18 +02:00
LevelX2
b463bc756f Added reminder text to Equip ability. 2013-05-28 07:42:14 +02:00
LevelX2
68ed1a4c91 [Minor] fixes to tooltip rule generation. 2013-05-28 07:41:52 +02:00
LevelX2
9a42d3d3f8 Trying to fix a ConcurrentModificationException during FFA match, if a player dies. 2013-05-28 07:41:08 +02:00
LevelX2
b7881f8eb2 Implemented split card name handling according the rules (two separate names). I guess this fixes #221. 2013-05-27 16:57:16 +02:00
LevelX2
9c1883578d Added 7 equipments with atomatic attach effect. 2013-05-27 14:47:33 +02:00
LevelX2
40d1ea8da1 [minor] fixes to handling of auras going to battlefield from library or graveyard. 2013-05-27 12:55:11 +02:00
LevelX2
613aa5cd8b Fixed a bug concerning convoke loosing x value if using creatures with colored mana that can be used to reduce the spell costs. 2013-05-26 14:34:14 +02:00
LevelX2
f158c40d1e Fixed a bug in the Evoke ability. 2013-05-25 18:00:29 +02:00
LevelX2
9f277547de Added Evoke ability. 2013-05-25 15:42:52 +02:00
LevelX2
3da35269af Some minor changes to framework classes. 2013-05-25 15:42:04 +02:00
LevelX2
9c58e1c209 Added HauntAbility (for creatures). 2013-05-24 20:35:12 +02:00
LevelX2
2d9df9d0f4 Fixed bug of SetPowerToughnessAllEffect not using filter. 2013-05-24 20:34:48 +02:00
LevelX2
4f8fe8c510 Fixed a bug that the event LIFE_GAINED event did not include the correct amount of life, if replacement effects had changed that amount. 2013-05-24 14:49:47 +02:00
LevelX2
5b4c2eb3fa [minor] changes to tooltip rule generation 2013-05-22 17:23:51 +02:00
LevelX2
d6d9420e6e Fixed a bug in FFA games if player has lost and had cards in exile zones causing NPE. 2013-05-22 01:29:53 +02:00
LevelX2
c2aa574ea6 Some improvements to rule text generation of BoostControlledEffect. 2013-05-21 16:42:49 +02:00
LevelX2
27f0b7bc4d Fixed bug of Sage's Row Denizen triggering for all instead of controlled creatures entering the battlefield. 2013-05-21 08:31:18 +02:00
LevelX2
21a4aa09e4 Small changes to match score output to the game log. 2013-05-20 10:52:36 +02:00
LevelX2
8dd1a0fad0 Throwing exception if triggerdAbility == null. 2013-05-20 10:51:45 +02:00
LevelX2
579951ee36 Fixed bug of Council of the Absolute allowing to select all card nymes instead the correct not land and not creature names. 2013-05-15 00:46:38 +02:00
LevelX2
bde1e90dfb Fixed bug that Cloudstone Curio triggered also for opponents permanents entering the battlefield. 2013-05-12 16:18:17 +02:00
LevelX2
5336d4c0f9 Pushed version to 1.0.3 dev. 2013-05-12 16:00:25 +02:00
LevelX2
6b38cd5b18 Mage Version 1.0.2 2013-05-11 23:06:30 +02:00
LevelX2
ad4ff095de Fixed bug that SplitCard was not moved to graveyard. 2013-05-11 21:31:57 +02:00
LevelX2
1442f6fef5 Fixed minor rule text bug. 2013-05-11 20:48:20 +02:00
LevelX2
101194acf7 Many changes to split cards handling (showing arrows and log text for fused spells., handling protection and other things correctly). 2013-05-11 20:11:58 +02:00
LevelX2
22bdb209ab Some minor changes/fixes. 2013-05-11 20:08:51 +02:00
LevelX2
e0ff641952 Fixed bug in BecomesCreatureTargetEffect not changing P/T to zero if token has such a P/T. 2013-05-11 20:07:09 +02:00
LevelX2
b352217e17 Some improvements to split card handling. Better display of tooltip of split cards, also added handling if not cast from hand. 2013-05-09 21:26:15 +02:00
LevelX2
a29dc6cb18 Changed split card name using " // " as separator to be more conform with elsewere used name. But image save name uses " - ". 2013-05-09 14:02:15 +02:00
LevelX2
66ebfe19f2 Fixed some wrong card numbers and rarities. Raised db version by 1. 2013-05-09 11:19:39 +02:00
LevelX2
e7024c1088 Fixed #220 (Sinister Possession) and fixed #219 (pay text of DoIfCostPaid). 2013-05-09 10:40:22 +02:00
LevelX2
2d2deb0742 Added AtTheBeginOfPreCombatMainPhaseTriggeredAbility. 2013-05-09 09:43:35 +02:00
LevelX2
d6277449d5 Added AtTheBeginOfCombatDelayedTriggeredAbility. 2013-05-09 09:07:18 +02:00
LevelX2
bb43f5194b Added CanAttackOnlyAloneAbility. 2013-05-09 09:06:50 +02:00
LevelX2
f84177bbcd Added missing logic to remove continuous effects with duration EndOfCombat. 2013-05-09 09:06:31 +02:00
LevelX2
c1dc288ccf Added manacosts to the display of half cards tooltip window. Minor changes of rule text generation. 2013-05-07 16:56:46 +02:00
LevelX2
b01cb551b7 Update to split cards functionality. Fuse and flashback works now. No correct ability filtering yet for split cards. 2013-05-07 00:44:57 +02:00
LevelX2
97505873aa Fixed PlayerImpl by adding some missing attributes to copy and restore method (fixes an undo bug). Added new PutTopCardOfTargetPlayerLibraryIntoGraveEffect. 2013-05-06 15:14:18 +02:00
ludwig.hirth
61c7e87cea Merge branch 'master' of https://github.com/magefree/mage.git 2013-05-03 14:57:27 +02:00
LevelX2
435ec0d556 Some rule text generation changes to common classes. 2013-05-03 14:53:56 +02:00
LevelX2
8bc21a7c1c Some minor changes to SplitCard. 2013-05-03 08:38:11 +02:00
jeffwadsworth
f6d97367fc - Added some Dragon Maze cards. 2013-05-02 16:37:21 -05:00
LevelX2
bc03760e08 Set target of CopyPermanentEffect to required. 2013-05-02 17:10:32 +02:00
LevelX2
593858118f Some simplifications to SplitCard object. 2013-05-02 17:10:05 +02:00
LevelX2
d32600dbb1 [minor] toss a coin text extended. 2013-05-02 16:06:42 +02:00
North
c519a1a3a0 [minor] rule text update for play additional land effect 2013-05-02 10:01:04 +03:00
North
bd31c45ef7 [minor] refactored class name to start with upper case 2013-05-02 10:00:07 +03:00
LevelX2
533c0a028e Some spelling changes to SplttCards. 2013-05-02 00:09:43 +02:00
LevelX2
25948e089e Implemented Split cards, not yet finished. Fuse does not work. Comparation for e.g. converterted mana (708.6a) does also not work correctly. 2013-05-01 21:41:56 +02:00
LevelX2
49cec207c3 Added setTarget parameter to AttacksCreatureYourControlTriggeredAbility. 2013-05-01 09:00:24 +02:00
LevelX2
38eff01669 Added reminder text to lifelink. 2013-04-30 01:04:50 +02:00
LevelX2
0a8e1ff014 New framework effect, added random targets to targets, some rule text changes. 2013-04-29 22:59:42 +02:00
LevelX2
93a8c58f3c Extended DamagePlayersEffect with parameter to deal damage to opponents. Changed way in TapSourceCost to decide if the ability is a ManaAbility. 2013-04-29 11:59:51 +02:00
LevelX2
a157849e16 Changed bosster generation to generate special land card that's in dragon's maze booster. 2013-04-27 18:56:39 +02:00
LevelX2
83554081c7 Deleted Rare dual lands because they are only in the booster and not in the set DGM. 2013-04-27 18:55:40 +02:00
LevelX2
4647221868 Open DGM image download. New PreventAllDamageToControllerEffect. Rule text formating to DetainTargetEffect. 2013-04-27 02:04:47 +02:00
LevelX2
06aec6f8ae Set reminder text of Scavenge to italics. 2013-04-26 12:12:12 +02:00
LevelX2
cd0941739d Add CantAttackTargetEffect and PutTopCardOfYourLibraryIntoGraveEffect. Added new method to CardRepository. 2013-04-26 00:04:53 +02:00
LevelX2
773e68d760 [Minor] formatting. 2013-04-25 00:27:00 +02:00
Loki
75af2c65fb fix build 2013-04-25 00:07:30 +12:00
LevelX2
2fce670024 Fixed a bug that AI did not choose a creature card in her graveyard if opponent casts Exhume. 2013-04-24 00:29:37 +02:00
LevelX2
9e9256cd82 Fixed #209. Aura enchantments targeting controlled creatures go to graveyard as a stet based effect, if controller of the enchanted creature is another than enchantment's controller. 2013-04-23 23:10:44 +02:00
North
c324b01a08 Fixed TargetSpell 2013-04-23 17:17:59 +03:00
LevelX2
e313b130fe Removed redundant handling of applied effects of replacements effects. 2013-04-21 22:38:10 +02:00
LevelX2
e98d46f95a Improved LookLIbraryAndPickControllerEffect. 2013-04-21 22:35:45 +02:00
LevelX2
768ef9a4fc Improved handling of applied efffects for replacement effects. 2013-04-21 22:34:44 +02:00
LevelX2
8678da6051 Write life loss amount as figure instead of text for rule text. 2013-04-21 09:28:43 +02:00
Loki
6cce155252 Graveborn Muse 2013-04-21 15:03:24 +12:00
LevelX2
956305f7bd Fixed wrong text of MayTapOrUntapTargetEffect. 2013-04-21 02:39:05 +02:00
LevelX2
76ab1c1bb5 Added writing a state value to know if evolve ability is resolving. 2013-04-20 20:02:59 +02:00
LevelX2
18639bddd9 Added KnightToken to framework and changed the using cards. 2013-04-20 20:02:01 +02:00
LevelX2
75ca4eb3e3 Changed rebound reminder text to italics. 2013-04-20 19:59:39 +02:00
LevelX2
18b28c8ce6 Fixed a bug that the toughness boost amount in the tooltip rule text was always shown negative if power amount was negative. 2013-04-20 19:58:19 +02:00
LevelX2
9c90d66d6d Fixed issue #197 effects of players lasted beyond their lost in a free for all game. 2013-04-19 23:07:08 +02:00
North
a3411f2486 [cleanup] removed unused imports 2013-04-19 20:01:10 +03:00
jeffwadsworth
45e00b833a - Added targetPointer option to GainControlTargetEffect. 2013-04-19 11:20:40 -05:00
LevelX2
a22d8d8309 Added some options to create token functions, so that tapping and set attacking works with effects that change the amounts of tokens that comes into play. 2013-04-18 16:03:02 +02:00
LevelX2
9d4d42d184 Added reminder text to Battele Cry ability. 2013-04-18 16:01:45 +02:00
LevelX2
1e5100e0d6 Added the logic, that one continious effect in game state can be connected to multiple abilities. This fixes issue #198 and #196. 2013-04-17 23:44:50 +02:00
LevelX2
3a51849bd8 Fixed bug of enters the battlefield handling for tokens. 2013-04-17 17:35:31 +02:00
LevelX2
122c225248 [minor] formating 2013-04-17 17:34:26 +02:00
LevelX2
fd0cbb6551 Changed some classes to use number as text in rule text instead of digits. 2013-04-15 17:59:13 +02:00
LevelX2
f1bcb77100 Added PutTopCardOfYourLibraryToGraveyardCost. 2013-04-15 17:57:29 +02:00
LevelX2
012ea4e02d Utility to use text for numbers from 0 to 20. 2013-04-15 17:56:44 +02:00
LevelX2
8b2c3e75e1 Some minor changes to game classes. 2013-04-15 17:56:06 +02:00
LevelX2
0be107359d Improved rule text generation of flashback ability. Fixed text bug of Dread Return. 2013-04-14 01:23:12 +02:00
LevelX2
b40d242dc7 Fixed wrong behaviour of return state of ReturnToHandTargetEffect. 2013-04-14 01:18:19 +02:00
LevelX2
361ac7f602 Fixed a bug that if no target was selected because of up to X targets are possible, the target was returned as not legal. 2013-04-14 01:17:17 +02:00
LevelX2
aefcd3c697 Fixed NPE of HasCounterCondition. 2013-04-13 23:34:33 +02:00
LevelX2
0ebd265197 Fixed a bug, that a ability gained to multiple permanents (e.g. Forestwalk) was only gained to the first permanent because no uniquie id was set for the copied ability added to state. Added a test for the bug. 2013-04-13 18:18:24 +02:00
LevelX2
145f25e96d Added a DetainAll effect. 2013-04-11 23:52:51 +02:00
LevelX2
cce4d8e689 New effect to set land to basic land type(s). 2013-04-11 16:38:43 +02:00
Plopman
4aeece6764 Replace OnlyOpponentCanActivate by MayActivate 2013-04-10 22:13:08 +02:00
LevelX2
e1ffa37af9 Fixed NPE that broke the tests. 2013-04-10 21:58:27 +02:00
LevelX2
2e34bf356e Small fix to won method of PlayerImpl. 2013-04-10 01:13:20 +02:00
LevelX2
fe051b5d29 Fixed a bug that Free For All multiplayer games were never finished because no player got wins. Only losses were set. 2013-04-10 01:10:03 +02:00
LevelX2
6e696c57ec Changed text for Match Score. 2013-04-10 01:08:37 +02:00
LevelX2
db4616f821 Fixed 3 more wrong card names and changed the db version to 4 to refresh the db after all the change of card names. 2013-04-08 18:10:51 +02:00
LevelX2
f644ffe041 Changed color of frame of avatar for active player to green again. Checked that a player of a game can't also watch his own game. Added a match score to the start of the game log. Changed the color of the Turn [X] message. Tips and join messages during a game are displayed in the chat panel instead the game log panel. Display of the player name when hovering over the avatar is more vertical centered. 2013-04-07 21:29:27 +02:00
LevelX2
d473796373 Fixed bug #187 were targets in graveyard got illegal (happens only in games vs. AI). Bug was caused by zoneChangeCounter increased by AI simulation. 2013-04-06 16:53:51 +02:00
LevelX2
432bade091 Fixed a bug that for the game log the object name was not set for tokens that already left the battlefield. Added reminder text to LivingWeaponAbility. 2013-04-06 08:55:28 +02:00
LevelX2
a070c5a8e1 Fixed a bug that players were not removed properly from matches or tournaments they left before the match or tournament was started. 2013-04-06 02:09:04 +02:00
LevelX2
48f1560cb8 Added new AsThoughtEffectType to reveal face down cards (not a perfect solution I know, but better as using the cast type. If someone has a better idea to handle this, I'm open). 2013-04-06 00:04:21 +02:00
Plopman
cecc8bc1df Fix AlternativeCost. It's no longer possible to cast spells with alternative caost for any zone 2013-04-05 17:58:37 +02:00
LevelX2
49f11cba8f Added some parameters and improved rule text gerneration 2013-04-05 15:11:39 +02:00
LevelX2
36b4482367 Changed rule text generation to set first character to uppercase if needed. 2013-04-05 15:10:59 +02:00
LevelX2
7039b1991c Added missing names of tokens (according rule 110.5c). This was the reason that no image was shown for tokens although a suitable image did exist. 2013-04-04 12:46:19 +02:00
LevelX2
7ebb5e18a6 Added ActivateIfConditionManaAbility. 2013-04-03 19:11:49 +02:00
LevelX2
8f6af3b412 Added FilterControlledArifactPermanent. 2013-04-03 19:00:53 +02:00
LevelX2
3f7503a536 Added ManaWasSpentCondition. 2013-04-02 17:15:40 +02:00
LevelX2
ad256a43bd Added OrCost for additional costs. Small chnage to rul text generation of TargetImpl. 2013-04-02 16:35:23 +02:00
LevelX2
de20fcb5cc [minor] formatting 2013-04-02 13:46:43 +02:00
magenoxx
97acebacdd Pumped version to 1.0.2.dev 2013-04-01 16:00:30 +04:00
LevelX2
5f17804e93 Fixed a bug of miracle keyword, were in case you canceled to cast the spell for it miracle costs, the card could be cast later in turn also for miracle cost instead of regular costs. 2013-04-01 10:58:11 +02:00
LevelX2
6aad0e8444 Set reminder text of echo to italics font style. 2013-04-01 03:31:29 +02:00
Plopman
4ed29e764b Added CycleTriggeredAbility 2013-03-31 16:30:03 +02:00
Plopman
66dc07e872 Added land cycling Ability 2013-03-30 19:09:17 +01:00
LevelX2
4212e5cfb6 Some rework of Spell Rupture and CounterUnlessPaysEffect. 2013-03-30 01:55:17 +01:00
LevelX2
9053e72f24 Added a ConditionalManaEffect. 2013-03-29 18:57:04 +01:00
LevelX2
3d9d71df94 Added TargetActivatedOrTriggeredAbility to framework. 2013-03-29 18:56:32 +01:00
LevelX2
e19e32ebf4 Added Champion ability. 2013-03-29 18:55:53 +01:00
LevelX2
d2c2c9b4a4 Some small improvements to framework classes. 2013-03-29 18:55:24 +01:00
LevelX2
8561234793 Fixed SpiltSecondAbility for activated abilities. Added reminder text. 2013-03-29 18:53:55 +01:00
magenoxx
29b84e0d92 Closed #169: Make it possible to untap lands 2013-03-29 20:35:16 +04:00
magenoxx
05191e8793 Closed #168 : Enhance priority hot keys 2013-03-29 17:18:12 +04:00
LevelX2
402f7fffd9 Tournaments status is updated now and if tournament finished, it's moved to the lower finished matches view. 2013-03-27 22:31:15 +01:00
LevelX2
12a01788e6 Added a new column to the table list showing the number of wins for matches and number of used / total seats for tournaments. 2013-03-26 17:18:43 +01:00
LevelX2
f36cf88da3 Changed PermanentImpl to make 0 damage events replacable. 2013-03-24 16:04:47 +01:00
LevelX2
05d0aac68b Changed DiesAttachedTriggeredAbility to control the generated rule text. 2013-03-24 16:04:04 +01:00
LevelX2
770c7b6f82 Changed RevealTargetFromHandCost to support more than one card. 2013-03-24 16:03:17 +01:00
LevelX2
9d1b8192d4 Added more parameters to EntersBattlefieldEffect. 2013-03-23 16:41:22 +01:00
LevelX2
32dff5ae72 Added replacement of {this} and{source} for selection of replacement effect order. 2013-03-23 16:40:15 +01:00
LevelX2
c34377526f Fixed a casting bug in the echoAbility (issue #174). 2013-03-22 20:37:35 +01:00
LevelX2
b46bdef429 Added the possibility to handle the enteres_the_battlefield event according to rule 614.12 (issue #164). 2013-03-22 15:00:06 +01:00
LevelX2
e14886ffda [minor] fixed tooltip rule text of Kessig Wolf Run. 2013-03-22 10:01:55 +01:00
LevelX2
525cd2455e Fixed a bug of the convokeAbility that permanent tokens didn't work with it. 2013-03-20 19:33:25 +01:00
magenoxx
2e07f5f7c2 Fixed Issue#113:Optical effect that the creature has been controlled by the active player continuously since the turn began is removed too late 2013-03-19 11:28:54 +04:00
LevelX2
6c21bf7ea6 Layered copy effect is now removed, if source permanent leaves battlefield. 2013-03-19 01:39:37 +01:00
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
LevelX2
aa0290fd32 Set Version to 1.0.1 2013-03-10 11:40:56 +01: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
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