Commit graph

802 commits

Author SHA1 Message Date
BetaSteward
89d1850493 created mana added event 2011-09-14 23:09:09 -04:00
BetaSteward
cd81f4197d created events for adding counters to players 2011-09-14 21:31:08 -04:00
Loki
e47cf9cefc merge 2011-09-14 22:52:16 +03:00
Loki
99966e799b Affinity (currently broken) 2011-09-14 22:47:03 +03:00
magenoxx
1e172b0a45 Reimplemented 2 cards with kicker. 2011-09-14 23:12:15 +04:00
BetaSteward
3e3e4f4181 NPH - Vorinclex, Voice of Hunger 2011-09-14 12:47:35 -04:00
BetaSteward
5c01b832b9 refactored targets 2011-09-14 12:46:47 -04:00
Loki
7b5abdd20f Small changes 2011-09-14 11:58:24 +03:00
magenoxx
d9f846f783 Fixed NPE in SetCardSubtypeAttachedEffect 2011-09-14 12:50:29 +04:00
magenoxx
15212bccc9 Reimplemented Vines Of Vastwood (new way for implementing spells with kicker) 2011-09-14 09:21:12 +04:00
magenoxx
cc415c586d Fixed optional costs. Now new implemenation of kicker should work. 2011-09-14 00:35:44 +04:00
magenoxx
a07c210ac0 Added UUID to costs (required for optional costs for kicker) 2011-09-14 00:35:02 +04:00
BetaSteward
61638f6453 NPH - Spellskite 2011-09-12 22:58:01 -04:00
BetaSteward
8c011aeb36 fixed invalid deck messages + added some banned/restricted cards 2011-09-12 22:10:59 -04:00
BetaSteward
2c8f9ce688 fixed another NPE 2011-09-12 21:19:18 -04:00
BetaSteward
ad4b4e82c2 fixed various NPEs 2011-09-12 21:15:54 -04:00
BetaSteward
d01c992f2e fixed not serializable error 2011-09-12 21:15:09 -04:00
North
17ca2de0c9 Fixes issue 253.
This needs a review. I couldn't see any need for the second loop which would be infinite for targets with no upper limit.
2011-09-12 22:49:49 +03:00
Loki
58fd018db2 some work at otional cost. not finished. Desolation agel broken for testing 2011-09-11 23:34:29 +03:00
magenoxx
e5e850a30b MorbitCondition 2011-09-11 00:39:58 +04:00
magenoxx
436f4923cd [ISD] 5 green cards 2011-09-10 12:23:33 +04:00
BetaSteward
cdd0ba6d0c NPH - Karn Liberated 2011-09-09 23:07:24 -04:00
magenoxx
7013ceeb0e Fixed play with top revealed not discared. 2011-09-09 00:35:41 +04:00
Loki
e3862a685a [NPH] Ichor Explosion 2011-09-08 22:59:31 +03:00
magenoxx
d3dfb67ffc Mage UserData serializable. 2011-09-08 19:37:20 +04:00
magenoxx
33be6bd828 UserDataView. More custom avatars. 2011-09-08 10:41:52 +04:00
magenoxx
bf1a49dd0b Sending user data. Sending avatar to server on connect. 2011-09-07 21:18:58 +04:00
Loki
ad499f8c4a Some BOK cards 2011-09-06 22:11:56 +03:00
Loki
3d98484366 Few more Lorwyn cards + filter fixes 2011-09-06 20:23:10 +03:00
BetaSteward
6d4c3aa8d9 fixed issue 242 - check all modes for targets 2011-09-05 22:02:50 -04:00
Loki
ac70150512 [MRD] Oblivion Stone 2011-09-04 23:04:09 +03:00
BetaSteward
fe79ee97a9 update deck every 5 seconds while constructing or sideboarding 2011-09-04 13:23:16 -04:00
Loki
beb2eb8e27 merge 2011-09-04 16:28:34 +03:00
Loki
1ffa8f41c7 add FilterSpiritOrArcaneCard, refactoring 2011-09-04 16:26:49 +03:00
BetaSteward
ea44fc973f added timeout on sideboard + show construct and/or sideboard on reconnect 2011-09-03 21:44:05 -04:00
Loki
12901d3744 CON 2011-09-03 12:13:53 +03:00
North
e708c2b74a Fixes to rule text 2011-09-02 20:34:45 +03:00
North
d4a2701424 [NPH] Numbing Dose, Xenograft 2011-09-02 20:28:07 +03:00
magenoxx
0fbc805492 Lowered version from 0.8 to 0.7.5 for release. 2011-09-02 08:18:49 +04:00
BetaSteward
4fad2ede12 ISD - Reaper from the Abyss 2011-09-01 20:57:33 -04:00
magenoxx
e69f9e28d5 Fixed bug in targeting. Fixed Issue 231. 2011-09-02 00:36:02 +04:00
magenoxx
cc661a3100 Fixed NPE in kicker ability (Fixed Issue 232) 2011-09-02 00:21:40 +04:00
BetaSteward
01338b706e optimized some other watchers 2011-09-01 14:52:31 -04:00
BetaSteward
3e26d94208 added Morbid watcher - to support Morbid mechanic 2011-09-01 14:51:57 -04:00
magenoxx
2e97eb38fd Dealing combat damage at the same time. Fixed Issue 236. Note: implemented only for damage resultings. 2011-09-01 14:14:31 +04:00
BetaSteward
f67aaf80cf add stack trace to error dialog 2011-08-31 22:30:18 -04:00
magenoxx
d387d5afa2 Fixed Protection from artifacts not working for Equip ability being able to equip. 2011-08-31 23:57:47 +04:00
Loki
01e565f1ad [NPH] Rage Extractor 2011-08-31 20:13:23 +03:00
BetaSteward
0ce1b4b918 fixed issue 235 2011-08-31 11:16:17 -04:00
North
7053c84ded Made optional message from TriggeredAbility more user friendly. 2011-08-31 16:58:10 +03:00
BetaSteward
12d3b974d0 fixed issue 219 2011-08-30 09:01:18 -04:00
North
7418d201e4 [MBS] Gruesome Encore
Fixed Mimic Vat
2011-08-30 15:50:50 +03:00
BetaSteward
7775a9736e missed file 2011-08-29 22:49:13 -04:00
BetaSteward
d36086acd2 MBS - Knowledge Pool 2011-08-29 22:48:55 -04:00
BetaSteward
7926fc5004 fixed issue 228 2011-08-29 13:06:25 -04:00
North
8737722e90 Javadoc for Card.moveToZone
Fixed mtg-cards-data.txt (quotes were literal)
2011-08-29 18:17:38 +03:00
BetaSteward
d903ba56e1 fixed issue 225 2011-08-28 22:24:13 -04:00
BetaSteward
19481bf961 fixed issue 94 2011-08-28 22:10:05 -04:00
North
d0dbb93f8f Fixed effects using library.removeFromTop() 2011-08-29 00:45:01 +03:00
magenoxx
3aa947c14b Sending options for another variant of target method - to replace Cancel by Done 2011-08-28 20:26:02 +04:00
magenoxx
eab78f659c Clean up 2011-08-28 18:56:06 +04:00
magenoxx
d1fc1567fe [M12] Sundial Of The Infinite. !!! M12 100% implemented !!! 2011-08-28 12:01:39 +04:00
magenoxx
a00701c756 game.endTurn 2011-08-28 12:00:40 +04:00
magenoxx
9a791c0d5b Fixed all cards that should have triggered at the end of any turn. 2011-08-28 11:48:27 +04:00
magenoxx
b7d11c723c Playing top card. 2011-08-27 16:30:39 +04:00
magenoxx
31d849ef46 Displaying top revealed card in client. PlayWithTheTopCardRevealedEffect. 2011-08-27 16:30:06 +04:00
magenoxx
8b415e2296 Fix to trigger 2011-08-27 16:28:22 +04:00
magenoxx
e1f0a42fe8 Changed card type and card super type comparison scope to Any by default. 2011-08-27 16:28:10 +04:00
BetaSteward
8b62a1d06f MBS - Spire Serpent + improved getAvailableAttackers check 2011-08-26 23:23:30 -04:00
North
005c1a1954 Fixes and refactoring. 2011-08-26 22:59:21 +03:00
BetaSteward
a38e441e08 MBS - Spin Engine + modifications to Restriction Effect 2011-08-26 15:42:29 -04:00
BetaSteward
4a653d55cd show completed matches - view replays 2011-08-26 10:41:28 -04:00
Loki
8c9db5876e [ZEN] Quest for the Holy Relic 2011-08-26 11:24:43 +03:00
Loki
7c8261b792 [NPH] Phyrexian Obliterator 2011-08-25 22:39:13 +03:00
BetaSteward
b09de12f23 Merge 2011-08-25 07:47:08 -04:00
North
5c813a273f Added CantBeBlockedByOneEffect and cards using it (also refactored cards) 2011-08-25 11:53:37 +03:00
BetaSteward
5023d13525 fixed some NPEs 2011-08-24 21:42:06 -04:00
BetaSteward
48d7afa375 catch spell and activated ability errors and rollback state - show error dialog on client 2011-08-24 12:59:51 -04:00
North
d6661078da Added cards. 2011-08-24 17:34:12 +03:00
Loki
4b80c5ee8d Forgetfulness 2011-08-24 09:53:06 +03:00
Loki
4ddadaf9bb Few more cards 2011-08-24 09:47:32 +03:00
Loki
b64bf7229d [NPH] Exclusion Ritual 2011-08-23 12:04:55 +03:00
magenoxx
f0c8bf2034 Merge 2011-08-22 22:29:33 +04:00
magenoxx
3b617b79da Fixed DiesAndDealtDamageThisTurnTriggeredAbility 2011-08-22 22:27:17 +04:00
BetaSteward
aecdbe0778 added SimpleCardView - will reduce the amount of data passed between client and server 2011-08-22 13:54:55 -04:00
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