Commit graph

461 commits

Author SHA1 Message Date
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
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
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
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
magenoxx
ed4584cbe8 Fixed damage sourceId in various places. 2011-03-07 18:12:54 +03:00
Loki
7345883760 MRD and misc 2011-03-06 10:49:56 +02:00
BetaSteward
4f06f78621 UI fixes - can now play simultaneous games 2011-03-04 22:46:56 -05:00
BetaSteward
7e00b5cc25 AI fix - better time out support 2011-03-04 21:54:45 -05:00
magenoxx
56cbb266ce Liege of the Tangle (by Eugen). Fixed message for TargetImpl. 2011-03-03 23:07:24 +03:00
magenoxx
b8d88bab01 [MBS] Ichor Wellspring 2011-03-01 09:02:33 +03:00
magenoxx
6e913cf24b Migrated minimax hybrid AI to Mad AI. Reproduced AI not attacking, added 2 new test scenarios that reproduce it. 2011-02-28 14:23:59 +03:00
Loki
42c2888340 MBS and improvements 2011-02-27 21:19:07 +02:00
Viserion
6653e34bc3 MBS, with Inquisition of Kozilek and Into the Roil thrown in. 2011-02-27 00:19:45 -06:00
BetaSteward
bc3acccf2c fixed first turn draw skip 2011-02-26 00:15:15 -05:00
magenoxx
66fad7b482 BoostPowerXSourceEffect fix. 2011-02-25 20:54:01 +03:00
BetaSteward
51a9c03ed1 additional fixes + some missed files 2011-02-24 22:02:32 -05:00
BetaSteward
1945538041 added X cost options to AI 2011-02-24 22:01:04 -05:00
BetaSteward
4bb22e0138 fixed problem with consecutive games in a match 2011-02-22 21:38:17 -05:00
Loki
580dfadbef MBS (sorry for strange username, works from wife's notebook) 2011-02-19 23:19:54 +02:00
magenoxx
98ee9ff0c2 [mad ai] Critical AI fixes. Sync with Steward recent changes. New test command for lifes. New test scenarios. 2011-02-19 16:52:13 +03:00
BetaSteward
659f790325 AI fixes and deck construction 2011-02-18 23:22:31 -05:00
magenoxx
2740b0f9b4 Compilation error fix. 2011-02-16 21:38:18 +03:00
magenoxx
27ba42fa06 Merged with TargetImpl fix. 2011-02-14 22:48:09 +03:00
BetaSteward
0c5261ce88 fixed canTarget error and started to convert logging to log4j 2011-02-14 14:41:29 -05:00
magenoxx
366401b0b2 Updated Game interface to skip drawing. Added parsing test scenarios and updating players' zones. 2011-02-14 20:49:16 +03:00
BetaSteward
fabcc28e46 more draft/sealed fixes 2011-02-13 08:20:14 -05:00
magenoxx
27010a2089 previous fix wasn't 100% correct. 2011-02-12 23:50:03 +03:00
Loki
6f576f74f5 some ALA cards 2011-02-12 13:19:50 +02:00
magenoxx
4b2a9cd203 PlayerImpl fix 2011-02-12 11:46:20 +03:00
Loki
76537b0c66 try to fix crash in BoostPowerXSourceEffect 2011-02-12 09:57:42 +02:00
BetaSteward
d217d332b6 added sorting and counts to deck editor 2011-02-11 22:57:22 -05:00
BetaSteward
f7ffbb4773 added Sealed tournaments 2011-02-10 22:00:47 -05:00
Loki
44aefaf47a now we can use GainAbilityAttachedEffect with aura too. fixes Eldrazi Conscription 2011-02-10 22:41:20 +02:00
magenoxx
3521b7d89f Added "AI vs AI" test. Removed clientside tests. 2011-02-10 18:38:44 +03:00
Loki
d17fd869c3 some DDF reprints, moving continious effects to separate package 2011-02-09 23:11:52 +02:00
Loki
6d40aa63d0 some DDF 2011-02-09 00:26:19 +02:00
Loki
325384e73c cleaning 2011-02-08 23:39:21 +02:00
BetaSteward
e2fd0299c7 fixed multi-human drafting 2011-02-08 11:34:28 -05:00
Loki
6d188d76d7 some cards, start effects moving 2011-02-07 22:09:47 +02:00
magenoxx
bda75873de Started working on new ai. 2011-02-07 21:14:50 +03:00
magenoxx
1789438287 Missing PlainswalkAbility. Minor enchancement in GameImpl. Rating for rarity. 2011-02-07 20:54:16 +03:00
BetaSteward
ffc7b5bfd8 added tournaments - drafts are now a variant of tournament 2011-02-06 11:09:25 -05:00
Loki
78e60ce457 Clockwork Dragon 2011-02-06 13:55:52 +02:00
Loki
8718b3ed3e SOM, one ROE 2011-02-05 12:44:47 +02:00
magenoxx
a1b2127962 Added options to gameclient target message. 2011-01-27 18:27:41 +03:00
BetaSteward
23c5bf9db0 fixed error when jar path has spaces 2011-01-26 21:31:25 -05:00
magenoxx
04b9db5c60 Proliferate 2011-01-27 01:50:13 +03:00
magenoxx
b71a5ed9b4 Updated targetImpl message with multi targets. Updated PreventDamageFromTargetEffect to work with multi targets. Soul Parry works. 2011-01-26 09:31:21 +03:00