Commit Graph

20211 Commits

Author SHA1 Message Date
Maxmtg
ecf41ea05d madness moved to PlayerController
removed imports and sources of warnings
2013-03-19 09:10:32 +00:00
Maxmtg
b3c042dd08 Play miracle moved to PlayerControllers
a method to choose and play a sa out of a list extracted and moved to AiController
2013-03-19 08:47:54 +00:00
Sloth
f1405738a9 - Fixed getShortColor being case sensitive. 2013-03-19 08:19:50 +00:00
Maxmtg
e1771f55f0 refactor the code assigning profiles to AI players. 2013-03-19 07:57:05 +00:00
Maxmtg
a6f15b6e98 remove unused imports
inline few vars in downloader
2013-03-19 07:55:28 +00:00
Sol
e5de3d3d23 - Fixing Momenary Blink using "Targeted" instead of "Remembered" since Targeted refers to the old object, but Remembered is the new one 2013-03-19 03:27:28 +00:00
Sol
ff4b20236e - Convert Champion keyword to Trigger 2013-03-19 03:17:33 +00:00
Agetian
94c36b571a - Reintegrate merge: AIPersonalities --> trunk.
- The primary API for AI personalities is now in place. AI properties are implemented in forge.game.ai.AiProps and are retrieved via a call to one of AiController.getProperty, AiController.getIntProperty, or AiController.getBooleanProperty depending on the type of property (AI controller can be retrieved via a getAi() call on the AI player object). Each property can be assigned on a per-profile basis in res/ai/*.ai profile files. A profile can be selected in the game properties. For an example implementation of a property, see AI_MULLIGAN_THRESHOLD implemented in AiProps and retrieved in ComputerUtil.
- Currently there is one property only, but more are on the way. Everyone is also free to expand as necessary. Specific AI profiles for specific quest opponents will be implemented at a later date.
2013-03-19 02:40:58 +00:00
Sloth
5ab6fd14a8 - Fixed Freeze caused by Wake Thrasher. 2013-03-18 21:51:34 +00:00
Maxmtg
160d45015d added code to see what the game is about to download (commented it out to avoid spamming other developers) 2013-03-18 20:37:57 +00:00
Maxmtg
7f24c62fae 1. added a method to determine if a printed card uses a different picture for its other face
2. remove unused imports from previous commit
2013-03-18 20:27:27 +00:00
Maxmtg
5bea8704c3 added a method Card.isSplitCard() to shorten tests for split type. 2013-03-18 19:29:14 +00:00
moomarc
260f626ee1 - Made Scythe Specter work correctly when opponents discard cards tied for highest cmc.
- Made Heretic's Punishment work correctly with split cards
2013-03-18 17:18:58 +00:00
moomarc
5742264443 - Fixed Bant so that it adheres to the rulings: " A creature with a divinity counter put on it due to the {C} ability remains indestructible even after Bant stops being the face-up plane card." and " If all divinity counters on a creature are moved to a different creature, the indestructibility doesn't move along with them. The first creature is no longer indestructible because it no longer has a divinity counter on it. The second creature isn't indestructible because the {C} ability didn't target it." 2013-03-18 14:00:50 +00:00
Chris
825fc80646 - Added new card names to changes.txt. 2013-03-18 13:08:11 +00:00
moomarc
93d915f877 - Fixed Mirri the Cursed Avatar putting the +1/+1 counter on the targeted creature instead of the activating creature 2013-03-18 11:38:53 +00:00
moomarc
fc616fb82f - added missing URL for Riftmarked Knight's token 2013-03-18 09:51:00 +00:00
moomarc
0197100d44 - uncommented the url for Rally the Horde's token image 2013-03-18 09:45:16 +00:00
Maxmtg
4016b95469 removed extra parameter from getDownloadUrl - it was always true anyway 2013-03-18 09:41:40 +00:00
Maxmtg
c241dfb8b9 collection of old ungroupped pics has been fixed 2013-03-18 09:15:34 +00:00
Sloth
0156f1da7d - Added the very hard quest opponent Vic Stone 4. 2013-03-18 07:19:51 +00:00
Sloth
dfa66c2f55 - Updated some deck SVars. 2013-03-18 07:19:01 +00:00
myk
6aa3e91a57 move tools into tools directory and lists into lists directory 2013-03-18 05:58:40 +00:00
Sol
efac733af4 - Fixed Necromancy script to incorporate how Animate Dead works and stop NPE 2013-03-18 02:45:24 +00:00
swordshine
bf7a34f5ff - A small fix of last commit 2013-03-18 02:37:49 +00:00
swordshine
10bae9c32c - Added Yavimaya Dryad and Thieve's Auction 2013-03-18 02:16:22 +00:00
swordshine
f2560e5d0a - Added Perplex 2013-03-18 01:58:42 +00:00
swordshine
3914e8c277 - Added Phyrexian Grimoire, Purging Scythe, and Noxious Vapors 2013-03-18 01:57:39 +00:00
swordshine
84cdfcc107 - Added Loxodon Peacekeeper 2013-03-18 01:51:55 +00:00
swordshine
c3172c6aba - Added 5 cards 2013-03-18 01:39:38 +00:00
swordshine
6b0a1e9e54 - Added Planes: Bant and Turri Island 2013-03-18 01:23:58 +00:00
myk
4d14ccc377 fix order of operations in GuiDownloader 2013-03-17 22:43:34 +00:00
Maxmtg
f5db3f4430 minimal style changes 2013-03-17 22:15:01 +00:00
Sloth
ada6e258e7 - Added the quest deck Black Flame 3 by Nordos. 2013-03-17 22:13:04 +00:00
Sloth
e20902b51f - Made the quest deck Bart Simpson 3 a little stronger. 2013-03-17 22:11:45 +00:00
Maxmtg
c0b9c4ed7b simplified code 2013-03-17 22:00:18 +00:00
Maxmtg
c2536e6e08 rem unused imports 2013-03-17 21:50:26 +00:00
Sloth
6d93c01fec - Moved some checks in checkStateEffects to fix Lich (among other things). 2013-03-17 21:33:03 +00:00
Maxmtg
202e15fb95 removes comment refecting my doubts 2013-03-17 21:17:57 +00:00
Maxmtg
2e0bef61d1 Correct recognition of number of setless pictures 2013-03-17 21:12:56 +00:00
Sloth
a965fcf6bd - Fixed possible freeze when AI discards cards with triggers in cleanup. 2013-03-17 21:08:32 +00:00
Maxmtg
0c37c77373 Tokens are given image prefix on creation through TokenEffect 2013-03-17 21:02:48 +00:00
myk
296fdd85d7 report correct card ordinal during downloading 2013-03-17 21:00:31 +00:00
Sloth
e5a3bc3f45 - Fixed UnlessResolveSubs parameter freezing the game. 2013-03-17 20:52:25 +00:00
Maxmtg
fc495eee9d LQ setless images will be appended a number (1) if they exist in multiple prints in any set. 2013-03-17 20:43:04 +00:00
myk
bc5b475fb4 report what file is being downloaded 2013-03-17 20:21:08 +00:00
Maxmtg
6b3e6da71d does not append token prefix while forming image file name inside CardToken.java 2013-03-17 20:07:39 +00:00
Maxmtg
6d5158eebe quest token image fixes 2013-03-17 19:59:12 +00:00
Maxmtg
7ac1273310 removed getImageKey(cp) 2013-03-17 19:49:46 +00:00
Maxmtg
743f62be3d dedicated method to get download url for card pictures 2013-03-17 19:32:33 +00:00