Commit Graph

1682 Commits

Author SHA1 Message Date
drdev
eaaca84826 Add support for unlocking commander 2014-12-08 02:34:12 +00:00
drdev
503740dfe5 Support awarding booster 2014-12-08 01:12:00 +00:00
Krazy
f8e9679f52 QuestUtil class updates; some cleaning up, some old new code I forgot to commit a while back. 2014-12-08 00:43:27 +00:00
drdev
356934bf27 Start working on Booster logic for Planar Conquest 2014-12-07 18:17:03 +00:00
drdev
c5cde9d34d Improve ratios for recruit/study 2014-12-07 07:59:37 +00:00
drdev
b83a95d55d Fix message for choosing booster or card 2014-12-07 07:36:31 +00:00
drdev
5c773d8b1e Add support for prompting for reward 2014-12-07 03:25:53 +00:00
drdev
b8b433586d Support playing conquest games 2014-12-07 01:20:52 +00:00
drdev
f7fbdc05dd Refactor code to make it easier to show rewards for planar conquest games 2014-12-06 23:52:54 +00:00
drdev
ce3b8e6c76 Introduce concept of stars
Rename IVConquestBase
2014-12-06 21:18:34 +00:00
drdev
43ca7ffe71 Update current region when commander tapped 2014-12-06 21:12:33 +00:00
drdev
556c590233 Make undeploy work 2014-12-06 18:37:54 +00:00
drdev
8e26dc333f Move WaitCallback and WaitRunnable to forge-gui 2014-12-06 18:16:30 +00:00
drdev
b9275d5678 Flesh out recruiting and studying 2014-12-06 18:04:36 +00:00
drdev
fe2547527e Support ending the current day 2014-12-06 07:08:56 +00:00
drdev
df75047bb4 Start fleshing out conquest actions 2014-12-06 06:22:23 +00:00
drdev
97fb0b1b0a Prevent mana cost overlay extending outside bounds of card 2014-12-06 05:08:58 +00:00
drdev
70c2afa96a Prevent duplicate opponents 2014-12-06 04:22:53 +00:00
drdev
dccf428bb8 Support laying out panels in region display 2014-12-06 04:14:18 +00:00
drdev
ec6637bab7 Add concept of conquest actions 2014-12-06 00:45:51 +00:00
Agetian
e0e08989b6 - Fixed a NPE caused by clicking on the picture of a booster pack (or another non-card entity) in quest shop. 2014-12-05 05:06:17 +00:00
elcnesh
ea23bb33b2 Codechanges and lots of fixes related to playing other player's cards from exile.
- Cards now keep track of who's allowed to cast them, fixing possible issues in multiplayer.
- Face-down cards can now be properly looked at when allowed to by a static ability.
- Improve support for casting a face-down exiled card in general.
- Add Shared Fate (including AI support).
2014-12-03 08:49:49 +00:00
Agetian
4ae2687478 - Fix the background music not working. 2014-12-03 04:49:02 +00:00
swordshine
296eccdce3 - C14: Added Assault Suit 2014-12-02 04:55:45 +00:00
drdev
5a6394cf34 Make zoom activate message more specific to the available abilities of a card 2014-12-02 01:52:01 +00:00
Myrd
bc29bc0d50 No need to prompt user to select a color when convoking with a mono-color creature. Just use mana of the creature's color. (It can be converted to colorless if needed.) 2014-12-01 18:27:58 +00:00
Myrd
53ca260a57 When looking for music to play, ignore non-file entities (e.g. .svn directories). 2014-12-01 06:12:55 +00:00
Myrd
73cad47c3c Fix bug with convoke where colored mana could end up being used as colorless.
Before this patch, the code would try to pay the mana symbols as they appear - for example if you convoke with a white creature and click "white" in the dialog, but the cost for the spell is "1WW", it would actually use that white mana to pay for the "1" portion of the cost, leaving "WW" to be paid (which is problematic if you have a swamp and a plains untapped which you were planning to use in addition to the white creature).

This change moves the logic for paying the cost from the UI code to the engine code (and re-uses existing code there) and also adds some unit tests for it.
2014-12-01 06:06:57 +00:00
drdev
000241a875 Fix so canceling selecting an ability doesn't show zoom 2014-12-01 03:41:02 +00:00
drdev
5eeb302ce8 Add activate callbacks for zoom view 2014-11-30 07:05:40 +00:00
drdev
9e2c0bfcf6 Add Shift+click support for Mana Pool icons 2014-11-29 17:06:45 +00:00
drdev
4990887b98 Prevent using Shift+click to attack with cards that have summoning sickness 2014-11-27 03:55:33 +00:00
Sol
a66019b9d9 - Use local parent folder for loading in human deck in duel deck quest matches 2014-11-27 03:30:35 +00:00
drdev
361b0b69d9 Support using Shift+click to attack with an entire stack of creatures 2014-11-27 03:27:33 +00:00
drdev
513a8def41 Support using Shift+click to tap multiple lands while paying for a spell 2014-11-27 03:12:46 +00:00
drdev
960cded6d6 Code cleanup 2014-11-27 02:29:14 +00:00
drdev
4c6bd6a715 Prevent race condition when selecting multiple abilities using Shift+click 2014-11-27 02:05:26 +00:00
drdev
043304e35b Support double-click and Shift+left click to tap all lands in the same stack 2014-11-26 20:47:47 +00:00
drdev
7c7163b511 Add support for tapping the topmost card of a stack to activate the card behind if the card on top has no remaining actions (same as mobile game already supports) 2014-11-26 20:22:48 +00:00
drdev
74c579c286 Add support for passing other cards in stack to inputs upon double-click and shift+left 2014-11-26 19:17:30 +00:00
drdev
352d7aeacd Support remembering zone window locations between sessions 2014-11-26 16:51:25 +00:00
drdev
c0e01d343a Change default phase stops 2014-11-26 15:54:50 +00:00
drdev
e8c7a23724 Add more style to Planar Map screen 2014-11-26 05:00:50 +00:00
drdev
be7a3bfad2 Add background for Planar Map screen
Remove unused images
2014-11-26 03:26:18 +00:00
drdev
74ed949717 Add plane name and End Day button to bottom of map screen 2014-11-25 22:01:49 +00:00
drdev
288113ae88 Add validation logic to conquest prefs
Prevent crash when clearing numeric field
2014-11-25 21:43:44 +00:00
drdev
c3e6c1e6b5 Add more planar conquest prefs
Add TEST_MODE setup for Planar Conquest testing
2014-11-25 21:10:47 +00:00
drdev
4d8d2e3cbc Add lock icon 2014-11-24 04:35:57 +00:00
drdev
8ccda655d1 Render wins to unlock commanders 2014-11-24 04:11:42 +00:00
drdev
e17f55b39e Add commander row 2014-11-24 03:55:45 +00:00