Hanmac
5dc9031444
CostDamage & HumanPlay: add missing triggerPreventDamage
2017-02-16 17:58:05 +00:00
Agetian
2e10dacd9a
- Attempting to fix compile errors [please review and update if necessary].
2017-02-16 17:48:21 +00:00
nefigah
c721dca230
Fix a bug with macro optimization that was preventing resets on changed sequences
2017-02-04 07:35:04 +00:00
nefigah
6ae2a5cf6f
Macros: Optimize case where user does not edit their previously entered sequence
2017-02-04 06:48:05 +00:00
Agetian
6d9e47600a
- Removed a couple unnecessary lines from the previous commit.
2017-02-04 06:11:51 +00:00
Agetian
98d9437ed4
- Allow empty input line to clear the previously remembered macro.
2017-02-04 06:08:37 +00:00
Agetian
5815a22d0c
- Pre-fill the macro sequence prompt with the last remembered sequence (to allow quick minor modifications if necessary).
...
- Allow the user to "reset" the macro to step zero by initiating macro recording (Shift+R by default) and confirming the macro without any changes.
2017-02-04 05:28:20 +00:00
Agetian
d05dffc1e8
- Prevent a crash in Planar Conquest when awarding 3 boosters for Chaos Round from a smaller card pool (e.g. Antiquities) which can exhaust possible rewards.
2017-02-03 09:21:30 +00:00
nefigah
40c61f50a2
Fix potential exception on macro activation
2017-02-02 17:28:19 +00:00
nefigah
13941c9264
Add initial implementation of an action-sequencing system (macros)
2017-02-02 17:04:34 +00:00
Agetian
79da71ced1
- Somewhat better option name for auto-yield granularity.
2017-02-01 18:09:40 +00:00
Agetian
a8f84efacf
- When auto-yielding per ability, do not clear auto-yields between games in a match to speed the game up (this is the original Forge behavior). When yielding per card, auto-yields are necessarily cleared between games because they are dependent on unique card IDs which change from game to game.
...
- Documenting the change in CHANGES.txt.
2017-02-01 17:51:22 +00:00
Agetian
10f76eae82
- Implemented a toggleable option to auto-yield either per ability or per card ("Auto-Yield Mode" under Gameplay).
...
- Restored the historical Forge default of auto-yielding per ability.
2017-02-01 17:32:02 +00:00
Agetian
8279aa57d2
- NPE prevention in CardDetailUtil.
2017-02-01 04:30:13 +00:00
Hanmac
e630fafb22
CountersPutOrRemoveEffect: refactor to use better methods
...
CountersPutOrRemoveAI: use better logic to check when its good to remove a counter and when not
PlayerController: add chooseBinary with Params, use it for AddOrRemove. no need for chooseAndRemoveOrPutCounter
2017-01-29 14:44:43 +00:00
Hanmac
a6aa647ef0
PlayerController: remove old chooseCounterType in use of new one
2017-01-28 15:23:43 +00:00
Agetian
510a2df095
- Making throttle-based targeting overlay optimization optional for users running older hardware at slower CPU clock speeds.
2017-01-25 16:47:35 +00:00
pfps
2bedb54128
Change several confirms to use new utility function
2017-01-25 00:28:11 +00:00
pfps
158e7d683e
Add a utility confirm function to encapsulate gui-switching and use it in several places (more to come)
2017-01-24 19:14:40 +00:00
Agetian
e4ddffc0a8
- Logic correction.
2017-01-24 15:31:18 +00:00
Agetian
689768d40f
- Imports cleanup.
2017-01-24 15:10:19 +00:00
Agetian
65f129617c
- Temporarily putting in the code that would use the original prompting method if running on LibGdx (mobile Forge) since mobile Forge has no way of showing the card to the player without going through the getGui().confirm method, which creates a custom card view and prompt there.
...
- Probably should be organized better (it's not very clean to branch out for a particular port in top-tier GUI code), but I'm not sure how to make this better. Please feel free to improve.
2017-01-24 15:05:01 +00:00
Agetian
a4a3ad99eb
- Instantly show the card Scry is inquiring about to avoid specifically having to mouse over the prompt to take a look at it.
2017-01-24 14:01:17 +00:00
Agetian
b62a99724a
- Made the Scry dialog show the card it's inquiring about to the player when the mouse is over the prompt area.
2017-01-24 13:54:44 +00:00
pfps
84c4acf6d1
Add spell description for Mentor of the Meek triggered ability
2017-01-23 22:24:09 +00:00
Agetian
77d9230dc5
- Suppress (Targeting ERROR) in prompt [again].
2017-01-23 05:18:03 +00:00
pfps
58ad693300
Slightly better message for cards in prompt area
2017-01-22 20:28:08 +00:00
pfps
8401eca0ec
Don't show sa descriptions in prompt area if they are only one character. (But why is this rogue blank getting into the description?)
2017-01-22 14:04:34 +00:00
pfps
c425a08d58
Try to remove extra newline(s) at end of targetting prompts
2017-01-21 21:15:11 +00:00
Agetian
1e200bbcba
- Formatting fix.
2017-01-21 19:21:23 +00:00
Agetian
828359c0bc
- Fixed NPEs in the new prompt input code (we should not assume that SA vars will be filled in at all times).
2017-01-21 19:20:46 +00:00
pfps
97fe0ec046
Separate prompt from card descriptions in prompt area
2017-01-21 17:39:32 +00:00
pfps
dfbd677bf0
Tiny fix when showing abilities with no description in prompt pane
2017-01-21 17:18:52 +00:00
pfps
5924706b1a
Move several confirm popups to prompt pane - required modifying prompt pane to have a cardview instead of a spellabilityview
2017-01-21 16:28:11 +00:00
Agetian
7266a4f34e
- Removing debug input.
2017-01-21 04:28:08 +00:00
pfps
ab867a40ee
Better prompt messages for confirming optional triggers
2017-01-20 20:19:31 +00:00
Agetian
cc9e2caf2d
- Imports formatting.
2017-01-20 19:18:44 +00:00
Agetian
1534e37453
- <b>..</b> tags do not work correctly in mobile Forge.
2017-01-20 19:17:58 +00:00
Agetian
bf98c77eb7
- Ensure that (Targeting ERROR) is removed from the prompt window when showing the SA text when selecting targets.
...
- Some code formatting.
2017-01-20 17:15:38 +00:00
pfps
00ecfe7e49
Make mouseover on prompt pane show cardview of the controlling card if there is one
2017-01-20 00:48:01 +00:00
pfps
89e34f78c0
Fix missing spellabilities in calls to confirmPayment (missed due to conflicting updates)
2017-01-18 16:59:06 +00:00
pfps
43b99d130a
Drag the current spellability closer to the GUI so that it can be (eventually) displayed
2017-01-18 16:37:41 +00:00
Agetian
330dc48564
- Some modifications to orderAndPlaySimultaneousSa.
2017-01-18 15:12:02 +00:00
Agetian
c31d1bae80
- Added an option to preselect the last known order of simultaneous abilities to simplify confirming the previous order (which is by far the most common thing you'd want).
...
- Fixed an issue where the wrapped abilities triggered by different objects counted as different abilities for the purpose of remembering simultaneous ability order.
- Updated CHANGES.txt.
2017-01-18 12:23:13 +00:00
Agetian
9050cea72e
- Made Greenbelt Rampager energy cost mandatory.
...
- TODO: implement this for other costs that may require it + teach the AI to always respect the Mandatory parameter in costs (currently it'll observe it with Energy costs because it defaults to paying the amount if prompted to, but it may disobey this restriction in other circumstances and for other costs; not sure where to put the relevant checks in the AI code though).
2017-01-17 14:49:50 +00:00
Agetian
ef27adc5c6
- Improved detailed spell ability descriptions when paying costs/targeting by getting rid of the Targeting ERROR text in the prompt box at the time when the SA is not yet targeted by the player.
...
- Made the detailed SA descriptions on paying costs/targeting optional (can be enabled/disabled in preferences, enabled by default) for people wanting the old behavior (which might especially be useful for mobile Forge on small screens).
2017-01-14 19:44:01 +00:00
Agetian
be29951d76
- Further progress with quest draft tournaments in mobile Forge. There are a few issues remaining, most notably a stupid duplication of "edit deck / leave tournament" button set in prepare deck mode that I can't solve (tried a gazillion things already) and the fact that AI vs. AI match results do not register properly unless the quest is in "Simulate AI vs. AI Matches" mode, In Simulate AI vs. AI Matches mode, the QDTs should be largely playable and completable (with a couple caveats). In non-Simulate mode, they are not completable yet.
2017-01-14 06:30:42 +00:00
pfps
1fba3283d4
Add in more description of spellability when selecting targets and paying mana costs
2017-01-13 21:13:15 +00:00
Agetian
91198b1de4
- Shortened one of the achievements' names that did not fit the label box.
2017-01-13 09:41:27 +00:00
Agetian
f14de08c20
- Prevent Crew from taking negative power of creatures on the battlefield into consideration when determining the total amount of power available on the battlefield (instead treating them as 0 now).
2017-01-11 14:35:33 +00:00