Commit graph

2651 commits

Author SHA1 Message Date
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
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
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
North
41a80dcd5f Added UnblockableAttachedEffect and used where necessary 2012-09-06 16:12:02 +03:00
North
ed8e53daba Added IndestructibleTargetEffect and fixed cards that should use it 2012-09-05 23:06:20 +03:00
magenoxx
84670df7dd [RTR] 4 cards. Fixed rule text for GainLifeTargetEffect 2012-09-05 17:56:48 +04:00
North
e9b441ed9e Fixed cards granting indestructibility. 2012-09-05 16:28:35 +03:00
magenoxx
752e147ee1 [RTR] Scavenge keyword 2012-09-05 16:24:53 +04:00
North
204d2410a1 Reimplemented Indestructable using a replacement effect 2012-09-05 00:01:08 +03:00
North
f5336919ed Added 17 cards using SpellsCostReductionEffect 2012-09-04 13:13:08 +03:00
North
ff85b56cad [refactoring] Added SpellsCostReductionEffect and replaced existing effects 2012-09-04 13:13:08 +03:00
North
41c2e80d62 Fixed ControllerPredicate for TargetController.ANY 2012-09-04 13:13:07 +03:00
North
c6db6dffff Ability is also Controllable 2012-09-04 13:13:07 +03:00
Loki
46ec86b54c 0.9.2 dev 2012-09-04 21:24:44 +12:00
North
92deb4a955 [ULG] 9 green cards (by Plopman) 2012-09-03 09:55:12 +03:00
magenoxx
f1f2d7640f Removed CardUtil.copyTo for permanents. Refactored 2 cards. 2012-08-31 14:08:37 +04:00
magenoxx
8f6741a612 Issue#53: added message about Aura card got fizzled 2012-08-31 13:54:03 +04:00
magenoxx
cc4d772483 Fixed Issue#53: AI casts Rancor, but Rancor goes to graveyard 2012-08-31 13:46:29 +04:00
magenoxx
0758f4bb72 Fixed Issue#52 2012-08-31 12:43:46 +04:00
magenoxx
41304c4a58 Fixed NOP for AI 2012-08-31 12:16:06 +04:00
North
7610013628 Improved message for DredgeAbility 2012-08-29 23:12:36 +03:00
magenoxx
db30268bc0 fixed for previous commit 2012-08-29 22:58:04 +04:00
magenoxx
0471771451 [ROE] 4 cards with tests. ROE is 100% implemented. 2012-08-29 22:45:35 +04:00
magenoxx
309ebc7ee3 Fixed Rebound for multi keywords. Added Player.#getSideboard method 2012-08-29 22:44:48 +04:00
magenoxx
8be7dff310 Moved effect to effect common package 2012-08-29 20:46:25 +04:00
magenoxx
50812d6a1c Extracteed PutCreatureOnBattlefieldEffect. Refactored 2 cards. 2012-08-29 20:43:37 +04:00
magenoxx
d5be1178b2 minor 2012-08-29 20:35:23 +04:00
magenoxx
bb962905bb Fixed extra phases handling 2012-08-29 20:34:16 +04:00
magenoxx
afb5162e6a Fixed Issue#48: Additional cost for creatures is not displayed 2012-08-23 14:16:52 +04:00
magenoxx
3d1bb8e1ab Failing test and fix for additional costs not displayed in tooltips 2012-08-23 13:41:40 +04:00
magenoxx
c61e4f2b32 Fixed Issue#35. All tests pass now. 2012-08-22 22:36:19 +04:00
North
aa071912cb Added Sleight of Hand; reused common effect in Sea Gate Oracle 2012-08-21 21:53:40 +03:00
North
3919f1d959 Added DredgeAbility 2012-08-21 21:41:27 +03:00
North
6e3c4cc8e2 [refactoring][minor] minimized duplicate code for any color mana effects 2012-08-20 23:07:49 +03:00
magenoxx
852e96c910 Fixed token type for Garruk Relentless 2012-08-20 11:00:39 +04:00
jeffwadsworth
ab67c12e9a - Added Viashino Sandstalker, Pillage, Cursed Scroll, Fireblast, Hammer of Bogardan, Jackal Pup. 2012-08-16 09:21:42 -05:00
magenoxx
f2229f9fd7 Test and fix for Issue#44: War Falcon - Attack condition does not work properly. Fixed changing controller for game state effects 2012-08-16 08:54:53 +04:00
magenoxx
335462c8c8 Fixed spellAbility fizzle on illegal targets. Fixed #Issue43: Huntmaster of the Fells triggered ability shouldn't be optional 2012-08-16 02:19:43 +04:00
magenoxx
7d9b338328 Test and fix for Issue#42: Creature with undying didn't forget -1/-1 after dying and returning from graveyard 2012-08-16 00:53:42 +04:00
magenoxx
83a6e88076 minor 2012-08-15 10:50:52 +04:00
magenoxx
2fe2da8eaf Failing test and fix for alternative costs not displayed on cards 2012-08-15 10:32:50 +04:00
magenoxx
cb63af7559 Fix for trace util 2012-08-14 15:36:01 +04:00
Loki
85b31df2d5 Bump version to 0.9.1dev 2012-08-14 15:28:06 +12:00
jeff
e2e649079b - Added Volrath's Stronghold, Reflecting Pool, Gemstone Mine, Undiscovered Paradise, and City of Brass. 2012-08-11 19:58:49 -05:00
magenoxx
de1403c4a0 Added SourceMatchesFilterCondition. Refactored SpiritOfTheNight 2012-08-11 11:21:56 +04:00
magenoxx
557e8a7be5 Added setting required target for flashback abilities. Needed because of wrong implementation of flashback but it prevents from accidental canceling targeting 2012-08-09 12:02:45 +04:00
magenoxx
ad7391b4b5 Combat trace (to catch annoying bug with non-flying blockers) 2012-08-08 13:21:31 +04:00
jeffwadsworth
c1d88c7830 - Added Extractor Demon. <Conflux> 2012-08-07 17:18:09 -05:00
jeffwadsworth
7cbdf4f8de - Requested. Added Infernal Genesis, Marshal's Anthem, and Kresh the Bloodbraided. 2012-08-07 14:36:36 -05:00
magenoxx
d90e02ae8e Fixed CantBlockAbility not working 2012-08-04 09:32:23 +04:00
North
0e326b76df Fixed IntComparePredicate 2012-08-03 22:38:29 +03:00
magenoxx
79c09ae801 Madness cleanup watcher fix 2012-08-03 20:00:04 +04:00
magenoxx
5c1a2f7a43 Madness fixes. Removed end_of_turn sound 2012-08-03 17:11:16 +04:00
magenoxx
a5d846f970 AdjustTargets method for dynamic targets 2012-08-03 07:43:43 +03:00
magenoxx
ab9db5a60a Quiet Speculation. Roar of the Wurm. Wurm token. 2012-08-03 07:34:31 +03:00
magenoxx
a3eb062669 Madness keyword 2012-08-02 19:38:22 +04:00
magenoxx
9d7376213e firing PHASE_CHANGED event 2012-08-02 18:34:44 +04:00
Loki
a2a560264a rename 2012-08-01 22:52:28 +12:00
Loki
8d5f4f6214 improved Vanishing and [6ED] Armageddon 2012-08-01 22:51:11 +12:00
Loki
37577a8a4a [PLC] Calciderm 2012-08-01 09:49:28 +12:00
Loki
42d925e008 don't need MillTarget, already have this one 2012-07-31 21:20:48 +12:00
jeffwadsworth
90ab9a759c - Requested. Added Anvil of Bogardan and Drowner of Secrets. 2012-07-30 22:36:32 -05:00
Loki
9d4714507a rewrite fix for Ring of Evos Isle more generic 2012-07-30 22:34:47 +12:00
Loki
df303cbd16 some more cards 2012-07-30 11:44:18 +12:00
Loki
429a03b557 correct fix for Umezawa's Jitte 2012-07-30 11:38:09 +12:00
North
b2863e74d1 [minor] fix for rule text 2012-07-29 16:03:08 +03:00
magenoxx
6f43681f6c added SP rarity type 2012-07-29 10:32:08 +04:00
magenoxx
eefedc03b9 [AI] enhanced targeting. card fixes 2012-07-29 10:31:46 +04:00
North
dd0df32e4b Changed type of CounterPredicate to Permanent 2012-07-27 22:06:06 +03:00
jeffwadsworth
a5e6fd6322 - Added Time of Heroes. <ROE> Love those predicates. 2012-07-27 11:59:11 -05:00
magenoxx
907381b2b2 minor card fixes 2012-07-27 09:25:16 +04:00
North
42eed636a4 [ZEN] Grappling Hook 2012-07-27 07:54:42 +03:00
Loki
6d22e49314 [SCG] Eternal Dragon 2012-07-24 10:31:12 +12:00
North
987e28cef3 [M10] Mirror of Fate 2012-07-23 23:53:24 +03:00
North
a569a4cf0f Fixed Predatory Rampage card text 2012-07-23 22:43:35 +03:00
North
0907b416cd Fixed GainAbilityAllEffect (now uses range of influence) 2012-07-23 22:43:17 +03:00
North
6a74d30309 fixed FilterPlaneswalkerOrPlayer 2012-07-23 22:08:07 +03:00
North
1542ba9ab6 [filters] converted FilterCard conditions to Predicates 2012-07-23 21:53:54 +03:00
Loki
f9934e11a7 Rewind little fix 2012-07-23 19:46:17 +12:00
magenoxx
435798f7d5 Added copyCard method into Game interface 2012-07-23 08:25:41 +04:00
magenoxx
1a60504fcc Blocks this turn ability. 2012-07-23 02:17:41 +04:00
magenoxx
c783cbc41f personal game messages 2012-07-23 01:29:56 +04:00
magenoxx
6a70d1ee6d minor 2012-07-23 01:29:29 +04:00
magenoxx
4a70d28706 [M13] Elderscale Wurm with test 2012-07-23 00:17:20 +04:00
North
64dd5feda6 [filters] minor changes 2012-07-22 22:36:19 +03:00
North
28fe29854c [filters] converted FilterPlayer to Predicates 2012-07-22 22:36:03 +03:00
North
b230fc883a [filters] Reimplemented Wicked Akuba and fixed filtered Player Targeting 2012-07-22 21:59:21 +03:00
North
93804656ea Fixed FilterBlockingCreature 2012-07-22 18:03:10 +03:00
North
45268269aa [filters] removed one use filters 2012-07-22 18:02:26 +03:00
North
9cb5e61c34 [filters] replaced custom filters with predicates 2012-07-22 17:35:39 +03:00
North
0197c16cd7 [refactoring] merged dies triggered abilities for less duplicate code 2012-07-22 17:07:06 +03:00
North
c0da929ba0 [filters] replaced token conditions with TokenPredicate 2012-07-22 15:16:02 +03:00
North
50b650bb7d [filters] added WasDealtDamageThisTurn Predicate 2012-07-22 14:25:56 +03:00
North
badb0ede21 [filters] added Attacking and Blocking predicates 2012-07-22 14:25:56 +03:00
North
61b5f8555e [filters] added BlockedPredicate 2012-07-22 14:25:55 +03:00
Loki
de1bbb37d8 [TMP] Soltari Priest 2012-07-22 20:44:37 +12:00
North
5d83c6f9dc [filters] removed unused code from FilterArtifactPermanent 2012-07-22 11:01:38 +03:00
jeffwadsworth
b90c57ab96 - Added Door to Nothingness. <M13> 2012-07-21 16:36:06 -05:00
North
d773ed3d13 [filters] Replaced EvilTwin filter with predicate
This commit also touches the targeting system. Changes were made for consistency.
2012-07-21 23:18:17 +03:00
North
c8617c0a55 [filters] replaced Paired filter with predicate 2012-07-21 21:52:37 +03:00
North
b8f0cd05e4 Moved comments in Permanent to javadoc 2012-07-21 19:46:58 +03:00
magenoxx
6fbf4c1257 Renamed parameter name. [UI] Fixed big card image blinking on mouse move 2012-07-21 14:10:07 +04:00
magenoxx
1f06ad6dce Replaced by EmptyApplyToPermanent 2012-07-21 12:15:25 +04:00
North
21b8c8a354 Removed Artifact type addition from CopyPermanentEffect 2012-07-21 10:21:29 +03:00
North
1f50506c48 [M13] Magmaquake 2012-07-20 21:23:56 +03:00
jeffwadsworth
bf3d16332d - Added final part to Mwonvuli Beast Tracker. 2012-07-20 13:09:52 -05:00
North
a6e30a20d0 Small fix to ControllerPredicate 2012-07-20 19:42:08 +03:00
magenoxx
8fdc5a33d8 Controllable interface. Fixed ControllerPredicate. 2012-07-20 18:30:24 +04:00
magenoxx
ba964592f6 CantAttackAlone and CantBlockAlone abilities 2012-07-20 16:18:26 +04:00
magenoxx
1f5aed848d Exchange control effect: locking controllers. All tests pass now. 2012-07-20 13:16:54 +04:00
magenoxx
d09f96ab55 [M13] Switcheroo 2012-07-20 13:12:31 +04:00
magenoxx
cdb3ccfc38 new effect discarding mechanism 2012-07-20 13:06:42 +04:00
North
5d0a832642 cleaned pom files and updated sqlight dependency 2012-07-19 21:15:09 +03:00
Loki
6daffd3a81 [M13] Rewind 2012-07-19 22:38:55 +12:00
magenoxx
b18d6f2fc8 One more fix for AsThoughEffects 2012-07-19 13:40:12 +04:00
magenoxx
a3faf6eb90 Fixed AsThoughEffects: fixed Issue#23. Tests pass. 2012-07-19 13:18:08 +04:00
magenoxx
5b83ffe518 MageSingleton marker interface 2012-07-19 09:29:17 +04:00
magenoxx
60bd1f9585 [M13] Serra Avenger with tests 2012-07-18 21:52:57 +04:00
magenoxx
1b045ccf37 Correct handling of extra turns. 2012-07-18 21:51:26 +04:00
magenoxx
86089f0fb9 Removed duplicate class for cost. Refactored 1 card. 2012-07-18 20:52:57 +04:00
magenoxx
23a75c39ba [M13] Odric Master Tactician 2012-07-18 20:45:39 +04:00
magenoxx
b2cd3e75bd changed version from 0.8.7.dev to 0.9.0.dev 2012-07-18 15:59:07 +04:00
North
afaf0aab21 Fixed tooltips. 2012-07-18 14:17:05 +03:00
magenoxx
9c6dc78842 Shuffling player seats in multi player 2012-07-18 12:12:12 +04:00
magenoxx
ed0af0faee Added skip-all-turns-and-actions feature. Bound to F9. 2012-07-18 10:15:50 +04:00
North
ac869eaff9 Added safety code for DeckEditor.
Besides the stacktrace, it also prints the name
of the card for which the exception was thrown.
2012-07-18 02:20:48 +03:00
North
8ef941abf0 [refactoring] Added AsEnteresBattlefieldAbility 2012-07-18 01:48:32 +03:00
North
3eac7cbd42 [refactoring] Fixed issues with EntersBattlefieldEffect 2012-07-18 01:48:32 +03:00
magenoxx
fa9c7c4436 Fixed Issue#20: Fatal Frenzy doesn't boost target creature 2012-07-18 00:17:02 +04:00
North
5dbc3a1c07 Fixed issues revealed by EquipAbilityTest 2012-07-17 20:36:28 +03:00
North
b7f57c8a23 [filters] Replaced conditions in StackObject filters with Predicates 2012-07-17 19:00:31 +03:00
North
b478287a99 Merge branch 'filters' 2012-07-16 21:41:36 +03:00
North
30cbdd643d [filters] Replaced ControllerId condition in FilterPermanent with Predicate 2012-07-16 21:41:00 +03:00
North
4563e518a6 [filters] Replaced TargetController condition with Predicate 2012-07-16 20:55:58 +03:00
jeffwadsworth
208de4da21 - Added Xathrid Gorgon, Hellion Crucible. <M13> 2012-07-15 18:31:33 -05:00
jeffwadsworth
3a0ed94b9b - Added Disciple of Bolas, Harbor Bandit. <M13> Little null fix. 2012-07-15 14:56:51 -05:00
North
021e2b59df [filters] Replaced Another condition with Predicate 2012-07-15 17:18:33 +03:00
North
d66c172952 [filters] Refactored FilterAbility to use Predicates
FilterAbility isn't used anywhere. I only noticed after I finished rewriting it. I'll keep the class in the repository just in case someone would need it.
2012-07-15 16:58:01 +03:00
North
cd37b8c3ba [filters] Added support for Predicates with sourceId and PlayerId 2012-07-15 16:32:19 +03:00
North
faa106b3c3 [refactoring] Small change to SimpleManaAbility (please review) 2012-07-15 14:29:00 +03:00
North
c611983f57 [refactoring] removed SearchLibraryRevealPutInHandEffect (duplicate) 2012-07-15 13:12:44 +03:00
North
ead5773411 [filters] Removed unused code from Filters 2012-07-14 15:54:53 +03:00
North
c51dc081c6 [filters] Replaced PhasedIn Condition with Predicate 2012-07-14 15:40:36 +03:00
North
fba4e662d0 [filters] Replaced tapped condition with Predicate 2012-07-14 15:26:00 +03:00
North
5450a65421 [refactoring][filters] Unneeded use of generics was removed 2012-07-14 09:57:47 +03:00
North
43322d3c1a Merge branch 'filters' 2012-07-13 23:10:10 +03:00
North
4edee0b2f9 [refactoring] Moved another field to FilterPermanent 2012-07-13 23:08:10 +03:00
North
13f744f09f [filters] Replaced color conditions with Predicates 2012-07-13 22:46:45 +03:00
magenoxx
ad412af32b Fixed a bug allowing to cast revealed opponent spells 2012-07-13 15:43:32 +04:00
Loki
01f57aa06e [M13] Jace's Phantasm 2012-07-13 20:05:27 +12:00
jeffwadsworth
799095ef81 - Added the Rings. <M13> 2012-07-12 21:54:44 -05:00
North
ecf765ecf5 [filters] Replaced CardType conditions with Predicate 2012-07-12 23:42:46 +03:00
North
0d2053c634 [filters] Replaced abilities condition with Predicate 2012-07-12 20:09:34 +03:00
North
c59087e827 Fixed SubtypePredicate - treated case where object has Changeling 2012-07-12 19:34:37 +03:00
magenoxx
d04008a7d4 Added game.getAbility(abilityId, sourceId) method 2012-07-12 05:48:48 +04:00
magenoxx
dc6888788d Fixed gain and lose life events that didn't interact with replacement effects correctly 2012-07-12 05:19:45 +04:00
jeffwadsworth
31fd406c9e - Added Trading Post. <M13> 2012-07-11 17:14:21 -05:00
North
dcfd5ece0c [filters][refactoring] Minor changes to Predicates 2012-07-12 00:04:44 +03:00
North
2198cae333 [filters] Replaced Subtype condition with Predicate 2012-07-11 23:59:41 +03:00
North
91d320eed2 [filters] Replaced Supertype condition with Predicate 2012-07-11 00:19:48 +03:00
North
dfd2413b89 [filters] replaced Power and Toughness conditions with Predicates 2012-07-11 00:19:47 +03:00
North
85b22de4b0 [filters] replaced ConvertedManaCost condition with Predicate 2012-07-11 00:19:47 +03:00
North
98feeb9968 [filters] replaced Name condition with Predicate 2012-07-11 00:19:46 +03:00
North
3d1f23e03b Added base Predicates and MageObject Predicates. 2012-07-11 00:19:46 +03:00
North
4b805ca3b1 [minor] 2012-07-09 19:54:21 +03:00
North
c71b9c83ab Fixed DrakeToken 2012-07-08 23:39:58 +03:00
North
2e457fda1d Fixed cards to use CantBlockTargetEffect instead of adding CantBlockAbility 2012-07-08 14:35:06 +03:00
North
3e0d565f97 Removed return statement inside loop - TapTargetEffect 2012-07-08 13:50:40 +03:00
magenoxx
1acf00a5da CompoundAbility 2012-07-08 09:38:34 +04:00
North
34576673dd [USG][USL][USD] cards submitted by Backfir3 2012-07-07 22:52:26 +03:00
North
f1ae135d97 [M13] Crippling Blight; Goblin Battle Jester 2012-07-07 21:48:03 +03:00
North
5a45c597bc Fixed cast exception for Rebound 2012-07-07 20:27:17 +03:00
North
94d7fa6ea3 [M13] 50 cards 2012-07-07 20:04:09 +03:00
Loki
4577bfda9c fix 2012-07-07 18:17:46 +12:00
Loki
08e46fad24 refactoring and use a proper ability 2012-07-07 12:29:05 +12:00
Loki
a0125c9581 8 M13 2012-07-07 11:16:29 +12:00
jeffwadsworth
c8c6cdaa0e - Added Time Stop. 2012-07-05 16:32:18 -05:00
Loki
663ec37b96 Merge branch 'master' of https://github.com/magefree/mage 2012-07-05 10:54:38 +12:00
Loki
25b596bff7 2 USG 2012-07-05 10:53:36 +12:00
North
e4438072c2 [refactoring][minor] formatting 2012-07-04 23:58:22 +03:00
North
f4bd912583 Fixed Smite. 2012-07-04 23:58:21 +03:00
Loki
4b91b6d4bb 2 USG 2012-07-04 18:28:18 +12:00
North
d1f3e62d03 [minor] formatting 2012-07-03 21:25:57 +03:00
North
4639abd279 [refactoring] Fixed issues caused by notCardType.
Removed notCardType - it was a relic from previous implementation.
Renamed notScopeCardType to scopeNotCardType.
Renamed notCardTypeList to notCardType for consistency with cardType.
2012-07-03 08:57:14 +03:00
jeffwadsworth
8cd16e21b3 Merge branch 'master' of https://github.com/magefree/mage.git 2012-07-01 17:30:21 -05:00
jeffwadsworth
f713b22b25 - Little fix 2012-07-01 17:28:57 -05:00
magenoxx
742b7c0180 Fixed bug when 2\2 creature was 6\2 on first turn 2012-07-02 00:29:49 +04:00
jeffwadsworth
1e62fc261f - Added Wind Zendikon. <Worldwake> 2012-06-30 17:49:36 -05:00
jeffwadsworth
b89f011455 - Added Butcher of Malakir. <Worldwake> 2012-06-30 15:03:03 -05:00
jeffwadsworth
ef823f5554 - Added Kezzerdrix and Perish. <Tempest> 2012-06-30 14:08:08 -05:00
jeffwadsworth
1796839179 - Added Rootwater Matriarch. <Tempest> 2012-06-29 21:04:16 -05:00
magenoxx
3f444ec6de Fixed Persist Ability 2012-06-29 18:16:31 +04:00
magenoxx
8ba88ff5f2 config changes 2012-06-29 17:19:12 +04:00
magenoxx
ba0925dc62 compilation error fix 2012-06-29 17:15:04 +04:00
magenoxx
5d397bfbee Updated other boost effect for AI outcome 2012-06-29 16:57:25 +04:00
magenoxx
3f14fdc0ca Test and fix for Oblivion Ring and Planeswalkers interaction 2012-06-29 15:56:04 +04:00
magenoxx
5541fe4163 updated version from 0.8.6.r5 to 0.8.7 2012-06-29 14:56:13 +04:00
magenoxx
ebd92b2a3c CHANGE_COLOR and COLOR_CHANGED events 2012-06-29 13:00:44 +04:00
magenoxx
6e3ee0e6fe Fixed EquipmentAttachedCount. Fixed Kemba, Kha Regent not working 2012-06-29 12:03:08 +04:00
magenoxx
533cc69101 Added builder method to cards 2012-06-29 10:02:02 +04:00
magenoxx
354b07d50e Draft bot - only draft picks, will be auto eliminated and doesn't participate in tournament 2012-06-28 19:32:32 +04:00
magenoxx
b983bb2e7d for AI: made BoostTargetEffect negative effect for */-X spells 2012-06-28 10:11:03 +04:00
magenoxx
2c063acbeb Fixed Miracle for Extra turns 2012-06-27 23:56:47 +04:00
magenoxx
2a9fc12f26 [TMP] 5 cards (requested by players) 2012-06-27 14:00:41 +04:00
magenoxx
d602aac403 Refactoring 2012-06-27 01:17:03 +04:00
magenoxx
653f236c65 Cards lazy loading 2012-06-26 17:20:05 +04:00
magenoxx
7646e8224e Fixed Sphere Of The Suns 2012-06-26 01:05:54 +04:00
magenoxx
490a4f8427 Fixed token displayed for HuntmasterOfTheFells 2012-06-25 13:16:19 +04:00
magenoxx
11de9f9ce3 Token types for correct token image displayed 2012-06-25 13:15:25 +04:00
magenoxx
6b57822f40 Fixed Rebound 2012-06-25 10:10:07 +04:00
North
976a9724cd Fixed ControlsBiggestOrTiedCreatureCondition. 2012-06-25 01:15:36 +03:00
magenoxx
9affdd1dcc Fixed Limited not working 2012-06-24 17:56:18 +04:00
jeffwadsworth
d37a9ec45d - Added Luminous Wake. <ROE> 2012-06-23 19:34:51 -05:00
jeffwadsworth
06887c6093 - Little fix Triumph of Ferocity. 2012-06-23 12:09:32 -05:00
magenoxx
515261920d merging 2012-06-23 09:47:58 +04:00
magenoxx
6b6f718bc4 Fixing limited: removed card lazy loading 2012-06-23 09:41:32 +04:00
jeffwadsworth
51d914c23e - Added Snake Umbra. <ROE> 2012-06-20 15:01:49 -05:00
jeffwadsworth
361dd739ff - Added Living Destiny. <ROE> 2012-06-20 11:09:11 -05:00
jeffwadsworth
937a3761f4 - Added Quest For Renewal. <WWK> 2012-06-19 17:43:58 -05:00
North
a6a333422b Fixed range fro SacrificeAllEffect and Burning Inquiry 2012-06-20 00:15:13 +03:00
North
239a4fb100 [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
jeffwadsworth
e646e4768d -Added Battle-Rattle Shaman. <ROE> 2012-06-18 18:24:09 -05:00
magenoxx
b27593ab60 Merge branch 'master' of https://github.com/magefree/mage 2012-06-15 16:15:41 +04:00
magenoxx
1cb25812c9 Fixed replacement effects for copied creatures. All tests pass now. 2012-06-14 20:59:15 +04:00
Loki
d15339c5c4 Persist keyword 2012-06-14 19:59:08 +03:00
magenoxx
d6f1e8be48 Test and fix for UnblockableAbility not working 2012-06-14 20:18:38 +04:00
jeffwadsworth
8a46a2a52b - Added Razormane Masticore. 2012-06-13 16:43:42 -05:00
magenoxx
e34ee2e7f6 Added downloading and displaying emblem images 2012-06-13 09:48:10 +04:00
magenoxx
4393a55569 Added token type for displaying different images 2012-06-12 22:58:21 +04:00
magenoxx
9b2864044c Bushido fix. All tests pass now. 2012-06-12 22:12:32 +04:00
magenoxx
9c8fe7268b Reworked emblems 2012-06-12 20:57:23 +04:00
magenoxx
c22f0cf503 Reworked emblems 2012-06-12 16:27:28 +04:00
magenoxx
e759f8a0fc Added possibility to display any data on card's tooltip 2012-06-12 12:55:15 +04:00
magenoxx
faca6008cb EnterBattlefieldEffect: Displaying overriden rule without additions 2012-06-12 12:54:32 +04:00
magenoxx
3c9e3de9a2 Fixed color mana payment 2012-06-12 10:54:47 +04:00
magenoxx
f641ffe77b Test and fix for triggered abilities of double faced cards 2012-06-11 20:34:33 +04:00
magenoxx
17dbe0ae57 Test and fix for copying transformed creatures 2012-06-11 19:36:56 +04:00
magenoxx
5199e2e81a Test and fix for sacrificing creature with protection 2012-06-11 14:25:27 +04:00
magenoxx
12954eceee Refactored Target pointers. All tests pass now. 2012-06-11 11:21:31 +04:00
jeffwadsworth
13f547f1a2 - Added Smite. <ROE> 2012-06-10 12:09:10 -05:00
magenoxx
649fb13734 Fixed Dearly Departed 2012-06-10 15:48:15 +04:00
magenoxx
1d22d59c42 Added zoneChangeCounter to fix spell fizzle on flicker bug. All tests passed. 2012-06-08 17:55:44 +04:00
magenoxx
5cc8901e07 Fixed Dormant Gomazoa 2012-06-06 02:17:52 +04:00
magenoxx
d895b3e8d0 Lazy card loading 2012-06-05 19:41:17 +04:00
magenoxx
88a303a52f Added short living lki. Soul Warden works. All tests passed. 2012-06-04 21:19:11 +04:00
magenoxx
365bd2a50e Correct handling protection abilities for dealing damage. All tests passed. 2012-06-04 11:25:32 +04:00
magenoxx
17c88290af Fixed creatures without flying could block sometimes creatures with flying 2012-06-03 19:52:17 +04:00
magenoxx
037310c279 Mana and getPlayable fix. +1 test passed. 2012-06-03 17:50:13 +04:00
magenoxx
27d4997545 Fixed LKI and change controller interaction. +1 test passed. 2012-06-03 17:33:04 +04:00
magenoxx
cf8fa2b773 Fixed triggered abilities under opponent's control. +1 test passed. 2012-06-03 16:28:28 +04:00
magenoxx
9cb4ee1977 Fixed Descendants Path (bug in library's put from top to bottom) 2012-06-03 16:11:48 +04:00
magenoxx
4931365229 fix 2012-06-02 14:03:05 +04:00
magenoxx
04379e7c99 Fixed few bugs with transform effect. +4 tests pass. Some transform cards should be refactored. 2012-06-01 21:08:29 +04:00
jeffwadsworth
4cb48b342f - Fixed It That Betrays. 2012-05-31 09:56:52 -05:00
jeffwadsworth
ea13882a52 - Added It That Betrays. <ROE> 2012-05-30 14:36:23 -05:00
Loki
263b515216 fix Cascade, add test for it (test currently broken) 2012-05-28 21:12:48 +03:00
magenoxx
68dfe88b7a NotSerializableException fix 2012-05-28 15:36:55 +04:00
Loki
72ca542e99 small refactoring 2012-05-28 13:39:58 +03:00
Loki
f463e680cf fix NPE for Glimmerpoint Stag + Soul's Attendant + any other creature 2012-05-28 13:22:01 +03:00
magenoxx
cb63b900cd SacrificeEffect target required fix 2012-05-27 15:36:41 +04:00
magenoxx
def0260b9d Test and fix for Soulbound with ExileAndReturnBack effect 2012-05-26 21:57:53 +04:00
North
06a185a3a5 removed unused imports 2012-05-26 20:08:39 +03:00
North
aa8fbd6fab fixed Wall of Frost 2012-05-26 12:21:39 +03:00
North
5d0c7862c6 Fixed BecomesBlocked triggered abilities 2012-05-25 21:30:31 +03:00
North
11b692fa47 fixed BlocksTriggeredAbility 2012-05-25 21:30:31 +03:00
magenoxx
ec9ea835a5 target description NPE fix 2012-05-25 22:20:01 +04:00
magenoxx
12b21abe52 changed version from 0.8.5 to 0.8.6 2012-05-25 19:04:40 +04:00
magenoxx
5650c6c782 Fixed effect timestamps not working. +1 test passes. 2012-05-25 19:00:32 +04:00
magenoxx
1bb1df32b5 Updated lose ability test and corresponding effects. 2012-05-25 19:00:05 +04:00
magenoxx
b19934138c [AVR] Infinite Reflection 2012-05-25 10:42:34 +04:00
magenoxx
0335d4d77e Refactored copying permanents 2012-05-25 10:01:35 +04:00
magenoxx
ed54e78460 PlayerImpl.canPlay fix 2012-05-25 08:19:04 +04:00
magenoxx
897bb4503f Repaired Affinity for artifacts 2012-05-25 00:21:23 +04:00
North
5e6eb401ab [refactor] extracted common dynamic value 2012-05-24 22:46:07 +03:00
North
8618b45bc8 Added lockedIn parameter to BoostEffects. 2012-05-24 22:45:41 +03:00
magenoxx
0890d6e57f Fixed targeting prevent effects 2012-05-24 18:28:42 +04:00
magenoxx
f3598fd4db Enhanced TargetSource class 2012-05-24 18:22:12 +04:00
magenoxx
b3b0d25af7 [AVR] Rain Of Thorns. Fixed Wild Defiance trigger. 2012-05-24 10:01:37 +04:00
magenoxx
32e29392d2 [AVR] Second Guest + tests. Refactored filters. 2012-05-24 09:01:31 +04:00
magenoxx
a47b8c25df Various fixed. +3 tests passed. 2012-05-24 00:24:01 +04:00
magenoxx
29b7f9ab9b Fix. +2 tests passed. 2012-05-23 21:45:37 +04:00
magenoxx
a922310078 Continuous effect fix. +2 tests passed. 2012-05-23 21:24:30 +04:00
magenoxx
3d3e8bb36a +2 tests passed 2012-05-23 21:14:40 +04:00
magenoxx
0d732e8f86 New way of copying permanents - supports copies of copies. +1 test pass. 2012-05-23 20:48:31 +04:00
magenoxx
e5b6807d91 Reimplemented imprinted and connected cards 2012-05-23 20:48:31 +04:00
magenoxx
bd03dce85b Fixed EquipmentAttachedCount dynamic value. +1 test pass. 2012-05-23 17:49:45 +04:00
magenoxx
d94361cee7 Added MANA_PAYED event 2012-05-23 14:01:04 +04:00
magenoxx
d88b373df2 Fixed anymanacolor ability. Enhanced mana system. 2012-05-23 12:49:38 +04:00
magenoxx
082a1fcb64 minor changes 2012-05-22 19:21:03 +04:00
jeffwadsworth
8ff22a673c - Added Moonlight Geist. <AVR> 2012-05-21 13:55:04 -05:00
magenoxx
6f31c00811 [AVR] 5 cards 2012-05-21 08:39:14 +04:00
magenoxx
abc3bbd36b [AVR] Angel of Jubilation + test 2012-05-20 23:00:12 +04:00
magenoxx
57223e0464 Fix for bug with continuous effects 2012-05-20 22:54:41 +04:00
magenoxx
e60613772d Returning stack object 2012-05-20 18:44:32 +04:00
magenoxx
8dda7eec1b Sacrifice effect fix 2012-05-20 18:44:16 +04:00
magenoxx
41006a822a Aura replacement effect fix 2012-05-20 17:41:09 +04:00
magenoxx
595310194c tooltip fixes 2012-05-20 15:58:18 +04:00
magenoxx
18a05231a8 [AVR] Somberwald Sage 2012-05-20 15:58:18 +04:00
magenoxx
0de461553c Added support classes for conditional mana ability 2012-05-20 15:58:17 +04:00
magenoxx
445efc8c18 [AVR] 5 cards with tests 2012-05-20 15:58:17 +04:00
magenoxx
3cca30ca97 [AVR] Alchemist's Refuge with test 2012-05-20 05:28:55 +04:00
North
e91f610d01 [refactor] moved effect to common 2012-05-19 22:02:36 +03:00
magenoxx
320dd240c1 [AVR] 3 cards 2012-05-18 18:57:47 +04:00
magenoxx
262f6cb095 [AVR] 3 cards 2012-05-18 18:08:25 +04:00
magenoxx
15527b8984 fixed fizzle for multi targets 2012-05-18 18:08:00 +04:00
magenoxx
cf6d9d8ac4 upkeep ability targeting fix 2012-05-18 16:00:40 +04:00
magenoxx
275142a143 [AVR] 32 cards. Tests. Common effects. Fixes. 2012-05-18 00:19:43 +04:00
magenoxx
8759b6de33 [AVR] 13 cards with Soulbond 2012-05-17 15:20:21 +04:00
magenoxx
36c2b240fb effect fix 2012-05-17 09:53:19 +04:00
magenoxx
3822e0d09b Soulbond keyword 2012-05-17 09:51:08 +04:00
magenoxx
407f10fa86 critical core fix for failing test 2012-05-15 07:21:51 +04:00
magenoxx
e003b43214 [AVR] Homicidal Seclusion + several tests 2012-05-15 07:21:11 +04:00
magenoxx
a40a1bb3f5 Support for null rule texts in effects 2012-05-15 07:20:18 +04:00
Loki
943555cebf [AVR] Moonsilver Spear, extract common ability 2012-05-14 12:48:07 +03:00
magenoxx
519e136431 More failing tests based on bug reports 2012-05-11 20:25:58 +04:00
magenoxx
d819774cc6 Added required flag to TargetCreaturePermanent constructor 2012-05-11 12:02:39 +04:00
magenoxx
55bf5714a0 [AVR] Harvester Of Souls + test. 2012-05-09 10:04:11 +04:00
magenoxx
419acfeabb [AVR] 5 cards 2012-05-09 09:33:53 +04:00
magenoxx
87c111a253 [AVR] 5 cards. Various fixes. 2012-05-08 18:41:39 +04:00
magenoxx
6cdce1be7c Removed unused common effect 2012-05-08 17:35:25 +04:00
magenoxx
a19c591311 Extracted DiesThisOrAnotherCreatureTriggeredAbility. Refactored some cards. 2012-05-08 17:16:39 +04:00
magenoxx
be7f01b0ba Enhanced card-by-text searching in deck editor 2012-05-08 14:28:06 +04:00
North
67cc42c637 [refactoring][minor] unused imports and formatting 2012-05-07 19:14:04 +03:00
magenoxx
108dec5a4f Reimplemented EverflowingChalice 2012-05-07 09:08:58 +04:00
magenoxx
d75af7c14e NPE fix for no deck loaded 2012-05-07 08:40:41 +04:00
magenoxx
fa0e623120 changed version from 0.8.4 to 0.8.5 2012-05-07 07:50:07 +04:00
Loki
cb945d997e Added looking at card and revealing it for Miracle keyword 2012-05-06 23:40:45 +03:00
Loki
9de37bea5a Fixed memory leak 2012-05-06 23:40:44 +03:00
Loki
f8af7202ef Some fixes for Miracle keyword. Added displaying spell in the stack 2012-05-06 23:40:41 +03:00
Loki
ca56f3b498 Extrace 'Take extra turn' to common effect 2012-05-06 23:40:40 +03:00
Loki
160504ef42 Support for multi X in variable cost 2012-05-06 23:40:39 +03:00
magenoxx
80a25377b5 GatekeeperOfMalakir kicker test. Fails. 2012-05-03 18:21:30 +04:00
magenoxx
9fa5d58174 Removed flying blocking restriction effect duplication 2012-05-03 08:32:27 +04:00
magenoxx
41a5bb7496 Fixed bug with PrimevalTitan and all cards with SearchLibraryPutInPlayEffect. 2012-05-03 05:39:45 +04:00
magenoxx
f39d5dbca1 New implementation for LevelUpAbility. All tests ok. 2012-05-02 20:20:01 +04:00
magenoxx
c2ea8246d2 Tests for LevelUpAbility 2012-05-02 19:21:29 +04:00
magenoxx
e17afdedc3 changed LevelUpAbility rule text 2012-05-02 17:16:16 +04:00
magenoxx
40ff3dd498 Tests reproducing bug in Mage.Core with creature CopyEffect for triggered abilities 2012-05-02 16:48:11 +04:00
magenoxx
b10e385221 formatting 2012-05-02 00:02:03 +04:00
magenoxx
0f950dbc50 [AVR] Miracle keyword 2012-05-01 23:59:36 +04:00
North
236a84cbcb Fixed potential NPE in SacrificeTargetEffect.getText 2012-05-01 22:28:21 +03:00
magenoxx
933f094f69 More careful fix for PlayerImpl.canPlay. Moved ThaliaGuardianOfThrabenTest to another package. 2012-05-01 12:33:51 +04:00
magenoxx
4526d50e43 Added tests for cost modification effects based on Arcane Melee card. One test fails because of bug in core. 2012-05-01 12:07:06 +04:00
magenoxx
26ac9d1967 Fixed PlayerImpl.canPlay - didn't take cost modification effects into account 2012-05-01 11:53:58 +04:00
magenoxx
1bf788a4e1 [AVR] 5 cards 2012-05-01 09:39:07 +04:00
magenoxx
537c326789 [load] loading testing: added simple test for starting game by two players 2012-04-30 18:56:36 +04:00
magenoxx
42108ef59c fixed downloading images from flip cards according to changes on magiccards.info site 2012-04-28 03:27:36 +04:00
North
15759532cf [minor] removed unused imports 2012-04-24 23:03:09 +03:00
North
fa0445b544 Added support for player searching another players library
Fixed Haunting Echoes and Sadistic Sacrament to use this feature
2012-04-24 23:03:09 +03:00
jeffwadsworth
b6f1cba7fa - Added text to PreventCombatDamageSourceEffect class. 2012-04-19 16:18:13 -05:00
jeffwadsworth
c41c9c1f94 - Added Guard Gomazoa. <ROE> 2012-04-19 16:12:19 -05:00
North
93018628df AuraReplacementEffect fix - changed source id to the Aura's ID and not the ability source ID. 2012-04-15 20:23:39 +03:00
North
9632a3297d Added AuraReplacementEffect; cards with the Aura subtype don't change the zone they are in if there is no valid target on the battlefield. Also, when entering the Battlefield and it was not cast this effect gets the target to witch to attach it.
Updated Aura Enchantment cards affected by the AuraReplacementEffect.
2012-04-13 22:18:37 +03:00
North
6f57351096 Fixed Cryptoplasm copy effect. 2012-04-08 21:24:42 +03:00
magenoxx
f0be9c35d7 Moved skipping initial shuffling to game options. 2012-04-07 11:52:31 +04:00
magenoxx
53b2893a81 Fix for issue with Mul Daya Channelers. All tests pass. 2012-04-07 11:09:20 +04:00
magenoxx
89cec1c2b2 not shuffling library for tests 2012-04-07 11:08:49 +04:00
magenoxx
3348a29b1a [ROE] Mul Daya Channelers (by jeffwadsworth2010) 2012-04-07 11:06:02 +04:00
jeffwadsworth
39fcd5648f - Added optional flag for BecomesTargetControllerSpellTriggeredAbility. Fixes Dormant Gomazoa. 2012-04-06 20:41:20 -05:00
jeffwadsworth
26084cc184 - Added Dormant Gomazoa <ROE> 2012-04-06 20:34:10 -05:00
jeffwadsworth
8d6766b011 - Added Champion's Drake <ROE> 2012-04-05 21:04:33 -05:00
jeffwadsworth
e92d3e146f Merge branch 'master' of ssh://109.200.159.85/var/lib/git/mage.git 2012-04-04 19:59:36 -05:00
jeffwadsworth
56665e580d - Added <ROE> Totem-Guide Hartebeest. 2012-04-04 19:57:16 -05:00
North
a7faf62c81 Fixed AI NPE from ReboundAbility. 2012-04-01 19:37:27 +03:00
North
46cbaa0ce0 Fixed DiscardTargetEffect.getText. It supports FixedTarget now. 2012-04-01 18:56:28 +03:00
North
c8b6dde3d9 Fix - target pointer should be set from wrapper effects. 2012-03-30 22:19:20 +03:00
North
c9ddaac961 Added javadoc to Card.moveToExile
removed unused imports
2012-03-30 21:20:18 +03:00
North
bc1dcff4fe Refactored ConditionalContinousEffect to support otherwiseEffect 2012-03-30 21:18:42 +03:00
BetaSteward
c893fd891e cards submitted by backfir3 2012-03-29 08:33:46 -04:00
BetaSteward
97c6f33154 fixes 2012-03-29 08:32:52 -04:00
North
03bbc73564 MageInt.EmptyMageInt made immutable 2012-03-28 22:29:27 +03:00
North
775b3276c9 Fixed Chimeric Mass.
Also fixed the BecomesCreature effects. In case the token had another ability with a SetPT effect there would have been two effects on the same layer and the outcome would not be predictable.
2012-03-28 22:18:33 +03:00
magenoxx
e851fb4d8e Fix for EntersBattlefieldEffect and ChimericMass. 2012-03-28 13:18:35 +04:00
magenoxx
deb6533bd8 [mad ai] emulating block declaration. safe block. (in progress) 2012-03-26 22:04:31 +04:00
magenoxx
0b75e4866a Fixed EntersBattlefieldEffect. PhantasmalImage's CopyEffect works now. 2012-03-26 20:05:20 +04:00
BetaSteward
e859e142fa 2 DKA 2012-03-26 08:55:30 -04:00
magenoxx
523481b5a2 Added additional parameter for effect outcome. Updated choosing permanents for AI. 2012-03-26 10:59:04 +04:00
magenoxx
7ecf9f125d Fixed NPE in CopyEffect (happened when creature copied itself that is legal from rules point of view). 2012-03-26 10:35:29 +04:00
magenoxx
fb8f4c3c67 Test for Exiled and fix. 2012-03-26 09:20:30 +04:00
magenoxx
46439e7ffe Fixed Oblivion Ring issue (LeavesBattlefieldTriggeredAbility). 2012-03-26 00:42:04 +04:00
magenoxx
569faf8fd3 TransformAbility fix. 2012-03-26 00:41:53 +04:00
magenoxx
0754cd91d0 javadoc fix. formatting 2012-03-26 00:34:36 +04:00
magenoxx
3875c1f7c0 Changed component version from 0.8.3 to 0.8.4 (dev) 2012-03-25 12:16:46 +04:00
North
b446585c00 [DKA] Helvault
fixed ReturnFromExileForSourceEffect
2012-03-19 00:28:36 +02:00
intimidatingant
a20d1fbf8e Merge branch 'master' of ssh://git.magefree.com/var/lib/git/mage 2012-03-14 20:53:15 -07:00
intimidatingant
eb418cf1fe Add 3 DKA cards. Fix bug with Diregraf Captain. 2012-03-14 20:52:31 -07:00
North
8ea3cc741c Fixes issue when source for damage isn't on the battlefield anymore 2012-03-12 23:27:48 +02:00
BetaSteward
de4153c5aa 3 DKA 2012-03-11 23:20:56 -04:00
North
47abc28d78 [DKA] Jar of Eyeballs
[DIS] Proper Burial
[10E] Grave Pact
[TMP] Essence Bottle, Torture Chamber
2012-03-11 17:12:04 +02:00
BetaSteward
f98a1be4e0 fixed multiple emblems in play 2012-03-10 22:22:43 -05:00
BetaSteward
3b643805c8 normalized ContinuousEffects 2012-03-10 22:20:24 -05:00
BetaSteward
243fd32fa3 updated SpellCastTriggeredAbility to use FilterSpell 2012-03-08 22:49:23 -05:00
BetaSteward
d353924fcd submissions from Melkhior 2012-03-08 15:38:18 -05:00
BetaSteward
f1fefb0d59 2 DKA 2012-03-08 13:54:31 -05:00
BetaSteward
e03aaee4b6 updated searching/shuffling interaction 2012-03-08 13:53:23 -05:00
BetaSteward
631308a5df fixed cost modification effects getting applied twice 2012-03-05 22:45:36 -05:00
BetaSteward
dddca6ae32 2 DKA 2012-03-05 22:44:49 -05:00
Loki
3e2c7dfa95 fix affinity double-counting 2012-03-05 19:57:27 +04:00
Loki
d5fea2e5c8 Merge remote-tracking branch 'origin/master' 2012-03-05 19:33:15 +04:00
Loki
b02e87ea67 try toi fix NPE in Gatekeeper of Malakir 2012-03-05 19:32:59 +04:00
BetaSteward
82f8a7cdee added replace event to putOntoBattlefield call - moved logic for moving cards to putOntoBattlefield 2012-03-05 09:15:47 -05:00
BetaSteward
db02ea3aa6 fixes 2012-03-03 23:20:10 -05:00
BetaSteward
67fb349224 3 DKA 2012-03-02 15:42:34 -05:00
BetaSteward
12027369a5 DKA - IncreasingVengeance 2012-02-29 13:35:34 -05:00
BetaSteward
cab80c5a68 4 DKA 2012-02-28 22:54:40 -05:00
North
6f7050f9eb Merge
Conflicts:
Mage.Sets/src/mage/sets/darkascension/WolfhuntersQuiver.java - kept my version (rule text is correct in mine)
2012-02-28 21:55:36 +02:00
North
5c7c0a4086 Fixed Past in Flames TimingRule
Fixed All is Dust to take into account the range of influence
minor changes to all other files
2012-02-28 21:49:36 +02:00
BetaSteward
1dbc0a2be5 2 DKA 2012-02-28 14:25:36 -05:00
BetaSteward
c64c597467 DKA - Fiend of the Shadows 2012-02-26 21:48:55 -05:00
BetaSteward
9ae7ff87ea more tests + some fixes 2012-02-25 23:24:06 -05:00
BetaSteward
68391a7522 fixed some NPE's and other errors 2012-02-23 15:26:57 -05:00
BetaSteward
828662f6f3 3 Curses from DKA 2012-02-19 09:52:39 -05:00
BetaSteward
86906c633a updated test framework - added TestPlayer which only performs instructed actions 2012-02-17 10:40:57 -05:00
BetaSteward
2e14adfde0 removed ConditionalStaticAbility - not getting applied anymore - used ConditionalContinousEffect instead 2012-02-17 10:28:09 -05:00
magenoxx
cb929d1f21 Fixed NPE in monte carlo. Removed actions remembering for now as not used yet. 2012-02-14 08:55:42 +04:00
BetaSteward
48f5a469d4 fixes for monte carlo ai 2012-02-13 09:05:01 -05:00
LevelX
37086bfa5c [DKA] Blck Cat
Some text improvements
Fixed NezumiBoneReader
Added randomDiscard parameter to DiscardTargetEffect
2012-02-12 00:48:17 +01:00
LevelX
ef5594cdd3 Some small improvements to text generation 2012-02-11 14:25:21 +01:00
LevelX
fa587ce7b7 [DKA] Tower Geist
Rework of LookLibrary effects
2012-02-11 14:13:08 +01:00
BetaSteward
885c43d374 Merge branch 'master' of ssh://109.200.159.85/var/lib/git/mage 2012-02-09 15:58:59 -05:00
BetaSteward
d79cbcb54f fixes 2012-02-09 15:58:14 -05:00
Loki
af6ef52215 3 DKA 2012-02-08 20:43:31 +04:00
BetaSteward
6205ebaeb9 fixed Liliana Of The Veil npe when targeting tokens + added choose pile dialog 2012-02-07 15:15:47 -05:00
Loki
f14559d71d fix summoning sickness, 1 DKA 2012-02-07 16:52:53 +04:00
Loki
4d578fa022 DKA 2012-02-07 14:00:45 +04:00
BetaSteward
4fd59f9e8c added test for continuous effects + modified tests to stop on specified turn and step 2012-02-06 10:06:25 -05:00
BetaSteward
79be305eb9 fixed continuous effects generated by spells 2012-02-05 22:50:42 -05:00
BetaSteward
bf9e25fc34 other fixes 2012-02-04 17:05:48 -05:00
BetaSteward
90c7079bfa fixed delayed triggered abilities 2012-02-04 17:02:25 -05:00
magenoxx
681cf0167d minor fix 2012-02-04 15:46:46 +04:00
magenoxx
2e890bea0c try\catch around NPE on server 2012-02-04 15:38:28 +04:00
magenoxx
36bc35f7b2 This time correct fix for DiesTriggerAbility. 2012-02-04 10:12:38 +04:00
magenoxx
7b6cedacfa Fixed DiesTriggeredAbility not working. 2012-02-04 00:36:17 +04:00
BetaSteward
d813283c19 adding back recent changes - not quite sure how I managed to revert all this 2012-02-02 23:48:25 -05:00
BetaSteward
1d32f49fd0 modified triggered abilities, continuous effects and zones 2012-02-02 23:27:23 -05:00
North
053c630b3c fixed NPE for LookLibraryControllerEffect 2012-01-30 22:05:47 +02:00
North
34765debdc [refactoring] removed DrawCardEffect (misleading and there was better solution already implemented); also fixed Cruel Ultimatum
[refactoring] removed special char from deck name.
2012-01-29 22:39:58 +02:00
magenoxx
49c403da0e Fixed static text. 2012-01-28 11:04:41 +04:00
BetaSteward
1b965f358b Urza's Saga - courtesy of Backfir3 2012-01-27 21:36:36 -05:00
BetaSteward
436a8ea440 Merge branch 'master' of ssh://109.200.159.85/var/lib/git/mage 2012-01-24 22:52:38 -05:00
BetaSteward
7fce6c552d fixes + optimizations + updates to monte carlo ai 2012-01-24 22:51:31 -05:00
BetaSteward
23616432e4 fixed ConcurrentUpdateException with multi-threaded ai 2012-01-24 22:50:18 -05:00
LevelX
6a282d1e51 3 new cards
[CHK] Marrow-Gnawer / Orochi Eggwatcher / Kiku, Night's Flower

Fix
ShisatoWhisperingHunter - using now sacrificeControllerEffect instead of sacrificeEffect

Framework
BeginningOfUpkeepTriggeredAbility - reverted change to set targetPointer if targetController == YOU (this caused unwanted side effects)
SacrificeControllerEffect - new effect that the controller of an ability has to sacrifice something
GainAbilityAllEffect - improved text generation
some minor comment and include fixes
2012-01-24 23:33:27 +01:00
LevelX
5be4f1c291 8 new cards
[SOK] Kashi-Tribe Elite / Matsu-Tribe Birdstalker	
[CHK] Kashi-Tribe Reaver / Kashi-Tribe Warriors / Matsu-Tribe Decoy / Orochi Ranger / Shisato Whispering Hunter / Sosuke, Son of Seshiro

Framework
SkipNextPlayerUntapStepEffect - new effect
CardsInHandCondition - new condition
DealsCombatDamageToACreatureTriggeredAbility - new ability
BecomesCreatureSourceEffect - Fix to solve problems with creatures that unintended kept their subtypes (e.g. Skinshifter))
BeginningOfUpkeepTriggeredAbility - set also target pointer if targetController == YOU
BoostTargetEffect - added lockedIn parameter to fix error for various cards (DragDown / ElderOfLaurels / MightOfAlara / MightOfTheMasses  / StrengthOfCedars / BloodthirstyOgre)
GainAbilityControlledEffect - imporoved text generation
SkipNextUntapTargetEffect / TapTargetEffect - addded fixed target text support

Minor changes
AkkiLavarunner / CreakwoodGhoul / DearlyDeparted - includes
ClockworkBeetle - fixed use of effect of other card
KondasBanner - fixed potential null pointer exception and wrong name spelling
YoseiTheMorningStar - uses now the new SkipNextPlayerUntapStepEffect
2012-01-22 11:12:49 +01:00
Loki
53d70ffbe3 [MRD] Auriok Bladewarden 2012-01-19 12:35:03 +04:00
BetaSteward
2e21b7197b fixes and optimizations for monte carlo ai 2012-01-16 18:49:11 -05:00
BetaSteward
a13bb9acf5 moved CopyPermanentEffect and fixed some cards with copy 2012-01-16 18:45:11 -05:00
LevelX
6b0f04d03f 13 new cards
[BOK] Akki Blizzard Herder / Crack the Earth
[CHK] Commune with Nature / Otherworldly Journey / Peer Through Depths / Rag Dealer / Reciprocate
[CON] Faerie Mechanist / Giltspire Avenger
[PLC] DuneriderOutlaw
[ROE] Ancient Stirrings
[SOK] Freed from the Real]
[TSB] WhirlingDervish

Some small fixes or refactoring
Aura of Dominion / Hikari Twilight Guardian / Wicked Akuba / Claustrophobia / Crab Umbra / Descendant of Soramaro

Framework changes
PlayerDamagedByWatcher - replaced by the new PlayerDamagedBySourceWatcher
PlayerDamagedBySource - new watcher which tracks what sources damged a player
DealtDamageToAnOpponent - new condition
LookLibraryControllerEffect - reworked to be usable with LookLibraryAndPickControllerEffect
LookLibraryAndPickControllerEffect - new effect to handle draw and pick effects
TapEnchantedEffect - new
UntapEnchantedEffect - new
ReturnFromExileEffect - added constructor rule text support
SacrificeAllEffect - fixed missing rule text creation
GameImpl - added the creation of the new PlayerDamagedBySource watcher for each player
2012-01-12 08:11:32 +01:00
BetaSteward
dfffdfcf8c latest monte carlo ai - has a memory leak 2012-01-10 21:29:53 -05:00