| 1 |
Currently damage and range buff from unit_attributes_generic.lua is not applied on commander because
|
1 |
Currently damage and range buff from unit_attributes_generic.lua is not applied on commander because
|
| 2 |
\n
|
2 |
\n
|
| 3 |
unit_attributes_generic UpdateWeapons calls rangeUpdater at the end, which is RangeUpdate for commander.
|
3 |
unit_attributes_generic UpdateWeapons calls rangeUpdater at the end, which is RangeUpdate for commander.
|
| 4 |
\n
|
4 |
\n
|
| 5 |
At scripts/dynamicCommander.lua RangeUpdate, its actually weapon def range + module range(fixed 25elmo per range module) * range buff from attributes.
|
5 |
At scripts/dynamicCommander.lua RangeUpdate, its actually weapon def range + module range(fixed 25elmo per range module) * range buff from attributes.
|
| 6 |
\n
|
6 |
\n
|
| 7 |
And damage buff is later overrided by UpdateWeapons called by RangeUpdate.
|
7 |
And damage buff is later overrided by UpdateWeapons called by RangeUpdate.
|
| 8 |
\n
|
8 |
\n
|
| 9 |
We need further fix about commanders script at zk.
|
9 |
We need further fix about commanders script at zk.
|
|
|
10 |
\n
|
|
|
11 |
(not tested)
|