normal roll includes d20 mod and update

This commit is contained in:
Mark
2016-08-24 18:30:02 +02:00
parent afe3e6f02c
commit 353fb98f07
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ export class Settings {
collectionArray: ['roll_setting', 'roll_info', 'shaped_d20'],
callback: (v, finalSetAttrs) => {
finalSetAttrs.roll_info = '';
finalSetAttrs.shaped_d20 = 'd20';
finalSetAttrs.shaped_d20 = 'd20@{d20_mod}';
if (v.roll_setting === 'adv {{ignore=[[0') {
finalSetAttrs.roll_info = '{{advantage=1}}';
+4 -1
View File
@@ -550,7 +550,6 @@ export class Upgrade {
}
if (this.versionCompare(currentVersion, '4.2.0') < 0) {
character.updateD20Mod();
settings.updateShapedD20();
}
if (this.versionCompare(currentVersion, '4.2.1') < 0) {
this.actionComponentsToRemoveExtraFields();
@@ -595,5 +594,9 @@ export class Upgrade {
if (this.versionCompare(currentVersion, '6.0.4') < 0) {
this.spellEffectsNaming();
}
if (this.versionCompare(currentVersion, '6.1.1') < 0) {
settings.updateShapedD20();
}
}
}