Commit graph

1766 commits

Author SHA1 Message Date
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