Recent Topics

Ads

Get incoming domage percent bonus value in LUA

Share, discuss, and get help with addons for Return of Reckoning.
For most available addons, visit Idrinth's Addons site.
Forum rules
Before posting in this forum, please read the Terms of Use and visit Idrinth's Addons site for most available addons.
vafra
Posts: 2

Get incoming domage percent bonus value in LUA

Post#1 » 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.

Ads
User avatar
wargrimnir
Head Game Master
Posts: 8421
Contact:

Re: Get incoming domage percent bonus value in LUA

Post#2 » Wed Mar 18, 2020 4:28 pm

I would expect that bonus value to be 0 most of the time as we don't really use it for anything.
Image
[email protected] for exploits and cheaters.
grimnir.me Some old WAR blog

vafra
Posts: 2

Re: Get incoming domage percent bonus value in LUA

Post#3 » Wed Mar 18, 2020 6:22 pm

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

Who is online

Users browsing this forum: Gnyr, sarathai and 3 guests