Page 1 of 1

Get incoming domage percent bonus value in LUA

Posted: Wed Mar 18, 2020 3:31 pm
by vafra
Hi,

I try to get IncomingDomagePercent value for an addon in lua.
I tried to use GetBonus(GameData.BonusTypes.EBONUS_INC_DAMAGE_PERCENT, 0) function without success.
EBONUS_INC_DAMAGE_PERCENT seems in error. I also tried tu use GetBonus(23, 0) but value get seems equal to 0 all times.
Is there another key value to get this bonus ?

Regards.

Re: Get incoming domage percent bonus value in LUA

Posted: Wed Mar 18, 2020 4:28 pm
by wargrimnir
I would expect that bonus value to be 0 most of the time as we don't really use it for anything.

Re: Get incoming domage percent bonus value in LUA

Posted: Wed Mar 18, 2020 6:22 pm
by vafra
So, in fact, wirh LUA, i want to get the bonus value of "hardly concession" tatic, same value done by .getstats in the field "IncomingDomagePercent".