AC Migrations

As of 1.4.1 there are two migration scripts for AC related changes: 1. The standard Migration Script: recommended for people that don't believe in science
game.dnd5e.migrations.migrateCompendium(pack);
game.dnd5e.migrations.migrateCompendium(pack);
This will preserve current AC values as the new ac.flat override. ---- 2. The fun migration script: recommended for people who believe in the future
game.dnd5e.migrations.migrateArmorClass(pack);
game.dnd5e.migrations.migrateArmorClass(pack);
This will remove the AC overrides from any Actors that have armor and/or shield items equipped, trusting that the calculated values are correct. ---- Thoroughly vet your compendiums after running these scripts. Double check monsters which have natural armor or features which don't lend themselves to normal AC calculations.
3 Replies
Calego
CalegoOP4y ago
Creating this thread to talk about this in more detail as needed.
BadIdeasBureau
Is "pack" the ID of the pack or the pack object itself?
Calego
CalegoOP4y ago
good question, lookin pack is the compendium itself
Want results from more Discord servers?
Add your server