diff --git a/BESM4eExtras/BESM4eExtras.html b/BESM4eExtras/BESM4eExtras.html index c0c0fe0ecd..f409836df5 100644 --- a/BESM4eExtras/BESM4eExtras.html +++ b/BESM4eExtras/BESM4eExtras.html @@ -10941,58 +10941,15 @@ 'transmute':['showvariablestat'], 'unaffected':['showunaffected','showattrsrc'], 'weapon':['showdamagetype','showweaponclass'] - /* - 'showcollectiontype':'absorption', - 'showarmorlayer':'armor', - 'showaugmentedstat':'augmented', - 'showcapacitytype':'capacity', - 'showseeinto':'cognition', - 'showconversiontype':'conversion', - 'showdefect':'defect', - 'showvariablestat':'dynamicpowers', - 'showenemy':'enemyattack', - 'showenemy':'enemydefense', - 'showextraarms':'extraarms', - 'showvariablestat':'features', - 'showimmunityrole':'immunity', - 'showvariablestat':'immutable', - 'showweaponclass':'meleeattack', - 'showweaponclass':'meleedefense', - 'showvariablestat':'metamorphosis', - 'showattrsrc':'mimic', - 'showattrsrc':'nullify', - 'showvariablestat':'nullify', - 'showvariablestat':'powerflux', - 'showvariablestat':'powervariation', - 'showdefenseclass':'rangeddefense', - 'showcollectiontype':'regeneration', - 'showskillgroup':'skill', - 'showsupersense':'supersense', - 'showvariablestat':'transmute', - 'showunaffected':'unaffected', - 'showattrsrc':'unaffected', - 'showdamagetype':'weapon', - 'showweaponclass':'weapon' - */ }; const settings_array = settingsObj[attribute] || []; const result = _.map(settings, setting => { - clog(debug, timer, 'setting =', setting,'exposeAttrSettingsOnAttributeChange(TEST)'); const set = settings_array.indexOf(setting) !== -1 ? 1 : 0; - clog(debug, timer, 'set =', set); setObj[`${source}_${setting}`] = set; return `${setting} = ${set}`; }); - /* - const result = _.map(settings, setting => { - const set = settingsObj[attribute] === setting ? 1 : 0; - setObj[`${source}_${setting}`] = set; - return `${setting} = ${set}`; - }); - */ clog(debug, timer, 'result:', result,'exposeAttrSettingsOnAttributeChange()'); - clog(debug, timer, 'attribute =', attribute); } function exposeAttrSettingsOnCustomizationChange(debug, timer, eventInfo, source, customization, setObj) {