[0.18.34] on_entity_damaged event final_health attribute wrong

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Muppet9010
Filter Inserter
Filter Inserter
Posts: 278
Joined: Sat Dec 09, 2017 6:01 pm
Contact:

[0.18.34] on_entity_damaged event final_health attribute wrong

Post 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.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.18.34] on_entity_damaged event final_health attribute wrong

Post by Rseding91 »

Thanks for the report. It's now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”