I thought original_damage_amount was supposed to output the amount of damage before armor mitigation?
It would also be nice if some value was provided where we can read the absorbed damage by shields.
Ty
[Rseding91] original_damage_amount and final_damage_amount output the same value
[Rseding91] original_damage_amount and final_damage_amount output the same value
creator of 55 mods
My api requests/suggestions: ui relative for overlay||Grenade arc||Player Modifiers||textbox::selection||Singleplayer RCON||disable car's ground sounds
My api requests/suggestions: ui relative for overlay||Grenade arc||Player Modifiers||textbox::selection||Singleplayer RCON||disable car's ground sounds
Re: original_damage_amount and final_damage_amount output the same value
Why would this be a bug? If your armor doesn't defend against that damage type (eg impact on power armor, laser on biters), one would obviously expect the two values to be identical.
Re: original_damage_amount and final_damage_amount output the same value
Thanks for the report. It's now fixed for the next version of 0.17.
If you want to get ahold of me I'm almost always on Discord.
Re: [Rseding91] original_damage_amount and final_damage_amount output the same value
O... M.. G!
THANK YOU!!!!
I think we can now even calculate how much hp an entity had before the killing blow (at least if it has no shields) 
Awesome!
THANK YOU!!!!

Awesome!
Last edited by ownlyme on Wed Jul 03, 2019 1:18 pm, edited 2 times in total.
creator of 55 mods
My api requests/suggestions: ui relative for overlay||Grenade arc||Player Modifiers||textbox::selection||Singleplayer RCON||disable car's ground sounds
My api requests/suggestions: ui relative for overlay||Grenade arc||Player Modifiers||textbox::selection||Singleplayer RCON||disable car's ground sounds
Re: [Rseding91] original_damage_amount and final_damage_amount output the same value
hmm nope final_damage_amount doesn't get limited by the entity's hp..
creator of 55 mods
My api requests/suggestions: ui relative for overlay||Grenade arc||Player Modifiers||textbox::selection||Singleplayer RCON||disable car's ground sounds
My api requests/suggestions: ui relative for overlay||Grenade arc||Player Modifiers||textbox::selection||Singleplayer RCON||disable car's ground sounds
Re: original_damage_amount and final_damage_amount output the same value
interestingly, when calling LuaEntity.damage(), that function returns the correct damage amount, when the entity's hp get reduced to 0.Rseding91 wrote: Sat May 25, 2019 1:03 am Thanks for the report. It's now fixed for the next version of 0.17.
(But final_damage_amount doesn't)
Can you fix that too? would give the event another edge in usefulness
creator of 55 mods
My api requests/suggestions: ui relative for overlay||Grenade arc||Player Modifiers||textbox::selection||Singleplayer RCON||disable car's ground sounds
My api requests/suggestions: ui relative for overlay||Grenade arc||Player Modifiers||textbox::selection||Singleplayer RCON||disable car's ground sounds