normal roll includes d20 mod and update
This commit is contained in:
@@ -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}}';
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user