Commit Graph

5679 Commits

Author SHA1 Message Date
elcnesh
89b3395cec Completely refactor the GUI code.
All direct references to a gui have been replaced by a field, allowing dynamic GUI assignment throughout the code (necessary for eg. network play). Fixes almost all errors. Untested.
2014-09-04 09:44:31 +00:00
Sol
fb4ac61919 - Combat.getBandOfAttacker() should only return from lkiCache if the card found in the cache actually was attacking 2014-09-04 03:10:01 +00:00
drdev
147255108a Fix typo that resulted in 24 Swamps and 0 Forests for Momir Basic
Version bump to 1.5.26.004
2014-09-02 12:21:46 +00:00
drdev
95fd905c5a Avoid needing to show Commander effect black rectangle in command zone
Make it so when Commander effect needs to be displayed (such as for confirmation dialog for replacement effect), the commander's name and image are used
2014-09-01 18:02:47 +00:00
drdev
45942de46f Support showing command zone inline with lands instead of in a tab 2014-09-01 04:12:42 +00:00
drdev
4160e78d39 Support actually starting a Momir Basic game and lay the groundwork for other game types with auto-generated decks 2014-09-01 02:58:58 +00:00
drdev
1e901cb59a Code cleanup 2014-09-01 01:51:38 +00:00
drdev
034f56d331 Add Momir Basic format and game type 2014-09-01 01:17:45 +00:00
swordshine
8ef85b3628 - KTK: Added Herald of Anafenza 2014-08-31 05:21:28 +00:00
elcnesh
bb9fac0f2d Fix possible error with merging keyword changes. 2014-08-30 22:53:45 +00:00
drdev
9b24119eab Make it so mana pool is shown if you prompted to pay mana after floating mana 2014-08-30 22:14:49 +00:00
drdev
16c140c7ad Prevent abilities being put on the Undo stack if not activated by Gui player 2014-08-30 21:11:16 +00:00
Chris
bc65e884f8 [maven-release-plugin] prepare for next development iteration 2014-08-29 14:43:59 +00:00
Chris
4f509f28b7 [maven-release-plugin] prepare release forge-1.5.25 2014-08-29 14:43:45 +00:00
Sloth
fc71b705f8 - Fixed Pale Wayfarer. 2014-08-23 11:16:36 +00:00
drdev
e1e2eb0c92 Give user a chance to respond if opponent blocks a creature they were forced to attack with after pressing End Turn 2014-08-22 04:36:23 +00:00
drdev
1b26d6677b Ensure creatures that must attack do so even if you End Turn before combat 2014-08-22 04:23:22 +00:00
drdev
7a98346356 Cancel auto-pass for all opponents of activating player when a new non-triggered ability is put on the stack 2014-08-22 04:00:59 +00:00
swordshine
4139f46f91 - KTK: Added Jeskai Elder 2014-08-21 12:01:40 +00:00
elcnesh
cc7098e31b Display text changes in keywords. 2014-08-21 09:47:23 +00:00
elcnesh
1922fdde66 Fix bug in Swirl the Mists (accidentally introduced in r27099). 2014-08-20 14:45:56 +00:00
elcnesh
abed6a4024 Fix text changing costs, and fix displaying intrinsic SpellAbilities with changed text. 2014-08-19 20:03:52 +00:00
elcnesh
ce97950c8e Display changed text in abilities with strikethrough, and move the display code. 2014-08-18 15:03:59 +00:00
elcnesh
fca084c44e Cleanup code for plural type names (like Clerics), and fix them for type changing effects. 2014-08-18 12:52:45 +00:00
elcnesh
12b0aa8e40 Fix NPE in KeywordsChange. 2014-08-17 07:32:24 +00:00
elcnesh
d7bea5d518 Fix some problems with text changing related to Effects and replacements. Also fixed Words of Wilding. 2014-08-16 19:30:10 +00:00
elcnesh
55efef6406 Fix changing color words in "Protection from all colors". 2014-08-16 07:53:22 +00:00
Sloth
e28f1a1a37 - Fixed a NPE in applyAbilityTextChangeEffects. 2014-08-16 06:29:43 +00:00
Chris
2012621be7 [maven-release-plugin] prepare for next development iteration 2014-08-15 18:40:00 +00:00
Chris
48f4e4d801 [maven-release-plugin] prepare release forge-1.5.24 2014-08-15 18:39:45 +00:00
swordshine
b4549ebfe6 - Move "Offering" from modifiableKeywords to modifiableKeywordEndings 2014-08-15 14:31:13 +00:00
swordshine
cf80f5f48b - Prevent an NPE 2014-08-15 14:14:40 +00:00
elcnesh
0834873756 Many changes to make text changing effects work better. Highlights:
- Correctly identify which SpellAbilities are intrinsic;
- Prepare for fixing Chroma/Devotion;
- Fix which keywords are text-changed.
2014-08-15 11:17:20 +00:00
drdev
846fdc0fb3 Add Auto-Yields dialog and support for temporarily disable all auto-yields 2014-08-15 02:43:58 +00:00
swordshine
1e885cecdc - Prevent an NPE when AI tried to activate Back from the Brink 2014-08-14 09:39:57 +00:00
elcnesh
e27ab626fe Fix changing text of keywords added to players. To do so, refactor the player keywords code to use the same construction as cards. 2014-08-12 20:48:00 +00:00
elcnesh
8876a27af1 Fix GenericChoice to not fizzle when the choosing player can't be targeted, and isn't. 2014-08-12 20:20:40 +00:00
elcnesh
0f5697d1fa Restore accidentally removed null check in text changes. 2014-08-12 19:52:20 +00:00
elcnesh
331016cef7 Fix replacing "Green" in Omnath by another color. 2014-08-12 19:49:48 +00:00
drdev
eb3f668410 Support auto-yielding to abilities on the stack 2014-08-12 01:37:03 +00:00
elcnesh
584eefbfe7 Add Swirl the Mists (plus some general text change cleanup). 2014-08-11 21:31:11 +00:00
elcnesh
0d534be21e Add code allowing text-changing effects (+some cleanup). 2014-08-11 09:22:18 +00:00
Sol
2168779735 - Fixing infinite loop when the active player dies during his turn in a multiplayer game 2014-08-10 19:31:29 +00:00
drdev
4250459eca Support canceling End Turn 2014-08-10 05:19:45 +00:00
drdev
7d77e2007c Make end turn button meet player's expectations by skipping the attack phase and not requiring you to respond to triggers 2014-08-10 04:19:54 +00:00
swordshine
a6101203c7 - Added Pygmy Hippo 2014-08-07 13:33:36 +00:00
swordshine
d1c0340bfc - Added Drain Power 2014-08-07 12:21:16 +00:00
swordshine
cc90fc61c6 - Added North Star 2014-08-06 05:59:40 +00:00
Sol
10ed5c3db1 - Adding +2 Mana for Flash Keyword to be displayed in the card detail panel (for cards like Rout) 2014-08-06 03:47:03 +00:00
swordshine
81718d866e - Update LifeExchangeEffect 2014-08-05 06:05:25 +00:00