Currently damage and range buff from unit_attributes_generic.lua is not applied on commander because:
unit_attributes_generic UpdateWeapons calls rangeUpdater at the end, which is RangeUpdate for commander.
At scripts/dynamicCommander.lua RangeUpdate, its actually weapon def range + module range bonus(fixed 25elmo per range module) * range buff from attributes. (only module range bonus is multiplied by attribute range buff)
And damage buff from unit_attributes_generic is later overrided by UpdateWeapons called by RangeUpdate.
We need further fix about commanders script at zk.
(I just read code but not precisely tested, but im sure its not working at Relic-K)
Currently damage and range buff from unit_attributes_generic.lua is not applied on commander because:
unit_attributes_generic UpdateWeapons calls rangeUpdater at the end, which is RangeUpdate for commander.
At scripts/dynamicCommander.lua RangeUpdate, its actually weapon def range + module range bonus(fixed 25elmo per range module) * range buff from attributes. (only module range bonus is multiplied by attribute range buff)
And damage buff from unit_attributes_generic is later overrided by UpdateWeapons called by RangeUpdate.
We need further fix about commanders script at zk.
(I just read code but not precisely tested, but im sure its not working at Relic-K)