Commit Graph

6795 Commits

Author SHA1 Message Date
Sloth
6af745c016 - The AI will now also use spells and abilities from external zones in Main1 (enables unearth).
- The AI will now cast creature spells in Main1 if an ability or spell that can give it haste is available.
2011-11-04 19:16:15 +00:00
Doublestrike
7a62c0cdbc - Updated FSkin with comments and finished TODOs.
- Simplified color palette for skins
- Added support for alpha channel in skin colors
- Updated files affected by color palette change
2011-11-04 12:56:39 +00:00
Hellfish
874ccfda0a *Removing accidentally committed Convoke skeleton. 2011-11-04 11:45:52 +00:00
Sloth
f158995bae - Added a default player to getDefendingPlayer (the player whose turn it is not), if the variable has not been set. 2011-11-04 11:22:02 +00:00
Sloth
5abb423083 - Added a default player to getAttackingPlayer (the player whose turn it is), if the variable has not been set. 2011-11-04 11:09:44 +00:00
Hellfish
8797dbd8b2 *Fixed putting cards in alternate states into the library (Grasp of Phantasms on an Ironfang for example) 2011-11-04 10:58:06 +00:00
Sloth
54824f8a18 - Added Golem-Skin Gauntlets. 2011-11-03 20:32:33 +00:00
Sloth
7f79149c81 - Added Miracle Worker. 2011-11-03 18:55:57 +00:00
Sloth
ae9f7ec664 - Added the property "AttachedTo XXX" to hasProperty.
- Added Savaen Elves.
2011-11-03 18:49:59 +00:00
jendave
6d7664d677 Hide old deck generators from New Game gui 2011-11-03 17:22:32 +00:00
jendave
e2d2d3ce36 fix hashcodes 2011-11-03 17:08:26 +00:00
Sloth
d1618d5880 - Fixed a possible NPE in isCardInZone. 2011-11-03 16:24:57 +00:00
jendave
3c8225b18c a few more cleanups 2011-11-03 16:24:31 +00:00
jendave
1a651d0217 changed Constants and NewConstants from Interfaces to static classes. 2011-11-03 16:16:33 +00:00
jendave
a4fa8af201 checkstyle fixes 2011-11-03 14:48:05 +00:00
slapshot5
aa589393aa convert Do or Die to script 2011-11-03 13:04:19 +00:00
slapshot5
a926c65c17 add an AF for "Separate cards into two piles". It has params for:
-Separator
-Chooser
-Target/Defined Player
-ValidCards
-ChosenPile (gives the a DB$ XXXX), and it performs that ability on the Chosen Pile (Like SacrificeAll)

It likely can't handle all cards with things like this yet, but should be easy to build on.
2011-11-03 12:52:34 +00:00
Sloth
3e1f8d9f1f - Turned the ability of Quagnoth into a proper triggered ability. 2011-11-03 07:44:49 +00:00
Sloth
fe00f490d4 - Converted Psychic Purge to script. 2011-11-03 07:32:44 +00:00
Sloth
8390bd7ade - Necropotence will no longer show the names of the cards exiled face down. 2011-11-03 07:15:15 +00:00
Sloth
117026bd29 - The keyword "Play with the top card of your library revealed." will no longer work outside the battlefield. 2011-11-03 07:08:29 +00:00
slapshot5
85d297657d cleanup in SpellAbility.java 2011-11-03 05:17:40 +00:00
Sloth
814557f7b0 - Changed the default card size to small. 2011-11-02 21:54:24 +00:00
Hellfish
4f951f32d5 *The parameters of ThisTurnCast,LastTurnCast and ThisTurnCast are now separated by underscore rather than space so that the named and notnamed properties can be used with them.
*New xMath operators LimitMin and LimitMax. LimitMin.X will return the count if it's >= X or return X otherwise. LimitMax is the same but <= X.
*Added Sift Through Sands.
2011-11-02 21:41:32 +00:00
jendave
2aeff7ca02 rename namespaces per Java standards 2011-11-02 15:11:47 +00:00
jendave
def26056a2 more renames 2011-11-02 14:45:38 +00:00
jendave
b594ba087c rename files to conform with Java standards 2011-11-02 14:45:19 +00:00
jendave
8e1be3d95a rename files to confirm with Java standards 2011-11-02 14:19:26 +00:00
jendave
cc3aad44f8 rename files 2011-11-02 05:49:50 +00:00
jendave
734091f364 rename files 2011-11-02 05:27:20 +00:00
jendave
643b023afb rename file 2011-11-02 05:17:42 +00:00
jendave
5809c9fd00 checkstyle 2011-11-02 05:11:28 +00:00
jendave
6120b99ace checkstyle and refactoring 2011-11-01 22:11:41 +00:00
jendave
93a35c8c36 checkstyle 2011-11-01 19:29:55 +00:00
jendave
f562d07256 checkstyle 2011-11-01 19:12:06 +00:00
jendave
8523d78fce checkstyle and refactor 2011-11-01 18:05:57 +00:00
jendave
4d25421af8 checkstyle and refactor 2011-11-01 17:51:10 +00:00
jendave
c011b284e7 checkstyle 2011-11-01 17:36:35 +00:00
Sloth
3040891eb8 - Replaced some unnecessary uses of getZoneOf. 2011-11-01 16:17:35 +00:00
jendave
8d8dd1361e checkstyle and refactor 2011-11-01 16:14:27 +00:00
Sloth
311af14ac9 - Added the boolean function "isInZone" to the card class. It should be a performance upgrade to "AllZone.getZoneOf(c).equals(zone)". 2011-11-01 15:58:05 +00:00
jendave
adcd3f36df checkstyle and refactor 2011-11-01 15:51:09 +00:00
jeffwadsworth
9593bce6ae - Added Coalition Victory. I appreciate the help on this one. 2011-11-01 15:48:26 +00:00
Sloth
e206b2841a - Little AI improvement for bounce spells (will only be used before own main2 if the AI controls creatures). 2011-11-01 15:44:34 +00:00
jendave
2618c18536 checkstyle and refactor 2011-11-01 15:40:07 +00:00
Sloth
75bdb07ea6 - moveToStack will no longer use copyCard. 2011-11-01 15:38:05 +00:00
jendave
bcff189989 checkstyle 2011-11-01 15:28:24 +00:00
jendave
4f800f40b7 checkstyle 2011-11-01 15:23:13 +00:00
jendave
1fac42e697 checkstyle and refactor. Turn off magic number check for time being 2011-11-01 15:12:59 +00:00
slapshot5
74596b2a60 fix hardcoded Planeswalkers not having abilities 2011-11-01 12:42:50 +00:00