Page 1 of 1

[0.18.34] on_entity_damaged event final_health attribute wrong

Posted: Sun Jun 28, 2020 6:56 pm
by Muppet9010
The final_health value given for the on_entity_damaged event doesn't do as described.
https://lua-api.factorio.com/latest/eve ... ty_damaged

It seems to return a percentage of max health the entity has left. Assume its meant to be as per the API description, as returning a ratio of max health seems odd given the raw health of the entity post damage isn't given otherwise.

Re: [0.18.34] on_entity_damaged event final_health attribute wrong

Posted: Sun Jun 28, 2020 11:39 pm
by Rseding91
Thanks for the report. It's now fixed for the next release.