v2.2.0
API Changes
- Move findEffectByName to effect interface
Example:game.dfreds.effectInterface.findEffectByName('Bane') // returns Effect class
- Add method for converting Effect to object
Example:game.dfreds.effectInterface.findEffectByName('Bane').convertToObject() // JSON representation
- Add new addEffectWith API method
Example:game.dfreds.effectInterface.addEffectWith({ effectData: game.dfreds.effectInterface.findEffectByName('Bane').convertToObject(), uuid: canvas.tokens.controlled[0].actor.uuid })
General Cleanup
- Use folder ID instead of folder label when remembering collapsed/expanded
- Use CONFIG.time.roundTime for seconds in a round
- Fix UI for v9
- Simplify all handlebar helpers
Settings Change
- Update settings to use Array for folders, status effects, and favorites
- Add migration for old settings (affects favorite effects, expanded folders, and status effects)
- Note that on first load after the update, Convenient Effects will run this migration and prompt you to reload when done
Full Changelog: v2.1.3...v2.2.0