Skip to content

Releases: caewok/fvtt-action-initiative

DialogV2, dnd5e v4, and a5e support

30 Dec 23:28
Compare
Choose a tag to compare

Switch to Foundry v12 DialogV2.
Refactor to use helper classes to handle initiative for combatants, actors, and to handle weapon categorization for actors. Most properties that were standalone in CONFIG.actioninitiative are now in classes in CONFIG.actioninitiative

  • ActorInitiativeHandler: Instantiated at actor.actioninitiative.initiativeHandler.
  • WeaponsHandler: Instantiated at actor.actioninitiative.WeaponsHandler.
  • CombatantInitiativeHandler: Instantiated at combatant.actioninitiative.initiativeHandler.

Similarly, dialog classes are now stored at CONFIG.actioninitiative:

  • ActionSelectionDialog: Actions for 1+ combatants.
  • WeaponSelectionDialog: Weapon selections for 1+ combatants.
  • MultipleCombatantDialog: Filters to select 1+ combatants.

Each of these classes can be subclassed for use with different systems. See A5E and DND5E subclasses set in module.js.

In the initiative dialogs, a separate weapon selection dialog is presented after action selection, only as needed. If the actor has equipped weapons, only those weapons will be considered. Weapon selection will not be presented if the actor has 0 or 1 weapons for melee/ranged, respectively.

Removed some unnecessary patches for dnd5e and simplified the initiative workflow.
Added Level Up (a5e) compatibility. Closes #9.
Refactoring address #12, #10.

Full Changelog: 0.2.0...0.3.0

FoundryVTT v12 Compatibility

23 May 04:08
Compare
Choose a tag to compare

Foundry v12 combatibility. Address warnings re deprecated utility method calls. Address change from getCombatant to getCombatants. Requires v12, because of the deprecated methods.

Full Changelog: 0.1.4...0.2.0

Weapon Properties

23 May 03:21
Compare
Choose a tag to compare

Fix for weapon properties not properly accounted for in the roll. Closes #7.

Full Changelog: 0.1.3...0.1.4

Fix for dnd5e v3.1+

28 Mar 18:26
Compare
Choose a tag to compare

Fix for the initiative roll defaulting to 1d20 in dnd5e v3.1 or higher. Closes issue #6.

Full Changelog: 0.1.2...0.1.3

Dnd5e v3 improvements

27 Mar 18:51
Compare
Choose a tag to compare

Fix for combatant dialog not displaying properly. Closes issue #4. Thanks @DreamyNiri for the PR!
Fix for token weapons not getting picked up in dnd5e version 3.
Fix for weapon property localization in dnd5e version 3.
Reorganize the files to take advantage of Patcher and ModuleSettingsAbstract. Add a separate config file to handle the various config settings.

What's Changed

  • Fixes the issue of not showing action names (Update combatant.html) by @DreamyNiri in #5

New Contributors

Full Changelog: 0.1.1...0.1.2

Select all and filter improvements

22 Aug 15:41
Compare
Choose a tag to compare

Add a checkbox next to Combatants in the multi-combatant GM selection to select all combatants. Closes issue #2. Sync filter checkboxes so that selecting or deselecting combatants changes the checked filter boxes accordingly.

Correct rolling for "bonus" and "other" action selections, which were using the default without regard to the settings. Closes issue #3. Correct setting description for weapon type die formula, which should correspond to the weapon type setting (not the weapon damage setting, which uses actual weapon damage dice). If custom formula entered into the "bonus" and "other" action selections, check the corresponding box automatically.

v11 Update

08 Jun 01:53
Compare
Choose a tag to compare

Updated for v11 and dnd5e 2.2.1.

Initial Release

22 Apr 17:14
Compare
Choose a tag to compare

Initial Release