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.
Get incoming domage percent bonus value in LUA
Forum rules
Before posting in this forum, please read the Terms of Use and visit Idrinth's Addons site for most available addons.
Before posting in this forum, please read the Terms of Use and visit Idrinth's Addons site for most available addons.
Ads
- wargrimnir
- Head Game Master
- Posts: 8421
- Contact:
Re: Get incoming domage percent bonus value in LUA
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
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".