Commit graph

917 commits

Author SHA1 Message Date
BetaSteward
37819c5088 fix for issue 210 was causing issues for AI's - added getX() utility method instead 2011-08-22 13:39:44 -04:00
North
b2d9b467ef ACTIVATE_ABILITY and ACTIVATED_ABILITY events were used with source and target reversed. 2011-08-22 17:34:17 +03:00
magenoxx
096ae6e3ca possible fix for wither instant spells 2011-08-22 14:20:59 +04:00
Loki
0642038d7e Few more cards 2011-08-22 09:54:48 +03:00
magenoxx
e2d4fa8899 [M12] Stormblood Berserker 2011-08-22 09:39:37 +04:00
Loki
54a2e7c497 fix multitargeting, todo: fix tooltip 2011-08-22 00:01:32 +03:00
magenoxx
679d181e34 Fixed Issue 210 2011-08-21 22:58:33 +04:00
magenoxx
0829fa1ebf [M12] Manabarbs 2011-08-21 22:22:04 +04:00
North
781738ecec Refactoring (appended Condition to the name of every ConditionImpl).
Fixed EquippedCondition and EnchantedCondition.
2011-08-21 16:18:31 +03:00
magenoxx
567dee8ab6 [M12] Monomania, Rites of Flourishing 2011-08-21 09:12:43 +04:00
North
0dc56b7858 Fixed Rot Wolf (wasn't optional) 2011-08-21 08:07:04 +03:00
North
c6570bc203 [MBS] Rot Wolf
[ALA] Blood Cultist
[MBS] Path of Blight Starter Deck
2011-08-20 23:14:44 +03:00
magenoxx
b8076aa1d3 [M12][10E] Sengir Vampire 2011-08-20 22:59:49 +04:00
magenoxx
09ad252092 [M12] Call to the Grave 2011-08-20 21:51:25 +04:00
magenoxx
099021fe18 Fixed BeginningOfUpkeepTriggeredAbility 2011-08-20 21:50:42 +04:00
magenoxx
0df1e17820 [M12] Consume Spirit 2011-08-20 17:31:14 +04:00
BetaSteward
35d993c3c1 removed redundant calls to copy() 2011-08-19 22:18:23 -04:00
BetaSteward
2d0842f320 handle multiple replacement effects 2011-08-19 22:17:19 -04:00
BetaSteward
9f64c00dc5 moved BloodthirstWatcher to player - does not need be added to card anymore 2011-08-19 22:16:31 -04:00
Loki
b5331660cf [DDF] Celestial Crusader, Split Second ability 2011-08-19 16:44:58 +03:00
magenoxx
0267e963e9 Since now use effect.setValue(key, object) instead of gameState.setValue(key, object). 2011-08-19 08:55:27 +04:00
magenoxx
2c861461aa forgot to remove one keyset 2011-08-19 08:39:57 +04:00
magenoxx
4a12539346 Optimized gamestate copying - using entries is faster than keySet. 2011-08-19 08:38:44 +04:00
magenoxx
8f3d8a2117 [M12] Sutured Ghoul 2011-08-19 07:19:03 +04:00
BetaSteward
2ad50b2983 show Table Waiting dialog on reconnect 2011-08-18 22:47:12 -04:00
North
89bd7ccc97 [M12] Warstorm Surge
[M12] Grab for Power Starter Deck
2011-08-18 19:14:05 +03:00
magenoxx
6dfebe3dc2 [M12] Bloodlord of Vaasgoth 2011-08-18 18:55:15 +04:00
magenoxx
0d40cc7cf2 Added rule text to BloodthirstAbility effect. 2011-08-18 18:53:26 +04:00
magenoxx
02e09831ad Now AI would try to get removal spells (getting additional points for them). 2011-08-18 11:07:21 +04:00
North
e7be3591d4 [MBS] Concussive Bolt
[MBS] Battle Cries Starter deck
2011-08-17 21:59:37 +03:00
magenoxx
4a55a252a7 NPE fix in DynamicManaAbility 2011-08-17 18:14:53 +04:00
magenoxx
6dbef9fee0 Fixed Chasm Drake 2011-08-17 08:21:28 +04:00
North
4a84240632 [M12] Worldslayer, Zombie Infestation, Quicksilver Amulet
[M10] Elvish Piper
2011-08-16 22:07:59 +03:00
magenoxx
4da3f0c62d Added informing players about damage prevented. 2011-08-16 21:43:08 +04:00
magenoxx
b4f8de621f Fixed Scry causing losing the game 2011-08-16 21:41:09 +04:00
North
cec8d6feef Missed a file. 2011-08-16 20:29:12 +03:00
North
96e3834ab7 Refactoring. 2011-08-16 20:27:37 +03:00
magenoxx
49b32d0354 Fixed checking for possible targets - replaced using source.getSourceId() by source.getId() - may cause bugs. Protection from colored spells works now. 2011-08-15 22:41:50 +04:00
magenoxx
291c67ec7d Fixed .hasType implementation. 2011-08-15 19:26:28 +04:00
magenoxx
f488b0268a Fixed getLastKnownInformation not working for tokens. 2011-08-15 19:08:53 +04:00
magenoxx
3521c7dd08 Fixed Protection from color. Fixed spell fizzling. 2011-08-14 22:19:22 +04:00
North
fb56e315fa Fixed Livewire Lash (NPE). 2011-08-14 19:03:57 +03:00
magenoxx
bc8d8b4c2f Fixed choosing new targets for spell. 2011-08-14 17:59:10 +04:00
magenoxx
3f15b2b89d Fixed ability text not displayed in ability chooser for Equip effect. 2011-08-14 12:20:27 +04:00
magenoxx
f13ba5d7fb More correct checking for having subtypes (card.hasSubtype()). Changeling ability. Refactored all cards. 2011-08-14 10:30:26 +04:00
maurer.it
9cc328574f Implemented Blade of the Bloodchief
Removed some unused imports which were causing compiler warnings

Javadoc for TriggeredAbilityImpl to clarrify that it only really works for the source of the ability.
2011-08-14 00:49:27 -04:00
BetaSteward
981bdf5bfa added sourceId to Watchers 2011-08-12 21:34:03 -04:00
BetaSteward
ccea6d06d7 fixed DamageXTargetEffect 2011-08-12 21:32:34 -04:00
North
06ed6cbd2a Reffactored cards.
Fixed Enchanted condition.
2011-08-12 23:05:35 +03:00
magenoxx
c065b68ba3 [M12] Smallpox 2011-08-12 19:51:19 +04:00
magenoxx
6435ef5d34 [M12] Brink Of Disaster 2011-08-12 19:02:37 +04:00
magenoxx
f8105f3a7a [M12] Turn To Frog 2011-08-12 18:40:47 +04:00
magenoxx
8018ccf953 LoseAllAbilitiesTargetEffect. Updated BecomesCreatureSourceEffect and BecomesCreatureTargetEffect to clear previous subtypes if needed. 2011-08-12 18:40:15 +04:00
BetaSteward
18064114e0 added events for adding counters 2011-08-12 10:09:41 -04:00
magenoxx
912f33020d Clean up. 2011-08-12 17:40:07 +04:00
magenoxx
7c1ca96936 SkipNextUntapTargetEffect for multi targets. 2011-08-12 17:39:52 +04:00
magenoxx
4a3dfed92f Refactored Belltower Sphinx implementation. 2011-08-12 08:51:35 +04:00
magenoxx
8d673217e7 Added game.getControllerId(uuid) method 2011-08-12 08:50:45 +04:00
magenoxx
61e09f543e clean up 2011-08-12 00:38:28 +04:00
magenoxx
5010ef9dbe ConditionalStaticAbility. New implementation of Sejiri Merfolk. 2011-08-12 00:35:54 +04:00
magenoxx
9a2f819992 GainAbilitySourceEffect now has constructor with default duration=WhileOnBattlefield 2011-08-12 00:34:22 +04:00
magenoxx
e90d3737e8 Fixed attacking\blocking filter. Fixed Issue 202. 2011-08-11 15:42:07 +04:00
Loki
91f79164df [NPH] Birthing Pod 2011-08-11 00:41:44 +03:00
magenoxx
86d306429c Fixed Beastmaster Ascension not working. Try not to use names for counters, use CounterType instead. 2011-08-10 22:38:09 +04:00
magenoxx
e92ccb7b2f Fixed Issue 42 2011-08-10 15:19:28 +04:00
magenoxx
7b71fa29f5 Fixed Issue 200 2011-08-10 13:50:49 +04:00
magenoxx
9d3d0f43fb Fixed Issue 201 2011-08-10 13:30:42 +04:00
magenoxx
a60fe86fbb Fixed filter for "Target ANOTHER permanent" not working. Now sourceId is passed to match method. Updated sever plugins (game freezes otherwise). 2011-08-10 12:28:57 +04:00
Loki
77e50e0a5d 5 cards 2011-08-10 09:12:14 +03:00
BetaSteward
ac5e4c0fec added duration to BecomesCreatureSourceEffect + refactored some cards 2011-08-09 22:41:24 -04:00
BetaSteward
cc5b68976f MBS - Praetor's Counsel, Tezzeret, Agent of Bolas 2011-08-09 22:36:47 -04:00
North
19cd6624ae Added cards. 2011-08-09 22:20:34 +03:00
magenoxx
300cc90d56 [M12] Goblin Bangchuckers 2011-08-09 22:37:58 +04:00
magenoxx
2b722ad1f7 [M12, ZEN] Sorin Markov 2011-08-09 18:48:32 +04:00
magenoxx
e1318a628d Merge 2011-08-09 09:38:00 +04:00
Loki
70ebccca7e [NPH] Jin-Gitaxias, Core Augur 2011-08-09 08:28:33 +03:00
magenoxx
3961f64c7c Fixes in texts. 2011-08-09 09:28:06 +04:00
North
26fa594a5b [MBS] Kuldotha Flamefiend 2011-08-08 22:15:44 +03:00
magenoxx
846d1479a2 [M12,M10] Djinn of Wishes. Fixes. 2011-08-08 19:14:40 +04:00
North
e30a3f8dda Added cards. 2011-08-07 16:32:18 +03:00
magenoxx
5f78483f46 [M12] Arbalest Elite 2011-08-07 15:38:06 +04:00
magenoxx
bf897c9daf LKI: reverting back my change. 2011-08-07 15:25:39 +04:00
Loki
31234be77f 3 M12 2011-08-07 09:26:15 +03:00
Loki
b5a048b560 Next flip card + misc 2011-08-06 12:26:33 +03:00
Loki
6fa9877042 Iname, Death Aspect and Bold Defense 2011-08-06 10:48:39 +03:00
Loki
87a6273a06 Quicksilver Geyser 2011-08-05 21:16:34 +03:00
magenoxx
7ed6935c40 Fixed active player doesn't get priority while discarding cards in cleanup. 2011-08-05 17:22:54 +04:00
magenoxx
b562f57a5c Fixed in controlling the turn. Mindslaver works now. 2011-08-05 16:49:13 +04:00
magenoxx
98d99d01c6 splitter. still in progress. 2011-08-05 01:52:51 +04:00
magenoxx
2b44c3ae2b SkipUntapSourceEffect. FilterAttackingOrBlockingCreature. TargetAttackingOrBlockingCreature. 2011-08-04 21:51:59 +04:00
magenoxx
752569874d Controlling other players turns (only effect, replacing message is not implemented yet). ControlTargetPlayerNextTurnEffect. 2011-08-04 21:50:24 +04:00
magenoxx
ed3f96c668 New ConditionalMana support. 2011-08-04 18:10:57 +04:00
Loki
b4defa21aa 2 NPH 2011-08-03 22:54:43 +03:00
Loki
0633a2667f remove target hack from DealsCombatDamageToAPlayerTriggeredAbility, now you need to add flag to constructor to set target pointer to damaged player 2011-08-03 21:56:22 +03:00
North
a9e2bfe52a Added cards. 2011-08-03 20:04:31 +03:00
magenoxx
8d404138c3 Fixed Heavy Arbalest. Fixed FilterCreaturePermanent. 2011-08-03 20:20:15 +04:00
magenoxx
1751a588a0 Emblems. GetEmblemEffect. 2011-08-03 19:16:39 +04:00
Loki
c5d3c803b5 fix Spell.chooseNewTargets 2011-08-03 10:17:20 +03:00
magenoxx
2fb44ec737 Fixed CreateTokenEffect text. 2011-08-03 00:16:39 +04:00
North
e4620a7295 Added cards. 2011-08-02 21:48:57 +03:00
magenoxx
d33bf20bf0 Attackers sorting, Blocking groups - rule 509.3. Fixed Issue 195. 2011-08-02 21:32:05 +04:00
Loki
75356af5bb Grim Lavamancer 2011-08-02 16:51:25 +03:00
magenoxx
830664b834 Fixed Issue 193 2011-08-02 11:34:10 +04:00
Loki
44f49db176 2 cards 2011-08-01 23:38:22 +03:00
magenoxx
5e8aa0036e Hurray! Fixed Issue 61. This also fixes card copies not working (e.g. Basilisk Collar copied several times with Prototype Portal). 2011-08-01 20:01:44 +04:00
magenoxx
03c020e800 Copy token fix 2011-08-01 02:05:10 +04:00
magenoxx
b82d52d34c restriction effects for untap phase 2011-08-01 00:46:10 +04:00
magenoxx
fe4ba3c590 connected cards 2011-08-01 00:45:51 +04:00
magenoxx
1181988fd4 Fixed variable cost not working in ActivateOncePerTurnActivatedAbility. 2011-07-31 19:13:55 +04:00
magenoxx
1ccaf403a6 [SOM] Platinum Emperion 2011-07-31 16:49:18 +04:00
magenoxx
3387b4b741 "Total life can't change" support 2011-07-31 16:48:15 +04:00
magenoxx
962f91d3da Fixed: damage dealt should not be equal to life lost. 2011-07-31 15:48:18 +04:00
magenoxx
7b6548ca65 Fix. m12.txt. 2011-07-31 15:20:32 +04:00
magenoxx
6bc1846620 SetCardColor and SetCardSubtype effects. 2011-07-31 15:16:12 +04:00
magenoxx
8be91072de Displaying not implemented cards for M12. 2011-07-31 09:51:42 +04:00
magenoxx
c390b296f0 "Your maximumum hand size is ..." support 2011-07-30 12:22:43 +04:00
magenoxx
8cdbf46a54 Fix 2011-07-30 12:21:35 +04:00
magenoxx
43fa8a760e Now getLastKnownInformation returns game.getCard in case no lki was remembered. 2011-07-30 11:52:00 +04:00
magenoxx
da4fc3f203 Changed loyalty pay cost description (from "1 loyalty:" to "+1:") 2011-07-30 10:56:56 +04:00
magenoxx
43e327159a Functions. CopyFunction, CopyTokenFunction. Refactored Cryptoplasm. 2011-07-30 10:54:14 +04:00
magenoxx
ff32c1698b Fixed NPE and triggered abilities not working for tokens. 2011-07-30 10:52:41 +04:00
North
d2e67d2702 Added cards (Shadowmoor). 2011-07-29 20:32:11 +03:00
magenoxx
dc4fed493b Face down cards. Updated card plugin. [SOM] Clone Shell 2011-07-29 18:40:12 +04:00
Loki
017fb17616 Phyrexian Gargantua fix, 2 cards 2011-07-29 11:55:05 +03:00
magenoxx
73e525c75a Imprint. [SOM] Semblance Anvil. 2011-07-29 12:31:35 +04:00
magenoxx
aa2449f342 [SOM] Grafted Exoskeleton 2011-07-29 02:50:36 +04:00
North
d5f8c31462 Added cards (M10)
Fixed FilterCreaturePermanent to support attacking or blocking
2011-07-28 20:32:59 +03:00
BetaSteward
7e05790a07 added SOM - Chimeric Mass 2011-07-28 11:25:06 -04:00
BetaSteward
b3d1a2954d 2 SOM - Genesis Wave + Tangle Angler 2011-07-26 22:11:00 -04:00
BetaSteward
76c1fa5d8b add SOM - Ogre Geargrabber 2011-07-26 12:40:59 -04:00
North
f8d9086529 Added BecomesTargetTriggeredAbility.
Added cards using this ability.
2011-07-25 22:14:27 +03:00
BetaSteward
6de536c5ca Merge 2011-07-25 09:22:50 -04:00
BetaSteward
11167e4550 added 2 SOM - Kuldotha Phoenix + Molten Psyche 2011-07-25 09:20:53 -04:00
Loki
e0a448e79a Reaper of Sheoldred 2011-07-25 00:42:24 +03:00
BetaSteward
6513202c17 3 SOM - Psychic Miasma, Cerebral Eruption, Furnace Celebration 2011-07-24 15:00:32 -04:00
Loki
f13c81398d 2 WWK 2011-07-24 00:29:44 +03:00
Loki
419084e1be Angelic Destiny 2011-07-23 22:38:21 +03:00
Loki
5ac4a4f0a5 new common triggered ability, more correct Sylvok Lifestaff 2011-07-23 22:15:28 +03:00
Loki
a61cddbca8 put into a graveyard from battlefield -> dies and 2 NPH 2011-07-23 21:47:19 +03:00
BetaSteward
84b9cbb16b this is a big one - fixed modal targetting and refactored getText() 2011-07-21 22:04:08 -04:00
Loki
1b6e78c489 Silverskin Armor, Gideon Avenger 2011-07-20 22:06:39 +03:00
Loki
714d4c1691 Forgetfulness 2011-07-20 21:08:52 +03:00
BetaSteward
14d863a8f2 added modal abilities + Slagstorm 2011-07-20 13:42:27 -04:00
North
3247e75a4e Added cards
Improved rule  text for PutLibraryIntoGraveTargetEffect
2011-07-19 22:54:58 +03:00
BetaSteward
955e1c76b6 Merge 2011-07-17 15:55:25 -04:00
BetaSteward
9ddea9d9c5 Merge with version 0.8 2011-07-17 15:49:38 -04:00
Loki
360fa28f1b Bloodthirst keyword 2011-07-17 14:12:03 +03:00
Loki
dcf85d501b delete needless file 2011-07-17 13:27:18 +03:00
North
d5c06da679 BasicLandcyclingAbility uses FilterBasicLandCard filter now.
Imports cleanup.
2011-07-16 14:59:18 +03:00
North
d25425e782 merge 2011-07-16 09:33:40 +03:00
North
e3f46bbcfa Refactoring: CamelCase name for classes. (part 2) 2011-07-16 09:32:21 +03:00
Loki
01b43b0d87 now use manaability child for adding mana of any color, some refactoring and switch to use new ability for that 2011-07-16 00:32:06 +03:00
Loki
824f53f019 fix 2011-07-14 12:35:01 +03:00
Loki
5c62ea27bf Glistening Oil 2011-07-14 12:27:15 +03:00
Loki
b9269ad22e M12 2011-07-13 10:37:44 +03:00
Loki
bd371238b1 Hexproof keyword 2011-07-12 23:35:23 +03:00
Loki
f16a880680 Engulfing Slagwurm 2011-07-12 20:22:54 +03:00
Loki
3e441c59e1 misc 2011-07-12 19:00:03 +03:00
Loki
78bcd1ab1d DST and misc 2011-07-12 08:48:05 +03:00
Loki
774cc390d9 more CHK 2011-07-10 10:20:12 +03:00
Loki
cf0ef7b398 cards 2011-07-09 22:41:02 +03:00
Loki
8ab96fec95 1 EVE and Soulshift 2011-07-09 16:02:57 +03:00
Loki
3ff03e43ec missed 2011-07-06 21:47:56 +03:00
Loki
0ef227087e more CHK and first flipped card - Budoka Gardener 2011-07-06 21:38:19 +03:00
magenoxx
e8b228af1f Fixed Issue 122. Also fixes issue with searching cards with no actual option. 2011-07-06 08:55:32 +04:00
North
2951fc252b Added Ally cards. 2011-07-06 06:53:43 +03:00
magenoxx
a3a38823d6 Fixed evasion abilities. Splitted canBlock to canBeBlocked and canBlock methods (previous version caused bugs). Refactored some cards. 2011-07-05 17:00:05 +04:00
Loki
e9992ada3d Missed token 2011-07-05 10:43:47 +03:00
Loki
6b38cc8686 more CHK + few tooltip fixes 2011-07-05 10:43:19 +03:00
North
ebefae5ddb Added AllyEntersBattlefieldTriggeredAbility.java
Added AllyCards
2011-07-05 00:03:24 +03:00
Loki
a808861b1f more CHK 2011-07-04 12:06:31 +03:00
North
f35be4d99c Added cards. 2011-07-03 20:39:07 +03:00
North
e1a05a7e4b BoostEnchantedEffect enhanced with DynamicValue 2011-07-01 00:05:28 +03:00
North
4adb9f5118 Added DynamicManaEffect and DynamicManaAbility (refactored cards to use them) 2011-06-30 23:47:16 +03:00
magenoxx
2dba0ca829 Fixed Issue 169 2011-06-30 15:07:38 +04:00
magenoxx
ec79873a0d Fixed Issue 17 2011-06-30 11:27:43 +04:00
North
d195e6a749 AddManaOfAnyColorEffect - removed amount (can only add one)
Refactored cards to use AddManaOfAnyColorEffect
Added ManaCylix card.
2011-06-29 22:11:06 +03:00
North
fac0b0046d Fixed cards that used EntersBattlefieldAbility instead of EntersBattlefieldTriggeredAbility 2011-06-29 21:33:08 +03:00
Loki
68d8c5dcc2 CHK 2011-06-28 20:36:32 +03:00
Loki
4600890c93 Liquimetal Coating 2011-06-28 13:56:13 +03:00
Loki
9ad844b597 2 NPH 2011-06-27 22:57:45 +03:00
Loki
a3fa7b4d60 Celestial Mantle, Shrine of Burning Rage, add LKI to CountersCount 2011-06-26 22:15:24 +03:00
North
ea0bf9e313 Refactored and fixed AvengerofZendikar
Fixed adding counters effects.
Fixed getDynamicText for CreateTokenEffect
2011-06-26 20:13:11 +03:00
magenoxx
5e79f51f1d Fixed double triggering. Fixed Issue 86. 2011-06-26 19:18:43 +04:00
North
67c1fc8ffa Fixed issue 171.
Also, removed some unused imports.
2011-06-26 16:40:46 +03:00
magenoxx
e0fc10fed3 Made targets required=true by default (otherwise at the moment only enterthebattlefield abilities have about 50 bugged cards because of required=false and not set to true manually in the code). 2011-06-26 15:59:59 +04:00
magenoxx
370d042858 Fixed MasterOfTheWildHunt, now target controller gets custom message while selecting targets to response. 2011-06-26 15:32:02 +04:00
North
84c1fbccdc Moved effect from framework to card implementation
(only one card used it and very few cards can use it)
Also some small refactoring.
2011-06-24 23:42:03 +03:00
magenoxx
92e9d94c33 Fixes. 2011-06-24 19:23:42 +04:00
North
273ab90154 Added ChokingFumes card
Added AddCountersAllEffect
Refactoring and fixes for Counter adding effects
2011-06-24 00:28:07 +03:00
magenoxx
a121913f22 Changed main phase message. 2011-06-23 11:41:23 +04:00
North
581d8eb099 Added Mirran Spy.
Added SpellCastTriggeredAbility
Refactored cards to use SpellCastTriggeredAbility
2011-06-23 07:40:14 +03:00
BetaSteward
34cd3bbcdc fixed version 2011-06-22 22:32:33 -04:00
BetaSteward
a8b8d36637 updated pom files 2011-06-22 22:12:14 -04:00
North
8cdc679cbd Added Kuldotha Forgemaster card. 2011-06-22 23:04:55 +03:00
magenoxx
67479da250 Made scopeColor equal to ComparisonScope.Any by default (more frequently used).
This automatically fixed current bugs in Grand Architect, Honor Of The Pure, Bloodhall Ooze, some other.
2011-06-22 21:21:05 +04:00
Loki
4afb13bbe8 CHK 2011-06-22 12:13:12 +03:00
North
a14cc419d8 Added Cards. 2011-06-21 23:53:42 +03:00
Loki
6f260b5933 Tunnel Ignus 2011-06-21 22:46:20 +03:00
Loki
b8dbb45718 Apostle's Blessing (targets card tooltip bugged) 2011-06-20 21:02:46 +03:00
magenoxx
8789b54ac6 Fixed Issue 98 2011-06-19 18:14:49 +04:00
BetaSteward
43e87b2ebd fixed basic land filter 2011-06-18 16:15:25 -04:00
BetaSteward
6de60b926d fixed protection from multicolor sources - fixed issue 57 2011-06-18 16:00:31 -04:00
BetaSteward
4dc0c33819 fixed issue 142 - damage assignment order now works with tokens 2011-06-17 23:41:32 -04:00
BetaSteward
82654f10d5 fixed issue 103 - this should catch most card logic errors, log the error on the server and trigger a message on the client 2011-06-17 22:42:04 -04:00
BetaSteward
c92c506878 fixed issue 107 2011-06-17 14:51:03 -04:00
BetaSteward
a0192c0e47 fixed issue 160 2011-06-17 10:29:50 -04:00
BetaSteward
35f1a63c4e fixed issue 68 2011-06-17 10:21:23 -04:00
BetaSteward
a934d2733c Merge 2011-06-16 23:05:20 -04:00
BetaSteward
f1558a255a implemented Damage Assignment Order 2011-06-16 23:02:24 -04:00
magenoxx
a315f09362 [deckeditor] list view in deck and sideboard, not finished yet. 2011-06-17 04:49:43 +04:00
Loki
99e368df92 cards 2011-06-17 01:16:05 +03:00
BetaSteward
89770db58e UI changes + created lite mode (client without images) for remote desktop work 2011-06-16 14:56:35 -04:00
magenoxx
97eea533f3 updated version (from 0.7.3 to 0.7.4) in all pom files 2011-06-16 11:39:20 +04:00
BetaSteward
952b46bc1f fixed tournament not starting error 2011-06-15 23:24:36 -04:00
North
8f971f28b9 Improved LoseLifeControllerEffect
Used LoseLifeControllerEffect for VaporSnag
2011-06-14 19:46:50 +03:00
magenoxx
611c4b7b2f Now tokens connected to the source by expansionSetCode - results in token image displayed. 2011-06-13 17:43:28 +04:00
magenoxx
5f169381a1 Fixed Signal Pest (NPE + effect wasn't applied so any could block). Enhanced canBlock restriction effect - wasn't called for attacker. 2011-06-13 14:47:09 +04:00
maurer.it
092082118c Merge 2011-06-12 16:36:33 -04:00
maurer.it
b0f7eea39e Replaced .size() == 0 with .isEmpty(). 2011-06-12 16:36:11 -04:00
maurer.it
38094420bb Javadocs 2011-06-12 16:34:32 -04:00
North
edc3b06c0c Rule text generation fixes. 2011-06-12 22:14:37 +03:00
North
b740eb38bb Added cards: NPH 2011-06-12 19:47:17 +03:00
BetaSteward
b7e754d8d9 fixed NPE when amount is null 2011-06-11 23:11:48 -04:00
maurer.it
2384d8e5a2 Javadocs. 2011-06-11 21:53:17 -04:00
North
b6f4f0082a Added cards.
Refactored some stuff regarding rule text.
2011-06-11 00:28:04 +03:00
North
175dd21f92 Added 3 cards
Added CardsInControllerGraveyardCount
Refactoring
2011-06-08 23:06:40 +03:00
Loki
0aae5d6559 Lich Lord of Unx, fix sword 2011-06-08 22:42:05 +03:00
magenoxx
bc36285566 Fixed Rebound message 2011-06-08 18:14:32 +04:00
North
79583a6ec2 Added cards. Updated mtg-cards-data.txt. 2011-06-07 23:23:04 +03:00
Loki
b7c7290e6f now Massacre Wurm not used direct targets 2011-06-07 23:19:37 +03:00
Loki
0b10a3a121 add targets pointer 2011-06-07 22:13:42 +03:00
magenoxx
fb4c0ceccf Fixed Equip text 2011-06-06 22:32:19 +04:00
North
ca82485772 Improved rule text generation for effects using DynamicValue. 2011-06-05 15:37:06 +03:00
North
1ed3f1f4f8 Added cards. 2011-06-04 20:29:19 +03:00
magenoxx
8fb65cedd9 Fixed canBlock restriction effect - Fixed Issue 138. 2011-06-03 09:49:30 +04:00
magenoxx
6e41cc74f6 Fixed CreatureEntersBattlefieldTriggeredAbility - Fixed Issue 137. 2011-06-03 09:06:42 +04:00
magenoxx
cd34310fe6 Fixed using Phyrexian Mana for abilities (didn't ask to pay mana for cards like Blinding Souleater). 2011-06-03 08:48:22 +04:00
BetaSteward
3ef090b6f5 clean up imports 2011-06-02 23:06:33 -04:00
Loki
a25f46cfab fix Darkstell Juggernaut description 2011-06-02 23:15:06 +03:00
North
931803f7bf Added Cards. 2011-06-02 22:54:44 +03:00
magenoxx
9d01643038 SOM: Relic Putrescence 2011-06-02 09:28:47 +04:00
magenoxx
aed19fe183 Fixed setTapped(true\false) not correctly used in various places. 2011-06-02 09:03:06 +04:00
magenoxx
8e3f2b8634 Fixed TapTargetEffect that didn't trigger TAPPED event. 2011-06-02 08:58:28 +04:00
Loki
18afe40274 Batterskull 2011-06-02 00:13:39 +03:00
Loki
7efc3b953b Sickleslicer and Living Weapon mechanic support 2011-06-01 23:29:29 +03:00
Loki
b9f4f7abf4 Sheoldred, Whispering One and refactoring and make more generic BeginningOfCntrolledUpkeepTriggeredAbility 2011-06-01 01:04:57 +03:00
Loki
61ce0ffb6b Elesh Norn, Grand Cenobite 2011-05-31 12:13:57 +03:00
BetaSteward
14891b1b77 added deck validation feedback to client + queue all RMI messages 2011-05-31 00:10:44 -04:00
North
10edbc8d9b Added Cards. 2011-05-30 23:50:50 +03:00
North
569191a55a Removed getArt and everything related to it. 2011-05-30 00:07:02 +03:00
magenoxx
84b79000ff Phyrexian mana support. NPH: Mutagenic Growth, Dismember. 2011-05-29 23:12:21 +04:00
magenoxx
3daed99bda Fixed text for SacrificeSourceUnlessPaysEffect 2011-05-29 23:10:50 +04:00
BetaSteward
3115ee3c5c Added deck types 2011-05-27 23:04:48 -04:00
North
ade063fbbf Removed redundant field in PermanentsOnBattlefieldCount
Fixed the Cards that were using it
Removed duplicate "you control" form TapTargetCost
2011-05-26 23:09:28 +03:00
magenoxx
1fa084fad0 Fixed not correct used removeFromTop(game). 2011-05-26 00:51:40 +04:00
magenoxx
916e74b520 Fixed ability adjustCosts. 2011-05-26 00:45:43 +04:00
BetaSteward
b0d3f6640f Merge 2011-05-24 23:54:07 -04:00
BetaSteward
892f7cce1b client/server overhaul - tested on localhost, remote testing pending 2011-05-24 23:52:26 -04:00
Loki
94b3802c0a Sword of War and Peace 2011-05-24 23:06:08 +03:00
Loki
db5868649a Apocalypse set and 3 cards 2011-05-24 00:45:29 +03:00
North
3851aa1402 Added cards.
Fixed 2 previously added cards.
2011-05-22 23:56:15 +03:00
North
8da963b771 Added ROE cards. 2011-05-21 10:16:29 +03:00
magenoxx
18fd84d7f3 Fixed Vampire Lacerator ability message. 2011-05-20 21:23:18 +04:00
magenoxx
267ae4f559 Awesome bug fix (3h of debuging): 1. ReboundEffect was copied by Ascension. 2. Copied spells moved original spell to grave that caused later wrong changeZone event with from=GRAVEYARD to=GRAVEYARD instead of from=STACK to=GRAVEYARD. 2011-05-20 21:02:29 +04:00
BetaSteward
181d48e24b added Auriok Replica 2011-05-19 22:38:13 -04:00
magenoxx
74c7feb470 Moved version to 0.7.3 in pom files. 2011-05-19 23:49:43 +04:00
magenoxx
cbeab91889 Minor fixes in table manager and matchImpl. 2011-05-19 23:49:15 +04:00
magenoxx
ec1327199d Fixed moveToExile. 2011-05-19 23:22:11 +04:00
Loki
c64e4974f7 2 SOM cards 2011-05-19 00:51:37 +03:00
North
9c10d70121 Added cards
Added BlocksOrBecomesBlockedTriggeredAbility
2011-05-18 23:43:09 +03:00
North
0e7ef05c5d Improved CreatureEntersBattlefieldTriggeredAbility: if a target is required for the effect then that target must be added in the constructor. 2011-05-18 20:57:16 +03:00
North
3e3957e323 Cards added
Improved getRule for TriggeredAbilityImpl
2011-05-18 20:27:15 +03:00
magenoxx
c146c4465a Merge 2011-05-17 01:17:21 +04:00
magenoxx
65dc11f895 Fixed choosing new targets for copied spells. Fixed Issue 53. 2011-05-17 01:16:25 +04:00
magenoxx
01f2be1b49 Updated havecounter condition. 2011-05-17 01:14:56 +04:00
North
d1dc5a0466 Added cards: lots of them 2011-05-16 23:05:01 +03:00
North
5e8a744179 TriggeredAbilityImpl.java: added optional to getRule
DrawCardTriggerAbility added
Used DrawCardTriggeredAbility for LorescaleCoatl and JacesErasure
2011-05-16 20:06:55 +03:00
North
cc313eb0de Card added: Fangren Marauder 2011-05-16 08:20:22 +03:00
Loki
84dd367717 merge 2011-05-16 00:14:07 +03:00
Loki
bf1474f996 cards, fix Multikicker 2011-05-16 00:06:44 +03:00
North
d9b7e12a51 Improved previous commit. 2011-05-15 17:50:47 +03:00
magenoxx
2f56261ccd Merge 2011-05-15 16:44:03 +04:00
magenoxx
d5c4ac371a Now Planeswalkers use counters for loyalty. Fixed Issue 69. 2011-05-15 16:42:45 +04:00
North
a6342ae6e0 Cards added: Ezuris Archers, Ichorclaw Myr
Added Trigger interface and 2 implementations and the GenericTriggeredAbility class.
2011-05-15 15:25:58 +03:00
magenoxx
13497ec651 Implemented Rule 704.5r - If a permanent has both a +1/+1 counter and a -1/-1 counter on it, N +1/+1 and N -1/-1 counters are removed from it, where N is the smaller of the number of +1/+1 and -1/-1 counters on it. 2011-05-15 15:35:36 +04:00
magenoxx
7c608b8b91 Fixed bug with Counter effects (usually only first worked because of not copying Counter Object correctly and using the same but with amount=0 after first use). 2011-05-15 15:30:24 +04:00
magenoxx
d254b97616 Fixed SpellStack getting objects. Fixed Issue 109: Fire Servant not working. 2011-05-15 14:00:33 +04:00
magenoxx
3bcff30680 Fixed dealing damage to permanents (Please review). Fixed Corrupt not working correctly (Issue 108) 2011-05-15 12:58:07 +04:00
BetaSteward
a4c3deb7ac Backed out changeset: 83cb579a3761 2011-05-14 23:32:22 -04:00
BetaSteward
473f6bcad9 fixed client/server ping + added server console 2011-05-14 23:28:07 -04:00
North
0b1527a206 Cards added: Akoum Boulderfoot, Blade-Tribe Berserkers, Bleak Coven Vampires
Fixed ability: ConditionalTriggeredAbility
Fixed cards using ConditionalTriggeredAbility
2011-05-15 00:21:37 +03:00
Viserion
4ac54673ee Beginning Command Zone / Emblem work 2011-05-14 14:23:55 -05:00
North
a30782fbb1 Card added Welkin Tern
Moved and renamed Cloud Elemental effect.
2011-05-14 21:09:19 +03:00
Loki
7ab55a7b2b Blue Sun's Zenith 2011-05-14 14:20:37 +03:00
Loki
a9b4496ef3 White Sun's Zenith 2011-05-13 23:40:30 +03:00
magenoxx
f55e3a88dd Merge 2011-05-13 17:55:06 +04:00
magenoxx
4bd5639573 Fixed Tel-Jilad Fallen, Protean Hydra, Sword of Body and Mind, Oran-Rief, the Vastwood (Fixed Issue 101) 2011-05-13 17:49:26 +04:00
magenoxx
786b5cd751 Fixed notCardType in FilterObject. Now Crush, Go for the Troat, Inquisition Of Koziler, Negate, Duress, Spell Pierce works correctly. 2011-05-13 10:00:41 +04:00
BetaSteward
da316cc345 fixed Issue 76 2011-05-12 21:20:07 -04:00
magenoxx
1fe97cb685 Added support for "Shuffle {this} to its owner's library". MBS: Green Sun's Zenith, by Loki. 2011-05-12 21:03:06 +04:00
magenoxx
774d56dd6b LookAt and LookedAtView classes (forgot to commit previously). 2011-05-11 22:17:47 +04:00
magenoxx
f78b4017bf Added support for looking at cards (Jace, The Mind Sculptor 2nd ability). Fixed Issue 50. 2011-05-11 21:24:17 +04:00
magenoxx
50b60c0c19 [deck.editor] fixes. 2011-05-11 20:30:03 +04:00
magenoxx
560346251d [deck.editor] Table View: "Add to Main", "Add to Sideboard" buttons. Searching by name and in card rules. 2011-05-11 19:58:01 +04:00
magenoxx
62abe71ca7 Fixed TargetPermanentOrPlayer (used CreaturePermanent filter). 2011-05-10 17:25:32 +04:00
magenoxx
553f3f3777 Fixed Issue 74 (Decimator Web) 2011-05-10 15:26:48 +04:00
magenoxx
3938b05978 Fixed Issue 73 (Infect creatures in combat). 2011-05-10 15:04:40 +04:00
BetaSteward
017b2b4339 remove games from list when finished + added name and owner to tables 2011-05-09 23:02:54 -04:00
North
8e1d82dce6 fixed Issue 72 2011-05-09 22:12:13 +03:00
BetaSteward
bf070098f7 fixed Issue 67 2011-05-08 23:34:54 -04:00
Loki
337eb9926e Mosquito Guard, update server plugins 2011-05-09 01:34:22 +03:00
BetaSteward
239776525e fixed issue 49 - Razor Hippogriff triggered ability 2011-05-08 15:01:51 -04:00
BetaSteward
1558e37abd fixed Windows classloading - test on MacOS 2011-05-08 12:36:05 -04:00
BetaSteward
16d09da180 fixed SpellAbility again - don't drink and code ;) 2011-05-08 12:33:32 -04:00
BetaSteward
76cec6bc38 fixed SpellAbility 2011-05-07 23:19:35 -04:00
BetaSteward
33e7569f87 fixed issue 45 - show cast when cycle is available 2011-05-07 23:08:34 -04:00
Loki
d8c26493f0 cards 2011-05-07 00:59:18 +03:00
magenoxx
57e2b94205 Possible fix for MacOS classloader issue. 2011-05-06 13:01:32 +04:00
BetaSteward
b81938210a changes for public server 2011-05-04 23:18:13 -04:00
magenoxx
be2fdd6487 Challenge Mode. In progress. 2011-04-29 20:32:22 +04:00
BetaSteward
86f708b17a detect client version + client changes for AI skill level 2011-04-28 22:52:52 -04:00
Loki
2fa9e1c558 ROE and move search effects to dedicated package 2011-04-23 21:48:11 +03:00
Loki
8b758be243 Rakdos Pit Dragon and Hellbend ability 2011-04-21 21:49:20 +03:00
Viserion
ea63ddeb22 Explore and Valakut 2011-04-16 23:18:13 -05:00
Loki
5d71be877d some cards and Fear mechanic 2011-04-14 17:18:17 +03:00
BetaSteward
84c6ab76e0 update to version 0.7 2011-04-01 21:05:43 -04:00
BetaSteward
7587e65a3a clear player counters between matches 2011-04-01 21:03:15 -04:00
BetaSteward
6f87867788 fixed some NPEs 2011-03-31 23:36:58 -04:00
BetaSteward
aed200bc11 improved AI targetting 2011-03-31 23:34:16 -04:00
BetaSteward
8287364f77 more optimizations 2011-03-24 00:09:07 -04:00
maurer.it
5097b0812b Makes the copy constructors argument final. 2011-03-22 23:09:54 -04:00
maurer.it
622a8dcce4 Cards with rebound would infinitely rebound. Fixes this issue. 2011-03-22 23:09:06 -04:00
BetaSteward
658c4fc236 fixed issue 38 2011-03-18 22:15:49 -04:00
BetaSteward
35f0767f1b fixed replay + some other fixes 2011-03-18 18:27:01 -04:00
BetaSteward
1f7a21218c Merge 2011-03-15 13:55:32 -04:00
BetaSteward
66a5027e94 rolled back Permanent optimizations - were causing RMI exceptions 2011-03-15 13:52:56 -04:00
Loki
af64934dba MBS 2011-03-15 17:41:01 +02:00
magenoxx
f97154fd56 [SOM] 4 green cards. GainProtectionFromTypeTargetEffect (doesn't work for StackObjects for some reason), BoostPowerToughnessXTargetEffect. 2011-03-12 15:14:04 +03:00
BetaSteward
42509dd4f8 optimizations + leave game fix 2011-03-10 22:05:15 -05:00
magenoxx
99735b368b New testing frameworks for cards. BurntheImpure test. 2011-03-10 15:27:15 +03:00
magenoxx
667993a536 SacrificeTargetEffect. 2011-03-08 11:22:01 +03:00
magenoxx
5bbd6f4f94 Merge with BetaSteward changes 2011-03-08 10:20:06 +03:00
magenoxx
115799564f Getting stack ability in Stack objects. 2011-03-08 10:19:34 +03:00
BetaSteward
6982608043 more AI fixes 2011-03-07 22:59:55 -05:00
BetaSteward
0bde24648b remove summoning sickness from cheat creatures 2011-03-07 22:59:14 -05:00
BetaSteward
d5a7a0ad5f update Liege of the Tangle 2011-03-07 22:58:13 -05:00
magenoxx
333562f721 Fixes 2011-03-07 22:03:35 +03:00
magenoxx
1c5f20989c SwitchPowerToughnessTargetEffect. 2011-03-07 22:03:20 +03:00
magenoxx
c9ab3fb2fe ConditionalTriggeredAbility. 2011-03-07 20:05:35 +03:00