Get incoming domage percent bonus value in LUA
Posted: Wed Mar 18, 2020 3:31 pm
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.
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.