Commit Graph

18293 Commits

Author SHA1 Message Date
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
Maxmtg
2960202941 games against several AIs can be started now - yet extra AI players cannot be attacked and don't act (though they recieve turns) 2012-10-20 17:11:46 +00:00
Maxmtg
2bee6e1ec9 fixing restart issue and hand crash 2012-10-20 16:10:17 +00:00
Maxmtg
451642d830 remove unused var, type casting 2012-10-20 16:04:45 +00:00
Sol
757a587dcc - Converted Eon Hub and Gibbering Descent into Keyword 2012-10-20 14:54:23 +00:00
Maxmtg
dc817b2452 Avatars on match UI are somewhat working (will take human's icon for every even-numbered player and ai's for odd ones) 2012-10-20 14:46:52 +00:00
Sol
73665ae28b - Added Sands of Time 2012-10-20 14:35:32 +00:00
Sol
a4e9da67b4 - Converted Stasis to Keyword
- Simplify Yosei a touch
2012-10-20 14:03:52 +00:00
Maxmtg
5f34ce6595 IVDoc parametrized so that getLayoutControl method returns a object or right type, won't have to cast from ICDoc 2012-10-20 13:46:20 +00:00
Maxmtg
b0e7d92dea Turn counting removed from GameState (cause phaseHandler already did it)
Inlined some static methods called from phaseHandler
PhaseType: index is not a field, yet the order is set by a list initialized statically
GetLabelForPhase - moved to VField from PhaseUtil
Game has a method to determine the next player who takes turn/priority after the given one.
2012-10-20 12:29:48 +00:00
Sloth
bf1f64d8f2 - Improved AI dealing with Measure of Wickedness. 2012-10-20 11:15:41 +00:00
Sloth
72ee70e4c5 - Added Book Burning, Breaking Point and Browbeat. 2012-10-20 11:12:37 +00:00
Sloth
b1de033f47 - Added Multiplayer support for unless costs (but not multiple humans yet).
- Added "Any Player" support to unless costs.
- Added Rhystic Tutor.
2012-10-20 10:53:10 +00:00
Chris
dbe930b795 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-10-20 10:45:56 +00:00
Sloth
e0d4b55ee6 - Added Wicked Akuba. 2012-10-20 09:06:32 +00:00
Maxmtg
b5b1bca123 If player decides to draw, turn is given to his opponent 2012-10-20 06:57:55 +00:00
Maxmtg
df946206ba passes GameState to phaseHandler, moved player related static calls to player/Player.java 2012-10-20 00:02:57 +00:00
Maxmtg
e7983cf9e1 getGameState => getGame
Stack zone uses its own class Zone (which has no owner obv.)
2012-10-19 23:55:27 +00:00
Maxmtg
1f38a60e4b AllZone is gone. Its members moved to Fmodel while colorchanger went to GameState 2012-10-19 22:58:41 +00:00
Maxmtg
c92faa2d87 1. MatchController contains inputControl, subscribes listeners to event by itself
2. most of AllZone methods static moved into instances, consider retrieving frequently used values into class fields or local variables
2012-10-19 22:39:09 +00:00
Sloth
9ed4b92dc7 - Added Rotting Giant. 2012-10-19 21:12:28 +00:00
Sloth
97245e358f - Improvements and cleanup in AF DealDamage AI functions. 2012-10-19 16:02:48 +00:00