Shadowrun 5th Edition v4.13 (#5969)

* bug fixes

* fix versioning
This commit is contained in:
Cassie Levett
2020-03-23 11:03:22 -05:00
committed by GitHub
parent 7f8d2aa41d
commit b1cd1e3aee
5 changed files with 44 additions and 42 deletions
@@ -93,7 +93,7 @@ const processingFunctions = {
},
determineConditionBase: (type, drone) => drone ? 6 : type === 'vehicle' ? 12 : 8,
determineConditionAttribute: attrs => attrs.willpower ? attrs.willpower : attrs.body ? attrs.body : attrs.device_rating ? attrs.device_rating : 0,
determineWeaponAttributesByType: weaponType => weaponType === 'range' ? sheetAttributes.rangeAttributes : sheetAttributes.meleeAttribute,
determineWeaponAttributesByType: weaponType => weaponType === 'range' ? sheetAttributes.rangeAttributes : sheetAttributes.meleeAttributes,
findFlagInKeys: attrs => Object.keys(attrs).find(key => key.includes('_flag')),
findModifierInKeys: attrs => Object.keys(attrs).find(key => key.includes('_modifier')),
processTempFlags: attrs => {