Commit Graph

116 Commits

Author SHA1 Message Date
Braids
9d8d9a9eea Make progress in segregating game model data; move some fields from forge.AllZone to forge.model.FGameState.
Left delegate methods in AllZone, marking their Javadoc (in English) for future deprecation.
Added some rudimentary tests on forge.model.FModel's getGameState and resetGameState methods.

Bug: 154
2011-08-28 03:01:13 +00:00
Rob Cashwalker
36ee43b604 Fix issue 174 - Error reporting bug: MCException - submit Issue - Error Type: APPLICATION ERROR #1300, Error Description: Custom field not found
- Steps to Reproduce wasn't a custom field.
2011-08-28 02:13:13 +00:00
Maxmtg
6c77de9d4c New lightweight classes for cards management in deck editors and quest mode (no other parts or project changed) 2011-08-28 02:05:04 +00:00
slapshot5
09b868adde forgot to add VELOCITY counters for Tornado 2011-08-28 00:54:30 +00:00
ArsenalNut
693a255caf Converted Orcish Captain to script 2011-08-28 00:24:30 +00:00
Doublestrike
0309d08fb5 View util package rename, class name underscores removed. 2011-08-28 00:09:20 +00:00
Maxmtg
ef8072b77a Predicates are a needed part for new cards management. 2011-08-27 23:54:53 +00:00
Braids
2c76370648 Relabeled Error Dump to Crash Report in bug reporting window.
Bug: 176
2011-08-27 22:06:44 +00:00
Sloth
f087520b32 - The random 3- and 5-color deck generators will now also include colorless cards. 2011-08-27 21:22:23 +00:00
Sloth
d24145b072 - The random deck generators will now include colorless cards. 2011-08-27 21:21:37 +00:00
Sol
7fa9334a2a Initial checkin for Attach_KeepTapped
Converted some Auras to KeepTapped Logic.
2011-08-27 20:54:23 +00:00
Sloth
fc8186208e - Added limited support for "RememberChanged" parameter in AF Dig.
- Added Killer Instinct.
2011-08-27 19:22:14 +00:00
Hellfish
0888f2b7d4 *Fixed a trigger problem that arose when the new controller code autocorrected the zone of a card.
*Removed some ambiguity in Triggers' parameter names.
2011-08-27 18:34:08 +00:00
slapshot5
99d7410adb convert Dance of the Dead upkeep ability to script (also fixes Human being prompted when it's under computer's control) 2011-08-27 18:23:45 +00:00
Sloth
9c0943e6d0 - Added the Frankenstein 1 deck.
- Replaced the Gold dungeon special quest.
2011-08-27 15:12:49 +00:00
Sloth
df81eee0b2 - Converted Farsight Mask to script. 2011-08-27 14:59:49 +00:00
ArsenalNut
e21831cc74 Added Count$OppDamageThisTurn and Count$YourDamageThisTurn 2011-08-27 14:07:49 +00:00
Hellfish
f627b8497b *Added a ThisTurnEntered equivalent for DefinedCards.
*Added Second Sunrise.
2011-08-27 12:53:23 +00:00
Doublestrike
8755ce80c2 Minor fix 2011-08-27 12:51:09 +00:00
Doublestrike
0a4a9f6501 Embedded instance of progress bar in splash frame.
(First serious commit - very sorry if anything wrong!)
2011-08-27 12:37:59 +00:00
Doublestrike
423c617bac View utils:
Progress bar interface
Progress bar base class
Progress bar embedded class (extends base)
2011-08-27 12:23:17 +00:00
Hellfish
b589539cd3 *Hopefully fixed the "triggers for wrong player" bug. The Anodet Lurker/Slave of Bolas case works properly now, among others at least. 2011-08-27 11:18:20 +00:00
Sloth
d4dc60d8c9 - Added support for restrictions in alternate costs (same as those of AbilityFactory).
- Added Lashknife.
2011-08-27 10:11:38 +00:00
Sloth
5664e1ba2c - Updated the scripting of AltCost (in preparation of adding conditions). 2011-08-27 08:39:10 +00:00
Sloth
6fe991a5f0 - Static abilities of face down cards will no longer be applied. 2011-08-27 07:52:46 +00:00
slapshot5
386c39e18f tweak showMessage() in Fireball 2011-08-27 06:33:37 +00:00
Sol
64dee8757b - Fix AI not activating Sacrifice This Costs 2011-08-27 03:44:00 +00:00
slapshot5
1c6ca0268b clean up some Java warnings in CardFactory files 2011-08-27 03:35:02 +00:00
slapshot5
90f13221bc clean up some Java warnings in Upkeep.java 2011-08-27 03:30:59 +00:00
Rob Cashwalker
69d7dda15b Feature Request 168 - View Decklist during game.
Pop-up dialog with option to copy to clipboard.
2011-08-26 19:08:33 +00:00
Sloth
cf913c6dc3 - Fixed the description of exile from graveyard/hand costs. 2011-08-26 16:22:52 +00:00
Maxmtg
7ed5437a5d Card image in rewards view didn't display properly if player had only pet-set images and no flat storage 2011-08-26 15:40:49 +00:00
Sloth
0dc7434844 - Improved blocking AI predicting multiblocks. 2011-08-26 09:00:11 +00:00
slapshot5
9c06ec4c5d clean up a few java warnings 2011-08-26 05:57:38 +00:00
Sol
485c207ebf - Fix for CostInputs not handling X set to 0. 2011-08-26 02:36:55 +00:00
Sloth
7014096d67 - Converted Favor of the Mighty to script. 2011-08-25 20:54:59 +00:00
Sloth
f412265403 - Added Topple. 2011-08-25 20:31:18 +00:00
Sloth
5f5d857017 - Added the Frankenstein 2 and 3 decks. 2011-08-25 15:55:10 +00:00
jendave
2b07df21c8 fixed checkstyles 2011-08-25 15:22:02 +00:00
jendave
8cf3c63d55 Revert "fix checkstyles. remove old files"
This reverts commit e6ae0bd753cd02c545f41d7434604e0c69e39e6e.
2011-08-25 15:21:53 +00:00
jendave
18b41f2bcb fix checkstyles. remove old files 2011-08-25 15:21:43 +00:00
Sloth
aeb5bf0bd4 - Replaced the red dungeon special quest. 2011-08-25 11:03:59 +00:00
Sloth
3ef7b21654 - Little updates in CombatUtil. 2011-08-25 11:01:10 +00:00
Maxmtg
4373bd84ff added dependency 2 org.apache.commons.lang3 (for StringUtils.join)
@GuiFilter just removed duplicated code
2011-08-25 09:52:44 +00:00
Sloth
c2a188addd - The AI will now check DealDamage triggered abilities when attacking (to not run into Circle of Flame and Caltrops). 2011-08-25 09:30:04 +00:00
slapshot5
44238e8803 remove some debug code in GuiDisplay4.java 2011-08-25 05:42:32 +00:00
slapshot5
bf60a0b534 add the ability to Exile cards face down. Added an ExileFaceDown$ True parameter to ChangeZone and ChangeZoneAll. In the GUI code, I had to change the ZoneAction (for viewing Exile, Graveyard, etc.) class to not use the YieldUtils iterator stuff. I pull the Generator into an ArrayList. If someone can do it with Iterator, go for it. 2011-08-25 05:39:44 +00:00
Sol
763d7e7870 Initial checkin of CostReveal
Some preparation for actual Payment occurring after all Costs have been completed.
Add Living Destiny
2011-08-25 02:32:40 +00:00
Sol
40a945fa72 Moving Inputs from Cost_Input into specific CostParts 2011-08-25 00:25:20 +00:00
Sol
6132594038 Small fix for ExileFromHand Input 2011-08-25 00:15:57 +00:00