12.4.31
- Don't remove existing workflow on construction as there could well be another workflow in flight.
- Slight change to behaviour in activity.use, if you pass a workflow in usage, midi will reuse that workflow rather than creating a new one. Can be useful if you want to pre-configure the workflow. (TrapWorkflow does this).
- Fixed a bug where an attack activity would return itself as it's own other activity if there were no others and it's set to auto.
- Midi was incorrectly removing a workflow when another was created in some circumstances.
- Fix? for flags.onUseMacro ItemMacro, macroPass.
- Included a new sample item mortar, which places a template then makes a ranged weapon attack against each target in the template to show off the attack roll per target in dnd5e 4.x. The idea of using a Use activity to target then a trigger activity to deal with the targets might have more general use.
- Added a world setting Use Weak References. Don't enable this unless you know what it means - only meant for GM and dev testing - will be removed eventually.