Commit graph

92 commits

Author SHA1 Message Date
BetaSteward
82f8a7cdee added replace event to putOntoBattlefield call - moved logic for moving cards to putOntoBattlefield 2012-03-05 09:15:47 -05:00
BetaSteward
db02ea3aa6 fixes 2012-03-03 23:20:10 -05:00
BetaSteward
86906c633a updated test framework - added TestPlayer which only performs instructed actions 2012-02-17 10:40:57 -05:00
magenoxx
cb929d1f21 Fixed NPE in monte carlo. Removed actions remembering for now as not used yet. 2012-02-14 08:55:42 +04:00
BetaSteward
48f5a469d4 fixes for monte carlo ai 2012-02-13 09:05:01 -05:00
BetaSteward
6205ebaeb9 fixed Liliana Of The Veil npe when targeting tokens + added choose pile dialog 2012-02-07 15:15:47 -05:00
BetaSteward
4fd59f9e8c added test for continuous effects + modified tests to stop on specified turn and step 2012-02-06 10:06:25 -05:00
BetaSteward
bf9e25fc34 other fixes 2012-02-04 17:05:48 -05:00
BetaSteward
1d32f49fd0 modified triggered abilities, continuous effects and zones 2012-02-02 23:27:23 -05:00
BetaSteward
7fce6c552d fixes + optimizations + updates to monte carlo ai 2012-01-24 22:51:31 -05:00
LevelX
6b0f04d03f 13 new cards
[BOK] Akki Blizzard Herder / Crack the Earth
[CHK] Commune with Nature / Otherworldly Journey / Peer Through Depths / Rag Dealer / Reciprocate
[CON] Faerie Mechanist / Giltspire Avenger
[PLC] DuneriderOutlaw
[ROE] Ancient Stirrings
[SOK] Freed from the Real]
[TSB] WhirlingDervish

Some small fixes or refactoring
Aura of Dominion / Hikari Twilight Guardian / Wicked Akuba / Claustrophobia / Crab Umbra / Descendant of Soramaro

Framework changes
PlayerDamagedByWatcher - replaced by the new PlayerDamagedBySourceWatcher
PlayerDamagedBySource - new watcher which tracks what sources damged a player
DealtDamageToAnOpponent - new condition
LookLibraryControllerEffect - reworked to be usable with LookLibraryAndPickControllerEffect
LookLibraryAndPickControllerEffect - new effect to handle draw and pick effects
TapEnchantedEffect - new
UntapEnchantedEffect - new
ReturnFromExileEffect - added constructor rule text support
SacrificeAllEffect - fixed missing rule text creation
GameImpl - added the creation of the new PlayerDamagedBySource watcher for each player
2012-01-12 08:11:32 +01:00
BetaSteward
dfffdfcf8c latest monte carlo ai - has a memory leak 2012-01-10 21:29:53 -05:00
magenoxx
f6f769725f Fixed saving games became broken. 2011-12-26 15:24:29 +04:00
magenoxx
3f20b725db [MAD2.0] New scoring and undo system. Migrated draw cards action. 2011-12-25 11:42:32 +04:00
magenoxx
c02d453a4b Some performance measurement. Game state copying performance is good. 2011-12-24 15:14:27 +04:00
magenoxx
8b67158fdb Fixed Issue 350. 2011-11-16 18:56:23 +04:00
magenoxx
0c4783e2cd Possible fix for Issue 372. 2011-11-06 13:10:34 +03:00
BetaSteward
2987dcc776 added resume flag to priority 2011-11-04 22:58:39 -04:00
BetaSteward
7c69bc6f30 fixes + optimizations + allow games to be paused and resumed 2011-11-02 21:39:03 -04:00
BetaSteward
517a0cae26 optimizations + some fixes - mostly for monte carlo simulations 2011-10-25 15:17:42 -04:00
magenoxx
ee2417f730 Fixed Issue 332 2011-10-25 12:12:13 +04:00
maurer.it
f20e2fa0e4 [FIX] Fixes issue 311. 2011-10-21 08:05:21 -04:00
BetaSteward
9b19ce56c0 fixed issue 241 2011-10-14 10:31:46 -04:00
BetaSteward
c00e34c051 over-hauled watchers 2011-10-12 21:44:26 -04:00
magenoxx
82dcb53cb9 Target refactoring. Fixed Issue 273. 2011-10-08 12:46:34 +04:00
magenoxx
7b711715ab "No spell and two spells were cast last turn" conditions. 2011-10-01 16:32:20 +04:00
BetaSteward
e7165fe00b allow attachments on players 2011-09-28 22:00:38 -04:00
BetaSteward
2d93cd3174 NPH - Cathedral Membrane, Omen Machine, Unwinding Clock 2011-09-18 23:02:32 -04:00
BetaSteward
99c11f4fb6 NPH - Chancellor of the Dross, Chancellor of the Forge, Chancellor of the Tangle 2011-09-15 23:07:41 -04:00
BetaSteward
3e3e4f4181 NPH - Vorinclex, Voice of Hunger 2011-09-14 12:47:35 -04:00
BetaSteward
3e26d94208 added Morbid watcher - to support Morbid mechanic 2011-09-01 14:51:57 -04:00
BetaSteward
f67aaf80cf add stack trace to error dialog 2011-08-31 22:30:18 -04: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
a00701c756 game.endTurn 2011-08-28 12:00:40 +04:00
BetaSteward
b09de12f23 Merge 2011-08-25 07:47:08 -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
magenoxx
8d673217e7 Added game.getControllerId(uuid) method 2011-08-12 08:50:45 +04:00
magenoxx
bf897c9daf LKI: reverting back my change. 2011-08-07 15:25:39 +04:00
magenoxx
ed3f96c668 New ConditionalMana support. 2011-08-04 18:10:57 +04:00
magenoxx
43fa8a760e Now getLastKnownInformation returns game.getCard in case no lki was remembered. 2011-07-30 11:52:00 +04:00
BetaSteward
14d863a8f2 added modal abilities + Slagstorm 2011-07-20 13:42:27 -04:00
North
67c1fc8ffa Fixed issue 171.
Also, removed some unused imports.
2011-06-26 16:40:46 +03:00
magenoxx
a121913f22 Changed main phase message. 2011-06-23 11:41:23 +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
magenoxx
d5c4ac371a Now Planeswalkers use counters for loyalty. Fixed Issue 69. 2011-05-15 16:42:45 +04: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
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
8287364f77 more optimizations 2011-03-24 00:09:07 -04:00