Commit graph

105 commits

Author SHA1 Message Date
LevelX2
8a4474fadc * Evoke - Fixed that the check if creature came into play with evoke was always true if it came again to play later when it was evoked before. 2014-05-10 17:05:52 +02:00
LevelX2
9364616517 * Fix to handle returning effects correct if multiple objects return at the same time (e.g. two creatures with evolve return from exile because two Banisher Priests die by damage to all effect). (not complete finished yet, because Undying test does not run without error). 2014-05-06 17:51:37 +02:00
LevelX2
3b3f136d34 Spells on the stack can now get counters. 2014-05-02 16:45:26 +02:00
LevelX2
367dd0b228 Fixed a bug that spells with alternative costs are written to the game log as if the alternative cost was always used. 2014-04-30 17:15:34 +02:00
LevelX2
b4dcddd0a9 * FlashbackAbility - Fixed that for flashbacked spells additional optional costs did not work (e.g. Buyback, Replicate, Kicker). 2014-04-27 16:06:07 +02:00
LevelX2
a229d4d260 * Flashback ability - Fixed that flashback abilities with non mana costs (e.g. Cabal Therapy) added the costs wrongly again as additional costs to the tooltip text of the card. 2014-03-27 13:33:12 +01:00
LevelX2
9a443aa056 Added Fist of Suns and Haze of Rage. 2014-03-25 16:43:48 +01:00
LevelX2
20453be5ff * Game logging - Added target information to log of triggered ability. 2014-03-17 16:57:55 +01:00
LevelX2
2f8ac76417 * Game log - triggered abilities are now logged as they go to stack. Some minor formatting. 2014-03-17 08:37:54 +01:00
LevelX2
09b7e7baea * Minor formatting. 2014-03-14 14:00:29 +01:00
LevelX2
cabe33395c Added new attribute ability word to ability to simplify rule text generation. 2014-03-11 16:39:01 +01:00
LevelX2
7ebb8a9cbe * Reworked non mana costs with variable amount. The values have now to be announced before targeting. Fixed some wrong implementations (Firestorm, Myr Battlesphere, Skeletal Scrying). 2014-03-09 19:47:31 +01:00
LevelX2
6049a69348 Added generic AlternateCostSourceAbility. Some adjustments to alternate cost handling. 2014-02-18 14:39:33 +01:00
LevelX2
b10ad8e663 * Game log - The announced value for X costs is now posted to the log at a later point in time to avoid posting canceled announcements. 2014-02-14 15:13:59 +01:00
LevelX2
ca831aee05 if multiple permanents come to battlefield at the same time, they are aware now of each other. (e.g. useful for for Valakut, the Molten Pinnacle). 2014-02-06 01:02:44 +01:00
LevelX2
0ad2d040b1 [C13] Added Azorius Herald, Oloro, Ageless Ascetic and Kingming 'Sleeping Dragon'. Sime fixes to commander handling. 2013-11-25 07:28:56 +01:00
LevelX2
0697801cdc * Commander - Fixed cost reduction for casting commander. 2013-11-01 17:03:33 +01:00
LevelX2
2c46929fff [C13] Added Command Tower, Homeward Path, Contested Cliffs, Marath Will of the Wild. 2013-10-31 17:30:30 +01:00
LevelX2
aec5f554a6 Reverted unconditional game.applyEffects() after each effect resolve. 2013-07-17 11:48:19 +02:00
ludwig.hirth
035756efab Merge branch 'master' of https://github.com/magefree/mage.git 2013-07-17 11:45:46 +02:00
LevelX2
b93ff11aeb Added possibility to set a flag for effects that causes to call game.applyEffects() after the effect is resolved. 2013-07-17 11:45:22 +02:00
Li REN
0802d0433c [minor] clean up 2013-07-17 04:53:03 -04:00
Li REN
4529efa773 Change one shot effect resolving function. Resolve continuous effects after each one shot effect resolved. 2013-07-17 04:40:09 -04:00
LevelX2
76b98535ca Small improvement to tooltip text generation. 2013-07-10 14:12:32 +02:00
LevelX2
1bd3f6d318 Merge branch 'master' of https://github.com/magefree/mage.git 2013-06-26 18:30:24 +02:00
LevelX2
725ee6e042 Added SpliceOntoArcane Ability. It's working but it will need some handling improvements. 2013-06-26 17:34:14 +02:00
LevelX2
5591059e53 AbilityImpl code cleanup. 2013-06-25 21:46:11 +02:00
LevelX2
621bc4e1ce * Added Entwine ability. 2013-06-22 23:00:39 +02:00
LevelX2
853810ce45 Added support for casting modal spells or activating modal abilities with more than one mode to choose. 2013-06-22 19:35:22 +02:00
North
0bb110be45 [refactor] moved enums from Constants class 2013-06-16 12:28:10 +03:00
LevelX2
5c479eb919 Fixed a bug that x spells that need black mana to pay for x (e.g. Consume Spirit) could be paid with all kind of mana. 2013-06-06 17:37:49 +02:00
LevelX2
9f277547de Added Evoke ability. 2013-05-25 15:42:52 +02:00
Plopman
4aeece6764 Replace OnlyOpponentCanActivate by MayActivate 2013-04-10 22:13:08 +02:00
LevelX2
36b4482367 Changed rule text generation to set first character to uppercase if needed. 2013-04-05 15:10:59 +02:00
magenoxx
ded2979dab Fixed Issue#79: Cost reduction does not work properly 2013-03-15 17:54:02 +04: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
North
a7a565bb8f [minor] access modifer order 2013-03-10 14:53:02 +02:00
LevelX2
31616f876e Added the possibility to hide a ability for rule text generation. 2013-03-04 00:05:52 +01:00
magenoxx
f6f74bd96f Fixed Issue#143: Wrong variable cost order 2013-02-22 23:29:49 +04: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
0c03cf6797 Fixed a problem with the tests and the logic that opponents can activate activatedAbilities. 2013-02-01 19:54:27 +01: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
eff6ea131f Added possibility that opponent can activate activateted ability to activatedAbility. Minor changes. 2013-01-31 21:56:11 +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
67ed36e315 Reworked Kicker. 2012-12-08 02:20:29 +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
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
4ec874f8c7 Added the possibility to adjust Choices before using the choices in activated abilities 2012-09-24 07:53:42 +02: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