Sloth
b1ccea8702
- Improved lifeInDanger AI function.
2013-05-30 10:15:36 +00:00
Sloth
cc0e999f8e
- Fixed DamagePreventAI not filtering targetables.
2013-05-30 09:12:04 +00:00
Hellfish
42754554ae
*PlaneswalkedFrom triggers were getting a list of cards planeswalked from that would change by the time they evaluated it. Fixes Orzhova.
2013-05-30 06:17:24 +00:00
Maxmtg
2b53b2ae20
more events instead of direct calls are used for both log and sound system
2013-05-29 22:18:07 +00:00
Maxmtg
77a319deac
Log uses GameEvent to recieve 'damaged' information
...
DeckChooser allows decks from quest shop
2013-05-29 21:53:47 +00:00
Maxmtg
b798eef761
rename GameEventType to GameLogEntryType to avoid mixing up things.
2013-05-29 20:05:34 +00:00
Maxmtg
7804f5f79d
Log uses visitor pattern instead of instance of checks
2013-05-29 20:02:56 +00:00
Maxmtg
9c5b5c6d73
just removed the extra parameter transferred through the dispatch from all the visitors (they may just hold the extra data in their own fields)
2013-05-29 19:44:20 +00:00
Maxmtg
ac4537fbb2
sorry, I meant PhaseLabels are awful. They have setEnabled, isEnabled and getEnabled - first one overrides a method
2013-05-29 19:26:15 +00:00
Maxmtg
8fd79a3577
PhaseHandler has very poor design
2013-05-29 19:24:41 +00:00
Maxmtg
5c6fb2d279
concede on mulligan handled
2013-05-29 19:16:19 +00:00
Maxmtg
724e4e87ac
a couple of checks to concede correctly during 'play or draw' and mulligan prompts
2013-05-29 19:02:04 +00:00
Maxmtg
1cc1518ae2
compile err
2013-05-29 18:55:26 +00:00
Maxmtg
0a33b93903
Added syncPoint between a moment when Game thread adds input to stack and EDT->showMessage, to ensure Game thread's changes happen-before whatever EDT will read
...
input/InputAttack.java is initialized with combat instead of game (cosmtic change though)
CMatchUI stopAtPhase will use an existing method to get the needed checkBox
2013-05-29 18:41:04 +00:00
Maxmtg
f939aa13a5
inlined visuallyActivatePhase
2013-05-29 17:23:57 +00:00
Maxmtg
6be13bcf30
another check for gameover
...
moved isUiSet... to derived class of PlayerController
2013-05-29 15:03:11 +00:00
Maxmtg
066d45fbc3
Lang lib tries to determine correct article for nouns
2013-05-29 14:44:25 +00:00
Maxmtg
d733ddc7c7
removed code for 'NextUpkeep' because no cards left that use it
2013-05-29 14:31:38 +00:00
Maxmtg
3e7d885b3c
fixed imports and typo
2013-05-29 13:42:59 +00:00
Maxmtg
8ac2367468
move inputs to forge.gui.input
...
DrawEffect.java - removed isHuman, fixed description using Lang library
2013-05-29 13:40:42 +00:00
Maxmtg
40a8f66b52
Mass renamed classes: GameState -> Game, MatchController (aka MatchState) -> Match
2013-05-29 12:54:24 +00:00
Maxmtg
85fe60c458
match cleanup
2013-05-29 12:51:18 +00:00
Maxmtg
4cbe3237af
Applied visitor to FControl loop.
...
put 'give priority' on top of game loop, so that we never give anyone priority if game is over
2013-05-29 12:36:23 +00:00
Chris
aaeb0a2505
- Added a fluff piece to the changes.txt file.
...
- Added new card names to changes.txt.
2013-05-29 12:14:23 +00:00
Maxmtg
7612d5b6e6
cleanup sound
2013-05-29 12:09:12 +00:00
Maxmtg
557a50be37
Sound - uses visitor pattern now
2013-05-29 12:01:49 +00:00
Maxmtg
81c98d6000
Encapsulated game.getEvents into game - now fireEvent and subscribe methods are visible
2013-05-29 11:23:43 +00:00
Maxmtg
f82e39df9c
missing file
2013-05-29 11:12:54 +00:00
Maxmtg
4f2da5e24b
Applied visitor patter to GameEvents - this is aimed to remove switches on (instanceof event) in event consumers (log, fcontrol, sound)
2013-05-29 10:56:15 +00:00
Sloth
470986db37
- Added Forcefield.
2013-05-29 10:53:21 +00:00
Maxmtg
949764938a
All game.event.* named in a single fashion, more changes to come
2013-05-29 10:43:09 +00:00
Sloth
8ccb4f8f6a
- Fixed a possible NPE caused by BecomesBlockedEffect.
2013-05-29 10:34:41 +00:00
Maxmtg
b3482d901d
CombatUtil.showCombat no longer needs parameter, its body is invoked only from EDT.
...
InputBlock.java accepts now Combat as 2nd paramter
Main phases were given better UI names
2013-05-29 10:33:58 +00:00
Maxmtg
c9450c16f7
A propper implementation of Rule 514 - Cleanup phase
2013-05-29 10:00:54 +00:00
moomarc
358ef743f3
- updated quest opponent icon urls
2013-05-29 09:37:43 +00:00
Maxmtg
01c1c41e43
PhaseHandler cleanup, solving problems with delayed triggers already added to simultaneous stack but not yet ordered
2013-05-29 09:29:50 +00:00
moomarc
4d34b23a02
- Added Tunnel Vision
2013-05-29 09:15:13 +00:00
moomarc
4f43579c20
- Added a button to dev mode console to make the current player planeswalk to a specified plane, even if it isn't in their planar deck. Should make life easier for testing new planes.
2013-05-29 07:47:01 +00:00
Agetian
716a5d33e1
- Targeting Overlay: targeting arrows will now be shown for equipments equipping permanents currently under opponent's control (for those rare cases when e.g. an equipped creature gets Switcheroo'd for something else).
2013-05-29 07:00:19 +00:00
Sloth
12c115ca49
- Added SVar:NonStackingEffect:True to some cards (D-F).
2013-05-29 06:39:34 +00:00
RedDeckWins
8655ffd151
Slowtrips finally slayed.
2013-05-29 05:11:59 +00:00
swordshine
4e01887c56
- Added Radiate
2013-05-29 00:58:01 +00:00
Sloth
aaaa82b49b
- Added SVar:NonStackingEffect:True to some cards (A-C).
2013-05-28 21:59:33 +00:00
Maxmtg
c2df1c4238
Arranged code for better implementation of Karn's Ultimate
2013-05-28 17:50:16 +00:00
Maxmtg
d58b922009
a more precise revision
2013-05-28 15:38:51 +00:00
Maxmtg
2b007767af
chooseOrderOfSimultaneousStackEntryAll() at end of MagicStack.add()
2013-05-28 15:29:24 +00:00
Maxmtg
d047963106
It just crashed there, although it should n't have even arrived there
2013-05-28 15:28:36 +00:00
Maxmtg
226f2e90a9
Won't send to log empty entries
2013-05-28 15:27:59 +00:00
Maxmtg
a211222b3e
renamed PayMana* classes,
...
pulled some code up from InputSyncronizedBase to InputBase.java
mulligan method known as startGame
routed selectCard call via InputProxy
2013-05-28 15:06:10 +00:00
Maxmtg
c58bb4b130
PlayerStartConditions renamed to RegisteredPlayer, lobbyPlayer added as a field
...
MatchState now starts with list of RegisteredPlayers, not a list of tuples
2013-05-28 14:32:38 +00:00