Commit Graph

6640 Commits

Author SHA1 Message Date
Sloth
d81463a43d - Added the property "controllerWasDealtCombatDamageByThisTurn". 2011-11-18 12:42:03 +00:00
Sloth
d22e744b2b - Added the comparator "M2" that returns true if the values are equal modulo 2. 2011-11-18 11:23:45 +00:00
Sloth
b51c9b257b - Added the property "notEnteredBattlefieldThisTurn". 2011-11-18 11:14:23 +00:00
Sloth
303ffb43ab - Improved untapCanPlayAI (it was not using the Defined parameter). 2011-11-18 11:06:09 +00:00
Sloth
ae5183d1fc - Added the keyword "CARDNAME can attack as though it had haste." and converted Instill Energy. 2011-11-18 11:02:35 +00:00
Sloth
56ddea8e21 - Fixed Echoing Truth. 2011-11-18 10:54:29 +00:00
Sloth
810e1bc8b5 - Added the property "gotBlockedThisTurn".
- Added Fyndhorn Druid.
2011-11-17 20:57:41 +00:00
jendave
8a51b1047b Remove package-info check since it casues a problem with Unit Tests. 2011-11-17 20:20:20 +00:00
jendave
34366cc29e Disabled failing tests. Build now requires unit tests to pass. 2011-11-17 17:26:06 +00:00
jendave
579f39c3cc Cleaning up unit tests 2011-11-17 16:35:43 +00:00
Sloth
51e56dbdda - Fixed the loseControl commands in AF GainControl. 2011-11-17 16:05:20 +00:00
jendave
0bb457fd76 checkstyle 2011-11-17 15:56:13 +00:00
Sloth
8019de85b6 - Removed the keyword "At the beginning of your end step, destroy this creature if it didn't attack this turn." and converted Aggression. 2011-11-17 13:55:50 +00:00
Sloth
e90b844f48 - Moved the updating of attackedThisTurn from the EndOfTurn to the CleanUp phase.
- Removed the keyword "At the beginning of your end step, sacrifice this creature unless it attacked this turn." and converted Instill Furor.
2011-11-17 13:08:59 +00:00
Sloth
29897a2a13 - Added Giant Turtle. 2011-11-17 11:39:21 +00:00
Sloth
7b3f63619f - Creatures that change controllers will be summoning sick again. 2011-11-17 10:28:40 +00:00
Sloth
cc0b85a844 - Fixed suspended creatures not gaining haste. 2011-11-17 10:08:33 +00:00
Sloth
8cb3ffd0e7 - Equipment will now fall off if the equipped permanent is no longer a creature. 2011-11-17 09:24:25 +00:00
Hellfish
96f45aeb42 *Reverted part of the Adaptive Automaton+Champion of the Parish fix so as not to make Auras crash the game. 2011-11-17 07:56:34 +00:00
Sloth
abd0568eea - Added the following properties to hasProperty: attackedThisTurn, attackedLastTurn, blockedThisTurn, notAttackedThisTurn, notAttackedLastTurn and notBlockedThisTurn.
- Added Lurker.
2011-11-16 21:34:37 +00:00
jendave
24e1b18e35 Checkstyle 2011-11-16 18:21:27 +00:00
Sloth
d87c08677e - Added a modulo operator "Mod" to xMath. (Example X/Mod.2 will return 0 if X is even). 2011-11-16 17:33:12 +00:00
Sloth
4f31c2d258 - Fixed Morph costs not being displayed on the cards.
- Little name change in ComputerUtil.
2011-11-16 16:19:34 +00:00
Hellfish
7471d249b7 *TriggerHandler now runs static triggers before others. Fixes Adaptive Automaton not pumping Champion of the Parish and others. 2011-11-16 16:03:06 +00:00
Sloth
6ca4484db9 - Added some can't win / can't lose checks to the doAssault AI. 2011-11-16 12:40:55 +00:00
Hellfish
82fbd77264 *Fixed front face of DFCs getting double the abilities.
*Revised SetState to have a single Mode parameter rather than a lot of different parameters.
2011-11-16 11:43:27 +00:00
Sloth
8417778792 - Until end of turn pumps will now also be removed when the pumped card wasn't on the battlefield. 2011-11-16 11:39:07 +00:00
Sloth
05f8c20c81 - The "DiscardValid" parameter in AF Discard now also works if the mode is "TgtChoose".
- Converted Krovikan Sorcerer to script.
2011-11-16 08:39:55 +00:00
Sloth
7295c5fb3c - Converted Sleeper Agent to script. 2011-11-16 07:46:39 +00:00
Sloth
4e5a67fa29 - Added the missing AILogic for Lurebound Scarecrow and fixed the script. 2011-11-16 07:27:51 +00:00
Rob Cashwalker
449cd03c33 Made setDeckType public for DeckEditor to persist the deckType. 2011-11-16 01:18:45 +00:00
Sloth
d4e979a2ca - Removed the hardcoded entry of Ixidron and fixed the script. 2011-11-15 21:56:59 +00:00
jendave
0a7064371d Checkstyle fixes 2011-11-15 19:44:01 +00:00
jendave
9f98b07d61 Fixed a lot of Checkstyle stuff. Removed some checks - method, class and line length 2011-11-15 19:34:53 +00:00
Hellfish
4061f07391 *Converted Sculpting Steel and Copy Artifact to new Clone-code. 2011-11-15 19:11:16 +00:00
Hellfish
cbf36eeef0 *Changed Characteristics-handling from an array to a Map.
*Renamed AF_ChangeState to AF_SetState. SetState can be used with a Transform,Flip or NewState parameter.
*Rewrote Clones to use Characteristics.
*Rewrote Morph to use Characteristics.
*Added
	Ixidron
	Sakashima, the Impostor
2011-11-15 17:14:53 +00:00
Sloth
d4fe16cc7a - Added player targeting AI to AF GainControl. 2011-11-15 15:57:29 +00:00
Sloth
2cb8117893 - Added support for targeting players to AF GainControl.
- Added Jinxed Idol.
2011-11-15 11:27:48 +00:00
Sloth
060464b92e - Added the options "no nonland duplicates" and "remove artifacts" to 3 color and 5 color decks. 2011-11-14 19:23:03 +00:00
jendave
0c55fd7c2d Put back original deck generators into menu. There is a bug with the 5 color generator however 2011-11-14 18:16:19 +00:00
Sloth
875b6ecda8 - AF NameCard will now present a complete list of card names to the player. He needs to chose until a valid card is chosen (for nonland or other restrictions). 2011-11-14 18:01:19 +00:00
Sloth
17b6947748 - Re-enabled the option "Remove Artifacts" from generate decks.
- Little cleanups.
2011-11-14 16:34:53 +00:00
Sloth
b7d3c075a0 - Added the option "no nonland duplicates" to the generate deck menu in the main screen. 2011-11-14 16:24:10 +00:00
Sloth
3ab31e0aa0 - Little cleanups. 2011-11-13 17:12:54 +00:00
Sloth
d68c0f10d9 - Renamed PlayCards in ComputerUtil to playAbilities. 2011-11-13 15:51:08 +00:00
Chris
9d763552da - StringBuilder. 2011-11-13 15:39:00 +00:00
Chris
6f5b35b67b - StringBuilder. 2011-11-13 15:02:57 +00:00
Sloth
d89976fd0c - Added the optional parameter AffectedZone to CantTarget.
- Added Ground Seal.
2011-11-13 14:01:26 +00:00
Sloth
23efb3e559 - Converted some cards to the new CantTarget static ability. 2011-11-13 12:44:27 +00:00
Sloth
4d6820f499 - Enabled the AI to play counterspells with the new flashback keyword.
- Converted Fervent Denial.
2011-11-13 11:11:27 +00:00