Skip to content

Mob Attack Tool v0.3.10

Compare
Choose a tag to compare
@Stendarpaval Stendarpaval released this 25 Sep 19:28
· 6 commits to main since this release

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, and type as properties. The type string identifies the circumstance of the update, which can be "load", "save", "delete", "reset", or "resetAll". mobName identifies which mob was updated, and mobList 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. :)