Commit Graph

17364 Commits

Author SHA1 Message Date
Maxmtg
c3f087db9e PhaseHandler isNextTurn(PlayerType) marked as deprecated. (There are many players of same type in a game)
local player is assigned at beginning of a match instead of being calculated each time.
2012-10-22 19:25:00 +00:00
Sloth
847f2aee02 - Fixed AI Logic of AF Mana. 2012-10-22 19:23:34 +00:00
Maxmtg
1369ff20db simplified deck list generation
restored unlimited hand size
2012-10-22 17:53:35 +00:00
Sloth
788609fc71 - Defending Player will now be determined conform to rule 802.2a. 2012-10-22 17:51:31 +00:00
Sloth
e549dc8ed2 - Made more scripts ready for multiplayer. 2012-10-22 16:33:50 +00:00
Chris
03a2fa4b38 - Added a fluff piece to the changes.txt file. 2012-10-22 14:46:39 +00:00
Chris
24db77f1c6 - Added a fluff piece to the changes.txt file. 2012-10-22 14:33:29 +00:00
ArsenalNut
7d7669e806 add AILogic to any mana choice to avoid crashing 2012-10-22 13:41:20 +00:00
Maxmtg
934ea412c3 Autopass to EOT should not skip the following turn 2012-10-22 12:16:22 +00:00
Sloth
1dada33a4a - Made more scripts ready for multiplayer. 2012-10-22 11:45:50 +00:00
Chris
b8b37d7da4 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-10-22 10:17:20 +00:00
Sloth
3ff5914019 - Made the scripts of some cards with "As CARDNAME enters the battlefield, choose an opponent." to be multiplayer compatible. 2012-10-22 08:55:54 +00:00
Maxmtg
908aa506d9 archenemy: ai opponents will use different decks 2012-10-22 07:40:15 +00:00
RumbleBBU
d3947fd02b Turned off a debugging function call. 2012-10-22 07:27:37 +00:00
RumbleBBU
0f2f5c6c18 Slightly improved expansion selection algorithm for unlocking + 2 more choices. 2012-10-22 07:26:09 +00:00
Maxmtg
695840aab6 * Computer players will also have random icons
* Mini-gauntlet mode a true advancement through rounds has.
2012-10-22 07:21:28 +00:00
Maxmtg
6d4b9af05b comment out debug output 2012-10-22 04:25:55 +00:00
Maxmtg
bd3e8ea47f declare blockers works properly 2012-10-22 04:24:22 +00:00
Maxmtg
35ecfe4b3b protection from NPEs in getOpponent 2012-10-21 18:06:13 +00:00
Sol
bcf6305153 - Replace Flameshot second spell with alt cost keyword 2012-10-21 16:57:57 +00:00
Maxmtg
fa12451a95 Player.getOpponent improved to handle ai vs ai games 2012-10-21 16:01:36 +00:00
Sol
52a4f8e75e - If creature hasn't been assigned any damage in Assign Panel, use the minimum value of Lethal Damage and Remaining Damage. 2012-10-21 13:36:48 +00:00
Maxmtg
96e0a17ec6 correct damage assignment when attacking multiple players at once 2012-10-21 12:17:56 +00:00
Maxmtg
d546331904 Lol: archenemy mode against N ai 2012-10-21 12:06:14 +00:00
Maxmtg
a76a8a8ff6 PlayerStartConditions is ok
GameNew won't fetch supplier twice
2012-10-21 12:05:56 +00:00
Sloth
f76638a227 - Moved common AI functions from AbilityFactories to ComputerUtil. 2012-10-21 11:54:11 +00:00
Maxmtg
9ec90fabee Quest mode: new cards are created for each match (won't see cards with state preserved from old game) 2012-10-21 11:49:38 +00:00
Chris
06c392dda5 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. Take 2 2012-10-21 11:25:42 +00:00
Chris
9abdcb8c62 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-10-21 11:22:24 +00:00
Maxmtg
f67fcf59d3 InputControl: human will get only one 'declare blockers' prompt in multiplayer games
GameAction: fix crash when ai player drew miracle card on 1st turn
2012-10-21 09:52:26 +00:00
Maxmtg
b27812fe4c You may plays against several AI opponents now 2012-10-21 08:54:22 +00:00
Doublestrike
797733bcc7 Small grammar fix on sealed dialog. 2012-10-21 08:53:33 +00:00
Doublestrike
eac80965dc Renamed various WinLose screens to better reflect their application. 2012-10-21 08:53:16 +00:00
Doublestrike
bdb993c613 Draft "save" dialog improvements:
- Added functionality to "cancel" button
- Added yes/no confirm to overwrite cases
- A bit o' checkstyle
2012-10-21 08:27:30 +00:00
Maxmtg
e67680a0a5 17605 fixed, 609 617-618 2012-10-21 08:21:34 +00:00
Doublestrike
78280435b3 Bugfix: "Remove 4" button in Limited deck editor actually removed 8. 2012-10-21 06:59:44 +00:00
Sloth
dce6af06e6 - Added the quest opponent Nelson Muntz 2 (thanks to edessa). 2012-10-21 06:50:01 +00:00
Doublestrike
604cceaa7c Re-enabled "Add 4", "Remove", "Remove 4" buttons in Limited mode card editors.
Removed "save" and "print proxies" button in Limited mode card editors.
2012-10-21 06:27:35 +00:00
Sloth
e865f1fabd - Fixed description of Flameshot. 2012-10-21 06:21:59 +00:00
Doublestrike
cc5a3cdd00 Checkstyle. 2012-10-21 06:14:13 +00:00
Doublestrike
32c94ca11b Bugfix: Editor card panel looking for color from nonexistent game state.
Also checkstyle updates to Card.java.
2012-10-21 06:07:47 +00:00
Doublestrike
a928f6be67 Targeting overlay isn't maturing as I'd hoped. It's now disabled until further notice. Code will remain in place if someone wants to tackle it. 2012-10-21 05:50:01 +00:00
Doublestrike
2df878d1d2 Targeting overlay mouseover state preferences and dock button enabled.
Its mechanics still need some work.
2012-10-21 05:36:31 +00:00
Maxmtg
33b4e61135 Rollback of 17605 that broke everything 2012-10-20 22:20:25 +00:00
Sol
ca352b21d7 - Fixed Tarzan Description. Advertised as WR, but really is GR. 2012-10-20 21:38:47 +00:00
Maxmtg
e616eae145 Moved card and player cleanup routines to repective classes
renamed isNeedToNextPhase => !mayPlayerHavePriority (would let understand the code better)
@inputControl: setInputInterrupt and setInput add to resolveStack and common Stack
@inputControl: updateInput => getActualInput
2012-10-20 21:20:36 +00:00
Sol
b0f13fe369 - Fix ante checking for a match win instead of last game win. 2012-10-20 21:14:48 +00:00
Sol
a74801d840 - Sands of Time needs this update 2012-10-20 20:01:40 +00:00
Maxmtg
523655f926 Phase indicators are properly lit when attack/defend cast instants phase begins
computer should not recieve priority before mulligan
2012-10-20 19:42:14 +00:00
Sloth
87d57d24aa - Fixed getSpellCostChange. 2012-10-20 18:10:42 +00:00