Observed behavior:
Code: Select all
/c game.player.surface.pollute({0,0}, 1000000000) --This sets evolution to 1
/c game.print(game.player.selected.max_health)
> 350
3500
Solution: Update LuaEntity.max_health to include the evolution scaling factor, if appropriate.
Alternate solution: Expose LuaForce Evolution Health Scaling.