chrisk123999 / chris-premades

MIT License
46 stars 51 forks source link

Darkness script triggering before template placed #97

Closed MiddleditchT1 closed 1 year ago

MiddleditchT1 commented 1 year ago

Darkness method darknessItem is triggering before template is placed leading to early exit on: line 4: if (!workflow.templateId) return;

/////////////// Game Information /////////////// Foundry: 11.307 System: 2.2.2 Chris's Premades: 0.5.54

/////////////// Required Modules /////////////// Automated Animations: 4.2.62 Build A Bonus: 11.1.0 Dynamic Active Effects: 11.0.7.2 DFreds Convenient Effects: 5.1.0 Effect Macro: 11.0.1 libWrapper: 1.12.13.0 Midi-Qol: 11.0.10.1 Sequencer: 3.1.2 Socketlib: 1.0.13 Template Macro: 11.0.0 Token Attacher: v4.5.13 Warpgate: 1.18.1

/////////////// Optional Modules /////////////// Advanced Token Effects: 0.6.2 About Time: Missing! Custom Character Sheet Sections: Missing! Compendium Folders: Missing! D&D Beyond Importer: 3.4.53 Simple Calendar: Missing! FXMaster: 4.0.2 Item Macro: 1.9.0+1 Jules&Ben's Animated Assets (F): 0.5.9 (Disabled) Jules&Ben's Animated Assets (P): 0.5.8 Quick Insert: Missing! Small Time: 1.17.1 (Disabled) Tidy 5e Sheet: 0.9.16 Times Up: 11.0.3 Visual Active Effects: Missing!

/////////////// Incompatible Modules /////////////// Ready Set Roll for D&D5e: 2.1.2 (Disabled) Whistler's Item Rolls Extended: 0.10.12 (Disabled) Advanced Spell Effects: 0.9.5.6 (Disabled)

/////////////// CPR Settings /////////////// Breaking Version Change: 6 Show Names: true Priority Queue: true Item Replacer Access: false Item Configuration Access: false Movement Listener: true Template Listener: true Keep Summon Actors Updated: true Minions use caster's initiative: true Effect Auras: true Active Effect Additions: true Active Effect Origin Fix: true Skill Patching: true Save Patching: true Automatic VAE Descriptions: true No NPC VAE Descriptions: false VAE Temporary Item Buttons: true Blinded and Invisibility Changes: false LastGM: BKQqCBWScDH9iE40 Combat Listener: true Short / Long Rest Listener: true Movement Triggers: [object Object] Use Additional Compendiums: false Additional Compendiums: midi-srd.Midi SRD Feats, midi-srd.Midi SRD Spells, midi-srd.Midi SRD Items, midi-qol.midiqol-sample-items Personal Item Compendium: world.ddb-storm-lords-wrath-ddb-items Personal Spell Compendium: world.ddb-storm-lords-wrath-ddb-spells Personal Monster Compendium: world.ddb-storm-lords-wrath-ddb-monsters Personal Racial Trait Compendium: world.ddb-storm-lords-wrath-ddb-racial-traits Condition Resistance Mechanic: false Condition Vulnerability Mechanic: false On Hit Automation: true Armor of Agathys Automation: true Beacon of Hope Automation: true Darkness Spell Automation: true Fog Cloud Spell Automation: true Death Ward Automation: true Elemental Adept Automation: true Mirror Image Automation: true Protection from Evil and Good Automation: true Sanctuary Automation: true Ranged Divine Smite: false Unarmed Strike Divine Smite: false DMG Cleave Mechanic: false Shifter Wildhunt Automation: true Undead Fortitude Automation: true Exploding Heals: false Shield Guardian Automation: true Warding Bond Automation: true Attack Listener: true Magic Missile Toggle: false Strength of the Grave Automation: true Relentless Endurance Automation: true Shadow of Moil Spell Automation: true Emboldening Bond: true Manual Rolls: false Ignore GM Rolls: true Randomizer: false Humanoid Randomizer Settings: [object Object] Dice So Nice Compatability: true

/////////////// Item Macro Settings /////////////// Character Sheet Hook: true

/////////////// Midi-Qol Settings /////////////// Roll Automation Support: true Apply Convenient Effects: None Roll Seperate Attack Per Target: false Merge Card: false

/////////////// Warpgate User Permissions /////////////// Create Tokens: false Configure Tokens: false Browse Files: false

MiddleditchT1 commented 1 year ago

Nevermind, I had incorrect settings in midi-QoL 🤦🏻‍♂️