melvin
|
5964a51cd5
|
existence of $ in test should be checked with indexOf >= 0 instead of indexOf > 0
|
2012-11-19 22:18:54 +08:00 |
melvin
|
04c4dbfa95
|
use for loop to handle management of idx
|
2012-11-19 22:07:45 +08:00 |
melvin
|
7e9055c558
|
fixed replaceChoices so that it can work with $ at end of the description
|
2012-11-19 21:59:53 +08:00 |
melvin
|
9aaae5cd5f
|
Rupture Spire was able to pay for itself, fixed by making sure that comes into play trigger that does not use the stack always happen before those that use the stack
|
2012-11-19 21:01:02 +08:00 |
melvin
|
684a4b96bb
|
make workers local to the method
|
2012-11-17 21:12:32 +08:00 |
melvin
|
a3f1499216
|
reduce random testing to 10000 games
|
2012-11-17 21:11:51 +08:00 |
melvin
|
6dc9d0695c
|
added assert to check that MagicAddEventAction undo correctly
|
2012-11-17 13:13:55 +08:00 |
melvin
|
0a0364250f
|
remove use of this by changing name of parameter to not clash with name of member
|
2012-11-16 12:15:41 +08:00 |
melvin
|
67240753a3
|
move update from GameController to MagicPhase and MagicGame as update to the game state should be handled by MagicGame itself so it works the same in AI simulation and real game
|
2012-11-16 11:55:24 +08:00 |
melvin
|
877beaee6c
|
removed usused exception, simplified code
|
2012-11-15 22:48:42 +08:00 |
melvin
|
34038194fc
|
use different AIs in test
|
2012-11-15 22:47:55 +08:00 |
melvin
|
e1c57c985d
|
make sure no pending actions before update, do update after check state
|
2012-11-15 10:26:22 +08:00 |
melvin
|
c7c1124662
|
update game after processing event or executePhase
|
2012-11-14 18:23:16 +08:00 |
melvin
|
0b171b092e
|
update permanent state after each event
|
2012-11-14 18:16:00 +08:00 |
melvin
|
78c661553c
|
remove game.update from MagicMarkerAction and runGame, put it in GameController.update
|
2012-11-14 18:13:08 +08:00 |
melvin
|
ea78f45603
|
added serialVersionUID to stop compiler warning
|
2012-11-13 20:39:36 +08:00 |
melvin
|
e0a4789a3c
|
merge new card
|
2012-11-13 20:37:07 +08:00 |
melvin
|
d3a70b3bc1
|
added asserts to help in debugging
|
2012-11-13 20:35:30 +08:00 |
melvin
|
648b842324
|
always update game state before executing an event with choice
|
2012-11-13 20:35:09 +08:00 |
melvin
|
402c62d955
|
move state based checks into MagicPlayer
move update from MagicPermanent into MagicPutIntoPlayAction
|
2012-11-13 20:34:28 +08:00 |
melvin
|
ed57db42e3
|
simplified logic
|
2012-11-12 12:22:14 +08:00 |
melvin
|
fcae0555c9
|
fixed indentiation
|
2012-11-12 12:21:22 +08:00 |
melvin
|
7b0f970862
|
return MagicPlayer.NONE for getOpponent instead of throwing RuntimeException
|
2012-11-10 16:51:10 +08:00 |
melvin
|
40c8cf233a
|
fixed: Bonehoard crash bug. modPowerToughness for equipment will be called with MagicPermanent.NONE by target picker
|
2012-11-10 12:24:14 +08:00 |
Eric Nadeau
|
0638ea9aa8
|
- Adding a "target instant spell" target
- Adding the Dispel card, counters a target instant spell
|
2012-11-08 19:22:15 -05:00 |
melvin
|
7a874a9e87
|
replace boolean with enum
|
2012-11-08 13:15:10 +08:00 |
melvin
|
75894bb4f7
|
remove 'damage draw card' added 'damage opponent draw card', fixed Thieving Magpie
|
2012-11-08 13:05:20 +08:00 |
melvin
|
c96363417d
|
added 'combat damage draw card' ability, changed Scroll Thief, Sturmgeist, Stealer of Secrets to use this ability in card script
|
2012-11-08 12:57:04 +08:00 |
nado18
|
01fbcbccbd
|
add Stealer of Secrets
|
2012-11-08 12:03:47 +08:00 |
melvin
|
503d2629c2
|
added ability timing restriction
|
2012-11-07 23:02:40 +08:00 |
melvin
|
1d9ff2afe7
|
added optional between SelectPlayer and Action
|
2012-11-07 23:00:00 +08:00 |
melvin
|
bf447f8f23
|
added prevent damage dealt by
|
2012-11-07 22:55:45 +08:00 |
melvin
|
cd6116738b
|
added your opponents and those
|
2012-11-07 22:52:31 +08:00 |
melvin
|
a951a9e6ef
|
added damage to creature and player
|
2012-11-07 22:48:13 +08:00 |
melvin
|
8b4a852f24
|
fixed: Penumbra Spider missing reach
|
2012-11-06 09:55:23 +08:00 |
melvin
|
966eeaf779
|
added MagicPlayTokensAction
|
2012-11-05 10:03:45 +08:00 |
melvin
|
159db485bf
|
added loyalty change to activation cost
|
2012-11-04 22:37:36 +08:00 |
melvin
|
e96b5d87b2
|
allow tribal to be restricted by PermanentRestriction
|
2012-11-04 22:35:55 +08:00 |
melvin
|
c1400e70aa
|
allow artifact creature to be used as token
|
2012-11-04 22:30:37 +08:00 |
melvin
|
163236fa93
|
added put an and remove an
|
2012-11-04 22:28:02 +08:00 |
melvin
|
a150e45327
|
added colorless to ColorSpec
|
2012-11-04 22:26:09 +08:00 |
melvin
|
05f9e65342
|
allow multiple keywords to be specified in CreatureSpec
|
2012-11-04 19:58:48 +08:00 |
melvin
|
981ec42138
|
added AnimateActionReminder
|
2012-11-04 19:52:59 +08:00 |
melvin
|
f71c38212b
|
added it's still a a land to AnimateAction
|
2012-11-04 19:50:19 +08:00 |
melvin
|
191f38c6d9
|
added AnimateAction
|
2012-11-04 19:47:06 +08:00 |
melvin
|
ff24193619
|
allow multiple CreatureType in CreatureSpec
|
2012-11-04 19:39:51 +08:00 |
melvin
|
6fb7c397c6
|
added protection from Tribal, add ColorSpec
|
2012-11-04 19:05:30 +08:00 |
melvin
|
7b83601993
|
added some missing CounterType
|
2012-11-04 18:54:39 +08:00 |
melvin
|
8b3d00bad5
|
added all counter types
|
2012-11-04 18:38:22 +08:00 |
melvin
|
e2879806ee
|
add legendary to PermanentRestriction
|
2012-11-04 17:20:28 +08:00 |