Added encumbrance effects, conditions and encumbrance buffs

This commit is contained in:
Stefan Zermatten
2015-05-22 14:04:09 +02:00
parent 29e9f8c8dc
commit 52bef57637
14 changed files with 312 additions and 99 deletions

View File

@@ -90,3 +90,21 @@ Migrations.add({
);
},
});
Migrations.add({
version: 3,
name: "Converts attacks from damage dice and damage bonus to a string with curly bracket calculations, adds settings.showIncrement to items",
up: function() {
//update characters
Characters.update(
{"settings.useVariantEncumbrance": undefined},
{$set: {"settings.useVariantEncumbrance" : false}},
{validate: false, multi: true}
);
Characters.update(
{"settings.useStandardEncumbrance": undefined},
{$set: {"settings.useStandardEncumbrance" : true}},
{validate: false, multi: true}
);
},
});