Releases: Stendarpaval/mob-attack-tool
Mob Attack Tool v0.3.14
This release features the following:
- Fixed bug that could freeze browser when combined with CTG module thanks to @arcanistzed's suggestion in issue #40.
- Took some additional measures (via a sneaky workaround) to ensure that few conflicts arise from CTG, Group Initiative and Mob Attack Tool each overriding Foundry's core initiative rolling functions.
This should work just as well on Foundry 0.8.9 as it should on V9. As always, please create an issue if you run into any bugs.
Also, this will be my last release of 2021, so happy new year!
Mob Attack Tool v0.3.13
This release features the following:
- Fixed initiative bugs caused by Mob Attack Tool in V9, as reported in issue #48.
- This means that Mob Attack Tool no longer wraps the 'rollInitiative' function, which may interfere with the way Combat Tracker Groups handles initiative. On the other hand, it also makes Mob Attack Tool compatible with the newer versions of the Group Initiative module.
- Fixed a bug related to showing Dice So Nice animations for GM attack rolls using Mob Attack Tool by following @veithflo's advice in issue #47.
- Bumped compatible core version to V9.
As discussed in the release notes of v0.3.12, my focus is on keeping Mob Attack Tool compatible with the latest release of Foundry. Please create an issue if you encounter any bugs or perhaps suggestions for making Mob Attack Tool more compatible with V9. Thank you.
Mob Attack Tool v0.3.12
This release features the following:
- Changed "groupUpdate" hook name to "ctgGroupUpdate" for improved namespace clarity. This should grant the compatility between Combat Tracker Groups and Mob Attack Tool that the last few releases have been working towards.
- Likewise "mobUpdate" hook name was changed to "matMobUpdate".
- Hovering over mob attack roll results will now also show the discarded roll result in the "title" tooltip if said roll was made with advantage/disadvantage. This relates to issue #35.
It's been almost 2 months since the previous release (v0.3.11), and I'm afraid the release schedule isn't going to accelerate anytime soon. Since I'm going to graduate this year, I have to keep my development time to a minimum. As such, from this release onward I will only work to keep Mob Attack Tool compatible with the latest release of Foundry. Please do create an issue (or pull request) if you encounter bugs, but know that I'm unlikely to spend much time on new features. Thank you.
Mob Attack Tool v0.3.11
This (small) release features the following:
- Further steps to improve CTG compatibility, although for the changes of this release to work, a small modification is needed in CTG.
- Added a setting for autosaving CTG groups as mobs. If the modification mentioned above is in place, then enabling this setting should automatically create saved mobs of CTG groups as you update the combat tracker. This should fulfill the feature requested in issue #40, with the added benefit of automatically deleting these saved mobs after the combat is over. That should prevent some clutter! ;)
As always, please create an issue if you run into any bugs or if you'd like to request a feature :)
Mob Attack Tool v0.3.10
This release features the following:
- Added the "mobUpdate" hook which is called each time the list of saved mobs is updated, to further improve compatibility with the Combat Tracker Groups (CTG) module. Functions that hook into this hook are passed an object with
mobList
,mobName
, andtype
as properties. Thetype
string identifies the circumstance of the update, which can be "load", "save", "delete", "reset", or "resetAll".mobName
identifies which mob was updated, andmobList
is the updated list of saved mobs. - Added another publically available function:
MobAttacks.deleteSavedMob()
, for modules or macros to work with saved mobs. - Specifically for CTG, I added a third function:
MobAttacks.createSavedMobsFromCTGgroups()
(sorry for the unimaginative name). This function converts arrays of arrays of combatants into saved mobs. It has an optional argument for an array of mob names, but without being given that array it will generate mob names on its own. - Added support for token images that use the .webm format, related to issue #42.
- Added a setting for not sending the Mob Attack Results message to chat. This setting is client specific, and can be found in the "Rolls" tab of the Advanced Settings of Mob Attack Tool.
As always, please create an issue if you happen to run into any bugs, or if you'd like to request a feature. :)
Mob Attack Tool v0.3.9
This release features the following:
- Re-added final full stop removal in multiattack parsing algorithm. Related to pull request #39.
- Made a function accessible for other modules (and macros) to save mobs directly. Related to Issue #40.
Here's an example of how to use that new function:
// prepare arguments for the saveMob function
let mobName = "Example Mob Name";
let actorList = [];
let selectedTokenIds = [];
for (let token of canvas.tokens.controlled) {
actorList.push(token.actor);
selectedTokenIds.push(token.id);
}
let numSelected = canvas.tokens.controlled.length;
// save the mob, and in the process you can optionally access the complete list of saved mobs
const mobList = await MobAttacks.saveMob(mobName, actorList, selectedTokenIds, numSelected);
I'm sorry to say that I've completely forgotten about adding that setting to prevent the Mob Attack Results from being sent that I mentioned in the previous release notes. I'll look into that this weekend. 😅
As always, please create an issue if you run into any bugs or if you'd like to request a feature. :)
Mob Attack Tool v0.3.8
This is a small patch that features the following:
- A fix for a bug that caused errors and prevented exported mob attack macros from executing without holding down the alt or ctrl keys for advantage or disadvantage (the feature introduced in the previous release). This bug was reported in issue #37.
- The
compatibleCoreVersion
value is bumped up to Foundry Core 0.8.9.
Expect another release soonish (hopefully this weekend) that introduces an option not to send Mob Attack Results chat messages. That can be useful for Better Rolls for 5e users that want to see the attack rolls of mob attacks, since they currently get the same information twice.
As always, please create an issue if you run into any bugs or if you'd like to request a feature. :)
Mob Attack Tool v0.3.7
This release features the following:
- Added setting for choosing disadvantage key binding used both for exported macros and when clicking the Mob Attack button in the dialog. This was requested in issue #35. The options are either Command (MacOS) or ctrl (Windows).
- Fixed a bug that had stopped the AC modifier from being added to target AC, as requested in issue #36.
Please also read v0.3.6's release notes (released earlier today) to get a good overview of recent updates. Frankly, v0.3.6 would have included the features of this release if I'd noticed the new issues before publishing it 🙃.
As always, please create an issue if you run into any bugs or if you'd like to request a feature. :)
Mob Attack Tool v0.3.6
This release features the following:
- Fixed a bug that prevented versatile weapon attacks from working properly when exported to macros.
- Made an async function accessible for macros to create a new Mob Attack Dialog. All you need is
await MobAttacks.createDialog();
. This functions identical to clicking the button in the tool bar.
As mentioned in v0.3.5's release notes, my release pace is still slowed due to classes starting again.
That's not to say that I don't welcome bug reports and/or feature requests, though. So as always, don't hesitate to create an issue for either. :)
Mob Attack Tool v0.3.5
This release features the following:
- Fixed a bug that caused exported macros to only work for GMs when the "Enable Dice so Nice rolls" setting was disabled.
- Exported macros that aren't specifically exported to roll with advantage or disadvantage, will now be rolled with advantage if the alt key is held down and with disadvantage if the Command key (MacOS) and presumably the Ctrl key (Windows) is held down. Didn't test on Windows, I'm afraid. This addresses issue #35.
- Added "(Advantage)" and "(Disadvantage)" strings to the attack roll tooltip that appears when you hover over the attack roll results in the Mob Attack Results chat message. This also relates to issue #35.
You might have noticed that Mob Attack Tool's release pace has slowed down considerably. This is currently due to a summer job taking up most of my time and energy, but after that classes will resume. In short, less frequent updates will probably be the norm for a while.
Having said that, please do create an issue if you run into any bugs or if you'd like to request a feature. I'll focus on fixing bugs, but I might still squeeze in some requested features too. :)