It is caused by which mod took the final edit/change of the values.
Normally, for entities using vanilla names, setting the values on data
phase is well enough. No need to do that in later phases.
Now they are doing this after me (as I am already doing that on data-updates
phase). So it sounds more like they want to force their own values from being edited by other mods?
Maybe they deliberately do this to prevent combat bots to become too cost-effective and useful, in their balance settings? I am not sure, as I do not play that. But perhaps you can raise this question in their discussion board, if you want to.
I do not want to initiate a "war of final edit". So I will speculate for some time, before releasing a formal update.
But you can try editing my mod as a temporary fix:
1/ Decompress this mod, to the same folder the ZIP file was located.
2/ Open info.json
with some decent text editor. (Any text editor EXCEPT Windows Notepad should be fine.)
3/ Replace the line
"dependencies": ["base >= 0.18.0"]
to
"dependencies": ["base >= 0.18.0", "? Krastorio2"]
4/ Start the game and see if the values are changed.
5/ If above does not work, then rename file data-updates.lua
to data-final-fixes.lua
.
6/ Start the game again and see if it works.
Please let me know if this works for you or not.